from __future__ import annotations from typing import Protocol, runtime_checkable @runtime_checkable class ChannelPairingProtocol(Protocol): async def start_pairing(self, device_id: str) -> str: ... async def verify_pairing(self, device_id: str, code: str) -> bool: ... async def revoke_pairing(self, device_id: str) -> None: ... async def list_paired_devices(self) -> list[dict]: ...