import { MatLegacyDialogRef as MatDialogRef } from "@angular/material/legacy-dialog"; import { StarkAlertDialogContent } from "./alert-dialog-content.intf"; import * as i0 from "@angular/core"; /** * Possible results of the {@link StarkAlertDialogComponent} after being closed. * * - "ok": The user clicked on the "Ok" button * - `undefined`: The dialog was cancelled by either clicking outside of dialog or by pressing the ESC key */ export type StarkAlertDialogResult = "ok" | undefined; /** * Alert dialog component to be opened via the Angular Material's {@link MatDialog} service */ export declare class StarkAlertDialogComponent { dialogRef: MatDialogRef; content: StarkAlertDialogContent; /** * Class constructor * @param dialogRef - Reference this dialog instance * @param content - Content to be shown in the alert dialog (dynamically translated via the Translate service if the * provided text is defined in the translation keys) */ constructor(dialogRef: MatDialogRef, content: StarkAlertDialogContent); /** * Callback method to be triggered when the "Ok" button is clicked */ onOk(): void; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; }