import { Server } from 'socket.io'; import type { ClientToServerEvents, ServerToClientEvents } from '../../protocol/socket-events.js'; import type { SSLBuffer } from '../config/types.js'; import type express from 'express'; interface ListenOptions { host: string; port: number; path: string; ssl: SSLBuffer; socket?: string | boolean; pingInterval?: number; pingTimeout?: number; allowedOrigins?: string[]; allowMissingOrigin?: boolean; } export declare const listen: (app: express.Express, { host, port, path, ssl: { key, cert }, socket, pingInterval, pingTimeout, allowedOrigins, allowMissingOrigin, }: ListenOptions) => Promise>; export {};