/** * MCP tool for exporting analytics data in JSON or CSV format */ import type { AnalyticsManager } from '../../analytics/analytics-manager.js'; import type { ExportFormat, HookPhase } from '../../analytics/analytics-types.js'; export declare const EXPORT_ANALYTICS_TOOL_DEFINITION: { readonly name: "export_analytics"; readonly description: "Export all analytics data in JSON or CSV format. Supports filtering by date range, hook phase, tool name, and MCP server. Useful for external analysis, reporting, and data integration."; readonly inputSchema: { readonly type: "object"; readonly properties: { readonly format: { readonly type: "string"; readonly enum: readonly ["json", "csv"]; readonly description: "Output format: json or csv"; }; 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 hookPhase: { readonly type: "string"; readonly enum: readonly ["PreToolUse", "PostToolUse", "SessionStart", "PreCompact", "UserPromptSubmit", "Unknown"]; readonly description: "Optional filter by hook phase"; }; readonly toolName: { readonly type: "string"; readonly description: "Optional filter by tool/action name"; }; readonly mcpServer: { readonly type: "string"; readonly description: "Optional filter by MCP server name"; }; }; readonly required: readonly ["format"]; }; }; export declare function getExportAnalyticsTool(analyticsManager: AnalyticsManager): (args: { format: ExportFormat; startDate?: string; endDate?: string; hookPhase?: HookPhase; toolName?: string; mcpServer?: string; }) => Promise; //# sourceMappingURL=export-analytics.d.ts.map