import type { RowDataType } from '../types'; interface TableRowsProps { prefix: (str: string) => string; wordWrap?: boolean | 'break-all' | 'break-word' | 'keep-all'; data: readonly Row[]; expandedRowKeys: readonly Key[]; } /** * The row information of the table, get the DOM of all rows, and summarize the row height. * @param props * @returns */ declare const useTableRows: (props: TableRowsProps) => { bindTableRowsRef: (index: number | string, rowData: any) => (ref: HTMLElement) => void; tableRowsMaxHeight: number[]; tableRows: import("react").MutableRefObject<{ [key: string]: [HTMLElement, any]; }>; }; export default useTableRows;