import { ThemePalette } from '@angular/material/core'; import { NsAppsConfig } from '../services/configurations.model'; import { NsWidgetResolver } from '../services/widget-resolver.model'; export declare namespace NsPage { interface IPage { contentType: string; primaryCategory?: string; navigationBar: INavBar; pageLayout: NsWidgetResolver.IRenderConfigWithAnyData; tourGuide?: string[][]; } interface INavBar { links: NsWidgetResolver.IRenderConfigWithTypedData[]; xsmallNonMenuLinks: NsWidgetResolver.IRenderConfigWithTypedData[]; pageBackLink: string; pageTitle: string; background: INavBackground; } interface INavBackground { color: 'primary' | 'accent' | 'warn' | 'default'; styles: { [id: string]: string; }; } interface INavLink { config: Pick, 'type' | 'hideStatus'> | Pick, 'type'> | Pick, 'type' | 'hideIcon' | 'hideTitle'> | Pick, 'type'> | Pick, 'type' | 'useShortName' | 'iconColor' | 'treatAsCard' | 'hidePin'>; actionBtnId?: string; actionBtn?: NsAppsConfig.IFeature; actionBtnName?: string; className?: string; } interface INavLinkConfig { type: T; hideIcon?: boolean; hideTitle?: boolean; hideStatus?: boolean; hidePin?: boolean; iconColor?: ThemePalette; treatAsCard?: boolean; useShortName?: boolean; } }