import React, { type ReactElement } from 'react'; import { type SortKey } from './hooks/use-table'; type TableProps = { /** * A `testId` prop is a unique string that appears as a data attribute `data-testid` * in the rendered code, serving as a hook for automated tests. */ testId?: string; /** * default sort key to be applied. If unspecified will use default ordering */ sortKey?: SortKey; children: ReactElement[] | ReactElement; } & ({ isSelectable: true; defaultSelected?: number; } | { isSelectable?: false; }); /** * __Table__ * * A data table is used to display dynamic data. * * - [Examples](https://atlassian.design/components/table/examples) */ declare function Table({ children, isSelectable, sortKey, testId, }: TableProps): React.JSX.Element; export default Table;