"""
This type stub file was generated by pyright.
"""

import tornado.web
from typing import Final, TYPE_CHECKING
from streamlit.components.types.base_component_registry import BaseComponentRegistry

if TYPE_CHECKING:
    ...
_LOGGER: Final = ...
class ComponentRequestHandler(tornado.web.RequestHandler):
    def initialize(self, registry: BaseComponentRegistry): # -> None:
        ...
    
    def get(self, path: str) -> None:
        ...
    
    def set_extra_headers(self, path: str) -> None:
        """Disable cache for HTML files.

        Other assets like JS and CSS are suffixed with their hash, so they can
        be cached indefinitely.
        """
        ...
    
    def set_default_headers(self) -> None:
        ...
    
    def options(self) -> None:
        """/OPTIONS handler for preflight CORS checks."""
        ...
    
    @staticmethod
    def get_content_type(abspath: str) -> str:
        """Returns the ``Content-Type`` header to be used for this request.
        From tornado.web.StaticFileHandler.
        """
        ...
    
    @staticmethod
    def get_url(file_id: str) -> str:
        """Return the URL for a component file with the given ID."""
        ...
    


