import { t } from "structural"; import { Client } from "@modelcontextprotocol/sdk/client/index.js"; import { Config } from "../../config.ts"; export declare function getMcpClient(serverName: string, config: Config): Promise; export declare function connectMcpServer(serverName: string, config: Config, log?: boolean): Promise; export declare function shutdownMcpClients(): Promise; declare const _default: { Schema: t.Type; arguments: t.Struct<{ server: t.Type; tool: t.Type; arguments: t.OptionalKey>; }>; }>>; ArgumentsSchema: t.Struct<{ server: t.Type; tool: t.Type; arguments: t.OptionalKey>; }>; validate: () => Promise; run(abortSignal: AbortSignal, _: import("../../transports/transport-common.ts").Transport, call: import("../../history.ts").SequenceIdTagged<{ tool: t.UnwrappedTypeStruct<{ name: t.Value<"mcp">; arguments: t.Struct<{ server: t.Type; tool: t.Type; arguments: t.OptionalKey>; }>; }>; }>, config: t.UnwrappedTypeStruct<{ yourName: t.TypeOf; models: t.Arr>; nickname: t.TypeOf; baseUrl: t.TypeOf; apiEnvVar: t.OptionalKey>; model: t.TypeOf; context: t.TypeOf; reasoning: t.OptionalKey>; }>>; diffApply: t.OptionalKey; apiEnvVar: t.OptionalKey>; model: t.TypeOf; }>>; fixJson: t.OptionalKey; apiEnvVar: t.OptionalKey>; model: t.TypeOf; }>>; defaultApiKeyOverrides: t.OptionalKey>; mcpServers: t.OptionalKey; args: t.OptionalKey>; env: t.OptionalKey>; }>>>; }>, modelOverride: string | null): Promise<{ content: string; }>; }; export default _default;