import { LazyArg } from "@tsplus/stdlib/data/Function";
import { STM } from "@effect/core/stm/STM/definition/base";
import { Maybe } from "@tsplus/stdlib/data/Maybe/definition";
/**
 * The moral equivalent of `if (p) exp`.
 * @tsplus static ets/STM/Ops when
 * @tsplus location "@effect/core/stm/STM/operations/when"
 */
export declare function when<R, E, A>(predicate: LazyArg<boolean>, effect: STM<R, E, A>): STM<R, E, Maybe<A>>;
//# sourceMappingURL=when.d.ts.map