import { AxiosInstance, Method } from 'axios'; import { A_AUTH_TYPES__IAuthenticator } from '../types/A_AUTH_Authenticator.types'; import { A_AUTH_ContextClass } from './A_AUTH_Context.class'; import { A_AUTH_TYPES__APIProviderRequestConfig } from '../types/A_AUTH_APIProvider.types'; export declare class A_AUTH_APIProvider { loading: boolean; protected _axiosInstance: AxiosInstance; protected version: string; protected context: C; private _base; constructor(context: C, baseURL?: string); /** * Wrapper to work with dynamic ENV variables */ protected get baseURL(): string; init(): void; protected request(method: Method, url: string, authenticator?: A_AUTH_TYPES__IAuthenticator, data?: any, params?: any, config?: A_AUTH_TYPES__APIProviderRequestConfig): Promise; protected post(url: string, body?: any, config?: A_AUTH_TYPES__APIProviderRequestConfig): Promise; protected get(url: string, params?: any, config?: A_AUTH_TYPES__APIProviderRequestConfig): Promise; protected put(url: string, body?: any, config?: A_AUTH_TYPES__APIProviderRequestConfig): Promise; protected delete(url: string, config?: A_AUTH_TYPES__APIProviderRequestConfig): Promise; protected patch(url: string, body?: any, config?: A_AUTH_TYPES__APIProviderRequestConfig): Promise; }