declare namespace Panel { interface Info extends ItemInfo { } interface ItemInfo extends Common.InfoBase { icon: ItemIcon |null title: string url: string sort?: number lanUrl?: string description?: string openMethod: number itemIconGroupId ?:number } interface ItemIconGroup extends Common.InfoBase { icon?: string title?: string sort?:number } interface ItemIcon { itemType: number src ?: string text ?: string // bgColor ?: string backgroundColor ?: string } interface State { rightSiderCollapsed: boolean leftSiderCollapsed: boolean networkMode:PanelStateNetworkModeEnum | null panelConfig:panelConfig } interface panelConfig{ backgroundImageSrc?:string backgroundBlur?:number backgroundMaskNumber?:number iconStyle?:PanelPanelConfigStyleEnum iconTextColor?:string iconTextInfoHideDescription?:boolean iconTextIconHideTitle?:boolean logoText?:string logoImageSrc?:string clockShowSecond?:boolean clockColor?:string searchBoxShow?:boolean searchBoxSearchIcon?:boolean marginTop?:number marginBottom?:number maxWidth?:number maxWidthUnit:string marginX?:number footerHtml?:string systemMonitorShow?:boolean systemMonitorShowTitle?:boolean systemMonitorPublicVisitModeShow?:boolean } interface userConfig{ panel:panelConfig searchEngine?:any } interface ItemIconSortRequest{ sortItems:Common.SortItemRequest[] itemIconGroupId:number } }