import * as React from 'react'; import { ReactElement } from 'react'; /** * Table — WealthX DS overrides (shadcn base) * * Changes from shadcn default: * - TableHead: `text-foreground` -- `text-muted-foreground` — header labels are secondary text * - TableHead: `px-2` -- `px-4` — wider horizontal padding per Figma spacing * - TableCell: `p-2` -- `px-4 py-3` — consistent cell padding per Figma * - TableRow: `transition-colors` -- `transition-[background-color,opacity]` — scoped animation * - TableRow: `data-[state=selected]:bg-muted` -- `data-[state=selected]:bg-primary/10` — selected tint matches Figma (primary + 10% opacity) * - TableFooter: inherits same cell padding via className */ type TableProps = React.ComponentProps<"table">; declare function Table({ className, ...props }: TableProps): ReactElement; type TableHeaderProps = React.ComponentProps<"thead">; declare function TableHeader({ className, ...props }: TableHeaderProps): ReactElement; type TableBodyProps = React.ComponentProps<"tbody">; declare function TableBody({ className, ...props }: TableBodyProps): ReactElement; type TableFooterProps = React.ComponentProps<"tfoot">; declare function TableFooter({ className, ...props }: TableFooterProps): ReactElement; type TableRowProps = React.ComponentProps<"tr">; declare function TableRow({ className, ...props }: TableRowProps): ReactElement; type TableHeadProps = React.ComponentProps<"th">; declare function TableHead({ className, ...props }: TableHeadProps): ReactElement; type TableCellProps = React.ComponentProps<"td">; declare function TableCell({ className, ...props }: TableCellProps): ReactElement; type TableCaptionProps = React.ComponentProps<"caption">; declare function TableCaption({ className, ...props }: TableCaptionProps): ReactElement; export { Table, TableBody, type TableBodyProps, TableCaption, type TableCaptionProps, TableCell, type TableCellProps, TableFooter, type TableFooterProps, TableHead, type TableHeadProps, TableHeader, type TableHeaderProps, type TableProps, TableRow, type TableRowProps };