"""Auto-generated stub for module: bootstrap."""
from typing import Any, Callable

from .server import start_deploy_server
from .status_handler import DeployStatusReporter, safe_log_error

# Functions
def build_cli_main() -> Callable[[str, int], None]:
    """
    Create a `main(action_id, port)` function for project deploy scripts.
    """
    ...
def default_action_tracker_factory(action_id: str) -> Any:
    """
    Create ActionTracker lazily to avoid hard dependency at import time.
    """
    ...
def run_deploy() -> Any:
    """
    Run common deploy bootstrap and start server.
    """
    ...
def run_main_and_exit() -> None:
    """
    Entry-point helper mirroring existing deploy script behavior.
    """
    ...
def run_main_from_argv(argv: list[str]) -> None:
    """
    Standard CLI argument parsing for deploy scripts.
    """
    ...

# Classes
class DeployBootstrapConfig:
    # Configuration for deploy bootstrap behavior.

    ...
