from typing import Any
from sympy.utilities import public

@public
def minimal_polynomial(ex, x=..., compose=..., polys=..., domain=...) -> Any:
    ...

@public
def minpoly(ex, x=..., compose=..., polys=..., domain=...) -> Any:
    ...

