"""The warning function of the package: it passes its stacklevel on, outside the modules the records judge."""

import warnings


def warn_deprecated(message: str, *, stacklevel: int = 2) -> None:
    warnings.warn(message, DeprecationWarning, stacklevel=stacklevel + 1)
