import React, { ReactNode } from 'react'; import { Column, Row, TableState } from 'react-table'; import { PaginationProps } from '../Pagination/Pagination'; export interface TableProps> { /** * Column Configuration */ columns: Array>; data: Data[]; className?: string; /** * Is the table sortable? * @default true */ sortable?: boolean; resizable?: boolean; hideHeaders?: boolean; pagination?: PaginationProps; onRowClick?: (data: Data, index: number) => void; rowDataTestID?: (data: Data, index: number) => string; getRowClassName?: (row: Row) => string; /** * Removes the "card" UI from rows * @default false */ minimal?: boolean; /** * name - Unique identifier */ name?: string; renderRowSubComponent?: (data: { row: Row; }) => ReactNode; /** * When true, the expanded state will automatically reset if any of the following conditions are met: data is changed * To disable, set to false https://react-table-v7.tanstack.com/docs/api/useExpanded#table-options * @default true */ autoResetExpanded?: boolean; autoResetSortBy?: boolean; autoResetPage?: boolean; initialState?: Partial>; } export declare const TableV2: >(props: TableProps) => React.ReactElement;