@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
11 lines (10 loc) • 509 B
TypeScript
import { RouteFileJSONInterface } from '../../route-file.json.interface';
import { RouteFileInterface } from '../../route-file.interface';
export declare class RouteExporterJSON {
fileType: string;
fileExtension: string;
static export(routeFile: RouteFileInterface): RouteFileJSONInterface;
static getAsString(routeFile: RouteFileInterface): Promise<string>;
export(routeFile: RouteFileInterface): RouteFileJSONInterface;
getAsString(routeFile: RouteFileInterface): Promise<string>;
}