"""Type stubs for irene_auth Rust module"""

def hash_password(password: str) -> str: ...
def verify_password(password: str, password_hash: str) -> bool: ...
def generate_token(length: int = 32) -> str: ...
def hash_token(token: str) -> str: ...
def verify_token_hash(token: str, token_hash: str) -> bool: ...
def jwt_encode(payload: dict, key: bytes, exp_seconds: int, algorithm: str) -> str: ...
def jwt_decode(token: str, key: bytes, algorithms: list[str]) -> dict: ...
