import React from 'react'; interface APIContextType { isLoading: boolean; wrapAPICall: (promise: Promise) => Promise; wrapXHRCall: (xhrCreator: () => XMLHttpRequest, processResponse: (xhr: XMLHttpRequest) => T) => Promise; } export declare const useAPI: () => APIContextType; interface APIProviderProps { children: React.ReactNode; } export declare const APIProvider: React.FC; export {}; //# sourceMappingURL=apiContext.d.ts.map