export namespace ToolCategories { let FINANCIAL: string; let ADMINISTRATIVE: string; let DOCUMENTATION: string; let ANALYSIS: string; let SYSTEM: string; } /** * Tool metadata structure */ export class ToolMetadata { constructor(options?: {}); name: any; description: any; category: any; complexity: any; requiresBinaryContent: any; requiresImages: any; requiresStreaming: any; estimatedDuration: any; rateLimit: any; dependencies: any; minClientVersion: any; tags: any; /** * Check if tool is compatible with client */ isCompatibleWith(clientContext: any): boolean; /** * Get compatibility score (0-1) with client */ getCompatibilityScore(clientContext: any): number; } /** * Enhanced Tool Registry */ export class ToolRegistry { tools: Map; handlers: Map; categories: Map; usageStats: Map; /** * Register a tool with metadata */ register(toolName: any, toolDefinition: any, handler: any, metadata?: {}): void; /** * Get all tools filtered by client capabilities */ getFilteredTools(clientContext?: null): any[]; /** * Get tools by category with client filtering */ getToolsByCategory(category: any, clientContext?: null): any[]; /** * Get tool recommendations based on context */ getRecommendedTools(context: any, clientContext?: null): { tool: any; relevance: number; reason: string; }[]; /** * Execute tool with tracking */ executeTool(toolName: any, params: any, clientContext?: null): Promise; /** * Get usage statistics */ getUsageStats(): { totalTools: number; categories: {}; mostUsed: never[]; recentlyUsed: never[]; errorRates: {}; }; /** * Infer category from operation and entity */ inferCategory(operation: any, entity: any): string; /** * Generate recommendation reason */ generateRecommendationReason(metadata: any, context: any): string; } export const toolRegistry: ToolRegistry; declare namespace _default { export { ToolRegistry }; export { ToolMetadata }; export { ToolCategories }; export { toolRegistry }; } export default _default;