import { ComponentPropsWithoutRef } from 'react'; /** * Props for the SimpleTableBase component * @extends ComponentPropsWithoutRef<"table"> */ export type SimpleTableBaseProps = ComponentPropsWithoutRef<"table">; /** * Props for the DataTableBase component * @extends Omit, "aria-colcount" | "aria-rowcount"> */ export type DataTableBaseProps = Omit, "aria-colcount" | "aria-rowcount"> & { /** * The number of columns in the table */ colCount: number; /** * The number of rows in the table */ rowCount: number; /** * Whether the table has expandable rows */ hasSubRows?: boolean; }; /** * Props for the TableBase component * @extends SimpleTableBaseProps * @extends DataTableBaseProps */ export type TableBaseProps = ({ type: "simple"; } & SimpleTableBaseProps) | ({ type: "data-table"; } & DataTableBaseProps); /** * Styled table component for simple presentational or complex data tables * @param props - The props for the TableBase component * @param props.type - The type of the TableBase component * @param props.children - The children of the TableBase component * @param props.className - The class name of the TableBase component * @param props.ref - The ref of the TableBase component */ export declare const TableBase: ({ type, ...rest }: TableBaseProps) => import("react/jsx-runtime").JSX.Element | undefined;