import React, { HTMLAttributes } from 'react'; import { TableColumn, TableRowMenu } from './table-types'; type BaseProps> = { children?: React.ReactNode; menu?: TableRowMenu[]; fixedColumns?: boolean; hideHeaders?: boolean; columns: Array | keyof T>; /** Will filter the list based on the value of the cells (can only search when cell value is string) */ search?: string; items: T[]; loadMoreLabel?: string; onLoadMore?: () => Promise; onRowHovered?: (index: number) => void; } & Omit, 'cellPadding' | 'cellSpacing' | 'onSelect'>; type SingleSelect> = BaseProps & { multiselect?: false | undefined; multiselectLabel?: string; selected?: T; onSelect?: (item: T) => void; }; type MultiSelect> = BaseProps & { multiselect: true; multiselectLabel?: string; selected?: T[]; onSelect: (items: T[]) => void; }; type SilkeTableProps> = SingleSelect | MultiSelect; export declare function SilkeTable>({ items, columns: _columns, children, fixedColumns, className, search, hideHeaders, menu, multiselect, multiselectLabel, selected, onSelect, loadMoreLabel, onLoadMore, onRowHovered, ...rest }: SilkeTableProps): import("react/jsx-runtime").JSX.Element; export {};