import { Credentials, AuthClientRequestOptions } from './models'; export declare abstract class AuthClient { abstract request: RequestFunction; abstract setCredentials(credentials?: Credentials): Promise; abstract getAccessToken(): Promise; } export type RequestFunction = (url: string, options?: AuthClientRequestOptions) => Promise; export interface SimpleStorage { getItem: (key: string) => Promise; removeItem: (key: string) => Promise; setItem: (key: string, value: string) => Promise; getItemSync: (key: string) => string | null; removeItemSync: (key: string) => void; setItemSync: (key: string, value: string) => void; }