import { FC, ReactNode } from 'react'; import { LucideIcon } from 'lucide-react'; export interface ActionMenuItem { key: string; label: string; icon?: LucideIcon; onSelect: () => void; variant?: 'default' | 'danger'; disabled?: boolean; /** Render a separator above this item (desktop dropdown only). */ separatorBefore?: boolean; } export interface ActionMenuProps { items: ActionMenuItem[]; /** Accessible name for the trigger button, e.g. "Agent actions". */ ariaLabel: string; /** Sheet heading on mobile; defaults to ariaLabel. */ title?: string; align?: 'start' | 'end'; /** Custom trigger node; defaults to a kebab icon button. */ trigger?: ReactNode; triggerClassName?: string; onOpenChange?: (open: boolean) => void; } /** * Canonical overflow/kebab menu for the module: a Radix DropdownMenu on * >= md viewports and a BottomSheet action list on mobile. Replaces all * hand-rolled useState dropdowns (keyboard nav, Escape, outside-click, * aria-expanded and focus return come from the primitives). * * Safe to embed inside clickable cards: trigger and content stop click * propagation so menu interaction never activates the card underneath. */ export declare const ActionMenu: FC;