import { ContextMenuSelectionMode } from './lib'; import { MenuItemProps } from '../MenuItem'; import { PopoverProps } from '../Popover/Popover'; import { FlowComponentProps } from '../../lib/componentFactory/flowComponent'; import type * as Aria from "react-aria-components"; export interface ContextMenuProps extends Omit, Pick, "onAction" | "selectedKeys" | "defaultSelectedKeys" | "onSelectionChange" | "disabledKeys" | "renderEmptyState">, FlowComponentProps { /** The type of selection that is allowed in the context menu. */ selectionMode?: ContextMenuSelectionMode; /** Sets the context menu to a fixed width. */ width?: string | number; /** * Adds a first entry that selects or deselects all items at once. Only * applies to `selectionMode="multiple"`. */ showSelectAll?: boolean; } /** @flr-generate all */ export declare const ContextMenu: import('react').FunctionComponent>; export default ContextMenu;