export type HierarchyTreeNode = Record; export type HierarchyTree = { title: string; count: number; key: string; children?: HierarchyTree[]; };