import type { ResourceText } from "./ResourceText.js"; export type WidgetSettingSwitch = { /** * Default value for this switch */ defaultValue: boolean; /** * 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=WidgetSettingSwitch.d.ts.map