import { collectEnums } from "./paths.js";
import type { JsonRecord } from "./types.js";
export { collectEnums };
export declare function catalogToolCount(data: JsonRecord): number;
export declare class CatalogIndex {
    readonly tools: JsonRecord[];
    readonly files: Record<string, string>;
    constructor(tools: JsonRecord[], files?: Record<string, string>);
    toCatalogDict(catalogPrefix?: string): {
        md: JsonRecord[];
        json: JsonRecord[];
        tools: JsonRecord[];
    };
}
export declare function buildCatalogIndex(tools: JsonRecord[], allEnums: unknown[]): CatalogIndex;
export declare function buildCatalogFromTools(tools: JsonRecord[]): CatalogIndex;
export declare function prepareToolEntry(serverName: string, name: string, description: string, inputSchema: JsonRecord): JsonRecord;
export declare function anthropicToolToCatalogEntry(tool: JsonRecord): JsonRecord | null;
export declare function anthropicToolsToCatalogEntries(tools: JsonRecord[]): {
    entries: JsonRecord[];
    enums: unknown[];
};
export declare function truncateDescription(description: string, maxTokens?: number): string;
//# sourceMappingURL=build.d.ts.map