import { Stream } from "@effect/core/stream/Stream/definition";
import { Maybe } from "@tsplus/stdlib/data/Maybe/definition";
/**
 * Keeps some of the errors, and terminates the fiber with the rest.
 * @tsplus fluent ets/Stream refineOrDie
 * @tsplus location "@effect/core/stream/Stream/operations/refineOrDie"
 */
export declare function refineOrDie_<R, E, E2, A>(self: Stream<R, E, A>, pf: (e: E) => Maybe<E2>, __tsplusTrace?: string): Stream<R, E2, A>;
/**
 * Keeps some of the errors, and terminates the fiber with the rest.
 * @tsplus static ets/Stream/Aspects refineOrDie
 * @tsplus pipeable ets/Stream refineOrDie
 * @tsplus location "@effect/core/stream/Stream/operations/refineOrDie"
 */
export declare const refineOrDie: <E, E2>(pf: (e: E) => import("@tsplus/stdlib/data/Maybe").Maybe<E2>, __tsplusTrace?: string) => <R, A>(self: import("../definition").Stream<R, E, A>) => import("../definition").Stream<R, E2, A>;
//# sourceMappingURL=refineOrDie.d.ts.map