import * as React from 'react'; export interface TableProps extends React.HTMLAttributes { /** * @children required */ children: React.ReactNode; /** * Relative padding of the table cells * @default TableDensity.normal */ density?: TableDensity; /** * If true, row will be visually highlighted on hover * @default false */ hasHoverStyles?: boolean; /** * If true, the table will have additional styles for table. * @default false */ hasTablePagination?: boolean; /** * If true, the table will have square edges * @default false */ hasSquareCorners?: boolean; /** * If true, the table will have outer border * @default false */ hasOutsideBorder?: boolean; /** * If true, columns will have vertical borders */ hasVerticalBorders?: boolean; /** * If true, every other row will have a background color */ hasZebraStripes?: boolean; isInverse?: boolean; /** * @internal - used within DataGrid */ isSelectable?: boolean; /** * @internal - used within DataGrid */ isSortableBySelected?: boolean; /** * Minimum width for the table in pixels * @default 600 */ minWidth?: number; rowCount?: number; selectedItems?: Array; /** * The title or caption of a table inside a HTML element that provides the table an accessible * description. * It can be a simple string or a React node, such as a heading element (e.g.,

,

). */ tableTitle?: React.ReactNode | string; /** * @internal */ testId?: string; } export declare enum TableDensity { compact = "compact", loose = "loose", normal = "normal" } export declare enum TableCellAlign { center = "center", inherit = "inherit", justify = "justify", left = "left", right = "right" } export declare enum TableSortDirection { ascending = "ascending", descending = "descending", none = "none" } export declare enum TableRowColor { danger = "danger", info = "info", success = "success", warning = "warning" } interface TableContextInterface { density?: TableDensity; hasHoverStyles?: boolean; hasSquareCorners?: boolean; hasTablePagination?: boolean; hasVerticalBorders?: boolean; hasZebraStripes?: boolean; isInverse?: boolean; isSelectable?: boolean; rowCount?: number; selectedItems?: Array; isSortableBySelected?: boolean; } export declare const TableContext: React.Context; export declare const TableContainer: import("@emotion/styled").StyledComponent<{ theme?: import("@emotion/react").Theme; as?: React.ElementType; } & { isInverse?: boolean; minWidth: number; tableOverFlow?: string; }, React.DetailedHTMLProps, HTMLDivElement>, {}>; export declare const TableWrapper: import("@emotion/styled").StyledComponent<{ theme?: import("@emotion/react").Theme; as?: React.ElementType; } & { minWidth: number; }, React.DetailedHTMLProps, HTMLDivElement>, {}>; export declare const StyledTableTitle: import("@emotion/styled").StyledComponent<{ theme?: import("@emotion/react").Theme; as?: React.ElementType; } & { isInverse: boolean; isTitleNode: boolean; }, React.DetailedHTMLProps, HTMLElement>, {}>; export declare const StyledTable: import("@emotion/styled").StyledComponent<{ theme?: import("@emotion/react").Theme; as?: React.ElementType; } & { hasOutsideBorder?: boolean; hasSquareCorners?: boolean; hasTablePagination?: boolean; isInverse?: boolean; minWidth: number; }, React.DetailedHTMLProps, HTMLTableElement>, {}>; export declare const Table: React.ForwardRefExoticComponent>; export {};