import { ReactNode } from 'react'; export interface InvoicingActionMenuItem { key: string; label: string; danger?: boolean; disabled?: boolean; /** Optional leading icon node. */ icon?: ReactNode; /** Renders a divider above this item. */ separatorBefore?: boolean; onClick: () => void; } export interface InvoicingActionMenuProps { /** Overflow ("3-dot") menu items. The menu is hidden when this is empty. */ items: InvoicingActionMenuItem[]; /** Renders the trigger buttons without a border/background (in-table use). */ borderless?: boolean; /** When provided, an Edit (pencil) button is rendered before the menu. */ onEdit?: () => void; } /** * Shared detail-page action panel for the Invoicing module: an optional Edit * (pencil) button plus a "3-dot" overflow menu. Mirrors the action panel shown * on every legacy detail page. The dropdown is portaled to `document.body` with a * click-away backdrop, matching the existing cockpit `KebabMenu` pattern. */ export declare function InvoicingActionMenu({ borderless, items, onEdit, }: Readonly): import("react/jsx-runtime").JSX.Element; export default InvoicingActionMenu;