import type { AppearanceOptions, Theme } from '../fluent/types/Theme.types'; import type { ColorTone, NormalizedThemeAppearance, ResolvedThemeAppearance, ThemeAppearanceOptions, ThemeAppearanceRequest, ThemeAppearanceSourceSnapshot, ThemeAppearanceState } from '../types/appearance.types'; export declare const defaultThemeAppearanceRequest: Readonly; export declare const defaultColorTone: ColorTone; export declare const defaultResolvedThemeAppearance: Readonly; /** * Key for the scheme, contrast, and interface-level axes only. Legacy Fluent * themes do not vary by tone. */ export declare function legacyThemeAppearanceKey(appearance: ResolvedThemeAppearance): string; /** * Identity key for a resolved appearance. Omitted and cool tones share the * historical three-axis key; warm appends a suffix. */ export declare function themeAppearanceKey(appearance: ResolvedThemeAppearance): string; export declare function normalizeThemeAppearanceRequest(options?: ThemeAppearanceOptions): Readonly; /** * Return the shared normalized identity for a concrete appearance. A missing * tone resolves to cool, so three-field values and explicit cool converge. */ export declare function internResolvedThemeAppearance(appearance: ResolvedThemeAppearance): Readonly; /** * Resolve requested appearance options. Scheme, contrast, and interface level * fall back from the request to the platform snapshot and then the fallback. * Tone has no platform source: it falls back from the request to the fallback * and then cool. */ export declare function resolveThemeAppearance(options?: ThemeAppearanceOptions, snapshot?: ThemeAppearanceSourceSnapshot, fallback?: Partial): Readonly; export declare function appearanceOptionsFromLegacy(appearance: Theme['host']['appearance']): ThemeAppearanceOptions; /** * Project a resolved appearance onto the legacy appearance union. Tone has no * legacy representation and is intentionally dropped. */ export declare function appearanceOptionFromResolved(appearance: ResolvedThemeAppearance): AppearanceOptions; export declare const defaultThemeAppearanceState: Readonly; //# sourceMappingURL=appearance.d.ts.map