/**
 * Runs a mapping function over an asynchronous iterable
 */
export declare function map<TFrom, TTo>(mapper: (t: TFrom, index: number) => Promise<TTo> | TTo): (source: AsyncIterable<TFrom>) => AsyncGenerator<TTo, void, unknown>;
