method Select.prototype.mapOptionsimport { Select } from "https://dotland.deno.dev/x/wmill@v1.358.0/deps.ts"; mapOptions(promptOptions: SelectOptions<TValue>, options: Array< | Extract<TValue, string | number> | Extract<WidenType<TValue>, string | number> | SelectOption<TValue> | SelectOptionGroup<TValue> | GenericListSeparatorOption>): Array<SelectOptionSettings<TValue> | SelectOptionGroupSettings<TValue>>Map string option values to options and set option defaults. ParameterspromptOptions: SelectOptions<TValue>options: Array< | Extract<TValue, string | number> | Extract<WidenType<TValue>, string | number> | SelectOption<TValue> | SelectOptionGroup<TValue> | GenericListSeparatorOption>ReturnsArray<SelectOptionSettings<TValue> | SelectOptionGroupSettings<TValue>>