import { BreakpointObserver } from '@angular/cdk/layout'; import { CdkScrollable, ScrollDispatcher } from '@angular/cdk/scrolling'; import { AfterContentInit, ChangeDetectorRef, ElementRef, InjectionToken, NgZone, OnDestroy, QueryList } from '@angular/core'; import { Subject } from 'rxjs'; /** * Throws an exception if more than one SbbSidebarBase is provided. * @docs-private */ export declare function throwSbbDuplicatedSidebarError(): void; /** * Used to provide a sidebar container to a sidebar while avoiding circular references. * @docs-private */ export declare const SBB_SIDEBAR_CONTAINER: InjectionToken; /** @docs-private */ export interface SbbSidebarMobileCapableContainer { _mobile: boolean; } export declare abstract class SbbSidebarContentBase extends CdkScrollable { protected constructor(elementRef: ElementRef, scrollDispatcher: ScrollDispatcher, ngZone: NgZone); } /** This component corresponds to a sidebar. */ export declare abstract class SbbSidebarBase { _container: SbbSidebarMobileCapableContainer; abstract _mobileChanged(mobile: boolean): void; protected constructor(_container: SbbSidebarMobileCapableContainer); } /** * This is the parent component to one or two ``s that validates the state internally * and coordinates the backdrop and content styling. */ export declare abstract class SbbSidebarContainerBase implements AfterContentInit, OnDestroy, SbbSidebarMobileCapableContainer { protected _ngZone: NgZone; protected _changeDetectorRef: ChangeDetectorRef; protected _breakpointObserver: BreakpointObserver; _mobile: boolean; /** The sidebar child */ get sidebar(): T | null; /** Reference to the CdkScrollable instance that wraps the scrollable content. */ get scrollable(): CdkScrollable; protected constructor(_ngZone: NgZone, _changeDetectorRef: ChangeDetectorRef, _breakpointObserver: BreakpointObserver); /** All sidebars, also nested sidebars included **/ _allSidebars: QueryList; /** Sidebars that belong to this container. */ _sidebars: QueryList; _content: SbbSidebarContentBase; _userContent: SbbSidebarContentBase; /** The sidebar */ protected _sidebar: T | null; /** Emits when the component is destroyed. */ protected readonly _destroyed: Subject; ngAfterContentInit(): void; protected _watchBreakpointObserver(): void; private _updateMobileState; ngOnDestroy(): void; /** Validate the state of the sidebar children components. */ protected _validateSidebars(): void; }