import { NumberBucket, CountResult } from '../models/CountResult'; import { Iteratee } from './accesor'; /** * Count the amount of times a certain string or chain of strings appear in a collection * * @export * @template T * @param {T[]} array * @param {string[][]} buckets * @param {Iteratee} iteratee * @return {CountResult} */ export declare function countByStringBuckets(array: T[], buckets: string[][], iteratee: Iteratee): CountResult; /** * Count the amount of items inside a number bucket in a collection * * @export * @template T * @param {T[]} array * @param {NumberBucket[]} buckets * @param {Iteratee} iteratee * @return {CountResult} */ export declare function countByNumberBuckets(array: T[], buckets: NumberBucket[], iteratee: Iteratee): CountResult;