import { BaseAPIConfigType } from "../types/base";
export declare const error400 = "\"status\":400";
export declare const trimUndefined: (obj: any) => Record<string, any>;
export declare const postRequest: (url: string, body?: any, token?: string, headers?: any) => Promise<any>;
export declare const postRequestSimple: (url: string, body?: any, headers?: any) => Promise<any>;
export declare const getRequestSimple: (url: string, token?: string, headers?: any) => Promise<string>;
export declare const deleteRequest: (url: string, body: any, token: string, headers?: any) => Promise<any>;
export declare const postFileRequest: (url: string, file: any, param: string, token: string) => Promise<any>;
export declare const putRequest: (url: string, token: string, body: any) => Promise<any>;
export declare const patchRequest: (url: string, token: string, body: any) => Promise<any>;
export declare const getRequest: (url: string, token?: string, headers?: any) => Promise<any>;
export declare const getFormRequest: (url: string, token: string, body: any, headers?: any) => Promise<any>;
export declare const validateConfig: (config: BaseAPIConfigType) => void;
export declare const postFilesAndDataRequest: (url: string, payload: any, files: {
    value: File;
    name: string;
}[], token: string, method?: "put" | "delete" | "patch") => Promise<any>;
export declare const postRequestWithRetry: (url: string, body?: any, token?: string, headers?: any, retries?: number) => Promise<any>;
export declare const postRequestWE: (url: string, body?: any, token?: string, headers?: any) => Promise<any>;
export declare const deleteRequestWE: (url: string, token: string) => Promise<any>;
