UNPKG

@sports-alliance/sports-lib

Version:

A Library to for importing / exporting and processing GPX, TCX, FIT and JSON files from services such as Strava, Movescount, Garmin, Polar etc

27 lines (26 loc) 1 kB
import { EventInterface } from '../../../event.interface'; import { ActivityParsingOptions } from '../../../../activities/activity-parsing-options'; export declare class EventImporterSuuntoJSON { private static readonly MIN_VALID_RR_SAMPLES_FOR_HR_OVERRIDE; static getFromJSONString(jsonString: string, options?: ActivityParsingOptions): Promise<EventInterface>; private static hasFusedLocData; private static setIntensityZones; private static getHRSamplesFromIBIData; private static setStreamsForActivity; private static getSettings; private static getStats; } export declare const SuuntoSettingsMapper: { dataType: string; getValue: (settings: any) => any; }[]; export declare const SuuntoIntensityZonesMapper: { dataType: string; sampleField: string; convertSampleValue: (value: number) => number; }[]; export declare const SuuntoSampleMapper: { dataType: string; sampleField: string; convertSampleValue(value: number): number; }[];