import type { FiberId } from "../../Fiber/FiberId"; import type { Cause } from "./model"; /** * ```haskell * fail :: e -> Cause e * ``` */ export declare const fail: (value: E) => Cause; /** * ```haskell * die :: _ -> Cause Never * ``` */ export declare const die: (value: unknown) => Cause; /** * ```haskell * interrupt :: FiberId -> Cause Never * ``` */ export declare const interrupt: (fiberId: FiberId) => Cause; /** * ```haskell * then :: Cause c => (c e, c f) -> c (e | f) * ``` */ export declare const then: (left: Cause, right: Cause) => Cause; /** * ```haskell * both :: Cause c => (c e, c f) -> c (e | f) * ``` */ export declare const both: (left: Cause, right: Cause) => Cause; //# sourceMappingURL=constructors.d.ts.map