/** * MCP tool: get_optimization_report * * One-stop, user-facing summary of everything token-optimizer has saved: * total tokens saved, overall savings %, and full breakdowns by action (tool), * by hook phase, and by MCP server. Returns both a structured object (for * programmatic use / dashboards) and a pre-rendered `formatted` text report so * any agent can show the user a clean summary without post-processing. */ import type { AnalyticsManager } from '../../analytics/analytics-manager.js'; export declare const GET_OPTIMIZATION_REPORT_TOOL_DEFINITION: { readonly name: "get_optimization_report"; readonly description: "Get a provenance-gated token report. Verified savings require a materialized MCP payload before and after optimization; historical and tool-reported estimates are excluded. Direct API-price equivalents use each exact captured model and route; ambiguous operations remain unpriced."; readonly inputSchema: { readonly type: "object"; readonly properties: { readonly startDate: { readonly type: "string"; readonly description: "Optional start date filter in ISO 8601 format (e.g., 2025-01-01T00:00:00Z)"; }; readonly endDate: { readonly type: "string"; readonly description: "Optional end date filter in ISO 8601 format (e.g., 2025-12-31T23:59:59Z)"; }; readonly sessionId: { readonly type: "string"; readonly description: "Optional session ID to scope the report to a single session."; }; readonly topN: { readonly type: "number"; readonly description: "Limit each breakdown to the top N rows by tokens saved (default: 10)."; }; }; }; }; export declare function getOptimizationReportTool(analyticsManager: AnalyticsManager): (args: { startDate?: string; endDate?: string; sessionId?: string; topN?: number; }) => Promise; //# sourceMappingURL=get-optimization-report.d.ts.map