import type { PropsWithChildren, ReactElement, ReactNode } from 'react'; 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>;