import type { TerminalTransport, TerminalTransportCloseDetails } from "./transport-types.js"; interface Callbacks { onReady(): void; onFrame(frame: ArrayBuffer): Promise; onClose(details: TerminalTransportCloseDetails): void; onError(error: Error): void; } /** Shared lifecycle and bounded delivery for worker-local and host-bridged transports. */ export declare class TransportSession { #private; private callbacks; constructor(callbacks: Callbacks); get closing(): boolean; start(transport: TerminalTransport): void; send(control: string): Promise; dispose(): void; } export {}; //# sourceMappingURL=transport-session.d.ts.map