declare function useIsLoading(): { value: boolean; setLoading: () => void; error: boolean; setError: () => void; }; export default useIsLoading;