import { Either } from './Either';
import { Arity1 } from '@typed/lambda';
/**
* Extracts the value from an `Either` applying function `f` if the `Either` is
* `Left` or function `g` if `Right`.
* @name unpack(f: Arity1, g: Arity1, either: Either): C
*/
export declare const unpack: {
(f: Arity1, g: Arity1, either: Either): C;
(f: Arity1, g: Arity1): (either: Either) => C_1;
(f: Arity1): UnpackArity2A;
(f: Arity1): UnpackArity2B;
};
export declare type UnpackArity2A = {
(g: Arity1, either: Either): C;
(g: Arity1): (either: Either) => C;
};
export declare type UnpackArity2B = {
(g: Arity1, either: Either): C;
(g: Arity1): (either: Either) => C;
};
//# sourceMappingURL=unpack.d.ts.map