import { Compactable1 } from 'fp-ts/lib/Compactable'; import { Either } from 'fp-ts/lib/Either'; import { Option } from 'fp-ts/lib/Option'; import { Separated } from 'fp-ts/lib/Separated'; import { Stream, URI } from './uri'; /** * Compact a {@link Stream} of {@link Option}s discarding the `None` values * and keeping the `Some` values. It returns a new {@link Stream} containing * the values of `Some` options. * * @export * @template A The value type. * @param {Stream>} fa The input stream. * @return {Stream} The output stream. * * @category filtering * @__PURE__ */ export declare function compact(fa: Stream>): Stream; /** * Separate a {@link Stream} of {@link Either}s into `Left` and `Right`s, * creating two new {@link Stream}s where one containing all the left * values and the other containing all the right values. * * @export * @template E The left value type. * @template A The right value type. * @param {Stream>} fa The input stream. * @return {Separated, Stream>} The separated output streams. * * @category filtering * @__PURE__ */ export declare function separate(fa: Stream>): Separated, Stream>; /** * The `Compactable` category instance for {@link Stream}. */ export declare const Compactable: Compactable1;