UNPKG

@daiso-tech/core

Version:

The library offers flexible, framework-agnostic solutions for modern web applications, built on adaptable components that integrate seamlessly with popular frameworks like Next Js.

14 lines (13 loc) 459 B
/** * @module Collection */ import { type ICollection, type Map } from "../../../../collection/contracts/_module-exports.js"; /** * @internal */ export declare class CountByIterable<TInput, TOutput = TInput> implements Iterable<[TOutput, number]> { private collection; private selectFn; constructor(collection: ICollection<TInput>, selectFn?: Map<TInput, ICollection<TInput>, TOutput>); [Symbol.iterator](): Iterator<[TOutput, number]>; }