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