import type { TableV2Props } from './table'; import type { TableGridInstance } from './table-grid'; declare function useTable(props: TableV2Props): { columns: import("vue").ComputedRef<{ key: import("./types").KeyType; align?: import("./types").Alignment | undefined; class?: string | import("./types").ClassNameGetter | undefined; dataKey?: import("./types").KeyType | undefined; fixed?: true | import("./constants").FixedDir | undefined; flexGrow?: import("csstype").GlobalsNumber | undefined; flexShrink?: import("csstype").GlobalsNumber | undefined; title?: string | undefined; hidden?: boolean | undefined; headerClass?: string | import("./types").HeaderClassGetter | undefined; maxWidth?: number | undefined; minWidth?: number | undefined; style?: import("vue").CSSProperties | undefined; sortable?: boolean | undefined; width: number; cellRenderer?: import("./types").CellRenderer | undefined; headerCellRenderer?: import("./types").HeaderCellRenderer | undefined; }[]>; containerRef: import("vue").Ref; mainTableRef: import("vue").Ref; leftTableRef: import("vue").Ref; rightTableRef: import("vue").Ref; isDynamic: import("vue").ComputedRef; isResetting: import("vue").ShallowRef; isScrolling: import("vue").ShallowRef; hasFixedColumns: import("vue").ComputedRef; columnsStyles: import("vue").ComputedRef>; columnsTotalWidth: import("vue").ComputedRef; data: import("vue").ComputedRef; expandedRowKeys: import("vue").Ref; depthMap: import("vue").Ref>; fixedColumnsOnLeft: import("vue").ComputedRef<{ key: import("./types").KeyType; align?: import("./types").Alignment | undefined; class?: string | import("./types").ClassNameGetter | undefined; dataKey?: import("./types").KeyType | undefined; fixed?: true | import("./constants").FixedDir | undefined; flexGrow?: import("csstype").GlobalsNumber | undefined; flexShrink?: import("csstype").GlobalsNumber | undefined; title?: string | undefined; hidden?: boolean | undefined; headerClass?: string | import("./types").HeaderClassGetter | undefined; maxWidth?: number | undefined; minWidth?: number | undefined; style?: import("vue").CSSProperties | undefined; sortable?: boolean | undefined; width: number; cellRenderer?: import("./types").CellRenderer | undefined; headerCellRenderer?: import("./types").HeaderCellRenderer | undefined; }[]>; fixedColumnsOnRight: import("vue").ComputedRef<{ key: import("./types").KeyType; align?: import("./types").Alignment | undefined; class?: string | import("./types").ClassNameGetter | undefined; dataKey?: import("./types").KeyType | undefined; fixed?: true | import("./constants").FixedDir | undefined; flexGrow?: import("csstype").GlobalsNumber | undefined; flexShrink?: import("csstype").GlobalsNumber | undefined; title?: string | undefined; hidden?: boolean | undefined; headerClass?: string | import("./types").HeaderClassGetter | undefined; maxWidth?: number | undefined; minWidth?: number | undefined; style?: import("vue").CSSProperties | undefined; sortable?: boolean | undefined; width: number; cellRenderer?: import("./types").CellRenderer | undefined; headerCellRenderer?: import("./types").HeaderCellRenderer | undefined; }[]>; mainColumns: import("vue").ComputedRef; bodyWidth: import("vue").ComputedRef; emptyStyle: import("vue").ComputedRef; rootStyle: import("vue").ComputedRef; headerWidth: import("vue").ComputedRef; footerHeight: import("vue").ComputedRef; mainTableHeight: import("vue").ComputedRef; fixedTableHeight: import("vue").ComputedRef; leftTableWidth: import("vue").ComputedRef; rightTableWidth: import("vue").ComputedRef; showEmpty: import("vue").ComputedRef; getRowHeight: (rowIndex: number) => number; onColumnSorted: (e: MouseEvent) => void; onRowHovered: ({ hovered, rowKey }: import("./row").RowHoverParams) => void; onRowExpanded: ({ expanded, rowData, rowIndex, rowKey, }: import("./row").RowExpandParams) => void; onRowsRendered: (params: import("./grid").onRowRenderedParams) => void; onRowHeightChange: ({ rowKey, height, rowIndex }: import("./row").RowHeightChangedParams, fixedDir: import("./constants").FixedDir) => void; scrollTo: (params: import("./composables").ScrollPos) => void; scrollToLeft: (scrollLeft: number) => void; scrollToTop: (scrollTop: number) => void; scrollToRow: (row: number, strategy?: import("./composables").ScrollStrategy) => void; onScroll: (params: import("./composables").ScrollPos) => void; onVerticalScroll: ({ scrollTop }: import("./composables").ScrollPos) => void; }; export { useTable }; export declare type UseTableReturn = ReturnType;