import { type ToolDef } from "./config.js"; export declare function createMcpFetch(baseFetch?: typeof fetch): typeof fetch; export declare const mcpFetch: typeof fetch; export declare function getTools(token: string, authType: "oauth" | "token", forceRefresh?: boolean): Promise; export declare function callTool(token: string, authType: "oauth" | "token", name: string, args: Record): Promise<{ content: Array<{ type: string; text?: string; }>; structuredContent?: Record; isError?: boolean; }>;