import type { GuidString } from "@itwin/core-bentley"; /** @internal */ export interface BasemapColorPreferencesContent { customColor?: string; activeColor?: string; } /** A wrapper around user preferences to store basemap solid fill colors. * Supports both user-selected custom colors and active colors (which may be preset or custom). * @internal */ export declare class BasemapColorPreferences { private static readonly _preferenceNamespace; private static readonly _preferenceKey; /** Store the user-selected custom basemap color preference. * This preserves the user's custom color choice even when they switch to presets. * @param color TBGR color value as string * @param iTwinId iTwin identifier * @param iModelId iModel identifier (optional, if not provided stores at iTwin level) */ static saveCustomColor(color: string, iTwinId: GuidString, iModelId?: GuidString): Promise; /** Store the currently active basemap color. * This tracks what color is currently being used, whether it's custom or preset. * @param color TBGR color value as string * @param iTwinId iTwin identifier * @param iModelId iModel identifier (optional, if not provided stores at iTwin level) */ static saveActiveColor(color: string, iTwinId: GuidString, iModelId?: GuidString): Promise; /** Get the user's selected custom color. * @param iTwinId iTwin identifier * @param iModelId iModel identifier (optional) * @returns The stored user-selected color as TBGR string, or undefined if not found */ static getCustomColor(iTwinId: GuidString, iModelId?: GuidString): Promise; /** Get the currently active color. * @param iTwinId iTwin identifier * @param iModelId iModel identifier (optional) * @returns The stored active color as TBGR string, or undefined if not found */ static getActiveColor(iTwinId: GuidString, iModelId?: GuidString): Promise; /** Get all color preferences. * @param iTwinId iTwin identifier * @param iModelId iModel identifier (optional) * @returns The stored preferences, or undefined if not found */ static getPreferences(iTwinId: GuidString, iModelId?: GuidString): Promise; /** Save color preferences. * @param preferences The preferences to save * @param iTwinId iTwin identifier * @param iModelId iModel identifier (optional) */ private static savePreferences; } //# sourceMappingURL=BasemapColorPreferences.d.ts.map