import * as React from 'react'; type TableSize = 'sm' | 'md' | 'lg'; type TableBorderStyle = 'solid' | 'dashed' | 'none'; interface TableProps extends React.ComponentPropsWithoutRef<'table'> { /** * Cell padding, corner radius, and text scale. * @default 'md' */ size?: TableSize; /** * Style of the cell separators. * @default 'solid' */ borderStyle?: TableBorderStyle; /** * Tint alternating rows. * @default false */ stripedRows?: boolean; /** * Tint alternating columns. * @default false */ stripedColumns?: boolean; /** * Tint a row on pointer hover. * @default false */ hoverableRows?: boolean; } declare function Table({ size, borderStyle, stripedRows, stripedColumns, hoverableRows, className, ...props }: TableProps): React.JSX.Element; interface TableCaptionProps extends React.ComponentPropsWithoutRef<'caption'> { /** * Render the caption above or below the table. * @default 'bottom' */ position?: 'top' | 'bottom'; } declare function TableCaption({ position, className, ...props }: TableCaptionProps): React.JSX.Element; interface TableHeaderProps extends React.ComponentPropsWithoutRef<'thead'> { } declare function TableHeader({ className, ...props }: TableHeaderProps): React.JSX.Element; interface TableBodyProps extends React.ComponentPropsWithoutRef<'tbody'> { } declare function TableBody({ className, ...props }: TableBodyProps): React.JSX.Element; interface TableRowProps extends React.ComponentPropsWithoutRef<'tr'> { /** * Apply the persistent highlight background (`data-highlighted`). * @default false */ highlighted?: boolean; } declare function TableRow({ highlighted, className, ...props }: TableRowProps): React.JSX.Element; interface TableHeadProps extends React.ComponentPropsWithoutRef<'th'> { } declare function TableHead({ className, ...props }: TableHeadProps): React.JSX.Element; interface TableCellProps extends React.ComponentPropsWithoutRef<'td'> { } declare function TableCell({ className, ...props }: TableCellProps): React.JSX.Element; export { Table, TableCaption, TableHeader, TableBody, TableRow, TableHead, TableCell }; export type { TableProps, TableCaptionProps, TableHeaderProps, TableBodyProps, TableRowProps, TableHeadProps, TableCellProps, }; //# sourceMappingURL=table.d.ts.map