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

from typing import TYPE_CHECKING
from collections.abc import Sequence

"""sphinx-build -M command-line handling.

This replaces the old, platform-dependent and once-generated content
of Makefile / make.bat.

This is in its own module so that importing it is fast.  It should not
import the main Sphinx modules (like sphinx.applications, sphinx.builders).
"""
if TYPE_CHECKING:
    ...
BUILDERS = ...
class Make:
    def __init__(self, srcdir: str, builddir: str, opts: Sequence[str]) -> None:
        ...
    
    def builddir_join(self, *comps: str) -> str:
        ...
    
    def build_clean(self) -> int:
        ...
    
    def build_help(self) -> None:
        ...
    
    def build_latexpdf(self) -> int:
        ...
    
    def build_latexpdfja(self) -> int:
        ...
    
    def build_info(self) -> int:
        ...
    
    def build_gettext(self) -> int:
        ...
    
    def run_generic_build(self, builder: str, doctreedir: str | None = ...) -> int:
        ...
    


def run_make_mode(args: Sequence[str]) -> int:
    ...

