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

from typing import Any, Final

_LOGGER: Final = ...
MAX_APP_STATIC_FOLDER_SIZE = ...
def load_config_options(flag_options: dict[str, Any]) -> None:
    """Load config options from config.toml files, then overlay the ones set by
    flag_options.

    The "streamlit run" command supports passing Streamlit's config options
    as flags. This function reads through the config options set via flag,
    massages them, and passes them to get_config_options() so that they
    overwrite config option defaults and those loaded from config.toml files.

    Parameters
    ----------
    flag_options : dict[str, Any]
        A dict of config options where the keys are the CLI flag version of the
        config option names.
    """
    ...

def run(main_script_path: str, is_hello: bool, args: list[str], flag_options: dict[str, Any], *, stop_immediately_for_testing: bool = ...) -> None:
    """Run a script in a separate thread and start a server for the app.

    This starts a blocking asyncio eventloop.
    """
    ...

