import * as i0 from '@angular/core'; import { EventEmitter, TemplateRef } from '@angular/core'; import * as i1 from '@sbb-esta/angular/core'; import * as i3 from '@sbb-esta/angular/icon'; import * as i2 from '@sbb-esta/angular/menu'; import { SbbMenuInheritedTriggerContext, SbbMenu } from '@sbb-esta/angular/menu'; declare const _SbbUsermenuMixinBase: i1.AbstractConstructor & { new (): {}; }; declare const _sbbUsermenuMenuInheritedTriggerContext: SbbMenuInheritedTriggerContext; declare class SbbUsermenu extends _SbbUsermenuMixinBase { _labelLogin: string; get _labelOpenPanel(): string; /** Identifier of the usermenu. */ id: string; /** * The user name is only displayed if the menu is open. * If userName is set, logged in state is active. */ userName?: string; /** * The display name is shown on collapsed trigger and on opened state of the menu (except on mobile devices). * If displayName is set, logged in state is active. */ displayName?: string; /** Reference to the menu. */ menu: SbbMenu; /** Event emitted on log in of a user. */ loginRequest: EventEmitter; /** Event emitted when the associated menu is opened. */ readonly menuOpened: EventEmitter; /** Event emitted when the associated menu is closed. */ readonly menuClosed: EventEmitter; private _menuTrigger; /** Reference to user provided icon */ _icon?: TemplateRef; /** Whether or not the overlay panel is open. */ get panelOpen(): boolean; /** Whether the user is logged in or not. */ get _loggedIn(): boolean; /** Initial letters of user's displayName (or userName if no displayName is provided). */ get _initialLetters(): string; _emitLogin(): void; /** Open the overlay panel */ open(): void; /** Close the overlay panel */ close(): void; /** Toggle the visibility of the overlay panel */ toggle(): void; _emitMenuOpened(): void; _emitMenuClosed(): void; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; } declare class SbbUsermenuIcon { static ɵfac: i0.ɵɵFactoryDeclaration; static ɵdir: i0.ɵɵDirectiveDeclaration; } declare class SbbUsermenuModule { static ɵfac: i0.ɵɵFactoryDeclaration; static ɵmod: i0.ɵɵNgModuleDeclaration; static ɵinj: i0.ɵɵInjectorDeclaration; } export { SbbUsermenu, SbbUsermenuIcon, SbbUsermenuModule, _sbbUsermenuMenuInheritedTriggerContext };