import type { Effect } from "../../../../Effect/effect"
import * as O from "../../../../Option"
import * as Chunk from "../core"
/**
 * Returns a filtered, mapped subset of the elements of this chunk based on a .
 */
export declare function collectM_<A, R, E, B>(
  self: Chunk.Chunk<A>,
  f: (a: A) => O.Option<Effect<R, E, B>>
): Effect<R, E, Chunk.Chunk<B>>
/**
 * Returns a filtered, mapped subset of the elements of this chunk based on a .
 *
 * @dataFirst collectM_
 */
export declare function collectM<A, R, E, B>(
  f: (a: A) => O.Option<Effect<R, E, B>>
): (self: Chunk.Chunk<A>) => Effect<R, E, Chunk.Chunk<B>>
//# sourceMappingURL=collectM.d.ts.map
