"""Transport interface for AICC message passing.""" from __future__ import annotations from typing import Any, Protocol, runtime_checkable @runtime_checkable class Transport(Protocol): """Pluggable transport for AICC messages. Implementations: - aicc.transport.in_process.InProcessTransport - aicc.transport.websocket.WebSocketClientTransport / WebSocketServer """ async def connect(self) -> None: ... async def close(self) -> None: ... async def send(self, message: dict[str, Any]) -> None: ... async def receive(self) -> dict[str, Any]: ...