import { RowId } from '../types/row.type'; import { CellType } from '../types/cell.type'; import { DataGridProps } from '../DataGrid.types'; import { EditingTriggerAction } from '../types/edit.type'; export declare const useEditState: (props: Pick, "editMode" | "editingCells" | "onEditingCellsChange" | "editingRows" | "onEditingRowsChange" | "processRowUpdate" | "onProcessRowUpdateError">) => { editingRows: any[] | readonly RowId[]; editingCells: any[] | readonly CellType[]; onEditingCellsChange: (cells: CellType[]) => void; onEditingRowsChange: (rowIds: RowId[]) => void; editingCell: CellType; editingValueCache: Record; startEditing: (params: { rowId: RowId; columnField?: string; }) => void; stopEditing: (params: { rowId: RowId; columnField?: string; saveChanges?: boolean; originalRow: T; trigger: EditingTriggerAction; onCellEditStop?: DataGridProps["onCellEditStop"]; onRowEditStop?: DataGridProps["onRowEditStop"]; }) => Promise; updateEditingValue: (rowId: RowId, field: string, value: any) => void; };