import type TreeNode from '../../../../utils/dataStructures/tree'; /** * The result of a collapse/expand node modification: the visual column indexes the action * hid/showed, by how much the colspan changed, and a rollback that reverses the modification. */ export interface NodeModificationResult { rollbackModification: Function; affectedColumns: number[]; colspanCompensation: number; } /** * An entry point for triggering a node modifiers. * * @param {string} actionName An action name to trigger. * @param {TreeNode} nodeToProcess A tree node to process. * @param {number} gridColumnIndex The visual column index. * @returns {object} */ export declare function triggerNodeModification(actionName: string, nodeToProcess: TreeNode, gridColumnIndex: number): NodeModificationResult | void;