/** * ERG/MRC Export * * Generates ERG/MRC workout files for indoor cycling trainers. * Widely supported by TrainerRoad, Zwift, PerfPRO, Golden Cheetah, and others. * * - ERG format: Uses absolute watts * - MRC format: Uses percentage of FTP (more portable) * * We generate MRC format since it scales to each user's FTP. */ import type { Workout, Sport } from "../../../schema/training-plan.js"; import type { Settings } from "../../stores/settings.js"; /** * Check if a sport is supported by ERG/MRC export * Only cycling workouts make sense for trainer files */ export declare function isErgSupported(sport: Sport): boolean; /** * Generate a complete MRC file for a workout */ export declare function generateMrc(workout: Workout, _settings: Settings): string; /** * Generate ERG file (absolute watts) - requires FTP */ export declare function generateErg(workout: Workout, settings: Settings): string;