import { CustomVuefyOptions } from '@yandex/ymaps3-types/modules/vuefy'; import './index.css'; export interface YMapContextMenuItemProps { /** Shows or hides the context menu item. */ visible: boolean; /** Text of the menu item. */ text: string; /** Reference to an icon or an HTML element with an icon for the menu item (optional). */ icon?: string | HTMLElement; /** Position of the icon (default is "start"). */ iconPosition?: 'start' | 'end'; /** Callback function to handle a click on the menu item. */ onClick: () => void; /** Flag indicating whether the menu item is disabled (default is false). */ disabled?: boolean; /** Sets the order of the menu item in the list (default is 0). */ order?: number; } declare const defaultProps: Readonly<{ iconPosition: "start"; disabled: false; order: 0; }>; type DefaultProps = typeof defaultProps; export declare class YMapContextMenuItem extends ymaps3.YMapComplexEntity { static [ymaps3.optionsKeyVuefy]: CustomVuefyOptions; static defaultProps: Readonly<{ iconPosition: "start"; disabled: false; order: 0; }>; _element: HTMLButtonElement; _iconBlock: HTMLDivElement; _textBlock: HTMLDivElement; private _detachDom?; private _createElement; private _updateElement; private _createTextBlock; private _updateTextBlock; private _createIconBlock; private _updateIconBlock; protected _onUpdate(): void; protected _onAttach(): void; protected _onDetach(): void; } export {};