import { AxiosRequestConfig, Method } from 'axios'; export type IResponseBuilder = { data: any; status: number; statusText: string; headers: any; config: any; request?: any; }; export type IRequestBuilderCreator = new (url: any) => IRequestBuilder; export interface IRequestBuilder { url(url: any): this; addSecurityHeaders(required?: boolean): this; contentType(contentType: 'application/x-www-form-urlencoded' | 'application/json'): this; extraOptions(options: AxiosRequestConfig): this; dataType(dataType: any): this; headers(obj: any): this; support(...methods: Method[]): this; timeout(timeout: number): this; get(query?: any): Promise; post(data?: any, json?: any): Promise; put(data?: any, json?: any): Promise; head(): Promise; patch(data?: any, query?: any): Promise; remove(query?: any): Promise; jsonp(query: any, callbackParam?: any): Promise; stop(): any; } //# sourceMappingURL=interface.d.ts.map