import { Alternative1 } from 'fp-ts/lib/Alternative'; import { Lazy } from 'fp-ts/lib/function'; import { Stream, URI } from './uri'; /** * Less strict version of [`alt`](#alt). * * The `W` suffix (short for **W**idening) means that the return types will be * merged. * * @export * @template B The other value type. * @param {Lazy>} that The lazy function providing the other stream. * @return {(fa: Stream) => Stream} A function that takes a stream and * returns another stream whose elements are concatted with the given one. * * @category error handling * @__PURE__ */ export declare function altW(that: Lazy>): (ma: Stream) => Stream; /** * Concatenates the inputs to a single {@link Stream}. * * @export * @template A The value type. * @param {Lazy>} that The lazy function providing the other stream. * @return {(fa: Stream) => Stream} A function that takes a stream and * returns another stream whose elements are concatted with the given one. */ export declare function alt(that: Lazy>): (ma: Stream) => Stream; /** * The `Alternative` category instance for {@link Stream}. */ export declare const Alternative: Alternative1;