import type { ComponentInternalInstance, Ref, ShallowRef } from 'vue'; import type { TableV2Props } from '../table'; import type { RowExpandParams, RowHeightChangedParams, RowHoverParams } from '../row'; import type { FixedDirection, KeyType } from '../types'; import type { onRowRenderedParams } from '../grid'; import type { TableGridInstance } from '../table-grid'; import type { UseNamespaceReturn } from 'element-plus/es/hooks'; declare type Heights = Record; declare type GridInstanceRef = Ref; declare type UseRowProps = { mainTableRef: GridInstanceRef; leftTableRef: GridInstanceRef; rightTableRef: GridInstanceRef; tableInstance: ComponentInternalInstance; ns: UseNamespaceReturn; isScrolling: ShallowRef; }; export declare const useRow: (props: TableV2Props, { mainTableRef, leftTableRef, rightTableRef, tableInstance, ns, isScrolling, }: UseRowProps) => { expandedRowKeys: Ref; lastRenderedRowIndex: Ref; isDynamic: import("vue").ComputedRef; isResetting: ShallowRef; rowHeights: Ref; resetAfterIndex: (index: number, forceUpdate?: boolean) => void; onRowExpanded: ({ expanded, rowData, rowIndex, rowKey, }: RowExpandParams) => void; onRowHovered: ({ hovered, rowKey }: RowHoverParams) => void; onRowsRendered: (params: onRowRenderedParams) => void; onRowHeightChange: ({ rowKey, height, rowIndex }: RowHeightChangedParams, fixedDir: FixedDirection) => void; }; export declare type UseRowReturn = ReturnType; export {};