import type { QueryList } from '@angular/core'; import { OnDestroy, OnInit } from '@angular/core'; import { MatDrawerToggleResult } from '@angular/material/sidenav'; import { DomSanitizer, SafeStyle } from '@angular/platform-browser'; import { Router } from '@angular/router'; import { VdLayoutComponent } from '../layout.component'; import * as i0 from "@angular/core"; export declare class VdNavigationDrawerMenuDirective { static ɵfac: i0.ɵɵFactoryDeclaration; static ɵdir: i0.ɵɵDirectiveDeclaration; } export declare class VdNavigationDrawerToolbarDirective { static ɵfac: i0.ɵɵFactoryDeclaration; static ɵdir: i0.ɵɵDirectiveDeclaration; } export declare class VdNavigationDrawerComponent implements OnInit, OnDestroy { private _layout; private _router; private _sanitize; private _closeSubscription; private _menuToggled; private _backgroundImage; get menuToggled(): boolean; _drawerMenu: QueryList; _toolbar: QueryList; /** * Checks if there is a [VdNavigationDrawerMenuDirective] has content. */ get isMenuAvailable(): boolean; /** * Checks if there is a [VdNavigationDrawerToolbarDirective] has content. */ get isCustomToolbar(): boolean; /** * Checks if there is a background image for the toolbar. */ get isBackgroundAvailable(): boolean; /** * sidenavTitle?: string * Title set in sideNav. */ sidenavTitle: string; /** * icon?: string * * icon name to be displayed before the title */ icon: string; /** * logo?: string * * logo icon name to be displayed before the title. * If [icon] is set, then this will not be shown. */ logo: string; /** * color?: string * * toolbar color option: primary | accent | warn. * If [color] is not set, default is used. */ color: string; /** * navigationRoute?: string * * option to set the combined route for the icon, logo, and sidenavTitle. */ navigationRoute: string; /** * backgroundUrl?: SafeResourceUrl * * image to be displayed as the background of the toolbar. * URL used will be sanitized, but it should be always from a trusted source to avoid XSS. */ set backgroundUrl(backgroundUrl: any); get backgroundImage(): SafeStyle; /** * name?: string * * string to be displayed as part of the navigation drawer sublabel. * if [email] is not set, then [name] will be the toggle menu text. */ name: string; /** * email?: string * * string to be displayed as part of the navigation drawer sublabel in the [toggle] menu text. * if [email] and [name] are not set, then the toggle menu is not rendered. */ email: string; /** * Checks if router was injected. */ get routerEnabled(): boolean; constructor(_layout: VdLayoutComponent, _router: Router, _sanitize: DomSanitizer); ngOnInit(): void; ngOnDestroy(): void; toggleMenu(): void; handleNavigationClick(): void; /** * Proxy toggle method to access sidenav from outside (from vd-layout template). */ toggle(): Promise; /** * Proxy open method to access sidenav from outside (from vd-layout template). */ open(): Promise; /** * Proxy close method to access sidenav from outside (from vd-layout template). */ close(): Promise; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; }