from typing import Any

def ratint(f, x, **flags) -> Any:
    ...

def ratint_ratpart(f, g, x) -> tuple[Any, Any]:
    ...

def ratint_logpart(f, g, x, t=...) -> list[Any]:
    ...

def log_to_atan(f, g):
    ...

def log_to_real(h, q, x, t) -> None:
    ...

