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