import { Stream } from "@effect/core/stream/Stream/definition";
import { LazyArg } from "@tsplus/stdlib/data/Function";
import { Cause } from "@effect/core/io/Cause/definition";
import { Duration } from "@tsplus/stdlib/data/Duration";
/**
 * Fails the stream with given cause if it does not produce a value after the
 * specified duration.
 * @tsplus fluent ets/Stream timeoutFailCause
 * @tsplus location "@effect/core/stream/Stream/operations/timeoutFailCause"
 */
export declare function timeoutFailCause_<R, E, E2, A>(self: Stream<R, E, A>, cause: LazyArg<Cause<E2>>, duration: LazyArg<Duration>, __tsplusTrace?: string): Stream<R, E | E2, A>;
/**
 * Fails the stream with given cause if it does not produce a value after the
 * specified duration.
 * @tsplus static ets/Stream/Aspects timeoutFailCause
 * @tsplus pipeable ets/Stream timeoutFailCause
 * @tsplus location "@effect/core/stream/Stream/operations/timeoutFailCause"
 */
export declare const timeoutFailCause: <E2>(cause: import("@tsplus/stdlib/data/Function").LazyArg<import("../../../io/Cause").Cause<E2>>, duration: LazyArg<Duration>, __tsplusTrace?: string) => <R, E, A>(self: import("../definition").Stream<R, E, A>) => import("../definition").Stream<R, E | E2, A>;
//# sourceMappingURL=timeoutFailCause.d.ts.map