from collections import defaultdict
from typing import Any

def digits(n, b=..., digits=...) -> list[Any]: ...
def count_digits(n, b=...) -> defaultdict[Any, int]: ...
def is_palindromic(n, b=...) -> bool: ...
