from typing import *
from buffer_types import *

def calcsize(fmt: str) -> int: ...
def pack(fmt: str, *args: Any) -> bytes: ...
def pack_into(fmt: str, buffer: AnyBuffer, offset: int, *args: Any) -> None: ...
def unpack(fmt: str, data: AnyBytes) -> Tuple: ...
def unpack_from(fmt: str, data: AnyBytes, offset: int = ...) -> Tuple: ...
