import { Operator } from '../Seq'; /** * Returns the sequence in which each element has been transformed by the specified transformation function. * * ```typescript * const result = from([1, 2, 3, 4, 5]).pipe(map(i => i * i)).toArray(); * //result: [1,4,9,16,25] * ``` * * @param func Transform function. * @returns Operator function. * @typeParam T Source element type. * @typeParam TResult Transformed element type. * @category Operators */ export declare const map: (func: (arg: T, index: number) => TResult) => Operator;