import { Api as FitbitApi, ApiScope } from 'fitbit-api-handler';
import FitbitStorageService from './FitbitStorageService';
export default class FitbitService {
    protected fitbitApi: FitbitApi;
    protected storage: FitbitStorageService;
    protected returnUrl: string;
    constructor(fitbitApi: FitbitApi, storage: FitbitStorageService, returnUrl: string);
    getApi(): FitbitApi;
    getLoginUrl(scopes?: ApiScope[]): string;
    authorize(code: string): Promise<void>;
}
