from _typeshed import Incomplete

from .langhelpers import (
    decorator as decorator,
    inject_docstring_text as inject_docstring_text,
    inject_param_text as inject_param_text,
)

SQLALCHEMY_WARN_20: bool

def warn_deprecated(msg, version, stacklevel: int = ..., code: Incomplete | None = ...) -> None: ...
def warn_deprecated_limited(msg, args, version, stacklevel: int = ..., code: Incomplete | None = ...) -> None: ...
def warn_deprecated_20(msg, stacklevel: int = ..., code: Incomplete | None = ...) -> None: ...
def deprecated_cls(version, message, constructor: str = ...): ...
def deprecated_20_cls(clsname, alternative: Incomplete | None = ..., constructor: str = ..., becomes_legacy: bool = ...): ...
def deprecated(
    version,
    message: Incomplete | None = ...,
    add_deprecation_to_docstring: bool = ...,
    warning: Incomplete | None = ...,
    enable_warnings: bool = ...,
): ...
def moved_20(message, **kw): ...
def deprecated_20(api_name, alternative: Incomplete | None = ..., becomes_legacy: bool = ..., **kw): ...
def deprecated_params(**specs): ...
