method Dialog.prototype.acceptRe-exportimport { Dialog } from "https://deno.land/x/astral@0.3.5/mod.ts"; accept(promptText?: string)Returns when the dialog has been accepted. ParametersoptionalpromptText: stringA text to enter in prompt. Does not cause any effects if the dialog's type is not prompt. Optional.