import { ComponentType, Ref } from 'react'; import { Row } from 'react-table'; import { FixedSizeList, ListChildComponentProps, ListItemKeySelector } from 'react-window'; import { TableHeightKeyType, TableLocalType } from './TableUtils'; import { CSSProperties } from 'styled-components'; type VirtualizedRowsType = Record> = { rows: Row[]; RenderRow: ComponentType[]>>>; rowHeight: TableHeightKeyType; setHasScrollbar: React.Dispatch>; hasScrollbar?: boolean; itemKey?: ListItemKeySelector[]>; onBottom?: (rowLength: number) => void; onBottomOffset?: number; listRef?: Ref[]>>; }; export declare const VirtualizedRows: = Record>({ rows, rowHeight, setHasScrollbar, onBottom, onBottomOffset, RenderRow, listRef, itemKey, }: VirtualizedRowsType) => import("react/jsx-runtime").JSX.Element; export declare const useTableScrollbar: () => { hasScrollbar: boolean | undefined; setHasScrollbar: import("react").Dispatch>; scrollBarWidth: number; handleScrollbarWidth: (node: any) => void; }; export type RenderRowType = { index: number; style: CSSProperties; }; type TableRowsProps = Record> = { locale?: TableLocalType; children?: (children: JSX.Element) => JSX.Element; customItemKey?: (index: number, data: DATA_ROW) => string; RenderRow: React.MemoExoticComponent<({ index, style }: RenderRowType) => JSX.Element>; listRef?: Ref[]>>; }; export declare function TableRows = Record>({ locale, children, customItemKey, RenderRow, listRef: externalListRef, }: TableRowsProps): import("react/jsx-runtime").JSX.Element | null; export {}; //# sourceMappingURL=TableCommon.d.ts.map