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