import { Server } from "@modelcontextprotocol/sdk/server/index.js"; //#region src/mcp.d.ts /** * Resolves search arguments against the same contract the AI SDK tool enforces. * * A host may skip schema validation, so the executor re-checks the boundaries * that would otherwise reach a provider malformed. * @param {Readonly>} args - Untrusted tool arguments. * @param signal - MCP request cancellation signal. * @returns {Promise} Search result payload. */ export declare function executeSearch(args: Readonly>, signal?: Readonly): Promise; /** * Guards reverse image search when a host skips schema validation. * @param args - Untrusted tool arguments. * @param signal - MCP request cancellation signal. * @returns {Promise} Normalized reverse image matches. */ export declare function executeImageSearch(args: Readonly>, signal?: Readonly): Promise; /** * Mirrors {@link executeSearch}: guards the read contract when validation was skipped. * @param {Readonly>} args - Untrusted tool arguments. * @param signal - MCP request cancellation signal. * @returns {Promise} Read result payload. */ export declare function executeRead(args: Readonly>, signal?: Readonly): Promise; /** * Creates the low level MCP server so Pi and MCP can share TypeBox schemas without a parallel Zod definition. * Successful calls return schema checked data and compact JSON text for older clients. A provider * module loads with the first call that names it. * @returns {Server} Unconnected MCP server. */ export declare function createMcpServer(): Server; //#endregion //# sourceMappingURL=mcp.d.mts.map