declare type HttpRequestMethod = 'GET' | 'POST' | 'PUT' | 'DELETE' | 'PATCH' | 'OPTIONS';
/**
 * Generic fetch JSON method that handles errors (non-sucessful response codes)
 */
export declare function fetchJSON(fetchFn: any, method: HttpRequestMethod, url: string, body: object, fetchOptions?: any): Promise<any>;
export {};
