import { AfterContentInit, ElementRef, QueryList } from '@angular/core'; import { SidenavLinkComponent } from './sidenav-link/sidenav-link.component'; import { Drawer } from '../drawer/index'; import { SidenavService } from './sidenav.service'; /** The navbar is a wrapper that positions branding, navigation, and other elements in a concise header. */ export declare class SidenavComponent implements AfterContentInit { private sidenavService; drawer: Drawer; mobileView: boolean; _mobileView: boolean; /** Display name of current user */ user: IUser | null; readonly align = "left"; readonly mode = "side"; _sideNavClass: boolean; appName: string; /** Url to brand icon image file */ brandIcon: string; /** Router link or URL triggered when home icon is clicked */ homeUri: any[] | string; /** Base URL to be used for logging in */ loginUrl: string; /** Base URL to be used for logging out */ logoutUrl: string; /** Whether the logout url should append on a parameter to the current page. Default true */ logoutReturnToCurrent: boolean; /** Whether the Sign In link should show in the sidenav when a valid user is not already signed in. Default false */ showSignIn: boolean; /** Change positioning to absolute - mostly just for convenience of playing nice with example docs */ absolutePosition: boolean; /** Contact phone number used in the bottom of the sidenav for Question/Comments */ contactPhoneNumber: string; /** Whether the User Menu should contain all links or just the Sign Out link. Default true */ userMenuLinks: boolean; /** Whether the User Menu should contain the Manage My Policy link. Default true */ showManageMyPolicy: boolean; _navLinks: QueryList; navbarContent: ElementRef; sidenavOpen: boolean; constructor(sidenavService: SidenavService); ngAfterContentInit(): void; private _autoExpandSidenav; private _closeMobileSidenav; _logout(): void; _login(): void; readonly _mobileMenuIcon: string; triggerSidenavToggle(event: any): void; dismissSidenavWhenOpen(event: any): void; /** * Toggles the sidenav state. * * NOTE: Private to force template to call other methods that will decide when to toggle and when to stopPropagation. * This method is strictly the how of toggling not the entry point. */ private toggleSidenav; homeUriIsRelative(): boolean; } export interface IUser { name: string; avatar?: string; }