declare type FlatRow = Row & { /** * 階層レベル */ level: number; /** * 直下の子行の数 */ childCount: number; /** * すべての子孫行の数 */ totalChildCount: number; setSize: number; posInset: number; }; export declare type FlatRowWithStatus = FlatRow & { folded: boolean; visible: boolean; }; export declare const useHierarchicalTable: (rows: Row[]) => [FlatRowWithStatus[], (rowIndex: number) => void]; export {};