import type { AnyIterable } from "../../types"; /** * Maps the given input iterable to an equivalent asynchronous iterable. * * @group Lazy helpers * @template T - The type of elements in the input iterable. * @param {AnyIterable} input - The input iterable to map to an asynchronous iterable. * @returns {AsyncIterable} An asynchronous iterable that generates the same elements as the input iterable. * * @example * ```ts * const input = [1, 2, 3]; * const asyncIterable = toAsync(input); * * (async () => { * for await (const x of asyncIterable) { * console.log(x); // Logs 1, 2, 3 * } * })(); * ``` */ export declare const toAsync: (input: AnyIterable) => AsyncIterable>;