import type { Row } from '../../hooks/useTable/types.js'; /** * Checks if a row is disabled based on its own state and the state of its parent rows. * @param cacheMap - save lazily to this map * @param row - row to check * @param isDisabledCallback - optionally for getting notified when isDisabled is called (for example, used to test performance) */ export declare function isRowDisabled(cacheMap: Map, row: Row | undefined, isDisabledCallback?: (row: Row | undefined) => void): boolean; /** * Calculates the nesting depth of a given sub-row. * @param id - the row id. * @param separator - the separator used in the id to denote levels of depth (default is '.'). */ export declare const depthFromId: (id: string, separator?: string) => number; /** * Calculates the maximum visible depth of the expanded rows. * @param rowIds - the list of expanded row ids. * @param separator - the separator used in the id to denote levels of depth (default is '.'). * @returns the maximum visible depth. */ export declare function calculateMaxVisibleDepth(rowIds: string[], separator?: string): number;