import { ColDef, ColGroupDef } from 'ag-grid-community';
import { DataTableProps } from '../DataTable';
import { ColumnDefinition, ExtendedColDef, NestedColumnDefinition } from '../types';
type ColType = ExtendedColDef | ColGroupDef;
type ColDefinition = ColType & {
    groupInfo?: NestedColumnDefinition;
};
export declare function toGroupedCols(colDefs?: ColDefinition[]): ColType[];
export declare function flattenColumnDefinitions(columnDefinitions: DataTableProps['columnDefinitions']): ColumnDefinition[];
export declare function flattenColDefs(colDefs?: (ColDef | ColGroupDef)[]): ExtendedColDef[];
export {};
