import { Placement } from '@floating-ui/dom'; import { GdsElement } from '../../gds-element'; export { GdsMenuItem } from '../../primitives/menu/menu-item.component'; export { GdsMenuHeading } from '../../primitives/menu/menu-heading.component'; declare const GdsContextMenu_base: (new (...args: any[]) => import("../../utils/mixins/declarative-layout-mixins").MarginProps) & (new (...args: any[]) => import("../../utils/mixins/declarative-layout-mixins").LayoutChildProps) & typeof GdsElement; /** * @element gds-context-menu * * The context menu is presented in-context to the related data, so users don’t lose * their place in the app. It appears upon interaction with the 3 dot button and * displays a list of choices, one choice per line. * * @event gds-menu-item-click - Fired when a menu item is clicked. * @event gds-ui-state - Fired when the menu is opened or closed. * * @slot - The default slot. Only `gds-menu-item` elements are accepted here. */ export declare class GdsContextMenu extends GdsContextMenu_base { #private; static styles: (import("lit").CSSResult | import("lit").CSSResult[])[]; static shadowRootOptions: ShadowRootInit; /** * Whether the context menu popover is open. */ open: boolean; /** * The label for the trigger button. */ buttonLabel: string; /** * Whether to show the label on the trigger button. */ showLabel: boolean; /** * The label for the popover and menu. Should describe the context of the menu. */ label: string; /** * Maximum height of the menu list. */ maxHeight: number; /** * The placement of the popover relative to the trigger. */ placement: Placement; private _elTriggerSlot; connectedCallback(): void; render(): any; private _handleOpenChange; }