import { InjectionToken, OnInit } from '@angular/core'; import { CdkDialogContainer, DialogConfig, DialogRef } from '@angular/cdk/dialog'; import { DialogVariant } from './dialog-types'; import * as i0 from "@angular/core"; /** Chrome params supplied by `DialogService` to the container via {@link CMP_DIALOG_CHROME}. */ export interface DialogChrome { variant: DialogVariant; title: string; description: string; icon: string; dismissible: boolean; closeLabel: string; width: string; showActions: boolean; titleId: string; descId: string; } /** * Chrome params injected into `CmpDialogContainer`. Provided via the CDK `container` object * form (`{ type, providers }`) rather than spread onto the `DialogConfig` — that avoids * clobbering real config fields (e.g. `width`, which CDK also maps onto the overlay pane). */ export declare const CMP_DIALOG_CHROME: InjectionToken; /** * Container used by `DialogService` via CDK `Dialog.open(content, { container })`. Extends * the CDK dialog container (focus trap, focus capture/restore, portal outlet) and renders the * shared dialog surface around the attached content. The opened content is attached into the * surface's body via the `cdkPortalOutlet`; chrome params (title/variant/etc.) ride on the * `DialogConfig`. Internal — not part of the public API. * * Host aria bindings are redeclared here (component host metadata is not inherited) and read * from the injected `DialogConfig`, matching `CdkDialogContainer`'s own bindings. */ export declare class CmpDialogContainer extends CdkDialogContainer implements OnInit { /** The dialog config (provided by CDK to the container injector); drives the aria host bindings. */ protected readonly config: DialogConfig; /** Ref for the open dialog (provided by CDK to the container injector); closes on the ✕. */ protected readonly dialogRef: DialogRef; /** Chrome params supplied by `DialogService` via the container `providers`. */ protected readonly chrome: DialogChrome; private readonly document; private _previousOverflowY; ngOnInit(): void; ngOnDestroy(): void; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; }