import { SessionRef } from "@agimon-ai/po-core/sessionProtocol"; //#region src/web/lib/sessionProtocolCommands.d.ts type Frame = Record; type CommandResponse = { success: boolean; data?: unknown; error?: string; }; export declare function bindSessionProtocol(sessionId: string, service: SessionRef, receive: (frame: Frame) => void): () => void; export declare function hasSessionProtocol(sessionId: string): boolean; export declare function sendSessionProtocolFrame(sessionId: string, frame: Frame): void; /** Await admission without equating its response with native input consumption. */ export declare function requestSessionProtocolFrame(sessionId: string, frame: Frame): Promise; //#endregion export {}; //# sourceMappingURL=sessionProtocolCommands.d.mts.map