import { DetailedHTMLProps, ReactNode, TableHTMLAttributes } from "react"; export declare type TableRow = Record; export interface TableColumn { renderItem?: (row: TableRow) => ReactNode; dataIndex?: string; heading?: string; } export interface CustomTableProps { columns: TableColumn[]; rows: TableRow[]; } export interface TableProps extends DetailedHTMLProps, HTMLTableElement>, CustomTableProps { } export declare function getTableStyles(): string; export default function Table({ className, columns, rows, ...rest }: TableProps): JSX.Element;