import { InjectionToken, Injector, TemplateRef } from '@angular/core'; import { Location } from '@angular/common'; import { OwlDialogConfig } from './dialog-config.class'; import { OwlDialogRef } from './dialog-ref.class'; import { Observable, Subject } from 'rxjs'; import { Overlay, OverlayContainer, ScrollStrategy } from '@angular/cdk/overlay'; import { ComponentType } from '@angular/cdk/portal'; export declare const OWL_DIALOG_DATA: InjectionToken; export declare const OWL_DIALOG_SCROLL_STRATEGY: InjectionToken<() => ScrollStrategy>; export declare function OWL_DIALOG_SCROLL_STRATEGY_PROVIDER_FACTORY(overlay: Overlay): () => ScrollStrategy; export declare const OWL_DIALOG_SCROLL_STRATEGY_PROVIDER: { provide: InjectionToken<() => ScrollStrategy>; deps: (typeof Overlay)[]; useFactory: typeof OWL_DIALOG_SCROLL_STRATEGY_PROVIDER_FACTORY; }; export declare const OWL_DIALOG_DEFAULT_OPTIONS: InjectionToken; export declare class OwlDialogService { private overlay; private injector; private location; private scrollStrategy; private defaultOptions; private parentDialog; private overlayContainer; private ariaHiddenElements; private _openDialogsAtThisLevel; private _afterOpenAtThisLevel; private _afterAllClosedAtThisLevel; readonly openDialogs: OwlDialogRef[]; readonly afterOpen: Subject>; readonly _afterAllClosed: any; afterAllClosed: Observable; constructor(overlay: Overlay, injector: Injector, location: Location, scrollStrategy: () => ScrollStrategy, defaultOptions: OwlDialogConfig, parentDialog: OwlDialogService, overlayContainer: OverlayContainer); open(componentOrTemplateRef: ComponentType | TemplateRef, config?: OwlDialogConfig): OwlDialogRef; closeAll(): void; getDialogById(id: string): OwlDialogRef | undefined; private attachDialogContent; private createInjector; private createOverlay; private attachDialogContainer; private getOverlayConfig; private removeOpenDialog; private hideNonDialogContentFromAssistiveTechnology; }