import type { GroupByOption } from '../ts-types';
export declare function getGroupByDataConfig(groupByOption: GroupByOption, addRecordRule: 'Array' | 'Object'): {
    groupByRules: string[];
    addRecordRule: "Array" | "Object";
} | {
    addRecordRule: "Array" | "Object";
    groupByRules?: undefined;
};
