import { Server as HttpServer } from 'http';
import { ILogger } from '../../application/ports/logger';
import { WebSocketNotificationGateway } from './websocket-gateway';
export interface WebSocketServerOptions {
    httpServer: HttpServer;
    path?: string;
    logger: ILogger;
}
export interface WebSocketServerResult {
    gateway: WebSocketNotificationGateway;
    close: () => Promise<void>;
}
/**
 * Attaches a WebSocket server to the existing HTTP server and wires it to a
 * notification gateway. Returns the gateway so the application layer can use it
 * to send messages to connected devices, plus a close helper for graceful
 * shutdown.
 */
export declare const createWebSocketServer: (options: WebSocketServerOptions) => WebSocketServerResult;
//# sourceMappingURL=websocket-server.d.ts.map