import { ComponentRef, OnDestroy, OnInit } from '@angular/core'; import { PoLanguageService } from '../po-language/po-language.service'; import { PoModalAction } from '../../components/po-modal/po-modal-action.interface'; import { PoModalComponent } from '../../components/po-modal/po-modal.component'; import { PoDialogType } from './enums/po-dialog.enum'; import { PoDialogAlertLiterals } from './interfaces/po-dialog-alert-literals.interface'; import { PoDialogConfirmLiterals } from './interfaces/po-dialog-confirm-literals.interface'; import { PoDialogAlertOptions, PoDialogConfirmOptions } from './interfaces/po-dialog.interface'; export declare const poDialogAlertLiteralsDefault: { en: PoDialogAlertLiterals; es: PoDialogAlertLiterals; pt: PoDialogAlertLiterals; ru: PoDialogAlertLiterals; }; export declare const poDialogConfirmLiteralsDefault: { en: PoDialogConfirmLiterals; es: PoDialogConfirmLiterals; pt: PoDialogConfirmLiterals; ru: PoDialogConfirmLiterals; }; /** * @docsPrivate * * @description * * Componente que serve como container do po-dialog.service */ export declare class PoDialogComponent implements OnDestroy, OnInit { poModal: PoModalComponent; title: string; message: string; primaryAction: PoModalAction; secondaryAction: PoModalAction; closeAction: Function; literalsAlert: PoDialogAlertLiterals; literalsConfirm: PoDialogConfirmLiterals; private componentRef; private closeSubscription; private _componentsSize?; private _initialComponentsSize?; private readonly language; set componentsSize(value: string); get componentsSize(): string; constructor(languageService: PoLanguageService); ngOnDestroy(): void; ngOnInit(): void; protected onThemeChange(): void; close(xClosed?: boolean): void; destroy(): void; configDialog(primaryLabel?: any, primaryAction?: any, secondaryLabel?: any, secondaryAction?: any, closeAction?: any): void; open(dialogOptions: PoDialogConfirmOptions | PoDialogAlertOptions, dialogType: PoDialogType, componentRef?: ComponentRef): void; private setDialogLiterals; private applySizeBasedOnA11y; }