import { Either } from 'fp-ts/lib/Either'; import { Ord } from 'fp-ts/lib/Ord'; export * from 'fp-ts/lib/Either'; /** * type guard for Either */ export declare const isEither: (x: unknown) => x is Either; /** * Derives an `Ord` instance for `Either` given an `Ord` and an * `Ord`. */ export declare const getOrd: (ordA: Ord, ordB: Ord) => Ord>; export declare const orElseW: (f: (a: E) => Either) => (ma: Either) => Either; export declare const toUnion: (either: Either) => E | A;