import type { Effect, RIO } from "./effect.js"; /** * Evaluate the predicate, * return the given A as success if predicate returns true, * and the given E as error otherwise * * @ets_data_first cond_ */ export declare function cond(onTrue: () => A, onFalse: () => E, __trace?: string): (b: boolean) => Effect; /** * Evaluate the predicate, * return the given A as success if predicate returns true, * and the given E as error otherwise */ export declare function cond_(b: boolean, onTrue: () => A, onFalse: () => E, __trace?: string): Effect; /** * Evaluate the predicate, * return the given A as success if predicate returns true, * and the given E as error otherwise */ export declare function condM_(b: boolean, onTrue: RIO, onFalse: RIO, __trace?: string): Effect; /** * Evaluate the predicate, * return the given A as success if predicate returns true, * and the given E as error otherwise */ export declare function condM(onTrue: RIO, onFalse: RIO, __trace?: string): (b: boolean) => Effect; //# sourceMappingURL=cond.d.ts.map