import { IRequestBuilder, IResponseBuilder } from './interface'; type ContentType = 'application/x-www-form-urlencoded' | 'application/json' | 'multipart/form-data'; export declare class HttpRequestBuilder implements IRequestBuilder { _url: string; constructor(url?: any); _contentType: ContentType; url(url: any): this; _extraOptions: RC; extraOptions(options: RC): this; /** * application / x - www - form - urlencoded | application / json **/ contentType(contentType: ContentType): this; __dataType__: any; dataType(dataType: 'json' | 'text' | 'blob' | 'stream'): this; securityHeaders: boolean; requiredSecurityHeaders: boolean; addSecurityHeaders(required?: boolean): this; __methods: { [name: string]: boolean; }; support(...methods: string[]): this; __headers__: {}; headers(obj: any): this; __timeout: number; timeout(timeout: number): this; request: (options: any) => Promise; private dataSerializer; get(query?: any): Promise; post(data?: any, query?: any): Promise; put(data?: any, query?: any): Promise; head(data?: any, query?: any): Promise; patch(data?: any, query?: any): Promise; remove(data?: any, query?: any): Promise; jsonp(query: any): Promise; stop(): void; } export {}; //# sourceMappingURL=index.d.ts.map