embedded.ui.confirm returns a Promise that resolves with the user's choice.confirm method accepts a configuration object:| Option | Type | Default | Description |
|---|---|---|---|
| title | string | - | The title of the dialog. |
| message | string | - | The body text explaining the action. |
| confirmText | string | "Confirm" | Text for the confirmation button. |
| cancelText | string | "Cancel" | Text for the cancellation button. |
| variant | string | "info" | Visual style: "info", "warning", or "danger". |
Promise<ConfirmResult>:variant: "danger" for destructive actions to visually warn the user.message should clearly state what will happen if the user confirms.