import { IRowNode } from 'ag-grid-enterprise';
/**
 * What row action triggered the Row Change: 'Add', 'Update', 'Delete' or 'Load'
 */
export type RowDataChangeTrigger = 'Add' | 'Update' | 'Delete' | 'Load';
export interface RowDataChangedInfo<TData = any> {
    /**
     * Timestamp of change occurrence (in milliseconds)
     */
    changedAt: number;
    /**
     * Data rows that have been added, updated, or deleted
     */
    dataRows: TData[];
    /**
     * Trigger for row change: Load, Add, Update, or Delete
     */
    rowTrigger: RowDataChangeTrigger;
    /**
     * Row Nodes that were affected by this change
     */
    rowNodes: IRowNode<TData>[];
}
