///
import { IRequestOptions } from "./Exports";
export declare enum RestRequestType {
Get = "GET",
Post = "POST",
Delete = "DELETE",
File = "file"
}
export interface IRestResponse {
ok: boolean;
status: number;
statusText: string;
data: string;
json: any;
headers: string;
}
export declare class RestMessageAdapter {
private privIgnoreCache;
private privHeaders;
constructor(configParams: IRequestOptions);
static extractHeaderValue(headerKey: string, headers: string): string;
set options(configParams: IRequestOptions);
setHeaders(key: string, value: string): void;
request(method: RestRequestType, uri: string, queryParams?: any, body?: any, binaryBody?: Blob | Buffer): Promise;
private withQuery;
private queryParams;
}