import { STM } from "@effect/core/stm/STM/definition/base";
import { Refinement, LazyArg } from "@tsplus/stdlib/data/Function";
import { Predicate } from "@tsplus/stdlib/data/Predicate";
/**
 * Dies with specified `unknown` if the predicate fails.
 * @tsplus fluent ets/STM filterOrDie
 * @tsplus location "@effect/core/stm/STM/operations/filterOrDie"
 */
export declare function filterOrDie_<R, E, A, B extends A>(self: STM<R, E, A>, f: Refinement<A, B>, defect: LazyArg<unknown>): STM<R, E, B>;
export declare function filterOrDie_<R, E, A>(self: STM<R, E, A>, f: Predicate<A>, defect: LazyArg<unknown>): STM<R, E, A>;
/**
 * Dies with specified `unknown` if the predicate fails.
 * @tsplus static ets/STM/Aspects filterOrDie
 * @tsplus location "@effect/core/stm/STM/operations/filterOrDie"
 */
export declare function filterOrDie<A, B extends A>(f: Refinement<A, B>, defect: LazyArg<unknown>): <R, E>(self: STM<R, E, A>) => STM<R, E, B>;
export declare function filterOrDie<A>(f: Predicate<A>, defect: LazyArg<unknown>): <R, E>(self: STM<R, E, A>) => STM<R, E, A>;
//# sourceMappingURL=filterOrDie.d.ts.map