export declare class VncSessionManager { private readonly sendFrame; private readonly log; private _sessions; private _password; private _enabled; constructor(sendFrame: (frame: Record) => void, log?: (m: string) => void); /** Enable/disable VNC. Session-start frames are ignored while disabled. */ setEnabled(enabled: boolean): void; /** Update the VNC password used for incoming vnc_session requests. */ setPassword(password?: string): void; /** * Dispatch a VNC control frame. Returns true if `msgType` was a VNC frame * (and was consumed), false otherwise so the caller can keep matching. */ handleFrame(msgType: string, msg: Record): boolean; private _onSession; private _onInput; private _onClose; /** Stop all active VNC sessions (called on destroy/reconnect). */ stopAll(): void; }