/** * VncSession — one tunnel: VncBridge ↔ WS sender ↔ pixel-office. * * Wraps a single VncBridge instance and drives the demand-driven * framebuffer update cycle (browser sends 'fuq' → request → frame → ack). */ export declare class VncSession { private readonly sessionId; private readonly wsSender; private _bridge; private _active; private _pendingFuq; private _bufferedFuq; constructor(sessionId: string, wsSender: (frame: Record) => boolean); start(port: number, password?: string, username?: string): Promise; handleInput(event: Record): void; stop(): void; }