export declare type UsePromise = () => (promise: Promise) => Promise; declare const usePromise: UsePromise; export default usePromise;