import { IRowNode } from '@ag-grid-community/core';
import { BaseEventInfo } from './BaseEventInfo';
/**
 * What row action triggered the Grid change: 'Add', 'Update', 'Delete' or 'Load'
 */
export type GridDataChangeTrigger = 'Add' | 'Update' | 'Delete' | 'Load';
/**
 * EventInfo returned by GridDataChanged event
 */ export interface GridDataChangedInfo<TData = any> extends BaseEventInfo {
    /**
     * 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: GridDataChangeTrigger;
    /**
     * Row Nodes that were affected by this change
     */
    rowNodes: IRowNode<TData>[];
}
