import { Stream } from "@effect/core/stream/Stream/definition";
import { LazyArg } from "@tsplus/stdlib/data/Function";
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 timeoutFail
 * @tsplus location "@effect/core/stream/Stream/operations/timeoutFail"
 */
export declare function timeoutFail_<R, E, E2, A>(self: Stream<R, E, A>, e: LazyArg<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 timeoutFail
 * @tsplus pipeable ets/Stream timeoutFail
 * @tsplus location "@effect/core/stream/Stream/operations/timeoutFail"
 */
export declare const timeoutFail: <E2>(e: import("@tsplus/stdlib/data/Function").LazyArg<E2>, duration: LazyArg<Duration>, __tsplusTrace?: string) => <R, E, A>(self: import("../definition").Stream<R, E, A>) => import("../definition").Stream<R, E | E2, A>;
//# sourceMappingURL=timeoutFail.d.ts.map