import { type VerifyOptions } from '@nacre.work/api'; import type { Layers, ToolRunner } from './server.js'; export interface StdioOptions { readonly verify: VerifyOptions; readonly serviceKey: string; readonly layers: Layers; readonly tools: ToolRunner; readonly input?: NodeJS.ReadableStream; /** What `initialize` and `server/discover` report. See the note in main.ts. */ readonly serverVersion?: string; } /** * Serve until stdin closes. * * Resolves when the stream ends, so a caller can shut its pool down afterwards * rather than guessing when the client went away. */ export declare function serveStdio(options: StdioOptions): Promise; //# sourceMappingURL=stdio.d.ts.map