import { LazyArg } from "@tsplus/stdlib/data/Function";
import { Stream } from "@effect/core/stream/Stream/definition";
/**
 * Returns the specified stream if the given condition is satisfied, otherwise
 * returns an empty stream.
 * @tsplus static ets/Stream/Ops when
 * @tsplus location "@effect/core/stream/Stream/operations/when"
 */
export declare function when<R, E, A>(b: LazyArg<boolean>, stream: LazyArg<Stream<R, E, A>>, __tsplusTrace?: string): Stream<R, E, A>;
//# sourceMappingURL=when.d.ts.map