import * as React from 'react'; import { Primitive } from '@radix-ui/react-primitive'; import * as MenuPrimitive from '@radix-ui/react-menu'; type Scope = { [scopeName: string]: React.Context[]; } | undefined; type ScopeHook = (scope: Scope) => { [__scopeProp: string]: Scope; }; interface CreateScope { scopeName: string; (): ScopeHook; } type Direction = 'ltr' | 'rtl'; declare const createContextMenuScope: CreateScope; interface ContextMenuProps { children?: React.ReactNode; onOpenChange?(open: boolean): void; dir?: Direction; modal?: boolean; } declare const ContextMenu: React.FC; type PrimitiveSpanProps = React.ComponentPropsWithoutRef; interface ContextMenuTriggerProps extends PrimitiveSpanProps { disabled?: boolean; } declare const ContextMenuTrigger: React.ForwardRefExoticComponent>; type MenuPortalProps = React.ComponentPropsWithoutRef; interface ContextMenuPortalProps extends MenuPortalProps { } declare const ContextMenuPortal: React.FC; type MenuContentProps = React.ComponentPropsWithoutRef; interface ContextMenuContentProps extends Omit { } declare const ContextMenuContent: React.ForwardRefExoticComponent>; type MenuGroupProps = React.ComponentPropsWithoutRef; interface ContextMenuGroupProps extends MenuGroupProps { } declare const ContextMenuGroup: React.ForwardRefExoticComponent>; type MenuLabelProps = React.ComponentPropsWithoutRef; interface ContextMenuLabelProps extends MenuLabelProps { } declare const ContextMenuLabel: React.ForwardRefExoticComponent>; type MenuItemProps = React.ComponentPropsWithoutRef; interface ContextMenuItemProps extends MenuItemProps { } declare const ContextMenuItem: React.ForwardRefExoticComponent>; type MenuCheckboxItemProps = React.ComponentPropsWithoutRef; interface ContextMenuCheckboxItemProps extends MenuCheckboxItemProps { } declare const ContextMenuCheckboxItem: React.ForwardRefExoticComponent>; type MenuRadioGroupProps = React.ComponentPropsWithoutRef; interface ContextMenuRadioGroupProps extends MenuRadioGroupProps { } declare const ContextMenuRadioGroup: React.ForwardRefExoticComponent>; type MenuRadioItemProps = React.ComponentPropsWithoutRef; interface ContextMenuRadioItemProps extends MenuRadioItemProps { } declare const ContextMenuRadioItem: React.ForwardRefExoticComponent>; type MenuItemIndicatorProps = React.ComponentPropsWithoutRef; interface ContextMenuItemIndicatorProps extends MenuItemIndicatorProps { } declare const ContextMenuItemIndicator: React.ForwardRefExoticComponent>; type MenuSeparatorProps = React.ComponentPropsWithoutRef; interface ContextMenuSeparatorProps extends MenuSeparatorProps { } declare const ContextMenuSeparator: React.ForwardRefExoticComponent>; type MenuArrowProps = React.ComponentPropsWithoutRef; interface ContextMenuArrowProps extends MenuArrowProps { } declare const ContextMenuArrow: React.ForwardRefExoticComponent>; interface ContextMenuSubProps { children?: React.ReactNode; open?: boolean; defaultOpen?: boolean; onOpenChange?(open: boolean): void; } declare const ContextMenuSub: React.FC; type MenuSubTriggerProps = React.ComponentPropsWithoutRef; interface ContextMenuSubTriggerProps extends MenuSubTriggerProps { } declare const ContextMenuSubTrigger: React.ForwardRefExoticComponent>; type MenuSubContentProps = React.ComponentPropsWithoutRef; interface ContextMenuSubContentProps extends MenuSubContentProps { } declare const ContextMenuSubContent: React.ForwardRefExoticComponent>; declare const Root: React.FC; declare const Trigger: React.ForwardRefExoticComponent>; declare const Portal: React.FC; declare const Content: React.ForwardRefExoticComponent>; declare const Group: React.ForwardRefExoticComponent>; declare const Label: React.ForwardRefExoticComponent>; declare const Item: React.ForwardRefExoticComponent>; declare const CheckboxItem: React.ForwardRefExoticComponent>; declare const RadioGroup: React.ForwardRefExoticComponent>; declare const RadioItem: React.ForwardRefExoticComponent>; declare const ItemIndicator: React.ForwardRefExoticComponent>; declare const Separator: React.ForwardRefExoticComponent>; declare const Arrow: React.ForwardRefExoticComponent>; declare const Sub: React.FC; declare const SubTrigger: React.ForwardRefExoticComponent>; declare const SubContent: React.ForwardRefExoticComponent>; export { Arrow, CheckboxItem, Content, ContextMenu, ContextMenuArrow, type ContextMenuArrowProps, ContextMenuCheckboxItem, type ContextMenuCheckboxItemProps, ContextMenuContent, type ContextMenuContentProps, ContextMenuGroup, type ContextMenuGroupProps, ContextMenuItem, ContextMenuItemIndicator, type ContextMenuItemIndicatorProps, type ContextMenuItemProps, ContextMenuLabel, type ContextMenuLabelProps, ContextMenuPortal, type ContextMenuPortalProps, type ContextMenuProps, ContextMenuRadioGroup, type ContextMenuRadioGroupProps, ContextMenuRadioItem, type ContextMenuRadioItemProps, ContextMenuSeparator, type ContextMenuSeparatorProps, ContextMenuSub, ContextMenuSubContent, type ContextMenuSubContentProps, type ContextMenuSubProps, ContextMenuSubTrigger, type ContextMenuSubTriggerProps, ContextMenuTrigger, type ContextMenuTriggerProps, Group, Item, ItemIndicator, Label, Portal, RadioGroup, RadioItem, Root, Separator, Sub, SubContent, SubTrigger, Trigger, createContextMenuScope };