import { type PropsWithChildren, type ReactElement, type ReactNode } from 'react'; import { type ColumnDef } from '../../hooks/useTable/types.js'; import { type DataTableRowData } from '../../public.api.js'; /** * Props for the `DataTableRowActions` component. * @public */ export interface DataTableRowActionsProps { children: (row: TData, { rowDensity, rowIndex, rowId, }: { rowDensity: 'default' | 'condensed' | 'comfortable'; rowIndex: number; rowId: string; }) => ReactElement; } /** * The slot component for defining row actions within the DataTable. * @public */ export declare function DataTableRowActions(props: DataTableRowActionsProps): null; /** * Typeguard function that will check if a ReactNode is of type DataTableRowActions. * @internal */ export declare function isDataTableRowActions(child: ReactNode): child is ReactElement>; /** * Column definition for the Action Column * @internal */ export declare const ROW_ACTIONS_COLUMN: ColumnDef;