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