import type { ComponentProps } from 'react'; export type TableDensity = 'compact' | 'comfortable'; export type TableAlign = 'start' | 'center' | 'end'; export interface TableProps extends ComponentProps<'table'> { /** Row block size: `comfortable` is 48px, `compact` is 36px. */ density?: TableDensity; /** Tint every second body row. Helps the eye follow wide rows. */ striped?: boolean; } export interface TableHeaderCellProps extends Omit, 'align'> { /** Text alignment. Match the alignment of the cells below, e.g. `end` over a numeric column. */ align?: TableAlign; } export interface TableCellProps extends Omit, 'align'> { /** Text alignment. Overrides the end alignment that `numeric` implies. */ align?: TableAlign; /** Tabular numerals, aligned to the end. Use for amounts, counts and durations. */ numeric?: boolean; } declare function TableRoot({ density, striped, className, ...rest }: TableProps): import("react").JSX.Element; declare function TableCaption({ className, ...rest }: ComponentProps<'caption'>): import("react").JSX.Element; declare function TableHead({ className, ...rest }: ComponentProps<'thead'>): import("react").JSX.Element; declare function TableBody({ className, ...rest }: ComponentProps<'tbody'>): import("react").JSX.Element; declare function TableFoot({ className, ...rest }: ComponentProps<'tfoot'>): import("react").JSX.Element; declare function TableRow({ className, ...rest }: ComponentProps<'tr'>): import("react").JSX.Element; declare function TableHeaderCell({ align, scope, className, ...rest }: TableHeaderCellProps): import("react").JSX.Element; declare function TableCell({ align, numeric, className, ...rest }: TableCellProps): import("react").JSX.Element; /** A data table with a horizontal scroll wrapper. Compose with Table.Caption, Table.Head, Table.Body, Table.Foot, Table.Row, Table.HeaderCell and Table.Cell. */ export declare const Table: typeof TableRoot & { Caption: typeof TableCaption; Head: typeof TableHead; Body: typeof TableBody; Foot: typeof TableFoot; Row: typeof TableRow; HeaderCell: typeof TableHeaderCell; Cell: typeof TableCell; }; export {};