import type { Both, Cause, Then } from "./model"; /** * ```haskell * didFail :: Cause e -> Boolean * ``` * * Returns if the cause has a failure in it */ export declare const didFail: (cause: Cause) => boolean; /** * ```haskell * isThen :: Cause e -> Boolean * ``` */ export declare const isThen: (cause: Cause) => cause is Then; /** * ```haskell * isBoth :: Cause e -> Boolean * ``` */ export declare const isBoth: (cause: Cause) => cause is Both; /** * ```haskell * isEmpty :: Cause e -> Boolean * ``` */ export declare const isEmpty: (cause: Cause) => boolean; /** * ```haskell * isDie :: Cause e -> Boolean * ``` * * Returns if a cause contains a defect */ export declare const isDie: (cause: Cause) => boolean; /** * ```haskell * isInterrupt :: Cause e -> Boolean * ``` * * Returns if the cause contains an interruption in it */ export declare const isInterrupt: (cause: Cause) => boolean; /** * ```haskell * contains :: Cause c => c f -> c e -> Boolean * ``` * * Determines if this cause contains or is equal to the specified cause. */ export declare const contains: (that: Cause) => (cause: Cause) => boolean; //# sourceMappingURL=guards.d.ts.map