from collections.abc import Mapping from types import TracebackType class YoutubeDL: def __init__(self, params: Mapping[str, object] | None = ...) -> None: ... def __enter__(self) -> YoutubeDL: ... def __exit__( self, exc_type: type[BaseException] | None, exc: BaseException | None, traceback: TracebackType | None, ) -> bool | None: ... def extract_info(self, url: str, download: bool = ...) -> object: ...