import { LazyArg } from "@tsplus/stdlib/data/Function";
import { Effect } from "@effect/core/io/Effect/definition";
import { Maybe } from "@tsplus/stdlib/data/Maybe/definition";
/**
 * The moral equivalent of `if (p) exp` when `p` has side-effects.
 * @tsplus static ets/Effect/Ops whenEffect
 * @tsplus location "@effect/core/io/Effect/operations/whenEffect"
 */
export declare function whenEffect<R, E, R1, E1, A>(predicate: LazyArg<Effect<R, E, boolean>>, effect: LazyArg<Effect<R1, E1, A>>, __tsplusTrace?: string): Effect<R | R1, E | E1, Maybe<A>>;
//# sourceMappingURL=whenEffect.d.ts.map