import type { ResourceText } from "./ResourceText.js"; import type { WidgetSelectOption } from "./WidgetSelectOption.js"; import type { WidgetSelectSubtype } from "./WidgetSelectSubtype.js"; export type WidgetSettingSelect = { /** * Default selected value (must match one of the option values) */ defaultValue: string; /** * List of available options */ options: Array; /** * How to render the select options */ subtype: WidgetSelectSubtype; /** * Unique key for this setting, used to identify it in the configuration.\ * Must be unique within the widget. Duplicates will be ignored. */ key: string; /** * Label to display to the user */ label: ResourceText; /** * Optional detailed description shown under the label */ description: ResourceText | null; /** * Optional tooltip icon with extra information */ tip: ResourceText | null; /** * Whether this setting can be configured per monitor in monitor-specific settings */ allowSetByMonitor: boolean; /** * Keys of settings that must be enabled for this item to be active.\ * Uses JavaScript truthy logic (!!value) to determine if dependency is met. */ dependencies: Array; }; //# sourceMappingURL=WidgetSettingSelect.d.ts.map