export interface RequestOptions {
    /**
     * URL of the request
     */
    url: string;
    /**
     * HTTP headers of the request
     */
    headers?: object;
    /**
     * JSON like object used to send a POST request
     */
    body?: object;
}
export declare type GetOptions = Omit<RequestOptions, 'body'>;
declare const request: {
    get: (options: GetOptions) => Promise<any>;
    post: (options: RequestOptions) => Promise<any>;
    patch: (options: RequestOptions) => Promise<any>;
};
/**
 * These operations are stateless, so the recommendation is to either make the relevant class operations static
 * or eschew classes altogether and we are opting for the latter.
 */
export default request;
//# sourceMappingURL=request.d.ts.map