export interface TestServer {
    /** One JSON-RPC request/response round trip. Resolves with the whole message. */
    rpc(method: string, params: unknown): Promise<any>;
    /** tools/call, resolved to the tool's own result ({ content, isError? }). */
    callTool(name: string, args: Record<string, unknown>): Promise<any>;
    /** A DOCX of one paragraph per string, written to a tracked temp path. */
    buildDoc(paragraphs: string[]): Promise<string>;
    /** A tracked temp path for a tool's output_path. */
    tempOut(label: string): string;
    /** Kill the server and remove every tracked temp file. */
    stop(): void;
}
/** Boots the built server (`dist/index.js`) and completes the MCP handshake. */
export declare function startTestServer(label: string, env?: NodeJS.ProcessEnv): Promise<TestServer>;
//# sourceMappingURL=test-rpc.d.ts.map