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