import { IdentityInterface, MonadInterface } from '../../interfaces'; export declare class EitherLeft implements IdentityInterface { private readonly value; constructor(value: any); static of(x: any): IdentityInterface; map(fn: Function): IdentityInterface; join(): any; chain(fn: Function): any; } export declare class EitherRight implements IdentityInterface { private readonly value; constructor(value: any); static of(x: any): IdentityInterface; map(fn: Function): IdentityInterface; join(): any; chain(fn: Function): any; } export declare const Either: import("../../typescriptUtils").Curry<[left: any, right: any, x: EitherLeft | EitherRight], MonadInterface>; declare const _default: { Either: import("../../typescriptUtils").Curry<[left: any, right: any, x: EitherLeft | EitherRight], MonadInterface>; EitherLeft: typeof EitherLeft; EitherRight: typeof EitherRight; }; export default _default; //# sourceMappingURL=index.d.ts.map