import type { ContextMenuProps as ContextMenuPropsPreact } from '@sisense/sdk-ui-preact'; import type { PropType } from 'vue'; /** * Props of the {@link @sisense/sdk-ui-vue!ContextMenu | `ContextMenu`} component. */ export interface ContextMenuProps extends Omit { } /** * `ContextMenu` component from the `@sisense/sdk-ui-vue` package. * This component provides a context menu that can be customized with different items and sections. * It allows for flexible positioning and can be easily integrated into Vue applications. * * @example * Here's how to use the `ContextMenu` component: * ```vue * * * * ``` * * @prop {Function} closeContextMenu - Function to close the context menu. It should be a function that sets the visibility of the context menu to false. * @prop {Array} itemSections - An array of sections, each containing an array of items to be rendered in the context menu. Each item can be a string or an object specifying the item's properties. * @prop {Object} position - An object specifying the position of the context menu. It should contain `top` and `left` properties to position the menu on the screen. * @group Drilldown */ export declare const ContextMenu: import("vue").DefineComponent<{ /** * {@inheritDoc @sisense/sdk-ui!ContextMenuProps.closeContextMenu} */ closeContextMenu: { type: PropType<() => void>; required: true; }; /** * {@inheritDoc @sisense/sdk-ui!ContextMenuProps.itemSections} */ itemSections: PropType; /** * {@inheritDoc @sisense/sdk-ui!ContextMenuProps.position} */ position: PropType; }, () => import("vue").VNode[], unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly void>; required: true; }; /** * {@inheritDoc @sisense/sdk-ui!ContextMenuProps.itemSections} */ itemSections: PropType; /** * {@inheritDoc @sisense/sdk-ui!ContextMenuProps.position} */ position: PropType; }>>, {}, {}>;