import { Dict } from 'epdoc-util'; import { SegmentCacheDict } from './segment-cache-file'; import { AliasesDict, BikeDef } from './settings'; import { StravaClientSecret } from './strava-api'; import { StravaCreds } from './strava-creds'; import { FilePath, FolderPath, LogOpts } from './util'; export declare function stravaConfig(path: FilePath, replacements: Dict, opts: LogOpts): StravaConfig; export declare class StravaConfig { client: StravaClientSecret; credentials: StravaCreds; segments: SegmentCacheDict; athleteId?: number; cachePath?: FolderPath; private _settings; constructor(path: FilePath, replacements: Dict, opts: LogOpts); read(): Promise; readCredentials(): Promise; get bikes(): BikeDef[]; get aliases(): AliasesDict; get segmentsCachePath(): FilePath; }