import React from 'react';
declare function useAsyncEffect<V>(effect: (isMounted: () => boolean) => V | Promise<V>, inputs?: React.DependencyList): void;
declare function useAsyncEffect<V>(effect: (isMounted: () => boolean) => V | Promise<V>, destroy: (result?: V) => void, inputs?: React.DependencyList): void;
export default useAsyncEffect;
