import * as React$1 from "react"; //#region src/components/destructive-confirm-dialog.d.ts /** * What a settled confirm asks of the dialog: `keep-open` when the action was * refused and the dialog shows why, so the caller need not throw to keep it. */ type DestructiveConfirmOutcome = "keep-open"; type DestructiveConfirmDialogProps = { cancelLabel: React$1.ReactNode; confirmLabel: React$1.ReactNode; confirmation: string; description: React$1.ReactNode; inputLabel: React$1.ReactNode; loading?: boolean | undefined; /** Settles to `"keep-open"` to keep the dialog; anything else closes it. */ onConfirm: () => unknown; onOpenChange: (open: boolean) => void; open: boolean; title: React$1.ReactNode; }; declare const DestructiveConfirmDialog: ({ cancelLabel, confirmLabel, confirmation, description, inputLabel, loading, onConfirm, onOpenChange, open, title }: DestructiveConfirmDialogProps) => React$1.JSX.Element; //#endregion export { DestructiveConfirmDialog, type DestructiveConfirmDialogProps, type DestructiveConfirmOutcome };