import { ChaparResponse, BaseUrlType, CreateUrlArgs, SendChaparArgs, SetupInterceptorArgs, SendChaparReturnType, ChaparConstructorArgs, OnErrorCallbackType, AuthToken, AnyType, BaseUrlTypeExtractor, CheckStatusFuncType, MetaDataFnType, OnFailCallbackType } from '../types'; declare class Chapar { baseUrl?: BaseUrl; private agent; authToken?: AuthToken; private authorizationKey; private successKey; private messageKey; private dataKey; private throwError; private defaultConfigs?; private successStatusCode; headers?: Record; onError?: OnErrorCallbackType; checkStatusFuncType?: CheckStatusFuncType; metaDataFn?: MetaDataFnType; onFail?: OnFailCallbackType; beforeRequest?: VoidFunction; afterRequest?: VoidFunction; constructor(args: ChaparConstructorArgs); setupInterceptors(cbs: SetupInterceptorArgs): void; createUrl(urlProps: string | CreateUrlArgs, baseUrlType?: BaseUrlTypeExtractor): string; sendChapar>(url: string | CreateUrlArgs, configs: SendChaparArgs, extraData?: AnyType): Promise>; private isSuccess; private getAuthToken; private shouldThrowError; } export default Chapar;