UNPKG

fitness-libraries

Version:
16 lines (15 loc) 641 B
import { Api } from 'rest-api-handler'; import { WebApi } from 'strava-api-handler'; import { ArgumentsType } from '../../../utils'; import StravaWebStorageService from './StravaWebStorageService'; declare class StravaWebApiHandler extends WebApi { storage: StravaWebStorageService; email: string; password: string; private init?; constructor(storage: StravaWebStorageService, email: string, password: string); private sessionIni; request(...parameters: ArgumentsType<typeof Api.prototype.request>): Promise<any>; login(email?: string, password?: string): Promise<void>; } export default StravaWebApiHandler;