import React from 'react'; import { SubmenuCapableProps } from '../types/nestedDropdown'; interface SubmenuTriggerProps extends SubmenuCapableProps { children: React.ReactNode; /** Parent submenu ID for nesting */ parentSubmenuId?: string; /** Custom class name */ className?: string; /** Whether this trigger is disabled */ disabled?: boolean; /** Minimum width for the submenu */ minWidth?: string; /** Maximum width for the submenu */ maxWidth?: string; } /** * SubmenuTrigger component handles the display and positioning of dropdown submenus. * * This component wraps dropdown items that have submenus and manages: * - Hover state for opening/closing submenus * - Custom Popper.js positioning that bypasses PopoverContext * - Mouse event handling for smooth submenu interactions * - Configurable submenu dimensions (min/max width) * * The positioning implementation uses direct Popper.js integration instead of * PopoverContext to avoid conflicts with the main dropdown's context and ensure * precise positioning relative to individual dropdown items. * * @example * ```tsx * ...} * minWidth="250px" * maxWidth="500px"> * Parent Item * * ``` */ export declare const SubmenuTrigger: React.FC; export {};