import type { PairedHost } from './types.js';
import type { ConnectionState } from './types.js';
export declare let connectionState: ConnectionState;
export declare function updateConnectionState(updates: Partial<ConnectionState>): void;
export declare function startClient(targetId: string, pairingCode: string, pairedHosts: Map<string, PairedHost>, mode: string, onConnected: () => void, SIGNAL_SERVER: string, INITIATOR_ID: string, clientId: string): Promise<void>;
export declare function stopClient(pairedHosts?: Map<string, PairedHost>): void;
