/** An error that keeps the HTTP status of the failed response. */ export declare class FetchError extends Error { readonly status: number; constructor(message: string, status: number); } export declare function fetchJson(promise: Promise): Promise;