import React from "react"; import type * as ReactTable from "react-table"; export type { ReactTable as ReactTableTypes }; /** * A column as defined by * {@link https://react-table-v7.tanstack.com/docs/api/useTable#column-options react-table} * package. */ export declare type Column = { id?: string; Cell?: React.ReactNode | React.ComponentType>; Header?: React.ReactNode | React.ComponentType>; Footer?: React.ReactNode | React.ComponentType>; width?: number | string; minWidth?: number; maxWidth?: number; accessor?: string | ((originalRow: T, index: number, sub: { subRows: T[]; depth: number; data: T[]; }) => any); columns: object[]; }; export declare type TableProps = { className?: string; columns: Array>>; data: Array>; sortable?: boolean; filterable?: boolean; }; export declare function Table({ className, columns: columnsValue, data, sortable, filterable, ...rest }: TableProps): JSX.Element;