import type { Lap } from "../strava/types.js"; export type TriggerType = "hr_drift" | "pace_deviation" | "lap_variability" | "early_fade"; export interface TriggerConfig { type: TriggerType; threshold: number; unit: string; enabled: boolean; } export interface TriggerEvaluationResult { fired: boolean; value?: number; threshold: number; unit: string; percentageOver?: number; } export interface FiredTrigger { trigger_type: TriggerType; actual_value: number; threshold: number; unit: string; percentage_over: number; } export declare function evaluateHRDrift(laps: Lap[], threshold: number): TriggerEvaluationResult; export declare function evaluatePaceDeviation(laps: Lap[], threshold: number): TriggerEvaluationResult; export declare function evaluateLapVariability(laps: Lap[], threshold: number): TriggerEvaluationResult; export declare function evaluateEarlyFade(laps: Lap[], threshold: number): TriggerEvaluationResult; export declare function evaluateAllTriggers(laps: Lap[], triggers: TriggerConfig[]): FiredTrigger[];