import { STM } from "@effect/core/stm/STM/definition/base";
import { Maybe } from "@tsplus/stdlib/data/Maybe/definition";
/**
 * Fail with the returned value if the `PartialFunction` matches, otherwise
 * continue with our held value.
 * @tsplus fluent ets/STM reject
 * @tsplus location "@effect/core/stm/STM/operations/reject"
 */
export declare function reject_<R, E, A, E1>(self: STM<R, E, A>, pf: (a: A) => Maybe<E1>): STM<R, E | E1, A>;
/**
 * Fail with the returned value if the `PartialFunction` matches, otherwise
 * continue with our held value.
 * @tsplus static ets/STM/Aspects reject
 * @tsplus pipeable ets/STM reject
 * @tsplus location "@effect/core/stm/STM/operations/reject"
 */
export declare const reject: <A, E1>(pf: (a: A) => import("@tsplus/stdlib/data/Maybe").Maybe<E1>) => <R, E>(self: import("../definition").STM<R, E, A>) => import("../definition").STM<R, E | E1, A>;
//# sourceMappingURL=reject.d.ts.map