import type { Fn, Fn0, Fn10, Fn2, Fn3, Fn4, Fn5, Fn6, Fn7, Fn8, Fn9, FnAny } from "./fn.js"; export type MaybePromise = T | Promise; export type MaybeAsyncIterable = Iterable | AsyncIterable; export type MaybeAsyncGenerator = IterableIterator | AsyncIterableIterator; export type AsyncPredicate = FnA; export type AsyncPredicate2 = FnA2; export type AsyncStatefulPredicate = Fn0>; export type AsyncStatefulPredicate2 = Fn0>; export type Fn0A = Fn0>; export type FnA = Fn>; export type FnA2 = Fn2>; export type FnA3 = Fn3>; export type FnA4 = Fn4>; export type FnA5 = Fn5>; export type FnA6 = Fn6>; export type FnA7 = Fn7>; export type FnA8 = Fn8>; export type FnA9 = Fn9>; export type FnA10 = Fn10>; export type FnAnyA = FnAny>; /** * Async version of {@link identity}. * * @param x */ export declare const asyncIdentity: (x: T) => Promise; //# sourceMappingURL=async.d.ts.map