import { Column, ColumnVO, ICellRendererParams, ValueFormatterFunc } from 'ag-grid-enterprise'; import { ColDef } from 'ag-grid-community'; import { AggregateFieldHierarchy, ColDefContextProps } from './types'; /** * Returns row data for a cell renderer. For leaf rows, returns `params.data` directly. * For group rows (where `params.data` is null), falls back to the first child row's data. * Useful in custom cell renderers that need to display field values on grouped rows. */ export declare const getFirstRowData: (params: ICellRendererParams) => Record | null; export declare const liftFocusedOptions: (currentOptions: T[] | undefined, key: keyof T, currentFocuses: string[]) => T[] | undefined; export declare const colDefContext: (colDef: ColDef | null | undefined) => ColDefContextProps; export declare const colDefValueFormatter: (colDef: ColDef) => ValueFormatterFunc | null; export declare const colDefMaxSelectableValues: (colDef: ColDef) => number | null; export declare const isColDefSingleSelect: (colDef: ColDef) => boolean; export declare const isColDefNumericDataType: (colDef: ColDef) => boolean; /** * Whether a column's header should sit on the right edge. Numeric data types * right-align by convention, and so does AG Grid's own `rightAligned` type. */ export declare const isColDefRightAligned: (colDef: ColDef) => boolean; export declare const flattenAggregateFieldHierarchy: (hierarchy: AggregateFieldHierarchy | undefined) => string[]; export declare const getAggregateFields: (colDef: ColDef) => string[]; export declare const getAggregateLeafFields: (hierarchy: AggregateFieldHierarchy | undefined) => string[]; export declare const getAggregateRootField: (colDef: ColDef) => string | undefined; export declare const isAggregateColDef: (colDef: ColDef) => boolean; export declare const processRowGroupCols: (rowGroupCols: ColumnVO[], colDefs: (ColDef | null | undefined)[] | undefined) => ColumnVO[]; export declare const mapColsToColumnV0: (columns: Column[]) => ColumnVO[];