import { AsyncStream } from '../uri'; /** * Applies a function to the element at the specified index, creating * a new {@link AsyncStream}. * * *Note*: If the index was negative, the {@link AsyncStream} will not be * modified. * * @export * @template A The value type. * @param {number} i The index of the element to modify. * @param {(a: A) => A | Promise} f The function to modify the element. * @return {AsyncStream} The stream whose value at given index is modified. * * @__PURE__ */ export declare function modifyAt(i: number, f: (a: A) => A | Promise): (fa: AsyncStream) => AsyncStream;