import { WebApi, Auth, GETParameters } from '@amalto/typings'; import { Endpoints } from './Endpoints'; declare class WebApiImpl implements WebApi { private _endpoints; constructor(); get endpoints(): Endpoints; requestAuthorizationCode(code: string, uname: string, pw: string, realm?: string, _cctx?: string, captchaToken?: string): Promise; private requestAccessTokenByType; requestAccessToken(authorizationCode: string): Promise; requestClientAccessToken(): Promise; refreshAccessToken(): Promise; get(urlOrParams: string | GETParameters, queryParameters?: any, disableTimeout?: boolean, fullResponse?: boolean, disableCache?: boolean): Promise; del(url: string, queryParameters?: any, disableTimeout?: boolean, bodyParameters?: any): Promise; post(url: string, bodyParameters?: any, queryParameters?: any, disableTimeout?: boolean, formUrlEncoded?: boolean): Promise; postWithFile(url: string, fieldName: string, file: any, fieldsParameters?: { [fieldName: string]: string; }, queryParameters?: any): Promise; put(url: string, bodyParameters?: any, queryParameters?: any, disableTimeout?: boolean): Promise; putWithFile(url: string, fieldName: string, file: any, fieldsParameters?: { [fieldName: string]: string; }, queryParameters?: any): Promise; getWithClientToken(url: string, clientAccessToken: string, queryParameters?: any, disableTimeout?: boolean): Promise; delWithClientToken(url: string, clientAccessToken: string, queryParameters?: any, disableTimeout?: boolean, bodyParameters?: any): Promise; postWithClientToken(url: string, clientAccessToken: string, bodyParameters?: any, queryParameters?: any, disableTimeout?: boolean): Promise; putWithClientToken(url: string, clientAccessToken: string, bodyParameters?: any, queryParameters?: any, disableTimeout?: boolean): Promise; download(url: string, queryParameters?: Object): Promise; staticHead(url: string, queryParameters?: any, disableTimeout?: boolean, fullResponse?: boolean): Promise; staticGet(url: string, queryParameters?: any, disableTimeout?: boolean, fullResponse?: boolean): Promise; private getQuery; private delQuery; postQuery(url: string, bodyParameters?: any, queryParameters?: any, disableTimeout?: boolean, clientAccessToken?: string, formUrlEncoded?: boolean): Promise; private postQueryWithFile; private putQuery; private putQueryWithFile; } export { WebApiImpl };