export interface SettingsInfoFieldProps { type: 'info'; title: string; description?: React.ReactNode; content: React.ReactNode; } export type SettingsElementType = 'switch' | 'radio'; export interface SettingProps { type?: SettingsElementType; title: string; description?: React.ReactNode; disabled?: boolean; settingKey: string; options?: { value: string; content: string; }[]; defaultValue?: unknown; /** * Displayed value when the setting is effectively overridden by runtime context. * The persisted user setting is still kept unchanged. */ effectiveValue?: unknown; onValueUpdate?: VoidFunction; } export declare const Setting: ({ type, title, settingKey, options, defaultValue, effectiveValue, onValueUpdate, disabled, }: SettingProps) => import("react/jsx-runtime").JSX.Element | null;