import { IdType } from 'react-table'; import { ReactElement } from 'react'; import { CommonProps } from '../../common'; import { IconName } from '../../Icon'; interface BulkActionsProps> extends CommonProps { /** * List of actions */ actions: { divider?: 'top' | 'bottom'; icon?: IconName; intent?: 'text' | 'danger'; onClick: (selectedData: D[]) => void; text: string; }[]; /** * Table data */ data: D[]; /** * Table selected rows */ selectedRows: Record, boolean>; } declare const BulkActions: >({ data, selectedRows, actions, id, className, style, sx, "data-test-id": dataTestId, }: BulkActionsProps) => ReactElement; export default BulkActions;