import type { Step } from "../step.ts"; import type { ItemsStep, StepRepresentingList } from "./connection.ts"; import type { __ListTransformStep, ListTransformItemPlanCallback } from "./listTransform.ts"; export type GroupByPlanMemo = Map; /** * Takes a single dimensional list plan and a mapper that returns a grouping * key. Returns a plan that results in a Map where the keys are the grouping * keys and the values are lists of the original entries that match these * grouping keys. */ export declare function groupBy, TItemStep extends Step>(listStep: TListStep, mapper: ListTransformItemPlanCallback, TItemStep>): __ListTransformStep; //# sourceMappingURL=groupBy.d.ts.map