"""
This type stub file was generated by pyright.
"""

from dataclasses import dataclass
from datetime import datetime

"""
This type stub file was generated by pyright.
"""
ValueType = int | float | bool | str

@dataclass
class DecodedFrame:
    is_old: bool
    timestamp: datetime
    count: int | None
    is_keepalive: bool
    groups: dict[str, dict[int, dict[str, ValueType]]]
    ...

async def decode_text(text: str) -> DecodedFrame: ...
async def decode_file(path: str) -> DecodedFrame: ...
