import type { McpPromptSummary, McpResourceSummary, McpServerSessionSummary, McpTemplateSummary, ToolInputValue } from "@best-agent/protocol";
import type { ToolDefinition, ToolInputJsonSchema } from "./contracts.js";
export interface McpToolConfig {
    args: string[];
    command: string;
    description: string;
    inputSchema?: ToolInputJsonSchema;
    sourceExtension?: string;
    serverName: string;
    toolName: string;
}
export declare function createMcpToolDefinition(config: McpToolConfig): ToolDefinition<ToolInputValue>;
export declare function qualifyMcpToolName(serverName: string, toolName: string): string;
export declare function configureMcpSessionPersistence(storageRoot?: string): void;
export declare function listMcpServerSessions(): Array<{
    args: string[];
    command: string;
    prompts?: McpPromptSummary[];
    resources?: McpResourceSummary[];
    serverName: string;
    session: McpServerSessionSummary;
    templates?: McpTemplateSummary[];
}>;
export declare function closeMcpServerSessions(): Promise<void>;
//# sourceMappingURL=mcp-tool.d.ts.map