import { AsyncIterableX } from '../asynciterablex.js'; import { OperatorAsyncFunction } from '../../interfaces.js'; /** @ignore */ export declare class MapAsyncIterable extends AsyncIterableX { private _source; private _selector; private _thisArg; constructor(source: AsyncIterable, selector: (value: TSource, index: number, signal?: AbortSignal) => Promise | TResult, thisArg?: any); [Symbol.asyncIterator](signal?: AbortSignal): AsyncGenerator, void, unknown>; } /** * Projects each element of an async-enumerable sequence into a new form. * * @template TSource The type of the elements in the source sequence. * @template TResult The type of the elements in the result sequence, obtained by running the selector * function for each element in the source sequence. * @param {((value: TSource, index: number, signal?: AbortSignal) => Promise | TResult)} selector A transform function * to apply to each source element. * @param {*} [thisArg] Optional this for binding to the selector. * @returns {OperatorAsyncFunction} An async-iterable sequence whose elements are the result of invoking the transform * function on each element of source. */ export declare function map(selector: (value: TSource, index: number, signal?: AbortSignal) => Promise | TResult, thisArg?: any): OperatorAsyncFunction;