import { Maybe } from "@tsplus/stdlib/data/Maybe/definition"; import { Stream } from "@effect/core/stream/Stream/definition"; import { Channel } from "@effect/core/stream/Channel/definition/base"; import { Chunk } from "@tsplus/stdlib/collections/Chunk/definition"; /** * Transforms all elements of the stream for as long as the specified partial * function is defined. * @tsplus static effect/core/stream/Stream.Aspects collectWhile * @tsplus pipeable effect/core/stream/Stream collectWhile * @tsplus location "@effect/core/stream/Stream/operations/collectWhile" */ export declare function collectWhile(pf: (a: A) => Maybe): (self: import("../definition").Stream) => import("../definition").Stream; //# sourceMappingURL=collectWhile.d.ts.map