import { PromiseStatus } from "./types"; declare type AsyncFunction = (...params: any[]) => Promise; export declare function abortableFetch(status: PromiseStatus | undefined, f: F): F; export declare function cancellable(status: PromiseStatus | undefined, f: F): F; export {};