import * as _angular_core from '@angular/core'; import { TemplateRef, EventEmitter, WritableSignal, QueryList } from '@angular/core'; import { SidenavMode, SidenavPosition, SidenavSize } from '@bootkit/ng1/components/sidenav'; import { CssClass } from '@bootkit/ng1/common'; import * as rxjs from 'rxjs'; /** * Directive to define a sidenav within Layout1Component. */ declare class Layout1SidenavDirective { readonly template: TemplateRef; readonly open: _angular_core.InputSignalWithTransform; readonly mode: _angular_core.InputSignal; readonly hasBackdrop: _angular_core.InputSignalWithTransform; readonly zIndex: _angular_core.InputSignal; readonly position: _angular_core.InputSignal; readonly size: _angular_core.InputSignal; readonly css: _angular_core.InputSignal; backdropClick: EventEmitter; static ɵfac: _angular_core.ɵɵFactoryDeclaration; static ɵdir: _angular_core.ɵɵDirectiveDeclaration; } /** * Represents a secondary sidenav options in the Layout1Component. */ interface Layout1SecondarySidenavOptions { size?: SidenavSize; zIndex?: number; position?: SidenavPosition; mode?: SidenavMode; fixedInViewport?: boolean; hasBackdrop?: boolean; css?: CssClass; closeOnBackdropClick?: boolean; } /** * Reference to a secondary sidenav in the Layout1Component. */ declare class Layout1SecondarySidenav { private _disposedSubject; private _isDisposed; /** * Observable that emits when the sidenav is disposed. */ readonly disposed: rxjs.Observable; /** * template of the sidenav content. */ readonly template: TemplateRef; /** * Z-Index of the sidenav. */ readonly zIndex: WritableSignal; /** * Sidenav css classes. */ readonly css: WritableSignal; /** * Size of the sidenav. */ readonly size: WritableSignal; /** * Position of the sidenav. */ readonly position: WritableSignal; /** * Mode of the sidenav. */ readonly mode: WritableSignal; /** * Whether the sidenav has a backdrop. */ readonly hasBackdrop: WritableSignal; /** * Whether the sidenav should close on backdrop click. */ readonly closeOnBackdropClick: WritableSignal; /** * Whether the sidenav is disposed. */ get isDisposed(): boolean; constructor(template: TemplateRef, options?: Layout1SecondarySidenavOptions); /** * Close and dispose the sidenav. * @param result Optional result to emit when the sidenav is closed. */ dispose(result?: any): void; } /** * Layout1 component that provides a layout with sidenavs. */ declare class Layout1Component { private _zIndexCounter; private readonly _manager; protected readonly _sidenavs?: QueryList; protected readonly _secondarySidenavs: _angular_core.WritableSignal; protected readonly _openSecondarySidenavs: Set; private readonly _changeDetectorRef; /** * Default position for secondary sidenavs. */ defaultSidenavPosition: _angular_core.InputSignal; /** * Default size for secondary sidenavs. */ defaultSidenavSize: _angular_core.InputSignal; /** * Default mode for secondary sidenavs. */ defaultSidenavMode: _angular_core.InputSignal; /** * Default hasBackdrop value for secondary sidenavs. */ defaultSidenavHasBackdrop: _angular_core.InputSignal; /** * Default closeOnBackdropClick value for secondary sidenavs. */ defaultSidenavCloseOnBackdropClick: _angular_core.InputSignal; constructor(); /** * Push a secondary sidenav. * @param template The template for the secondary sidenav. * @param options Options for the secondary sidenav. * @returns The reference to the pushed secondary sidenav. */ pushSidenav(template: TemplateRef, options?: Layout1SecondarySidenavOptions): Layout1SecondarySidenav; /** * Close the last secondary sidenav and dispose it. * @param result The result to pass when closing the sidenav. * @return The reference to the closed secondary sidenav. */ popSidenav(result?: any): Layout1SecondarySidenav | undefined; /** * Get the list of secondary sidenavs. */ get secondarySidenavs(): ReadonlyArray; protected _onSecondarySidenavTransitionEnd(sidenav: Layout1SecondarySidenav): void; static ɵfac: _angular_core.ɵɵFactoryDeclaration; static ɵcmp: _angular_core.ɵɵComponentDeclaration; } /** * Layout1 header component. */ declare class Layout1HeaderComponent { static ɵfac: _angular_core.ɵɵFactoryDeclaration; static ɵcmp: _angular_core.ɵɵComponentDeclaration; } /** * Layout1 content component. */ declare class Layout1ContentComponent { static ɵfac: _angular_core.ɵɵFactoryDeclaration; static ɵcmp: _angular_core.ɵɵComponentDeclaration; } /** * Layout1Module */ declare class Layout1Module { static ɵfac: _angular_core.ɵɵFactoryDeclaration; static ɵmod: _angular_core.ɵɵNgModuleDeclaration; static ɵinj: _angular_core.ɵɵInjectorDeclaration; } /** * Service to manage the configuration and state of Layout1Component. */ declare class Layout1Manager { /** * The Layout1Component instance associated with this manager. */ component: Layout1Component; /** * Push a secondary sidenav. * @param content The template for the secondary sidenav. * @param options Options for the secondary sidenav. * @returns The reference to the pushed secondary sidenav. */ pushSidenav(content: TemplateRef, options?: Layout1SecondarySidenavOptions): Layout1SecondarySidenav; /** * Close the last secondary sidenav and dispose it. */ popSidenav(result?: any): Layout1SecondarySidenav | undefined; /** * Get the list of secondary sidenavs. */ get secondarySidenavs(): ReadonlyArray; /** * Get the last secondary sidenav. */ get last(): Layout1SecondarySidenav | undefined; static ɵfac: _angular_core.ɵɵFactoryDeclaration; static ɵprov: _angular_core.ɵɵInjectableDeclaration; } export { Layout1Component, Layout1ContentComponent, Layout1HeaderComponent, Layout1Manager, Layout1Module, Layout1SecondarySidenav, Layout1SidenavDirective }; export type { Layout1SecondarySidenavOptions };