import type { RxDatabase, RxReplicationHandler } from '../../types/index.js';
import { type ServerOptions } from 'ws';
import type { WebsocketServerOptions, WebsocketServerState } from './websocket-types.js';
export declare function startSocketServer(options: ServerOptions): WebsocketServerState;
export declare function getReplicationHandlerByCollection<RxDocType>(database: RxDatabase<any>, collectionName: string): RxReplicationHandler<RxDocType, any>;
export declare function startWebsocketServer(options: WebsocketServerOptions): WebsocketServerState;
