import { HttpError } from './HttpError';
/**
 * Creates a {@link HttpError} with the given response and an undefined request.
 *
 * @see {@link createJSONHttpError()}
 */
export declare function createHttpError(body: BodyInit | undefined, status: number, statusText?: string): HttpError;
/**
 * Creates a {@link HttpError} with a JSON {@link Response} response body and an undefined request.
 *
 * @see {@link createHttpError()}
 */
export declare function createJSONHttpError(body: object, status: number, statusText?: string): HttpError;
