type AsyncFn = (...args: A) => Promise; declare const tryOrFail: >(fn: T) => Promise>; export { tryOrFail };