import { SystemItem, SystemProps, MenuItem, MenuProps } from '../../types'; import { DefineComponent, ExtractPropTypes, ComponentOptionsMixin, PublicProps, ComponentProvideOptions, PropType } from 'vue'; declare function __VLS_template(): { logo?(_: {}): any; "module-icon"?(_: { icon: any; active: boolean; }): any; footer?(_: {}): any; }; declare const __VLS_component: DefineComponent; /** 宽度(使用 sideCollapsedWidth) */ width: number; /** Logo 小图地址 */ logo?: string; /** 当前激活的模块 key(使用 activeSystemKey) */ activeModuleKey?: string; /** 当前激活的菜单项 key(用于判断子菜单激活状态) */ activeKey?: string; /** 菜单数据(用于判断 hasActiveChild) */ menuData?: MenuItem[]; /** 菜单字段映射 */ menuProps?: Required; /** 子菜单面板是否折叠 */ collapsed?: boolean; /** 是否显示折叠按钮,默认 true */ showCollapseButton?: boolean; }>, { logo: undefined; activeModuleKey: undefined; activeKey: undefined; menuData: () => never[]; menuProps: undefined; collapsed: boolean; showCollapseButton: boolean; }>>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, { "module-click": (item: SystemItem) => void; "toggle-collapse": () => void; }, string, PublicProps, Readonly< ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{ /** 模块数据(复用 SystemItem 结构) */ moduleData: SystemItem[]; /** 模块字段映射(复用 SystemProps) */ moduleProps: Required; /** 宽度(使用 sideCollapsedWidth) */ width: number; /** Logo 小图地址 */ logo?: string; /** 当前激活的模块 key(使用 activeSystemKey) */ activeModuleKey?: string; /** 当前激活的菜单项 key(用于判断子菜单激活状态) */ activeKey?: string; /** 菜单数据(用于判断 hasActiveChild) */ menuData?: MenuItem[]; /** 菜单字段映射 */ menuProps?: Required; /** 子菜单面板是否折叠 */ collapsed?: boolean; /** 是否显示折叠按钮,默认 true */ showCollapseButton?: boolean; }>, { logo: undefined; activeModuleKey: undefined; activeKey: undefined; menuData: () => never[]; menuProps: undefined; collapsed: boolean; showCollapseButton: boolean; }>>> & Readonly<{ "onModule-click"?: ((item: SystemItem) => any) | undefined; "onToggle-collapse"?: (() => any) | undefined; }>, { collapsed: boolean; showCollapseButton: boolean; logo: string; activeModuleKey: string; activeKey: string; menuData: MenuItem[]; menuProps: Required; }, {}, {}, {}, 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; }; };