import { DependencyList } from "react";
declare type Unsub = void | (() => void);
export declare const useAsyncEffect: (fn: () => Promise<void | Unsub>, deps?: DependencyList | undefined, updateInterval?: number | undefined) => void;
export declare const useAsyncMemo: <T>(fn: () => Promise<T>, deps: DependencyList) => {
    data: T | undefined;
    pending: boolean;
    error: Error | undefined;
};
export {};
