interface Waypoint { name: string; description?: string; lat: number; lon: number; altSmoothed: number; } interface Turnpoint { type: "TAKEOFF" | "SSS" | "ESS" | "TURNPOINT" | "GOAL"; radius: number; waypoint: Waypoint; } interface Goal { type: "CYLINDER" | "LINE"; deadline?: string; } interface Task { taskType: string; version: number; earthModel?: "WGS84" | "FAI_SPHERE"; turnpoints: Turnpoint[]; takeoff?: { timeOpen?: string; timeClose?: string; }; sss?: { type: "RACE" | "ELAPSED-TIME"; direction?: "ENTER" | "EXIT"; timeGates: string[]; }; goal?: Goal; } export default class XcTrackParser { private static getTurnPointType; static parseJson(originalJson: string): Task; private static getCompressedTurnPointType; static compressTask(task: Task): string; } export {};