/** * @file Streaming transform helper — `transform()` wraps * `streaming-iterables.transform` with the project's `pRetry` per-item retry * policy. */ import type { IterationOptions } from '../promises/types.js'; /** * Transform an iterable with a function. * * @example * ;```typescript * const lines = ['hello', 'world'] * for await (const upper of transform(lines, async line => { * return line.toUpperCase() * })) { * console.log(upper) // 'HELLO', 'WORLD' * } * ``` */ export declare function transform(iterable: Iterable | AsyncIterable, func: (item: T) => Promise, options?: number | IterationOptions | undefined): AsyncIterable;