in typehints/micropython/machine.pyi [0:0]
def __init__(
self,
id: int,
/,
baudrate: int = 1_000_000,
*,
polarity: int = 0,
phase: int = 0,
bits: int = 8,
firstbit: int = MSB,
pins: tuple[Pin, Pin, Pin] | None = None,