@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
12 lines (11 loc) • 530 B
TypeScript
import { EventInterface } from '../../event.interface';
import { EventExporter } from './exporter.interface';
import { EventJSONInterface } from '../../event.json.interface';
export declare class EventExporterJSON implements EventExporter {
fileType: string;
fileExtension: string;
static export(event: EventInterface): EventJSONInterface;
static getAsString(event: EventInterface): Promise<string>;
export(event: EventInterface): EventJSONInterface;
getAsString(event: EventInterface): Promise<string>;
}