export type PreferenceOption = { label: string; value: unknown; }; export declare const PreferenceGroups: string[]; export type PreferenceGroup = (typeof PreferenceGroups)[number]; /** Contains info/config about preference items the user can change in the UserPreferenceComponent. */ export declare class UserPreference { currentValue: unknown; visible: boolean; configPath: string; statePath: string | null; group: PreferenceGroup; uiElement: 'select' | 'checkbox' | 'color'; private readonly _configToStateMapper; private _options; constructor(configPath: string, statePath: string | null, group: PreferenceGroup, uiElement: 'select' | 'checkbox' | 'color', configToStateMapper?: (valueInConfig: any) => any); get options(): PreferenceOption[]; set options(options: PreferenceOption[]); getCurrentValueForState(): any; }