import { Either } from 'fp-ts/lib/Either'; import { FromEither1 } from 'fp-ts/lib/FromEither'; import { Stream, URI } from '../uri'; /** * Create a {@link Stream} from {@link Either}. * * The resulting {@link Stream} will contain the content of the {@link Either} * if it is `Right` and it will be empty if the {@link Either} is `Left. * * @export * @template A The value type. * @param {Either} fa The either input. * @return {Stream} The output stream. * * @category conversions * @__PURE__ */ export declare function fromEither(fa: Either): Stream; /** * The `FromEither` category instance for {@link Stream}. * * @category conversions */ export declare const FromEither: FromEither1; /** * @category lifting * * @__PURE__ */ export declare const fromEitherK: (f: (...a: A) => Either) => (...a: A) => Stream;