import React from 'react'; import { TableProps } from '@mui/joy'; export type { TableProps }; declare const Table: { (props: TableProps): React.JSX.Element; displayName: string; }; export { Table }; export interface TableHeadCell { label: string; numeric?: boolean; width?: string; minWidth?: string; maxWidth?: string; } export interface TableHeadProps = Record> { headCells: TableHeadCell[]; /** * Show Checkbox to select all rows */ showCheckbox?: boolean; onCheckboxChange?: (event: React.ChangeEvent) => void; /** * Inject custom component */ slots?: { checkbox?: React.ElementType; }; slotProps?: { checkbox?: Partial<{ checked: boolean; indeterminate: boolean; [key: string]: any; }>; }; } declare function TableHead>(props: TableHeadProps): React.JSX.Element; declare namespace TableHead { var displayName: string; } export { TableHead }; export interface TableBodyProps = Record> { rows: D[]; cellOrder: (keyof D)[]; rowOptions?: Partial>; showCheckbox?: boolean; onCheckboxChange?: (event: React.ChangeEvent, rowIndex: number) => void; slots?: { checkbox?: React.ElementType; }; slotProps?: { checkbox?: Partial<{ checked: boolean; [key: string]: any; }>; }; } declare function TableBody>(props: TableBodyProps): React.JSX.Element; declare namespace TableBody { var displayName: string; } export { TableBody };