import { Semigroup } from 'fp-ts/Semigroup' /** * Represents the result of a `Selection`. * * @category model * @since 0.0.1 */ export declare type MatchResult = MatchOk | MatchFail | MatchCull /** * @category model * @since 0.0.1 */ export declare type MatchOk = 'MatchOk' /** * @category model * @since 0.0.1 */ export declare type MatchFail = 'MatchFail' /** * @category model * @since 0.0.1 */ export declare type MatchCull = 'MatchCull' /** * @category constructors * @since 0.0.1 */ export declare const MatchOk: MatchResult /** * @category constructors * @since 0.0.1 */ export declare const MatchFail: MatchResult /** * @category constructors * @since 0.0.1 */ export declare const MatchCull: MatchResult /** * @category constructors * @since 0.0.1 */ export declare const fromBoolean: (bool: boolean) => MatchResult /** * @category destructors * @since 0.0.1 */ export declare const fold: (patterns: { readonly MatchOk: () => R readonly MatchFail: () => R readonly MatchCull: () => R }) => (result: MatchResult) => R /** * @category instances * @since 0.0.1 */ export declare const semigroupMatchResult: Semigroup