/**
 * @license
 * Copyright 2025 Steven Roussey <sroussey@gmail.com>
 * SPDX-License-Identifier: Apache-2.0
 */
import type { Server } from "@modelcontextprotocol/sdk/server";
import type { IHumanConnector, IHumanRequest, IHumanResponse } from "@workglow/util";
/**
 * IHumanConnector implementation that delegates to MCP Server.elicitInput().
 *
 * Handles all three interaction kinds:
 * - "notify": Sends a notification via MCP logging, resolves immediately.
 * - "display": Sends content for display, resolves immediately.
 * - "elicit": Delegates to Server.elicitInput() for structured form input.
 *
 * Usage:
 * ```ts
 * import { Server } from "@modelcontextprotocol/sdk/server";
 * import { McpElicitationConnector } from "@workglow/tasks";
 * import { HUMAN_CONNECTOR } from "@workglow/util";
 *
 * const mcpServer: Server = ...; // your MCP server instance
 * const connector = new McpElicitationConnector(mcpServer);
 * registry.registerInstance(HUMAN_CONNECTOR, connector);
 * ```
 */
export declare class McpElicitationConnector implements IHumanConnector {
    private readonly server;
    constructor(server: Server);
    send(request: IHumanRequest, signal: AbortSignal): Promise<IHumanResponse>;
    /**
     * Multi-turn follow-up via MCP elicitation.
     * Each follow-up is a separate elicitInput() call.
     */
    followUp(request: IHumanRequest, _previousResponse: IHumanResponse, signal: AbortSignal): Promise<IHumanResponse>;
    private handleNotify;
    private handleDisplay;
    private handleElicit;
}
//# sourceMappingURL=McpElicitationConnector.d.ts.map