import 'isomorphic-fetch';
export interface DefaultApiResponse {
    [key: string]: any;
}
/**
 * Low-level method that makes fetch requests, returning the response formatted as JSON.
 * It parses errors from API v3 and throws exceptions with those errors
 */
declare const jsonRequest: <TResponseType = DefaultApiResponse>(url: string, options?: RequestInit) => Promise<TResponseType>;
export default jsonRequest;
