import type { ResourceText } from "./ResourceText.js"; export type WidgetSettingInputText = { /** * Default text value */ defaultValue: string; /** * Whether to render as a multiline textarea */ multiline: boolean; /** * Minimum text length validation */ minLength: number | null; /** * Maximum text length validation */ maxLength: number | null; /** * 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=WidgetSettingInputText.d.ts.map