import React__default, { ReactNode } from 'react';
export { TableBody, TableCell, TableHead, TableHeader, TableRow } from './BaseTable.js';

type ColumnConfig<T> = {
    accessorKey: keyof T;
    header: string | ReactNode;
    cell?: (value: T[keyof T], row: T) => ReactNode;
    className?: string;
};
type TableProps<T> = {
    data: T[];
    columns: ColumnConfig<T>[];
    className?: string;
};
declare function Table<T extends Record<string, unknown>>({ data, columns, className, }: TableProps<T>): React__default.JSX.Element;

export { type ColumnConfig, Table, type TableProps };
