import { type ReactNode } from "react"; import { type McpElicitationApprovalRequest, type McpElicitationContent } from "@opengeni/contracts/mcp-elicitation-model"; /** * An MCP server's question in the middle of a tool call, answered in place: * its message, its form (prefilled with the server's defaults), and Decline. * A question with no fields is a plain confirmation answered with Allow. */ export declare function McpElicitationRequest({ elicitation, title, subtitle, submitting, disabled, onAnswer, onDecline, details, }: { elicitation: McpElicitationApprovalRequest; /** What the paused call does, e.g. "Send message". */ title: ReactNode; subtitle?: ReactNode; submitting: "approve" | "reject" | null; disabled: boolean; onAnswer: (content: McpElicitationContent) => void; onDecline: () => void; /** A link to the paused call's full arguments. */ details?: ReactNode; }): import("react").JSX.Element;