import { NonEmptyArguments, Ord, Equal } from "@effect-ts-app/core/Prelude"; import type { Option } from "./Option.js"; import * as Chunk from "@fp-ts/data/Chunk"; export * from "@fp-ts/data/Chunk"; /** * @tsplus pipeable fp-ts/data/Chunk sortWith * @tsplus location "@effect-ts-app/core/Chunk" */ export declare function ChunksortWith(...ords: NonEmptyArguments>): (a: Chunk.Chunk) => Chunk.Chunk; /** * @tsplus fluent fp-ts/data/Chunk groupByT * @tsplus location "@effect-ts-app/core/Chunk" */ export declare function groupByTChunk_(c: Chunk.Chunk, f: (a: A) => Key): Chunk.Chunk; /** * Returns the first element that satisfies the predicate. * @tsplus static fp-ts/data/Chunk.Ops findFirstMap * @tsplus pipeable fp-ts/data/Chunk findFirstMap * @tsplus location "@effect-ts-app/core/Chunk" */ export declare function findFirstMap(f: (a: A) => Option): (as: Chunk.Chunk) => import("@fp-ts/data/Option").None | import("@fp-ts/data/Option").Some; /** * @tsplus getter fp-ts/data/Chunk toArray * @tsplus location "@effect-ts-app/core/Chunk" */ export declare function toArray(c: Chunk.Chunk): readonly T[]; /** * Remove duplicates from an array, keeping the first occurrence of an element. * @tsplus static fp-ts/data/Chunk.Ops uniq * @tsplus pipeable fp-ts/data/Chunk uniq * @tsplus location "@effect-ts-app/core/Chunk" */ export declare function uniq(E: Equal): (self: Chunk.Chunk) => Chunk.Chunk; /** * Test if a value is a member of an array. Takes a `Equivalence` as a single * argument which returns the function to use to search for a value of type `A` * in an array of type `Chunk`. * @tsplus static fp-ts/data/Chunk.Ops elem2 * @tsplus pipeable fp-ts/data/Chunk elem2 * @tsplus location "@effect-ts-app/core/Chunk" */ export declare function elem(E: Equal, value: A): (self: Chunk.Chunk) => boolean; /** * @tsplus pipeable fp-ts/data/Chunk partition * @tsplus location "@effect-ts-app/core/Chunk" */ export declare const ChunkPartition: { (refinement: import("@fp-ts/data/Predicate").Refinement): (fc: Chunk.Chunk) => readonly [Chunk.Chunk, Chunk.Chunk]; (predicate: import("@fp-ts/data/Predicate").Predicate): (fb: Chunk.Chunk) => readonly [Chunk.Chunk, Chunk.Chunk]; }; //# sourceMappingURL=Chunk.d.ts.map