import { EventEmitter, OnInit, Renderer2 } from '@angular/core'; import { AuthenticatedUser } from '@mtna/core-user-ui'; import * as i0 from "@angular/core"; export declare class MtnaAccountDialogTriggerComponent { /** Whether the settings button should be hidden */ hideSettings: boolean; /** required user input. */ user: AuthenticatedUser | null | undefined; /** Event fired when login button is pressed */ login: EventEmitter; /** Event fired when logout button is pressed */ logout: EventEmitter; /** Event fired when settings button is pressed */ settings: EventEmitter; /** determines the visibility of the MtnaAccountDialog */ isDialogOpened: boolean; /** property to hold self, used to pass to MtnaAccountDialog */ self: MtnaAccountDialogTriggerComponent; /** a unique ID for the dialog. */ _dialogId: string; constructor(); /** * Toggles visiblity of the MtnaAccountDialog */ toggleDialog(clickEvent?: Event): void; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; } export declare class MtnaAccountDialogComponent implements OnInit { private renderer; /** MtnaAccountDialogTrigger responsible for opening this dialog. */ trigger: MtnaAccountDialogTriggerComponent; /** Close events are emitted when clicking outside the dialog or pressing the escape key. */ close: EventEmitter; /** User's name based on provided information in the user object */ userName: string | undefined; /** that removes global click listener */ private globalClickFunction?; constructor(renderer: Renderer2); /** * Fires close and removes global click listener. */ fireClose(): void; /** * On initialization: * Add click event listener to the DOM When clicked outside of dialog, * close dialog and remove listener * * Determine's user's name for display based on information provided * in User object. This is the hierarchy of the chosen name: * 1. displayName * 2. firstName + lastName * 3. userName * 4. id */ ngOnInit(): void; /** * Stop propogation when clicked on the dialog or it will close */ onClick(event: Event): void; /** * Close dialog on ESC key up. */ onEscKey(event: Event): void; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; }