import * as React from 'react'; import type { GridSlotProps, GridBaseIconProps } from "../../models/gridSlotsComponentsProps.mjs"; interface GridActionsCellItemCommonProps { icon?: React.JSXElementConstructor | React.ReactNode; /** * The component used for the root node. * If not set, and `href` is set, the item renders as an anchor tag. * from https://mui.com/material-ui/api/button-base/#ButtonBase-prop-component */ component?: React.ElementType; } export type GridActionsCellItemProps = GridActionsCellItemCommonProps & ({ showInMenu?: false; icon: React.ReactElement; label: string; } & Omit | { showInMenu: true; /** * If false, the menu will not close when this item is clicked. * @default true */ closeMenuOnClick?: boolean; closeMenu?: () => void; label: React.ReactNode; } & Omit); declare const GridActionsCellItem: React.ForwardRefExoticComponent | React.ForwardRefExoticComponent<(Omit; label: string; } & Omit & { label?: string; color?: 'default' | 'inherit' | 'primary'; edge?: 'start' | 'end' | false; } & { component?: React.ElementType; href?: string; target?: React.HTMLAttributeAnchorTarget; rel?: string; } & import("@mui/x-data-grid").BaseIconButtonPropsOverrides, "component">, "ref"> | GridActionsCellItemCommonProps & { showInMenu: true; /** * If false, the menu will not close when this item is clicked. * @default true */ closeMenuOnClick?: boolean; closeMenu?: () => void; label: React.ReactNode; } & Omit & { [k: `aria-${string}`]: any; [k: `data-${string}`]: any; className?: string; style?: React.CSSProperties; } & { autoFocus?: boolean; children?: React.ReactNode; inert?: boolean; disabled?: boolean; iconStart?: React.ReactNode; iconEnd?: React.ReactNode; selected?: boolean; value?: number | string | readonly string[]; style?: React.CSSProperties; } & { component?: React.ElementType; href?: string; target?: React.HTMLAttributeAnchorTarget; rel?: string; } & import("@mui/x-data-grid").BaseMenuItemPropsOverrides, "component">) & React.RefAttributes>; export { GridActionsCellItem };