import type { Workout } from "../../schema/training-plan.js"; /** * Tracks all user modifications to the plan. * These are stored as overlays on top of the original plan data. */ export interface PlanChanges { moved: Record; edited: Record>; deleted: string[]; added: Record; weekOffset: number; } export declare function emptyChanges(): PlanChanges; export declare function loadChanges(): PlanChanges; export declare function saveChanges(changes: PlanChanges): void; export declare function generateWorkoutId(): string; export declare function getWorkoutDate(workoutId: string, originalDate: string, changes: PlanChanges): string; export declare function getEffectiveWorkout(workout: Workout, changes: PlanChanges): Workout; export declare function isWorkoutDeleted(workoutId: string, changes: PlanChanges): boolean;