export interface DialogPosition { bottom?: string; left?: string; right?: string; top?: string; } export declare type DialogRole = 'dialog' | 'alertdialog'; export declare const MAT_DIALOG_DATA: InjectionToken; export declare const MAT_DIALOG_DEFAULT_OPTIONS: InjectionToken>; export declare const MAT_DIALOG_SCROLL_STRATEGY: InjectionToken<() => ScrollStrategy>; export declare function MAT_DIALOG_SCROLL_STRATEGY_FACTORY(overlay: Overlay): () => ScrollStrategy; export declare const MAT_DIALOG_SCROLL_STRATEGY_PROVIDER: { provide: InjectionToken<() => ScrollStrategy>; deps: (typeof Overlay)[]; useFactory: typeof MAT_DIALOG_SCROLL_STRATEGY_PROVIDER_FACTORY; }; export declare function MAT_DIALOG_SCROLL_STRATEGY_PROVIDER_FACTORY(overlay: Overlay): () => ScrollStrategy; export declare class MatDialog implements OnDestroy { readonly _afterAllClosed: Subject; readonly afterAllClosed: Observable; readonly afterOpen: Subject>; readonly afterOpened: Subject>; readonly openDialogs: MatDialogRef[]; constructor(_overlay: Overlay, _injector: Injector, _location: Location, _defaultOptions: MatDialogConfig, scrollStrategy: any, _parentDialog: MatDialog, _overlayContainer: OverlayContainer); closeAll(): void; getDialogById(id: string): MatDialogRef | undefined; ngOnDestroy(): void; open(componentOrTemplateRef: ComponentType | TemplateRef, config?: MatDialogConfig): MatDialogRef; } export declare class MatDialogActions { } export declare const matDialogAnimations: { readonly dialogContainer: AnimationTriggerMetadata; readonly slideDialog: AnimationTriggerMetadata; }; export declare class MatDialogClose implements OnInit, OnChanges { _matDialogClose: any; ariaLabel: string; dialogRef: MatDialogRef; dialogResult: any; type: 'submit' | 'button' | 'reset'; constructor(dialogRef: MatDialogRef, _elementRef: ElementRef, _dialog: MatDialog); ngOnChanges(changes: SimpleChanges): void; ngOnInit(): void; } export declare class MatDialogConfig { ariaDescribedBy?: string | null; ariaLabel?: string | null; ariaLabelledBy?: string | null; autoFocus?: boolean; backdropClass?: string; closeOnNavigation?: boolean; componentFactoryResolver?: ComponentFactoryResolver; data?: D | null; direction?: Direction; disableClose?: boolean; hasBackdrop?: boolean; height?: string; id?: string; maxHeight?: number | string; maxWidth?: number | string; minHeight?: number | string; minWidth?: number | string; panelClass?: string | string[]; position?: DialogPosition; restoreFocus?: boolean; role?: DialogRole; scrollStrategy?: ScrollStrategy; viewContainerRef?: ViewContainerRef; width?: string; } export declare class MatDialogContainer extends BasePortalOutlet { _animationStateChanged: EventEmitter; _ariaLabelledBy: string | null; _config: MatDialogConfig; _id: string; _portalOutlet: CdkPortalOutlet; _state: 'void' | 'enter' | 'exit'; constructor(_elementRef: ElementRef, _focusTrapFactory: FocusTrapFactory, _changeDetectorRef: ChangeDetectorRef, _document: any, _config: MatDialogConfig); _onAnimationDone(event: AnimationEvent): void; _onAnimationStart(event: AnimationEvent): void; _startExitAnimation(): void; attachComponentPortal(portal: ComponentPortal): ComponentRef; attachTemplatePortal(portal: TemplatePortal): EmbeddedViewRef; } export declare class MatDialogContent { } export declare class MatDialogModule { } export declare class MatDialogRef { _containerInstance: MatDialogContainer; componentInstance: T; disableClose: boolean | undefined; readonly id: string; constructor(_overlayRef: OverlayRef, _containerInstance: MatDialogContainer, _location?: Location, id?: string); addPanelClass(classes: string | string[]): this; afterClosed(): Observable; afterOpen(): Observable; afterOpened(): Observable; backdropClick(): Observable; beforeClose(): Observable; beforeClosed(): Observable; close(dialogResult?: R): void; getState(): MatDialogState; keydownEvents(): Observable; removePanelClass(classes: string | string[]): this; updatePosition(position?: DialogPosition): this; updateSize(width?: string, height?: string): this; } export declare const enum MatDialogState { OPEN = 0, CLOSING = 1, CLOSED = 2 } export declare class MatDialogTitle implements OnInit { id: string; constructor(_dialogRef: MatDialogRef, _elementRef: ElementRef, _dialog: MatDialog); ngOnInit(): void; } export declare function throwMatDialogContentAlreadyAttachedError(): void;