declare const usePromise: (promise: (...inputs: Args) => Promise, inputs: Args, lifespan?: number) => Result; export = usePromise;