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