function SocketDBServer(config?: {
store?: Store;
updateInterval?: number;
socketServer?: SocketServer;
plugins?: ServerPlugin<Schema>[];
keepAliveInterval?: number;
}): SocketDBServerAPI;
type SocketDBServerAPI = {
update: (data: Node) => void;
get: (path: string) => Node;
delete: (path: string) => void;
listen: (port?: number, callback?: () => void) => void;
intercept: <Hook extends keyof ServerHooks<Schema>>(hook: Hook, callback: ServerHooks<Schema>[Hook]) => () => void;
getClient: (id: string | ((context: SessionContext) => boolean)) => Client | null;
getClients: (filter?: (context: SessionContext) => boolean) => Client[];
};