import { MenuItem as MenuItemType, MenuProps } from '../../types'; import { DefineComponent, ExtractPropTypes, ComponentOptionsMixin, PublicProps, ComponentProvideOptions, PropType } from 'vue'; declare function __VLS_template(): { icon?(_: { icon: string; active: boolean; }): any; }; declare const __VLS_component: DefineComponent; /** 当前激活的菜单项 key */ activeKey?: string; /** 弹出菜单标题(可选) */ title?: string; }>, { activeKey: undefined; title: string; }>>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, { "item-click": (item: MenuItemType) => void; }, string, PublicProps, Readonly< ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{ /** 菜单项列表 */ items: MenuItemType[]; /** 菜单字段映射配置 */ menuProps: Required; /** 当前激活的菜单项 key */ activeKey?: string; /** 弹出菜单标题(可选) */ title?: string; }>, { activeKey: undefined; title: string; }>>> & Readonly<{ "onItem-click"?: ((item: MenuItemType) => any) | undefined; }>, { title: string; activeKey: string; }, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>; declare const _default: __VLS_WithTemplateSlots>; 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]; } & {}; type __VLS_WithTemplateSlots = T & { new (): { $slots: S; }; };