import * as React from 'react'; import type { BGridTreeIcons, BGridTreeRowMeta } from '../types'; export interface BGridTreeContextValue { treeColumnId: string; indentSize: number; icons?: BGridTreeIcons; expandAriaLabel: string; collapseAriaLabel: string; disabled: boolean; metaByRowKey: ReadonlyMap; metaBySourceIndex: ReadonlyMap; getRowKey: (values: unknown) => React.Key | undefined; toggle: (meta: BGridTreeRowMeta) => void; } export declare const TreeContext: React.Context; export declare function useTreeContext(): BGridTreeContextValue | undefined;