/** * IntelligentAssistant Tool - 85%+ Token Reduction */ import type { CacheEngine } from '../../core/cache-engine.js'; import type { TokenCounter } from '../../core/token-counter.js'; import type { MetricsCollector } from '../../core/metrics.js'; export interface IntelligentAssistantOptions { operation: 'ask' | 'suggest' | 'explain' | 'troubleshoot' | 'learn' | 'get-context' | 'search-knowledge' | 'generate-example'; query?: string; data?: any; useCache?: boolean; } export interface IntelligentAssistantResult { success: boolean; operation: string; data: Record; metadata: { tokensUsed: number; tokensSaved: number; cacheHit: boolean; processingTime: number; confidence: number; }; } export declare class IntelligentAssistant { private cache; private tokenCounter; private metricsCollector; constructor(cache: CacheEngine, tokenCounter: TokenCounter, metricsCollector: MetricsCollector); run(options: IntelligentAssistantOptions): Promise; } export declare const INTELLIGENTASSISTANTTOOL: { readonly name: "intelligent-assistant"; readonly description: "Provides intelligent assistance including contextual help, suggestions, explanations, and troubleshooting"; readonly inputSchema: { readonly type: "object"; readonly properties: { readonly operation: { readonly type: "string"; readonly enum: readonly ["ask", "suggest", "explain", "troubleshoot", "learn", "get-context", "search-knowledge", "generate-example"]; readonly description: "Operation to perform"; }; readonly query: { readonly type: "string"; readonly description: "Query or input data"; }; readonly data: { readonly type: "object"; readonly description: "Additional data"; }; readonly useCache: { readonly type: "boolean"; readonly default: true; readonly description: "Enable caching"; }; }; readonly required: readonly ["operation"]; }; }; export declare function runIntelligentAssistant(options: IntelligentAssistantOptions): Promise; //# sourceMappingURL=intelligent-assistant.d.ts.map