PassphrasePromptDialog
fun PassphrasePromptDialog(model: PromptDialogModel<PassphrasePromptDialogModel.PassphraseRequest, String>, toHumanReadable: suspend (Reason, PassphraseConstraints?) -> Reason.HumanReadable)
A composable dialog that prompts the user to enter a passphrase.
This dialog is driven by a PromptDialogModel and displays a bottom sheet when a passphrase request is active. It supports optional passphrase evaluation and converts the raw Reason into human-readable title/subtitle strings.
Parameters
model
The dialog model managing the passphrase request state and result channel.
toHumanReadable
A suspend function that converts a Reason and optional PassphraseConstraints into a Reason.HumanReadable for display in the UI.