import * as i0 from '@angular/core'; import { OnDestroy, ElementRef, EventEmitter, AfterViewInit, QueryList, ChangeDetectorRef } from '@angular/core'; /** * Sidenav mode. */ type SidenavMode = 'push' | 'over'; /** * Sidenav position. */ type SidenavPosition = 'start' | 'end' | 'top' | 'bottom'; /** * Sidenav size. */ type SidenavSize = number | string | 'small' | 'medium' | 'large' | 'full' | undefined; /** * A sidenav component that displays a sliding navigation panel. */ declare class SidenavComponent implements OnDestroy { private _bodyOverflowStyle?; private readonly _sidenavContainer; private readonly _document; private readonly _renderer; private _backdropRef?; private _backdropClickUnlistenFunc?; private _backdropAnimationEndUnlistenFunc?; private _platformId; protected _isPlatformServer: boolean; private _resizeSubscription?; private readonly _elementRef; /** * Whether the sidenav is open. */ readonly open: i0.InputSignalWithTransform; /** * Sidenav mode. * Determines how the sidenav is displayed. * Can be either 'push' or 'over'. * - 'push': The content is pushed aside to make room for the sidenav. * - 'over': The sidenav is displayed on top of the content. */ readonly mode: i0.InputSignal; /** * Whether the sidenav has a backdrop. * The backdrop is shown only when the sidenav is open and mode is 'over'. */ readonly hasBackdrop: i0.InputSignalWithTransform; /** * Sidenav z-index. * Determines the stack order of the sidenav. */ readonly zIndex: i0.InputSignalWithTransform; /** * Sidenav position. * Determines the position of the sidenav. * Can be either 'start', 'end', 'top', or 'bottom'. */ readonly position: i0.InputSignal; /** * Sidenav size. * Determines the size of the sidenav. * Can be either 'small', 'medium', 'large', 'full', or a specific value. * If a specific value is provided, it will be used as the width/height of the sidenav. * @example * - 100, '300px', '50%', '50vh', 'small', 'full', ... */ readonly size: i0.InputSignal; /** * Whether the sidenav is fixed in the viewport. */ readonly fixedInViewport: i0.InputSignalWithTransform; readonly elmentRef: ElementRef; /** * Emits when the backdrop is clicked. */ readonly backdropClick: EventEmitter; constructor(); _getFixedSize(): string | undefined; private _observeResize; private _createBackdrop; private _destroyBackdrop; ngOnDestroy(): void; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; } /** * Sidenav container component */ declare class SidenavContainerComponent implements AfterViewInit { private readonly _platformId; protected readonly _isPlatformServer: boolean; protected _isTransitionEnabled: boolean; protected _sidenavs: QueryList; readonly changeDetectorRef: ChangeDetectorRef; protected _getPadding(position: SidenavPosition): string | undefined; ngAfterViewInit(): void; protected _canComputePadding(): boolean; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; } /** * Sidenav content component */ declare class SidenavContentComponent { static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; } /** * Sidenav module */ declare class SidenavModule { static ɵfac: i0.ɵɵFactoryDeclaration; static ɵmod: i0.ɵɵNgModuleDeclaration; static ɵinj: i0.ɵɵInjectorDeclaration; } export { SidenavComponent, SidenavContainerComponent, SidenavContentComponent, SidenavModule }; export type { SidenavMode, SidenavPosition, SidenavSize };