import * as i0 from '@angular/core'; import { ChangeDetectorRef, OnChanges, AfterContentInit, AfterViewInit, ElementRef, QueryList, SimpleChanges, OnDestroy } from '@angular/core'; import { ButtonComponent, ButtonOptions } from '@usitsdasdesign/dds-ng/button'; import { ContextMenuComponent } from '@usitsdasdesign/dds-ng/context-menu'; import { DestroyCtor, I18nCtor } from '@usitsdasdesign/dds-ng/core/common-behaviors'; import { ThemeClassesMap } from '@usitsdasdesign/dds-ng/core/theme'; import { DropdownComponent } from '@usitsdasdesign/dds-ng/dropdown'; import { ProfileComponent } from '@usitsdasdesign/dds-ng/profile'; import { SearchComponent } from '@usitsdasdesign/dds-ng/search'; import { WidthState, Themes, PositionState } from '@usitsdasdesign/dds-ng/shared'; import { DdsConfigService } from '@usitsdasdesign/dds-ng/shared/dds-config'; import { I18nService, ITranslation } from '@usitsdasdesign/dds-ng/shared/i18n'; import { StickerDirective, StickerOptions } from '@usitsdasdesign/dds-ng/sticker'; interface HeaderOptions { name?: string; customClass?: string; width?: WidthState | string; theme?: Themes | string; isResponsive?: boolean; isInverse?: boolean; responsivePriority?: HeaderElmnts[] | string[]; } interface LogoOptions { customClass?: string; theme?: LogoThemes | string; } interface HeaderElmntsInfo { el: HeaderElmnts | string; width: number; collapsed?: boolean; active?: boolean; } declare enum HeaderElmnts { logo = "logo", projectName = "projectName", nav = "nav", search = "search", icons = "icons", profile = "profile" } declare enum LogoThemes { white = "white", dark = "dark" } declare class LogoComponent { cdr: ChangeDetectorRef; customClass: string | undefined; theme: LogoThemes | string | undefined; themeConfig: ThemeClassesMap; constructor(cdr: ChangeDetectorRef); static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; } declare const HeaderBase: DestroyCtor & I18nCtor; declare class HeaderComponent extends HeaderBase implements OnChanges, AfterContentInit, AfterViewInit { cdr: ChangeDetectorRef; i18n: I18nService; private ddsConfig; name: string | undefined; customClass: string | undefined; width: WidthState | string | undefined; theme: Themes | string | undefined; isResponsive: boolean | undefined; isInverse: boolean | undefined; responsivePriority: HeaderElmnts[] | undefined; header: ElementRef; logo: ElementRef; projectName: ElementRef; nav: ElementRef; search: ElementRef; icons: ElementRef; profile: ElementRef; sticker: StickerDirective; mobileIconsBtn: ButtonComponent; logoComponent: LogoComponent; searchComponent: SearchComponent; profileComponent: ProfileComponent; contextMenuComponent: ContextMenuComponent; buttons: QueryList; dropdowns: QueryList; onResize(): void; themeConfig: ThemeClassesMap; headerElmntsInfo: HeaderElmntsInfo[]; isMobile: boolean; mobileStickerOptions: StickerOptions; mobileBtnOptions: ButtonOptions; headerElmnts: typeof HeaderElmnts; positionState: typeof PositionState; stickerWithSearchIndent: number; headerAriaLabel: string; additionalNavAriaLabel: string; btnSearchAriaLabel: string; btnAdditionalNavAriaLabel: string; iconsCount: number; private btnNavOpenAriaLabel; private btnNavCloseAriaLabel; private profileInverseState; get mobileNavIcon(): string; get mobileNavAriaLabel(): string; constructor(cdr: ChangeDetectorRef, i18n: I18nService, ddsConfig: DdsConfigService); ngOnChanges(changes: SimpleChanges): void; ngAfterContentInit(): void; ngAfterViewInit(): void; stickerToggle(el: HeaderElmnts, status?: boolean): void; getActiveStatus(el: HeaderElmnts): boolean; getCollapsedStatus(el: HeaderElmnts): boolean; getShownStatus(el: HeaderElmnts): boolean; getMobileStickerClass(className: string): string; onShownSearch(): void; onHiddenSearch(btn: ButtonComponent): void; mobileActiveTheme(el: HeaderElmnts): string; mobileActiveInverse(el: HeaderElmnts): boolean; private setElmntsWidth; private fitCheck; private getHeaderEl; private getElWidth; private collapseAllElmnts; private setLgSize; private setLogoTheme; private setInverse; private setComponentsOption; private setProfileMobileView; private hideSticker; protected setI18nTexts(translation: ITranslation): void; private setAriaLabel; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; } declare const IconsContainerBase: DestroyCtor; declare class IconsContainerComponent extends IconsContainerBase implements AfterViewInit, OnDestroy { private headerComponent; showInSticker: boolean; iconBtns: ElementRef; private keyManager; constructor(headerComponent: HeaderComponent); ngAfterViewInit(): void; ngOnDestroy(): void; handleKeydown(event: KeyboardEvent): void; private focus; private setAttributesInPopup; private initKeyManager; private removeFocus; private setIconsCount; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; } declare class HeaderModule { static ɵfac: i0.ɵɵFactoryDeclaration; static ɵmod: i0.ɵɵNgModuleDeclaration; static ɵinj: i0.ɵɵInjectorDeclaration; } export { HeaderComponent, HeaderElmnts, HeaderModule, LogoComponent, LogoThemes }; export type { HeaderElmntsInfo, HeaderOptions, LogoOptions };