import * as React from 'react'; export type ClientTableEntry = { [key: string]: unknown; }; export type ClientFieldFactory = (entry: T) => string; export type ClientTableColumn = { /** How to determine the values for column */ field: ClientFieldFactory | keyof T; /** Override the default formatter for this field */ formatter?: (value: any) => string; /** The label to be displayed on the header */ label: string; }; export type ClientTableDropdownOptions = { icon?: React.ComponentType, 'ref'>>; label: string; onSelection: (column: ClientTableColumn) => void; }[]; export type ClientTableColumnProps = { column: ClientTableColumn; dropdownOptions?: ClientTableDropdownOptions; }; export type ClientTableProps = { [key: `data-${string}`]: unknown; className?: string; columnDropdownOptions?: ClientTableDropdownOptions; columns: ClientTableColumn[]; data: T[]; entriesPerPage?: number; minRows?: number; noWrap?: boolean; onEntryClick?: (entry: T) => void; }; export declare const ClientTable: ({ className, columnDropdownOptions, columns, data, entriesPerPage, minRows, noWrap, onEntryClick, ...props }: ClientTableProps) => import("react/jsx-runtime").JSX.Element; //# sourceMappingURL=ClientTable.d.ts.map