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