import { MenuItem as MenuItemType, MenuProps } from '../../types'; import { DefineComponent, ExtractPropTypes, ComponentOptionsMixin, PublicProps, ComponentProvideOptions, PropType } from 'vue'; declare const _default: DefineComponent; /** 当前激活的菜单项 key */ activeKey?: string; /** 触发元素的位置信息 */ triggerRect?: DOMRect | null; /** 主题 CSS 变量 */ themeVars?: Record; }>, { activeKey: undefined; triggerRect: null; themeVars: () => {}; }>>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, { close: () => void; "item-click": (item: MenuItemType) => void; mouseenter: () => void; mouseleave: () => void; "click-outside": () => void; }, string, PublicProps, Readonly< ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{ /** 是否显示 */ visible: boolean; /** 菜单标题 */ title: string; /** 子菜单项 */ items: MenuItemType[]; /** 菜单字段映射 */ menuProps: Required; /** 当前激活的菜单项 key */ activeKey?: string; /** 触发元素的位置信息 */ triggerRect?: DOMRect | null; /** 主题 CSS 变量 */ themeVars?: Record; }>, { activeKey: undefined; triggerRect: null; themeVars: () => {}; }>>> & Readonly<{ onClose?: (() => any) | undefined; "onItem-click"?: ((item: MenuItemType) => any) | undefined; onMouseenter?: (() => any) | undefined; onMouseleave?: (() => any) | undefined; "onClick-outside"?: (() => any) | undefined; }>, { activeKey: string; triggerRect: DOMRect | null; themeVars: Record; }, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>; export default _default; type __VLS_NonUndefinedable = T extends undefined ? never : T; type __VLS_TypePropsToRuntimeProps = { [K in keyof T]-?: {} extends Pick ? { type: PropType<__VLS_NonUndefinedable>; } : { type: PropType; required: true; }; }; type __VLS_WithDefaults = { [K in keyof Pick]: K extends keyof D ? __VLS_Prettify : P[K]; }; type __VLS_Prettify = { [K in keyof T]: T[K]; } & {};