import { AnimationEvent } from '@angular/animations'; import { BasePortalOutlet, CdkPortalOutlet, ComponentPortal, TemplatePortal } from '@angular/cdk/portal'; import { ChangeDetectorRef, ComponentRef, ElementRef, EmbeddedViewRef, EventEmitter, InjectionToken, OnDestroy } from '@angular/core'; import { Observable, Subject } from 'rxjs'; import { KbqSidepanelAnimationState } from './sidepanel-animations'; import { KbqSidepanelConfig } from './sidepanel-config'; import * as i0 from "@angular/core"; export declare const KBQ_SIDEPANEL_WITH_INDENT: InjectionToken; /** @deprecated */ export declare const KBQ_SIDEPANEL_WITH_SHADOW: InjectionToken; export declare class KbqSidepanelContainerComponent extends BasePortalOutlet implements OnDestroy { private elementRef; private changeDetectorRef; sidepanelConfig: KbqSidepanelConfig; withIndent: boolean; /** ID for the container DOM element. */ id: string; /** The portal outlet inside of this container into which the content will be loaded. */ portalOutlet: CdkPortalOutlet; /** The state of the sidepanel animations. */ animationState: KbqSidepanelAnimationState; /** @docs-private */ animationTransform: { transformIn: string; transformOut: string; lower: string; bottomPanel: string; becomingNormal: string; }; /** Emits whenever the state of the animation changes. */ animationStateChanged: EventEmitter; /** @docs-private */ get size(): string; /** @docs-private */ get trapFocusAutoCapture(): boolean; /** @docs-private */ get trapFocus(): boolean; /** @docs-private */ protected readonly indentClickEmitter: Subject; /** Whether the component has been destroyed. */ private destroyed; constructor(elementRef: ElementRef, changeDetectorRef: ChangeDetectorRef, sidepanelConfig: KbqSidepanelConfig, withIndent: boolean); ngOnDestroy(): void; /** * Gets an observable that emits when the indent has been clicked. * * @docs-private */ indentClick(): Observable; /** Attach a component portal as content to this sidepanel container. */ attachComponentPortal(portal: ComponentPortal): ComponentRef; /** Attach a template portal as content to this sidepanel container. */ attachTemplatePortal(portal: TemplatePortal): EmbeddedViewRef; /** Begin animation of the sidepanel entrance into view. */ enter(): void; /** Begin animation of the sidepanel exiting from view. */ exit(): void; /** @docs-private */ onAnimation(event: AnimationEvent): void; /** @docs-private */ setAnimationState(state: KbqSidepanelAnimationState): void; private setAnimation; private setPanelClass; private validatePortalAttached; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; }