import { type MenuEntry } from '@deepseek-ai/dsh-client-ui-primitives'; import { type ReactNode } from 'react'; /** Same recipe as DSH's SessionNodeItem: default-sized, portaled native Menu. */ export declare function ArkmeDshRowActionsMenu(props: { open: boolean; label: string; items: readonly MenuEntry[]; onSelect(id: string): void; onClose(): void; onToggle(): void; }): import("react").JSX.Element; /** * Use the host's native DSH menu in browsers. The lightweight branch only keeps * server-side rendering and React's document-less renderer safe; production * interaction and styling always come from the shared primitive. */ export declare function ArkmeDshMenu(props: { open: boolean; anchor: ReactNode; items: readonly MenuEntry[]; selectedIds?: readonly string[]; onSelect(id: string): void; onClose(): void; label: string; align?: 'start' | 'end'; side?: 'top' | 'bottom' | 'right'; portal?: boolean; closeOnPointerLeave?: boolean; dense?: boolean; getAnchorRect?: () => DOMRect | null; className?: string; conversationAppearance?: boolean; }): import("react").JSX.Element; export type ArkmeMenuAction = { id: string; label: ReactNode; icon?: ReactNode; disabled?: boolean; danger?: boolean; onSelect(): void; } | Extract; /** All command menus use the host primitive, including pointer-anchored menus. * Only anchoring, accessibility and cross-frame dismissal live here; never copy * the native menu's surface, item, hover, shadow or placement styles. */ export declare function ArkmeActionMenu(props: { open?: boolean; label: string; actions: readonly (ArkmeMenuAction | false | undefined)[]; onClose(): void; anchor?: ReactNode; point?: { x: number; y: number; }; /** Coordinates may originate in a same-origin embedded Harness document. */ pointDocument?: Document; getAnchorRect?: () => DOMRect | null; selectedIds?: readonly string[]; align?: 'start' | 'end'; side?: 'top' | 'bottom' | 'right'; autoFocus?: boolean; /** Keep menus in the native dialog top layer when used inside a modal. */ portal?: boolean; /** Hover menus dismiss immediately outside the trigger, menu and crossing gap. */ hoverAnchor?: HTMLElement | undefined; /** Optional grace for pointer overshoot; other dismissal paths remain immediate. */ hoverCloseDelayMs?: number; }): import("react").JSX.Element; /** * DSH's native view-options recipe. Keep the exported primitives, placement, * tooltip and trigger styling in one shared component so Arkme surfaces do not * drift from the host workspace control again. */ export declare function ArkmeDshViewOptionsMenu(props: { open: boolean; items: readonly MenuEntry[]; selectedIds?: readonly string[]; onSelect(id: string): void; onClose(): void; onOpen(): void; ariaLabel?: string; dataArkmeSelfTopicSortTrigger?: string; }): import("react").JSX.Element; //# sourceMappingURL=ArkmeDshMenu.d.ts.map