import type { ClientToServerEvents, ServerToClientEvents } from '../../protocol/socket-events.js'; import type { SSL, Server } from '../config/types.js'; import type { Express } from 'express'; import type { Server as SocketServer } from 'socket.io'; export declare function server(app: Express, { base, port, host, title, allowIframe, socket, pingInterval, pingTimeout, allowedOrigins, allowMissingOrigin, }: Server, ssl?: SSL): Promise>;