import type { Chunk } from "../Collections/Immutable/Chunk/core.js"; import type { Option } from "../Option/index.js"; import type { Sync } from "./core.js"; /** * Evaluate each sync in the structure from left to right, collecting the * the successful values and discarding the empty cases. For a parallel version, see `collectPar`. * * @ets_data_first collect_ */ export declare function collect(f: (a: A) => Sync, B>): (self: Iterable) => Sync>; /** * Evaluate each Sync in the structure from left to right, collecting the * the successful values and discarding the empty cases. For a parallel version, see `collectPar`. */ export declare function collect_(self: Iterable, f: (a: A) => Sync, B>): Sync>; //# sourceMappingURL=collect.d.ts.map