import { ContextMenuSubmenuProps } from './types'; import { nextTick } from 'vue'; declare function __VLS_template(): { attrs: Partial<{}>; slots: { default?(_: {}): any; right?(_: {}): any; menu?(_: {}): any; }; refs: { triggerRef: ({ $: import('vue').ComponentInternalInstance; $data: {}; $props: { readonly disabled?: boolean | undefined; readonly danger?: boolean | undefined; readonly color?: string | undefined; readonly shortcut?: string | undefined; readonly submenu?: boolean | undefined; readonly closeOnSelect?: boolean | undefined; readonly activationFeedback?: boolean | undefined; readonly onSelect?: (() => any) | undefined; } & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps; $attrs: import('vue').Attrs; $refs: { [x: string]: unknown; }; $slots: Readonly<{ [name: string]: import('vue').Slot | undefined; }>; $root: import('vue').ComponentPublicInstance | null; $parent: import('vue').ComponentPublicInstance | null; $host: Element | null; $emit: (event: "select") => void; $el: HTMLDivElement; $options: import('vue').ComponentOptionsBase & Readonly<{ onSelect?: (() => any) | undefined; }>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & { select: () => any; }, string, { disabled: boolean; color: string; danger: boolean; closeOnSelect: boolean; activationFeedback: boolean; shortcut: string; submenu: boolean; }, {}, string, {}, Record, Record, string, import('vue').ComponentProvideOptions> & { beforeCreate?: (() => void) | (() => void)[]; created?: (() => void) | (() => void)[]; beforeMount?: (() => void) | (() => void)[]; mounted?: (() => void) | (() => void)[]; beforeUpdate?: (() => void) | (() => void)[]; updated?: (() => void) | (() => void)[]; activated?: (() => void) | (() => void)[]; deactivated?: (() => void) | (() => void)[]; beforeDestroy?: (() => void) | (() => void)[]; beforeUnmount?: (() => void) | (() => void)[]; destroyed?: (() => void) | (() => void)[]; unmounted?: (() => void) | (() => void)[]; renderTracked?: ((e: import('vue').DebuggerEvent) => void) | ((e: import('vue').DebuggerEvent) => void)[]; renderTriggered?: ((e: import('vue').DebuggerEvent) => void) | ((e: import('vue').DebuggerEvent) => void)[]; errorCaptured?: ((err: unknown, instance: import('vue').ComponentPublicInstance | null, info: string) => boolean | void) | ((err: unknown, instance: import('vue').ComponentPublicInstance | null, info: string) => boolean | void)[]; }; $forceUpdate: () => void; $nextTick: typeof nextTick; $watch any)>(source: T, cb: T extends (...args: any) => infer R ? (...args: [R, R, import('@vue/reactivity').OnCleanup]) => any : (...args: [any, any, import('@vue/reactivity').OnCleanup]) => any, options?: import('vue').WatchOptions): import('vue').WatchStopHandle; } & Readonly<{ disabled: boolean; color: string; danger: boolean; closeOnSelect: boolean; activationFeedback: boolean; shortcut: string; submenu: boolean; }> & Omit & Readonly<{ onSelect?: (() => any) | undefined; }>, "disabled" | "color" | "danger" | "closeOnSelect" | "activationFeedback" | "shortcut" | "submenu"> & {} & import('vue').ComponentCustomProperties & {} & { $slots: { avatar?(_: {}): any; default?(_: {}): any; description?(_: {}): any; right?(_: {}): any; }; }) | null; panelRef: ({ $: import('vue').ComponentInternalInstance; $data: {}; $props: { readonly width?: number | string | undefined; readonly minWidth?: number | string | undefined; readonly maxWidth?: number | string | undefined; readonly maxHeight?: number | string | undefined; readonly closeOnSelect?: boolean | undefined; readonly activationFeedback?: boolean | undefined; readonly close?: (() => void) | undefined; readonly dense?: boolean | undefined; readonly outsideGuard?: boolean | undefined; readonly role?: "menu" | "listbox" | "none" | undefined; readonly ariaLabel?: string | undefined; } & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps; $attrs: import('vue').Attrs; $refs: { [x: string]: unknown; } & { panelRef: HTMLDivElement; }; $slots: Readonly<{ [name: string]: import('vue').Slot | undefined; }>; $root: import('vue').ComponentPublicInstance | null; $parent: import('vue').ComponentPublicInstance | null; $host: Element | null; $emit: (event: string, ...args: any[]) => void; $el: HTMLDivElement; $options: import('vue').ComponentOptionsBase & Readonly<{}>, { focusFirstItem: () => void; }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, { ariaLabel: string; role: "menu" | "listbox" | "none"; width: number | string; close: () => void; dense: boolean; minWidth: number | string; maxWidth: number | string; maxHeight: number | string; closeOnSelect: boolean; activationFeedback: boolean; outsideGuard: boolean; }, {}, string, {}, Record, Record, string, import('vue').ComponentProvideOptions> & { beforeCreate?: (() => void) | (() => void)[]; created?: (() => void) | (() => void)[]; beforeMount?: (() => void) | (() => void)[]; mounted?: (() => void) | (() => void)[]; beforeUpdate?: (() => void) | (() => void)[]; updated?: (() => void) | (() => void)[]; activated?: (() => void) | (() => void)[]; deactivated?: (() => void) | (() => void)[]; beforeDestroy?: (() => void) | (() => void)[]; beforeUnmount?: (() => void) | (() => void)[]; destroyed?: (() => void) | (() => void)[]; unmounted?: (() => void) | (() => void)[]; renderTracked?: ((e: import('vue').DebuggerEvent) => void) | ((e: import('vue').DebuggerEvent) => void)[]; renderTriggered?: ((e: import('vue').DebuggerEvent) => void) | ((e: import('vue').DebuggerEvent) => void)[]; errorCaptured?: ((err: unknown, instance: import('vue').ComponentPublicInstance | null, info: string) => boolean | void) | ((err: unknown, instance: import('vue').ComponentPublicInstance | null, info: string) => boolean | void)[]; }; $forceUpdate: () => void; $nextTick: typeof nextTick; $watch any)>(source: T, cb: T extends (...args: any) => infer R ? (...args: [R, R, import('@vue/reactivity').OnCleanup]) => any : (...args: [any, any, import('@vue/reactivity').OnCleanup]) => any, options?: import('vue').WatchOptions): import('vue').WatchStopHandle; } & Readonly<{ ariaLabel: string; role: "menu" | "listbox" | "none"; width: number | string; close: () => void; dense: boolean; minWidth: number | string; maxWidth: number | string; maxHeight: number | string; closeOnSelect: boolean; activationFeedback: boolean; outsideGuard: boolean; }> & Omit & Readonly<{}>, "focusFirstItem" | ("ariaLabel" | "role" | "width" | "close" | "dense" | "minWidth" | "maxWidth" | "maxHeight" | "closeOnSelect" | "activationFeedback" | "outsideGuard")> & { focusFirstItem: () => void; } & {} & import('vue').ComponentCustomProperties & {} & { $slots: { default?(_: {}): any; }; }) | null; }; rootEl: any; }; type __VLS_TemplateResult = ReturnType; declare const __VLS_component: import('vue').DefineComponent & Readonly<{}>, { width: number; disabled: boolean; offset: number; animation: import('../..').BaseAnchorAnimationOptions; placement: import('../..').BaseAnchorPlacement; minWidth: number; maxHeight: number; unlimitedHeight: boolean; panelVariant: import('./types').ContextMenuPanelVariant; panelBackground: import('./types').ContextMenuPanelBackground; panelShadow: import('./types').ContextMenuPanelShadow; panelRadius: number; panelPadding: number; }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, { triggerRef: ({ $: import('vue').ComponentInternalInstance; $data: {}; $props: { readonly disabled?: boolean | undefined; readonly danger?: boolean | undefined; readonly color?: string | undefined; readonly shortcut?: string | undefined; readonly submenu?: boolean | undefined; readonly closeOnSelect?: boolean | undefined; readonly activationFeedback?: boolean | undefined; readonly onSelect?: (() => any) | undefined; } & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps; $attrs: import('vue').Attrs; $refs: { [x: string]: unknown; }; $slots: Readonly<{ [name: string]: import('vue').Slot | undefined; }>; $root: import('vue').ComponentPublicInstance | null; $parent: import('vue').ComponentPublicInstance | null; $host: Element | null; $emit: (event: "select") => void; $el: HTMLDivElement; $options: import('vue').ComponentOptionsBase & Readonly<{ onSelect?: (() => any) | undefined; }>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & { select: () => any; }, string, { disabled: boolean; color: string; danger: boolean; closeOnSelect: boolean; activationFeedback: boolean; shortcut: string; submenu: boolean; }, {}, string, {}, Record, Record, string, import('vue').ComponentProvideOptions> & { beforeCreate?: (() => void) | (() => void)[]; created?: (() => void) | (() => void)[]; beforeMount?: (() => void) | (() => void)[]; mounted?: (() => void) | (() => void)[]; beforeUpdate?: (() => void) | (() => void)[]; updated?: (() => void) | (() => void)[]; activated?: (() => void) | (() => void)[]; deactivated?: (() => void) | (() => void)[]; beforeDestroy?: (() => void) | (() => void)[]; beforeUnmount?: (() => void) | (() => void)[]; destroyed?: (() => void) | (() => void)[]; unmounted?: (() => void) | (() => void)[]; renderTracked?: ((e: import('vue').DebuggerEvent) => void) | ((e: import('vue').DebuggerEvent) => void)[]; renderTriggered?: ((e: import('vue').DebuggerEvent) => void) | ((e: import('vue').DebuggerEvent) => void)[]; errorCaptured?: ((err: unknown, instance: import('vue').ComponentPublicInstance | null, info: string) => boolean | void) | ((err: unknown, instance: import('vue').ComponentPublicInstance | null, info: string) => boolean | void)[]; }; $forceUpdate: () => void; $nextTick: typeof nextTick; $watch any)>(source: T, cb: T extends (...args: any) => infer R ? (...args: [R, R, import('@vue/reactivity').OnCleanup]) => any : (...args: [any, any, import('@vue/reactivity').OnCleanup]) => any, options?: import('vue').WatchOptions): import('vue').WatchStopHandle; } & Readonly<{ disabled: boolean; color: string; danger: boolean; closeOnSelect: boolean; activationFeedback: boolean; shortcut: string; submenu: boolean; }> & Omit & Readonly<{ onSelect?: (() => any) | undefined; }>, "disabled" | "color" | "danger" | "closeOnSelect" | "activationFeedback" | "shortcut" | "submenu"> & {} & import('vue').ComponentCustomProperties & {} & { $slots: { avatar?(_: {}): any; default?(_: {}): any; description?(_: {}): any; right?(_: {}): any; }; }) | null; panelRef: ({ $: import('vue').ComponentInternalInstance; $data: {}; $props: { readonly width?: number | string | undefined; readonly minWidth?: number | string | undefined; readonly maxWidth?: number | string | undefined; readonly maxHeight?: number | string | undefined; readonly closeOnSelect?: boolean | undefined; readonly activationFeedback?: boolean | undefined; readonly close?: (() => void) | undefined; readonly dense?: boolean | undefined; readonly outsideGuard?: boolean | undefined; readonly role?: "menu" | "listbox" | "none" | undefined; readonly ariaLabel?: string | undefined; } & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps; $attrs: import('vue').Attrs; $refs: { [x: string]: unknown; } & { panelRef: HTMLDivElement; }; $slots: Readonly<{ [name: string]: import('vue').Slot | undefined; }>; $root: import('vue').ComponentPublicInstance | null; $parent: import('vue').ComponentPublicInstance | null; $host: Element | null; $emit: (event: string, ...args: any[]) => void; $el: HTMLDivElement; $options: import('vue').ComponentOptionsBase & Readonly<{}>, { focusFirstItem: () => void; }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, { ariaLabel: string; role: "menu" | "listbox" | "none"; width: number | string; close: () => void; dense: boolean; minWidth: number | string; maxWidth: number | string; maxHeight: number | string; closeOnSelect: boolean; activationFeedback: boolean; outsideGuard: boolean; }, {}, string, {}, Record, Record, string, import('vue').ComponentProvideOptions> & { beforeCreate?: (() => void) | (() => void)[]; created?: (() => void) | (() => void)[]; beforeMount?: (() => void) | (() => void)[]; mounted?: (() => void) | (() => void)[]; beforeUpdate?: (() => void) | (() => void)[]; updated?: (() => void) | (() => void)[]; activated?: (() => void) | (() => void)[]; deactivated?: (() => void) | (() => void)[]; beforeDestroy?: (() => void) | (() => void)[]; beforeUnmount?: (() => void) | (() => void)[]; destroyed?: (() => void) | (() => void)[]; unmounted?: (() => void) | (() => void)[]; renderTracked?: ((e: import('vue').DebuggerEvent) => void) | ((e: import('vue').DebuggerEvent) => void)[]; renderTriggered?: ((e: import('vue').DebuggerEvent) => void) | ((e: import('vue').DebuggerEvent) => void)[]; errorCaptured?: ((err: unknown, instance: import('vue').ComponentPublicInstance | null, info: string) => boolean | void) | ((err: unknown, instance: import('vue').ComponentPublicInstance | null, info: string) => boolean | void)[]; }; $forceUpdate: () => void; $nextTick: typeof nextTick; $watch any)>(source: T, cb: T extends (...args: any) => infer R ? (...args: [R, R, import('@vue/reactivity').OnCleanup]) => any : (...args: [any, any, import('@vue/reactivity').OnCleanup]) => any, options?: import('vue').WatchOptions): import('vue').WatchStopHandle; } & Readonly<{ ariaLabel: string; role: "menu" | "listbox" | "none"; width: number | string; close: () => void; dense: boolean; minWidth: number | string; maxWidth: number | string; maxHeight: number | string; closeOnSelect: boolean; activationFeedback: boolean; outsideGuard: boolean; }> & Omit & Readonly<{}>, "focusFirstItem" | ("ariaLabel" | "role" | "width" | "close" | "dense" | "minWidth" | "maxWidth" | "maxHeight" | "closeOnSelect" | "activationFeedback" | "outsideGuard")> & { focusFirstItem: () => void; } & {} & import('vue').ComponentCustomProperties & {} & { $slots: { default?(_: {}): any; }; }) | null; }, any>; declare const _default: __VLS_WithTemplateSlots; export default _default; type __VLS_WithTemplateSlots = T & { new (): { $slots: S; }; };