import type { EvidencedMetric } from "./evidence.js"; import type { TrainingLoadResult } from "./training-load.js"; export declare const READINESS_METHOD_VERSION = "1.0.0"; export declare const TSB_FRESH = 5; export declare const TSB_FATIGUED = -20; export declare const MIN_DISCIPLINE_SHARE = 0.15; export declare const SLEEP_DEBT_AMBER_HOURS = 2; export declare const SLEEP_DEBT_RED_HOURS = 5; export declare const TAPER_WINDOW_DAYS = 14; export declare const BAND_RULE = "Any red component \u2192 not_ready; otherwise 2+ unknown \u2192 insufficient_data; otherwise 2+ amber \u2192 caution; otherwise ready. not_applicable components are ignored."; export type ComponentBand = "green" | "amber" | "red" | "unknown" | "not_applicable"; export type ReadinessBand = "ready" | "caution" | "not_ready" | "insufficient_data"; export type RaceSport = "hyrox" | "triathlon"; export interface ReadinessComponent { id: "recovery" | "form" | "specificity" | "sleep" | "taper"; band: ComponentBand; rationale: string; metric: EvidencedMetric; } export interface ReadinessInput { sport: RaceSport; /** Local day YYYY-MM-DD. */ today: string; race_date?: string; recovery: { score: number | null; baseline_mean: number | null; date: string | null; }; load: TrainingLoadResult; sleep_debt_hours: number | null; } export interface ReadinessResult { sport: RaceSport; band: ReadinessBand; band_rule: string; days_to_race: number | null; components: ReadinessComponent[]; method_version: string; disclaimer: string; } export declare function computeReadiness(input: ReadinessInput): ReadinessResult; //# sourceMappingURL=readiness.d.ts.map