import * as Chunk from "../Collections/Immutable/Chunk/core.js"; import type { Effect } from "./effect.js"; import type { ExecutionStrategy } from "./ExecutionStrategy.js"; /** * Feeds elements of type `A` to `f` and accumulates all errors in error * channel or successes in success channel. * * This combinator is lossy meaning that if there are errors all successes * will be lost. */ export declare function validate_(as: Iterable, f: (a: A) => Effect, __trace?: string): Effect, Chunk.Chunk>; /** * Feeds elements of type `A` to `f` and accumulates all errors in error * channel or successes in success channel. * * This combinator is lossy meaning that if there are errors all successes * will be lost. */ export declare function validatePar_(as: Iterable, f: (a: A) => Effect, __trace?: string): Effect, Chunk.Chunk>; /** * Feeds elements of type `A` to `f` and accumulates all errors in error * channel or successes in success channel. * * This combinator is lossy meaning that if there are errors all successes * will be lost. */ export declare function validateParN_(as: Iterable, n: number, f: (a: A) => Effect, __trace?: string): Effect, Chunk.Chunk>; /** * Feeds elements of type `A` to `f` and accumulates all errors in error * channel or successes in success channel. * * This combinator is lossy meaning that if there are errors all successes * will be lost. */ export declare function validateExec_(as: Iterable, es: ExecutionStrategy, f: (a: A) => Effect, __trace?: string): Effect, Chunk.Chunk>; /** * Feeds elements of type `A` to `f` and accumulates all errors in error * channel or successes in success channel. * * This combinator is lossy meaning that if there are errors all successes * will be lost. * * @ets_data_first validate_ */ export declare function validate(f: (a: A) => Effect, __trace?: string): (as: Iterable) => Effect, Chunk.Chunk>; /** * Feeds elements of type `A` to `f` and accumulates all errors in error * channel or successes in success channel. * * This combinator is lossy meaning that if there are errors all successes * will be lost. * * @ets_data_first validatePar_ */ export declare function validatePar(f: (a: A) => Effect, __trace?: string): (as: Iterable) => Effect, Chunk.Chunk>; /** * Feeds elements of type `A` to `f` and accumulates all errors in error * channel or successes in success channel. * * This combinator is lossy meaning that if there are errors all successes * will be lost. * * @ets_data_first validateParN_ */ export declare function validateParN(n: number, f: (a: A) => Effect, __trace?: string): (as: Iterable) => Effect, Chunk.Chunk>; /** * Feeds elements of type `A` to `f` and accumulates all errors in error * channel or successes in success channel. * * This combinator is lossy meaning that if there are errors all successes * will be lost. * * @ets_data_first validateExec_ */ export declare function validateExec(es: ExecutionStrategy, f: (a: A) => Effect, __trace?: string): (as: Iterable) => Effect, Chunk.Chunk>; //# sourceMappingURL=validate.d.ts.map