import { APIState } from '../api/types';
export declare const useAPIState: <T>(hostPath: string | null, createAPI: (path: string) => T) => [apiState: APIState<T>, refreshAPIState: () => void];
//# sourceMappingURL=useAPIState.d.ts.map