import { MenuItem as MenuItemType, MenuProps } from '../../types'; import { DefineComponent, ExtractPropTypes, ComponentOptionsMixin, PublicProps, ComponentProvideOptions, PropType } from 'vue'; declare function __VLS_template(): Readonly<{ icon(props: { icon: string; active: boolean; }): any; }> & { icon(props: { icon: string; active: boolean; }): any; }; declare const __VLS_component: DefineComponent; /** 当前激活的菜单项 key */ activeKey?: string; /** 嵌套层级 */ level?: number; /** 包含激活项的父级 keys(用于显示父级激活样式) */ activeParentKeys?: Set; }>, { activeKey: undefined; level: number; activeParentKeys: () => Set; }>>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, { click: (item: MenuItemType) => void; }, string, PublicProps, Readonly< ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{ /** 菜单项数据 */ item: MenuItemType; /** 菜单字段映射配置 */ menuProps: Required; /** 当前激活的菜单项 key */ activeKey?: string; /** 嵌套层级 */ level?: number; /** 包含激活项的父级 keys(用于显示父级激活样式) */ activeParentKeys?: Set; }>, { activeKey: undefined; level: number; activeParentKeys: () => Set; }>>> & Readonly<{ onClick?: ((item: MenuItemType) => any) | undefined; }>, { activeKey: string; level: number; activeParentKeys: Set; }, {}, {}, {}, 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; }; };