import { ChangeDetectorRef, ComponentRef, ElementRef, EmbeddedViewRef, EventEmitter, OnInit } from '@angular/core'; import { AnimationEvent } from '@angular/animations'; import { FocusTrapFactory } from '@angular/cdk/a11y'; import { BasePortalOutlet, CdkPortalOutlet, ComponentPortal, TemplatePortal } from '@angular/cdk/portal'; import { DatepickerDialogConfig } from '../../classes/datepicker-dialog-config.class'; import * as i0 from "@angular/core"; export declare class DatepickerDialogContainerComponent extends BasePortalOutlet implements OnInit { private changeDetector; private elementRef; private focusTrapFactory; private document; portalOutlet?: CdkPortalOutlet; datepickerDialogContainerClass: boolean; datepickerDialogContainerTabIndex: number; get datepickerDialogContainerId(): string; get datepickerDialogContainerRole(): string; get datepickerDialogContainerAriaLabelledby(): string; get datepickerDialogContainerAriaDescribedby(): string; get datepickerDialogContainerAnimation(): any; /** The class that traps and manages focus within the dialog. */ private focusTrap?; /** ID of the element that should be considered as the dialog's label. */ ariaLabelledBy: string | null; /** Emits when an animation state changes. */ animationStateChanged: EventEmitter; isAnimating: boolean; private _config?; get config(): DatepickerDialogConfig; private state; private params; private elementFocusedBeforeDialogWasOpened; constructor(changeDetector: ChangeDetectorRef, elementRef: ElementRef, focusTrapFactory: FocusTrapFactory, document: any); ngOnInit(): void; /** * Attach a ComponentPortal as content to this dialog container. */ attachComponentPortal(portal: ComponentPortal): ComponentRef; attachTemplatePortal(portal: TemplatePortal): EmbeddedViewRef; setConfig(config: DatepickerDialogConfig): void; onAnimationStart(event: AnimationEvent): void; onAnimationDone(event: AnimationEvent): void; startExitAnimation(): void; /** * Calculate origin used in the `zoomFadeInFrom()` * for animation purpose */ private calculateZoomOrigin; /** * Save the focused element before dialog was open */ private savePreviouslyFocusedElement; private trapFocus; private restoreFocus; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; }