///
import { Configuration } from './Configuration';
export declare type Body = ({
[key: string]: any;
} | string | Buffer | null);
export declare enum Method {
GET = "GET",
PUT = "PUT"
}
export declare type Options = {
configuration: Configuration;
headers?: {
[headerName: string]: string;
};
json?: boolean;
method?: Method;
};
export declare function get(target: string, { configuration, json, ...rest }: Options): Promise;
export declare function put(target: string, body: Body, options: Options): Promise;