import React from "react"; export declare enum LogoTypeEnum { NORMAL = "NORMAL",// 无 BETA = "BETA", ALPHA = "ALPHA", NEW = "NEW", LEGACY = "LEGACY",// 对应旧版 NUMBER = "NUMBER" } export type logoInfo = { path: string; type: LogoTypeEnum[]; infoUrl: string; }; export type appBaseInfo = { dockOrder?: number; groupName?: string; appName: string; appText: string; appEnText: string; logoInfo?: logoInfo; realPath: string; openMethod: 1 | 2 | 3; is3App?: boolean; }; /** 左侧菜单栏 */ export type dockAppInfo = appBaseInfo & { webAppId?: number; appSource?: string; children?: dockAppInfo[]; menus?: wuKongMenu[]; }; /** 轻应用市场 */ export type appInfo = appBaseInfo & { id: number; type?: number; ctime?: number; cuser?: number; mtime?: number; muser?: number; status?: number; version?: string; children?: appInfo[]; canModify?: boolean; }; export type wuKongMenu = { id: number; link?: string; title: string; parentId: number; productType?: number; env?: number; productTypeStr?: string; [key: string]: any; children: wuKongMenu[]; }; export type TyTopInfoProps = { onTitleClick?: (appInfo: dockAppInfo, e: React.MouseEvent) => void; appInfo?: dockAppInfo; rightContent?: () => React.ReactNode; leftContent?: () => React.ReactNode; [key: string]: any; };