import { EventEmitter } from '@angular/core'; import { DialogComponent } from './dialog.component'; import * as i0 from "@angular/core"; /** * A wrapper around `` which gives you a simple way of creating a * danger dialog which is aligned with Sapphire design vision. * * @deprecated Use `` instead. `` is redundant with * `AlertDialog`, which is the recommended component for confirming actions per the Sapphire * design guidelines. It will be removed in the next major version. */ export declare class DangerDialogComponent { /** * Dialog heading text. Passed to the wrapped `sp-dialog` */ heading: string; /** * The label of the primary action button in the dialog footer. */ primaryActionLabel: string; /** * The label of the secondary action button in the dialog footer. */ secondaryActionLabel: string; /** * Emitted when the primary action is triggered. Use `$event.dialog` to access * the wrapped dialog in the event handler, and close the dialog by calling * `$event.dialog.close()` */ primaryActionSelected: EventEmitter<{ dialog: DialogComponent; }>; /** * Emitted when the secondary action is triggered. Use `$event.dialog` to * access the wrapped dialog in the event handler, and close the dialog by * calling * `$event.dialog.close()` */ secondaryActionSelected: EventEmitter<{ dialog: DialogComponent; }>; /** * Reference to the wrapped `sp-dialog` component. */ dialog?: DialogComponent; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; }