import { Client } from '@modelcontextprotocol/sdk/client/index.js'; import type { AuthConfig } from './auth.js'; export declare function resolveMcpUrl(baseUrl: string, override?: string): URL; export declare function withMcpClient(auth: AuthConfig, override: string | undefined, run: (client: Client) => Promise): Promise; export declare function listMcpTools(client: Client): Promise<{ inputSchema: { [x: string]: unknown; type: "object"; properties?: Record | undefined; required?: string[] | undefined; }; name: string; description?: string | undefined; outputSchema?: { [x: string]: unknown; type: "object"; properties?: Record | undefined; required?: string[] | undefined; } | undefined; annotations?: { title?: string | undefined; readOnlyHint?: boolean | undefined; destructiveHint?: boolean | undefined; idempotentHint?: boolean | undefined; openWorldHint?: boolean | undefined; } | undefined; execution?: { taskSupport?: "optional" | "required" | "forbidden" | undefined; } | undefined; _meta?: Record | undefined; icons?: { src: string; mimeType?: string | undefined; sizes?: string[] | undefined; theme?: "light" | "dark" | undefined; }[] | undefined; title?: string | undefined; }[]>;