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