import { AsyncIterableX } from './asynciterablex'; /** * Creates a new iterable using the specified function implementing the members of AsyncIterable * * @export * @template T The type of the elements returned by the enumerable sequence. * @param {((signal?: AbortSignal) => AsyncIterator | Promise>)} fn The function that creates the [Symbol.asyncIterator]() method * @returns {AsyncIterableX} A new async-iterable instance. */ export declare function create(fn: (signal?: AbortSignal) => AsyncIterator | Promise>): AsyncIterableX;