import React from 'react'; /** * @deprecated Use `ActionsMenuItem` from `./actions-menu` with * `ActionsMenuDropdown` instead. `MoreActionsMenu` is being phased out in favor * of the `ActionsMenu*` family. */ export type MoreActionsItem = { label: string; /** Click handler. Optional when `href` is provided. */ onClick?: () => void; /** If set, the item renders as a Next.js Link (real in the DOM). */ href?: string; /** Only relevant with `href` — opens the link in a new tab. */ openInNewTab?: boolean; icon?: React.ReactNode; disabled?: boolean; danger?: boolean; }; /** * @deprecated Use `ActionsMenuDropdownProps` from `./actions-menu` instead. */ export interface MoreActionsMenuProps { items: MoreActionsItem[]; align?: 'start' | 'center' | 'end'; side?: 'top' | 'right' | 'bottom' | 'left'; sideOffset?: number; className?: string; /** Appended to the dropdown content. To render the menu above a high-z * surface (drawer, modal), prefer wrapping that surface in a * `PortalContainerContext` provider rather than escalating z-index here. */ contentClassName?: string; ariaLabel?: string; /** Custom trigger element. When provided, replaces the default ellipsis icon button. */ trigger?: React.ReactNode; /** Controlled open state. */ open?: boolean; /** Called when the open state changes — use together with `open`. */ onOpenChange?: (open: boolean) => void; /** Forwarded to the dropdown content. Call `e.preventDefault()` to stop * Radix returning focus (and its focus ring) to the trigger on close. */ onCloseAutoFocus?: (event: Event) => void; } /** * Compact, reusable menu triggered by an ellipsis icon button. * Built on top of Radix DropdownMenu used in the UI Kit. * * @deprecated Use `ActionsMenuDropdown` from `./actions-menu` instead — it * supports the same trigger override (`customTrigger`), controlled `open` / * `onOpenChange`, `onCloseAutoFocus`, and `danger` items, plus grouped items, * checkboxes, and submenus. This component will be removed in a future release. */ export declare function MoreActionsMenu({ items, align, side, sideOffset, className, contentClassName, ariaLabel, trigger, open, onOpenChange, onCloseAutoFocus }: MoreActionsMenuProps): React.JSX.Element; //# sourceMappingURL=more-actions-menu.d.ts.map