import { IterableX } from '../iterablex.js'; import { OperatorFunction } from '../../interfaces.js'; /** @ignore */ export declare class MapIterable extends IterableX { private _source; private _selector; constructor(source: Iterable, selector: (value: TSource, index: number) => TResult); [Symbol.iterator](): Generator; } /** * 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) => TResult)} selector A transform function * to apply to each source element. * @param {*} [thisArg] Optional this for binding to the selector. * @returns {OperatorFunction} An 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) => TResult, thisArg?: any): OperatorFunction;