import type { IAsyncEnumerable } from "../../types/index.js"; type FromAsyncFunc = { /** * Converts the input array of promises to an async iterable * @param promises Array of Promises to Convert to an IAsyncEnumerable * @throws {InvalidOperationException} No Elements in the Promises Array * @returns IAsyncEnumerable */ (promises: Promise[]): IAsyncEnumerable; /** * Converts the input method to an async iterable * @param asyncIterable Function which returns an AsyncIterableIterator * @returns IAsyncEnumerable */ (asyncIterable: () => AsyncIterableIterator): IAsyncEnumerable; }; export declare const fromAsync: FromAsyncFunc; export {};