import { AbstractDataTreeNode } from './types';
export declare function getTreeNodeByLevel(node: AbstractDataTreeNode, level: number): AbstractDataTreeNode;
export declare function isSubTotalTreeNode(node: AbstractDataTreeNode, type: 'rows' | 'columns'): boolean;
export declare function isGrandTotalTreeNode(node: AbstractDataTreeNode, type: 'rows' | 'columns'): boolean;
/**
 * Safely performs modulo operation, returning 0 if divisor is null/undefined or 0
 * @param dividend - The dividend number (defaults to 0 if not provided)
 * @param divisor - The divisor number (optional)
 * @returns The result of dividend % divisor, or 0 if divisor is invalid
 */
export declare function safeModulo(dividend?: number, divisor?: number): number;
