import { Server } from '@modelcontextprotocol/sdk/server/index.js'; import { z } from 'zod'; import type { IAgentOrchestratorClient } from '../orchestrator-client/orchestrator-client.js'; export declare const RespondToElicitationSchema: z.ZodObject<{ request_id: z.ZodString; action_type: z.ZodEnum<["accept", "decline"]>; content: z.ZodOptional>; }, "strip", z.ZodTypeAny, { request_id: string; action_type: "accept" | "decline"; content?: Record | undefined; }, { request_id: string; action_type: "accept" | "decline"; content?: Record | undefined; }>; export declare function respondToElicitationTool(_server: Server, clientFactory: () => IAgentOrchestratorClient): { name: string; description: string; inputSchema: { type: "object"; properties: { request_id: { type: string; description: "The elicitation `request_id` — the public identifier the MCP server assigned when it created the elicitation (the `com.pulsemcp/request-id` value, surfaced in the poll URL). This is NOT the database primary key."; }; action_type: { type: string; enum: string[]; description: "How to resolve the elicitation. \"accept\" approves the request and lets the paused MCP flow continue (optionally with structured `content`); \"decline\" rejects it and unblocks the flow with a declined outcome."; }; content: { type: string; description: "Optional structured JSON object supplied with an \"accept\" response (e.g. the form fields the elicitation requested). Ignored for \"decline\". Must be a JSON object, not a scalar or array."; }; }; required: string[]; }; handler: (args: unknown) => Promise<{ content: { type: string; text: string; }[]; isError?: undefined; } | { content: { type: string; text: string; }[]; isError: boolean; }>; }; //# sourceMappingURL=respond-to-elicitation.d.ts.map