import type { Ref } from 'vue'; import type { WatcherPropsData } from '.'; import type { DefaultRow } from '../table/defaults'; declare function useExpand(watcherData: WatcherPropsData): { updateExpandRows: () => void; toggleRowExpansion: (row: T, expanded?: boolean) => void; setExpandRowKeys: (rowKeys: (string | number)[]) => void; isRowExpanded: (row: T) => boolean; states: { expandRows: Ref; defaultExpandAll: Ref; }; }; export default useExpand;