import { Either } from 'fp-ts/lib/Either'; import { FromEither1 } from 'fp-ts/lib/FromEither'; import { AsyncStream, URI } from '../uri'; /** * Creates an {@link AsyncStream} from an {@link Either} instance. * * @export * @template E The left value type. * @template A The right value type. * @param {Either} fa The either instance. * @return {AsyncStream} The async stream output. * * @category conversions * @__PURE__ */ export declare function fromEither(fa: Either): AsyncStream; /** * The `FromEither` category instance for {@link AsyncStream}. */ export declare const FromEither: FromEither1; /** * @category lifting */ export declare const fromEitherK: (f: (...a: A) => Either) => (...a: A) => AsyncStream;