/** * Cost driver gates. * * A pattern is a cost driver only if BOTH gates pass: * 1. Dollar delta > minDollarPerWeek (default $500/wk) * 2. Contribution > minContributionPct of total positive delta (default 5%) * * These are business rules, not statistical constants. */ export interface PatternWithDelta { delta: number; } export interface GateConfig { minDollarPerWeek: number; minContributionPct: number; } export declare const DEFAULT_GATES: GateConfig; /** * Filters patterns through cost driver gates. * Returns only patterns that pass both the dollar floor and contribution % gate. */ export declare function applyCostDriverGates(patterns: T[], totalPositiveDelta: number, gates?: GateConfig): T[];