import { Extend1 } from 'fp-ts/lib/Extend'; import { Stream, URI } from './uri'; /** * Given an iterating function that takes a {@link Stream} as input, `extend` * returns a {@link Stream} containing the results of the iterating function * applied to the whole input {@link Stream}, then to the input {@link Stream} * without the first element, then to the input {@link Stream} without the first * two elements, etc. * * @export * @template A The input value type. * @template B The output value. * @param {(ma: Stream) => B} f The mapping function. * @return {(fa: Stream) => Stream} A function that takes a stream of * type `A` and returns another stream of type `B`. * * @__PURE__ */ export declare function extend(f: (fa: Stream) => B): (fa: Stream) => Stream; /** * The `Extend` category instance for {@link Stream}. */ export declare const Extend: Extend1;