/**
 * @module Collection
 */
import { type AsyncMap, type IAsyncCollection } from "../../../../collection/contracts/_module.js";
/**
 * @internal
 */
export declare class AsyncCountByIterable<TInput, TOutput = TInput> implements AsyncIterable<[TOutput, number]> {
    private collection;
    private callback;
    constructor(collection: IAsyncCollection<TInput>, callback?: AsyncMap<TInput, IAsyncCollection<TInput>, TOutput>);
    [Symbol.asyncIterator](): AsyncIterator<[TOutput, number]>;
}
