import { SystemItem, SystemProps } from '../../types'; import { DefineComponent, ExtractPropTypes, ComponentOptionsMixin, PublicProps, ComponentProvideOptions, PropType } from 'vue'; declare function __VLS_template(): { icon?(_: { icon: any; active: boolean; }): any; }; declare const __VLS_component: DefineComponent; /** 是否激活 */ active?: boolean; /** 是否有激活的子菜单 */ hasActiveChild?: boolean; }>, { active: boolean; hasActiveChild: boolean; }>>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, { click: (item: SystemItem) => void; }, string, PublicProps, Readonly< ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{ /** 模块数据(复用 SystemItem 结构) */ item: SystemItem; /** 模块字段映射(复用 SystemProps) */ moduleProps: Required; /** 是否激活 */ active?: boolean; /** 是否有激活的子菜单 */ hasActiveChild?: boolean; }>, { active: boolean; hasActiveChild: boolean; }>>> & Readonly<{ onClick?: ((item: SystemItem) => any) | undefined; }>, { active: boolean; hasActiveChild: boolean; }, {}, {}, {}, 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; }; };