# sage_setup: distribution = sagemath-ntl
from sage.rings.rational import Rational

def bernmm_bern_rat(k: int, num_threads: int = 1) -> Rational:
    ...

def bernmm_bern_modp(p: int, k: int) -> int:
    ...
