import type { MaybePromise } from './executor.cjs'; /** * Given an AsyncIterable and a callback function, return an AsyncIterator * which produces values mapped via calling the callback function. */ export declare function mapAsyncIterator(iterator: AsyncIterator, onNext: (value: T) => MaybePromise, onError?: any, onEnd?: () => MaybePromise): AsyncIterableIterator;