type Props> = { items: T[]; onAdd?: (item: T) => void; onEdit?: (id: string, item: T) => void; onRemove?: (id: string) => void; placeholder?: string; className?: string; } & ({ columns: { name: keyof T; label: string; }[]; itemColumn?: never; } | { columns?: never; itemColumn: string; }); declare const Table: >({ items, onAdd, onEdit, onRemove, columns, itemColumn, placeholder, className, }: Props) => import("react/jsx-runtime").JSX.Element; export default Table;