RegisteredPrompt
RegisteredPrompt = ({String name, void Function() remove, void Function(PromptConfig config) update})
Registered prompt returned from registerPrompt.
Provides methods to manage the prompt lifecycle.
Implementation
typedef RegisteredPrompt = ({
/// The prompt name.
String name,
/// Remove the prompt from the server.
void Function() remove,
/// Update the prompt configuration.
void Function(PromptConfig config) update,
});