import type TreeNode from '../../../../utils/dataStructures/tree'; import type { HeaderNodeData } from '../headersTree'; import type { NodeModificationResult } from './index'; /** * Collapsing a node is a process where the processing node is collapsed * to the colspan width of the first child. * * @param {TreeNode} nodeToProcess A tree node to process. * @returns {object} Returns an object with properties. */ export declare function collapseNode(nodeToProcess: TreeNode): NodeModificationResult;