declare class PromptResponse { private constructor(); /** * Gets the text that the user entered in the dialog's input field. The text is available even if * the user closed the dialog by clicking a button with a negative connotation, like "Cancel" or * the close button in the dialog's title bar. getSelectedButton() can help to determine * whether the user intended the response text to be valid. * * @returns The text that the user entered in the dialog's input field. */ getResponseText(): string /** * Gets the button that the user clicked to dismiss the dialog. If the user clicked the close * button that is included in every dialog's title bar, this method returns Button.CLOSE. * * @returns The button that the user clicked. */ getSelectedButton(): Button }