import http from "node:http"; /** * staves as a web service. One process, many workspaces, each behind a token. * GET / the front door: New board * POST /new a workspace; returns its token and the connect lines * ALL /mcp/ remote MCP (Streamable HTTP) — one session per agent, named from its handshake * GET /b//… the board app and its endpoints (events, undo, source…) * Local mode is the same server with a workspace called "local" pointed at the project's .staves. */ export interface HostOptions { root: string; port: number; publicUrl: string; local?: string; } export declare function host(o: HostOptions): Promise>; export declare function setup(publicUrl: string, token: string): { token: string; board: string; mcp: string; claudeCode: string; codex: string; cursor: { mcpServers: { staves: { url: string; }; }; }; say: string; };