import type * as O from "../../../../Option/index.js"; import * as C from "../core.js"; /** * Transforms all elements of the stream for as long as the specified partial function is defined. */ export declare function collectWhile_(self: C.Stream, pf: (a: A) => O.Option): C.Stream; /** * Transforms all elements of the stream for as long as the specified partial function is defined. * * @ets_data_first collectWhile_ */ export declare function collectWhile(pf: (a: A) => O.Option): (self: C.Stream) => C.Stream; //# sourceMappingURL=collectWhile.d.ts.map