export interface RdpManagerSettings { host?: string; port?: number; username?: string; password?: string; domain?: string; guacWsUrl?: string; } export declare class RdpSessionManager { private readonly sendFrame; private readonly log; private _sessions; private _settings; private _enabled; constructor(sendFrame: (frame: Record) => void, log?: (m: string) => void); /** Enable/disable RDP. Session-start frames are ignored while disabled. */ setEnabled(enabled: boolean): void; /** Update the RDP connection settings (host/port/credentials/guac URL). */ setSettings(s: RdpManagerSettings): void; /** * Dispatch an RDP control frame. Returns true if `msgType` was an RDP 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 RDP sessions (called on destroy/reconnect). */ stopAll(): void; }