import { Arity1 } from '@typed/lambda';
import { Just } from './Just';
import { Maybe } from './Maybe';
/**
* Used for performing side-effects with a Maybe
*/
export declare const unwrap: {
(fn: Arity1, maybe: Just): B;
(fn: Arity1, maybe: Maybe): B | null;
(fn: Arity1): {
(maybe: Just): B;
(maybe: Maybe): B | null;
};
};
//# sourceMappingURL=unwrap.d.ts.map