/** * @catalog_tier A * @guardrail pattern_id_stability * @routes_to log10x_pattern_trend, log10x_pattern_examples, log10x_whats_new * * log10x_whats_changing — patterns ranked by delta vs a baseline window. * * Answers the "what grew (or shrank) the most since X" question. Distinct * from `log10x_top_volume`, which ranks by current cost. This tool ranks * by delta and applies gates that drop noise-level changes. * * Multi-offset baseline averaging (1x/2x/3x timeRange) joined per * (pattern_hash, service, severity) tuple, applies DEFAULT_GATES floors, * using the StructuredOutput envelope and the shared baseline machinery in * `top-volume-extras.ts` / gates in `lib/gates.ts`. * * Brand-new patterns (no baseline samples) are EXCLUDED from this tool's * output — they go to `log10x_whats_new` for clean separation of stories. */ import { z } from 'zod'; import type { EnvConfig } from '../lib/environments.js'; import { type StructuredOutput } from '../lib/output-types.js'; export declare const whatsChangingSchema: { timeRange: z.ZodDefault>; comparison_window: z.ZodDefault, z.ZodString]>>; service: z.ZodOptional; severity: z.ZodOptional; limit: z.ZodDefault; min_delta_usd: z.ZodOptional; min_delta_contribution_pct: z.ZodOptional; analyzerCost: z.ZodOptional; environment: z.ZodOptional; view: z.ZodDefault>; }; export declare function executeWhatsChanging(args: { timeRange?: string; comparison_window?: string; service?: string; severity?: string; limit?: number; min_delta_usd?: number; min_delta_contribution_pct?: number; analyzerCost?: number; view?: 'summary' | 'markdown'; }, env: EnvConfig): Promise;