import type { AgentConfig } from './types.js'; export interface ServeOptions { port?: number; /** * Which interface to listen on. Loopback unless changed deliberately. * * Exposing this beyond the machine publishes an endpoint that runs an agent, so it is a decision * someone has to make on purpose rather than the default they get by not thinking about it. */ host?: string; /** An origin allowed to call this from a browser. Same-origin only when absent. */ allowOrigin?: string; } export declare function runServer(config: AgentConfig, portOrOptions?: number | ServeOptions): Promise; //# sourceMappingURL=server.d.ts.map