import { Server } from 'socket.io';
import type { RemoteServerRuntime } from './RemoteServerRuntime';
/**
 * Registers socket connection lifecycle handlers and per-event request handlers.
 *
 * @private internal utility of `startRemoteServer`
 */
export declare function registerRemoteServerSocketHandlers<TCustomOptions>(runtime: RemoteServerRuntime<TCustomOptions>, server: Server): void;
