import { AfterViewInit, EventEmitter, OnChanges, OnDestroy, SimpleChanges, TemplateRef, ViewContainerRef } from '@angular/core'; import { Overlay } from '@angular/cdk/overlay'; import { ProfileMenuEntry, ProfileMenuItem, ProfileMenuUser, isProfileMenuDivider } from './profile-menu.models'; import * as i0 from "@angular/core"; export declare class ProfileMenuComponent implements AfterViewInit, OnChanges, OnDestroy { private overlay; private viewContainerRef; user: ProfileMenuUser; entries: ProfileMenuEntry[]; anchor: HTMLElement | null; /** Optional id on the popover element — useful for aria-labelledby wiring. */ popoverId?: string; itemClick: EventEmitter; dismissed: EventEmitter; popoverTpl: TemplateRef; private overlayRef; private keySub; private backdropSub; private viewInitialized; constructor(overlay: Overlay, viewContainerRef: ViewContainerRef); ngAfterViewInit(): void; ngOnChanges(changes: SimpleChanges): void; ngOnDestroy(): void; isDivider: typeof isProfileMenuDivider; /** Narrowing helper for the template — Angular's template type checker can't * follow our custom type guard through `*ngIf-else`, so we surface a typed cast * via this method instead. */ asItem(entry: ProfileMenuEntry): ProfileMenuItem | null; trackByEntry: (index: number, _entry: ProfileMenuEntry) => number; onItemClick(item: ProfileMenuItem): void; private openOverlay; private closeOverlay; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; }