import { Duration } from "@tsplus/stdlib/data/Duration"; import { Stream } from "@effect/core/stream/Stream/definition"; export declare const StreamTimeoutErrorSym: unique symbol; export declare class StreamTimeoutError { readonly message?: string | undefined; readonly [StreamTimeoutErrorSym] = "StreamTimeoutError"; constructor(message?: string | undefined); } export declare function isStreamTimeoutError(u: unknown): u is StreamTimeoutError; /** * Switches the stream if it does not produce a value after the spcified * duration. * @tsplus static effect/core/stream/Stream.Aspects timeoutTo * @tsplus pipeable effect/core/stream/Stream timeoutTo * @tsplus location "@effect/core/stream/Stream/operations/timeoutTo" */ export declare function timeoutTo(duration: Duration, that: Stream): (self: import("../definition").Stream) => import("../definition").Stream; //# sourceMappingURL=timeoutTo.d.ts.map