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`.
 * @tsplus static ets/Effect/Ops when
 * @tsplus location "@effect/core/io/Effect/operations/when"
 */
export declare function when<R, E, A>(predicate: LazyArg<boolean>, effect: Effect<R, E, A>, __tsplusTrace?: string): Effect<R, E, Maybe<A>>;
//# sourceMappingURL=when.d.ts.map