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 a `RuntimeException` having the specified text message if the
 * predicate fails.
 * @tsplus fluent ets/Effect filterOrDieMessage
 * @tsplus location "@effect/core/io/Effect/operations/filterOrDieMessage"
 */
export declare function filterOrDieMessage_<R, E, A, B extends A>(self: Effect<R, E, A>, f: Refinement<A, B>, message: LazyArg<string>, __tsplusTrace?: string): Effect<R, E, A>;
export declare function filterOrDieMessage_<R, E, A>(self: Effect<R, E, A>, f: Predicate<A>, message: LazyArg<string>, __tsplusTrace?: string): Effect<R, E, A>;
/**
 * Dies with specified defect if the predicate fails.
 * @tsplus static ets/Effect/Aspects filterOrDieMessage
 * @tsplus location "@effect/core/io/Effect/operations/filterOrDieMessage"
 */
export declare function filterOrDieMessage<A, B extends A>(f: Refinement<A, B>, message: LazyArg<string>, __tsplusTrace?: string): <R, E>(self: Effect<R, E, A>) => Effect<R, E, A>;
export declare function filterOrDieMessage<A>(f: Predicate<A>, message: LazyArg<string>, __tsplusTrace?: string): <R, E>(self: Effect<R, E, A>) => Effect<R, E, A>;
//# sourceMappingURL=filterOrDieMessage.d.ts.map