import { PipelineOperator } from "../../core";
/**
 * Groups incoming documents based on the value of a specified expression,
 * then computes the count of documents in each distinct group.
 *
 * {@link https://docs.mongodb.com/manual/reference/operator/aggregation/sortByCount/ usage}.
 *
 * @param collection
 * @param expr
 * @param options
 * @returns
 */
export declare const $sortByCount: PipelineOperator;
