type RowId = string | number; /** Expanded-row ids, controlled when `controlled` is given and uncontrolled otherwise. */ export declare const useRowExpansion: (controlled: RowId[] | undefined, onChange: ((ids: RowId[]) => void) | undefined) => { expandedIds: Set; toggle: (id: RowId) => void; }; export {};