import { MenuItem as MenuItemType, MenuProps, UserInfo as UserInfoType, UserAction, FullscreenConfig } from '../../types'; import { DefineComponent, ExtractPropTypes, ComponentOptionsMixin, PublicProps, ComponentProvideOptions, PropType } from 'vue'; declare function __VLS_template(): { left?(_: {}): any; icon?(_: { icon: string; active: boolean; }): any; center?(_: {}): any; right?(_: {}): any; "fullscreen-icon"?(_: { isFullscreen: boolean; }): any; }; declare const __VLS_component: DefineComponent; /** 顶部栏高度 */ height: number; /** Logo 图片地址 */ logo?: string; /** 系统标题 */ title?: string; /** 是否显示 Logo(在 mixed 模式下,logo 显示在侧边栏) */ showLogo?: boolean; /** 当前激活的菜单项 key */ activeKey?: string; /** 子菜单触发方式 */ menuTrigger?: "hover" | "click"; /** 用户信息 */ userInfo?: UserInfoType; /** 更多用户行为 */ moreUserActions?: UserAction[]; /** 全屏控制按钮配置 */ fullscreenConfig?: FullscreenConfig; /** 是否显示折叠按钮(mixed-top 模式下使用) */ showCollapseButton?: boolean; /** 侧边栏折叠状态(mixed-top 模式下使用) */ collapsed?: boolean; }>, { menuData: () => never[]; logo: undefined; title: string; showLogo: boolean; activeKey: undefined; menuTrigger: string; userInfo: undefined; moreUserActions: () => never[]; fullscreenConfig: undefined; showCollapseButton: boolean; collapsed: boolean; }>>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, { "menu-click": (item: MenuItemType) => void; "user-action-click": (action: UserAction) => void; "fullscreen-change": (isFullscreen: boolean) => void; "toggle-collapse": () => void; }, string, PublicProps, Readonly< ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{ /** 菜单数据 */ menuData?: MenuItemType[]; /** 菜单字段映射配置 */ menuProps: Required; /** 顶部栏高度 */ height: number; /** Logo 图片地址 */ logo?: string; /** 系统标题 */ title?: string; /** 是否显示 Logo(在 mixed 模式下,logo 显示在侧边栏) */ showLogo?: boolean; /** 当前激活的菜单项 key */ activeKey?: string; /** 子菜单触发方式 */ menuTrigger?: "hover" | "click"; /** 用户信息 */ userInfo?: UserInfoType; /** 更多用户行为 */ moreUserActions?: UserAction[]; /** 全屏控制按钮配置 */ fullscreenConfig?: FullscreenConfig; /** 是否显示折叠按钮(mixed-top 模式下使用) */ showCollapseButton?: boolean; /** 侧边栏折叠状态(mixed-top 模式下使用) */ collapsed?: boolean; }>, { menuData: () => never[]; logo: undefined; title: string; showLogo: boolean; activeKey: undefined; menuTrigger: string; userInfo: undefined; moreUserActions: () => never[]; fullscreenConfig: undefined; showCollapseButton: boolean; collapsed: boolean; }>>> & Readonly<{ "onMenu-click"?: ((item: MenuItemType) => any) | undefined; "onUser-action-click"?: ((action: UserAction) => any) | undefined; "onToggle-collapse"?: (() => any) | undefined; "onFullscreen-change"?: ((isFullscreen: boolean) => any) | undefined; }>, { title: string; collapsed: boolean; showCollapseButton: boolean; logo: string; activeKey: string; menuData: MenuItemType[]; menuTrigger: "hover" | "click"; showLogo: boolean; userInfo: UserInfoType; moreUserActions: UserAction[]; fullscreenConfig: FullscreenConfig; }, {}, {}, {}, 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; }; };