import type { McpExtensionState } from "./state.js";
import type { ToolMetadata, McpTool, McpResource, ServerEntry } from "./types.js";
export declare function buildToolMetadata(tools: McpTool[], resources: McpResource[], definition: ServerEntry, serverName: string, prefix: "server" | "none" | "short"): {
    metadata: ToolMetadata[];
    failedTools: string[];
};
export declare function getToolNames(state: McpExtensionState, serverName: string): string[];
export declare function totalToolCount(state: McpExtensionState): number;
export declare function findToolByName(metadata: ToolMetadata[] | undefined, toolName: string): ToolMetadata | undefined;
export declare function formatSchema(schema: unknown, indent?: string): string;
//# sourceMappingURL=tool-metadata.d.ts.map