import { ColumnApi } from '@ag-grid-community/core'; export declare type GridSortModelItem = { colId: string; sort: 'asc' | 'desc'; }; /** * Returns the active sort model using the Column State API introduced as the * replacement for GridApi#getSortModel in AG Grid 24 and required in AG Grid 27. */ export declare function getSortModel(columnApi: ColumnApi): GridSortModelItem[]; /** * Applies the complete sort model and clears sorting from columns omitted from * the model, matching the behavior of the removed GridApi#setSortModel method. */ export declare function applySortModel(columnApi: ColumnApi, sortModel?: GridSortModelItem[]): boolean;