A callback for collecting a confirmation from a user.
The default option index.
The type of message.
The list of options.
The type of options.
The prompt message.
The index of the selected option.