import { Directionality, Direction } from '@angular/cdk/bidi'; import { BooleanInput } from '@angular/cdk/coercion'; import * as i0 from '@angular/core'; import { ElementRef, OnDestroy, ChangeDetectorRef, EventEmitter, AfterViewInit } from '@angular/core'; import * as i1 from '@angular/common'; import * as i2 from '@aposin/ng-aquila/icon'; import * as i3 from '@aposin/ng-aquila/button'; import { FocusMonitor } from '@angular/cdk/a11y'; /** Type for the available position values. */ type PositionType = 'floating' | 'static'; /** Type for the appearance of the sidepanel. */ type Appearance = 'light' | 'dark'; declare class NxSidepanelComponent { private readonly _cdr; protected readonly _elementRef: ElementRef; private readonly _dir; readonly _wrapper: NxSidepanelOuterContainerComponent | null; /** Whether the sidepanel should be opened and visible. */ set opened(value: BooleanInput); get opened(): boolean; private _opened; /** Sets the position of the sidepanel. */ set position(value: PositionType); get position(): PositionType; private _position; /** Sets the appearance of the sidepanel. Default: dark. */ set appearance(value: Appearance); get appearance(): Appearance; private _appearance; private _openState; triggerElem?: HTMLElement | null; _header: ElementRef; /** * An event emitted when the opened value has changed. * * Emits the boolean value. */ readonly openedChange: EventEmitter; constructor(_cdr: ChangeDetectorRef, _elementRef: ElementRef, _dir: Directionality | null, _wrapper: NxSidepanelOuterContainerComponent | null); /** Toggles the opened state of the sidepanel. */ toggle(): void; /** Sets the opened state of the sidepanel to true. */ open(): void; /** Sets the opened state of the sidepanel to false. */ close(): void; _getWidth(): number; _getOpenState(): string; _setOpenState(opened: boolean): void; onAnimationDone(event: AnimationEvent): void; focusTrigger(opened: boolean): void; /** The text direction of the containing app. */ get dir(): Direction; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; } declare class NxSidepanelOuterContainerComponent implements OnDestroy { private readonly _dir; private readonly _cdr; _sidepanel: NxSidepanelComponent; private readonly _destroyed; constructor(_dir: Directionality | null, _cdr: ChangeDetectorRef); ngOnDestroy(): void; _update(): void; /** The text direction of the containing app. */ get dir(): Direction; _getOpenState(): string; _getSidepanelWidth(): number; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; } declare class NxSidepanelHeaderComponent { static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; } declare class NxSidepanelContentComponent { static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; } declare class NxSidepanelCloseButtonComponent implements OnDestroy, AfterViewInit { private readonly _sidepanel; private readonly _focusMonitor; private readonly _elementRef; _toggle(): void; constructor(_sidepanel: NxSidepanelComponent, _focusMonitor: FocusMonitor, _elementRef: ElementRef); ngAfterViewInit(): void; ngOnDestroy(): void; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; } declare class NxSidepanelModule { static ɵfac: i0.ɵɵFactoryDeclaration; static ɵmod: i0.ɵɵNgModuleDeclaration; static ɵinj: i0.ɵɵInjectorDeclaration; } export { NxSidepanelCloseButtonComponent, NxSidepanelComponent, NxSidepanelContentComponent, NxSidepanelHeaderComponent, NxSidepanelModule, NxSidepanelOuterContainerComponent }; export type { Appearance, PositionType };