import type { Predicate } from "../../../Function/index.js"; import * as C from "./core.js"; /** * Repeatedly runs the sink for as long as its results satisfy * the predicate `p`. The sink's results will be accumulated * using the stepping function `f`. */ export declare function collectAllWhileWith_(self: C.Sink, z: S, p: Predicate, f: (s: S, z: Z) => S): C.Sink; /** * Repeatedly runs the sink for as long as its results satisfy * the predicate `p`. The sink's results will be accumulated * using the stepping function `f`. * * @ets_data_first collectAllWhileWith_ */ export declare function collectAllWhileWith(z: S, p: Predicate, f: (s: S, z: Z) => S): (self: C.Sink) => C.Sink; //# sourceMappingURL=collectAllWhileWith.d.ts.map