import { AjaxOptions, UploadOptions } from './helpers'; export interface OauthOptions { baseUrl: string; user: string; password: string; } export declare class OAuth { protected user: string; protected baseUrl: string; private accessToken; private clientId; private clientSecret; private password; constructor({ baseUrl, user, password }: OauthOptions); authenticate(): Promise; protected authFetch(input: string, init?: AjaxOptions): Promise; protected authUpload(input: string, init: UploadOptions): Promise; } //# sourceMappingURL=oauth.d.ts.map