type AnyWebSocket = unknown;
/**
 * Gateway connection state manager.
 *
 * Online-only model: State evaporates immediately on disconnect.
 * No 12-hour windows, no persistent state.
 *
 * Note: WebSocket type is runtime-dependent (browser WebSocket or 'ws' package).
 */
export declare class GatewayConnectionState {
    private connections;
    /**
     * Register agent connection.
     *
     * @param did - DID of the connecting agent
     * @param socket - WebSocket connection (browser or Node.js 'ws' package)
     */
    connect(did: string, socket: AnyWebSocket): void;
    /**
     * Check if agent is currently online.
     */
    isOnline(did: string): boolean;
    /**
     * Get WebSocket for online agent (or null if offline).
     */
    getSocket(did: string): AnyWebSocket | null;
    /**
     * Get all online DIDs.
     */
    getOnlineDids(): string[];
}
export {};
