import * as i0 from '@angular/core'; import { AfterViewInit, TemplateRef, EventEmitter, ChangeDetectorRef, QueryList, ElementRef } from '@angular/core'; import { DestroyCtor, I18nCtor } from '@usitsdasdesign/dds-ng/core/common-behaviors'; import { 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 } from '@usitsdasdesign/dds-ng/sticker'; import { ContextMenuItemComponent } from '@usitsdasdesign/dds-ng/context-menu'; declare class ProfileItemComponent implements AfterViewInit { private cdr; disabled: boolean | undefined; width: boolean; counter: number | undefined; customClass: string | undefined; focus: boolean | undefined; template: TemplateRef | undefined; itemSelected: EventEmitter; menuItem: ContextMenuItemComponent; itemId: number; constructor(cdr: ChangeDetectorRef); ngAfterViewInit(): void; selectedItem(event: Event): void; changeFocus(value: boolean): void; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; } declare const ProfileBase: DestroyCtor & I18nCtor; declare class ProfileComponent extends ProfileBase implements AfterViewInit { cdr: ChangeDetectorRef; i18n: I18nService; private ddsConfig; items: QueryList; sticker: StickerDirective; profileBtn: ElementRef; username: string | undefined; nameLetter: string | undefined; userInfo: string | undefined; photoUrl: string | undefined; customClass: string | undefined; isInverse: boolean | undefined; disabled: boolean | undefined; isUserProfileArrow: boolean | undefined; stickerPosition: PositionState | string | undefined; stickerIndent: number | undefined; stickerWidth: number | string | undefined; stickerShift: number | undefined; stickerIsResponsive: boolean | undefined; stickerIsOutsideClick: boolean | undefined; stickerIsDisabled: boolean | undefined; stickerMaxHeight: number | string | undefined; stickerCustomClass: string | undefined; stickerIsDynamic: boolean | undefined; isProfileOpened: boolean; isMobileHeader: boolean; private keyboardTrigger; activeItemId: number; id: string; profileContentAriaLabel: string; private keyManager; constructor(cdr: ChangeDetectorRef, i18n: I18nService, ddsConfig: DdsConfigService); ngAfterViewInit(): void; onShown(el: HTMLElement): void; onHidden(): void; toggleDropdown(): void; preventEvent(event: KeyboardEvent): void; handleKeydown(event: KeyboardEvent): void; handleKeyUp(): void; handleKeydownMenu(event: KeyboardEvent): void; contextMenuInit(): void; private initKeyManager; protected setI18nTexts(translation: ITranslation): void; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; } declare class ProfileModule { static ɵfac: i0.ɵɵFactoryDeclaration; static ɵmod: i0.ɵɵNgModuleDeclaration; static ɵinj: i0.ɵɵInjectorDeclaration; } interface ProfileOptions { username?: string; nameLetter?: string; userInfo?: string; photoUrl?: string; customClass?: string; isInverse?: boolean; disabled?: boolean; isUserProfileArrow?: boolean; template?: TemplateRef; stickerPosition?: PositionState | string; stickerIndent?: number; stickerWidth?: number | string; stickerShift?: number; stickerIsOutsideClick?: boolean; stickerMaxHeight?: number | string; stickerCustomClass?: string; stickerIsDisabled?: boolean; stickerIsDynamic?: boolean; } export { ProfileComponent, ProfileItemComponent, ProfileModule }; export type { ProfileOptions };