UNPKG

@promptbook/remote-server

Version:

Promptbook: Create persistent AI agents that turn your company's scattered knowledge into action

9 lines (8 loc) 391 B
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;