import { IAggFuncParams } from 'ag-grid-enterprise';
interface OnlyAggResult {
    distinctValues: Set<number | string>;
    value: number | string | null;
    toString(): string;
}
/**
 * AG Grid aggFunc that returns the column value only when all rows in the group
 * share the same value. Returns null when values differ (or when there are no values).
 *
 * params.values already respects suppressAggFilteredOnly, containing either:
 * - Raw cell values (string | number) for leaf children
 * - OnlyAggResult objects for sub-group children (with pre-computed distinct values)
 *
 * Bails out early as soon as two distinct values are found.
 */
export declare const only: (params: IAggFuncParams) => OnlyAggResult;
export {};
