import type { ThemeCatalog, ThemeColorReference, ThemeColorToken } from './theme-model.js'; export declare const THEME_COLOR_TOKENS: readonly ["dark1", "light1", "dark2", "light2", "accent1", "accent2", "accent3", "accent4", "accent5", "accent6", "hyperlink", "followedHyperlink", "none", "background1", "text1", "background2", "text2"]; export declare function isThemeColorToken(value: string): value is ThemeColorToken; /** Resolves a `w:themeColor` token to the theme's `#RRGGBB` scheme color, before tint/shade. */ export declare function resolveThemeColorToken(token: ThemeColorToken, theme: ThemeCatalog): string | undefined; /** Mixes toward black; `fraction` 0 = black, 1 = unchanged, per Word's `themeShade`. */ export declare function applyThemeShade(hex: string, fraction: number): string; /** Mixes toward white; `fraction` 0 = white, 1 = unchanged, per Word's `themeTint`. */ export declare function applyThemeTint(hex: string, fraction: number): string; /** Parses Word's two-hex-digit `themeTint`/`themeShade` byte into a [0,1] fraction. */ export declare function themeByteToFraction(value: string | undefined): number | undefined; /** Serializes a [0,1] fraction back into Word's two-hex-digit byte form. */ export declare function fractionToThemeByte(fraction: number): string; /** Resolves a theme color reference (token + optional tint/shade) to a `#RRGGBB` hex string. */ export declare function resolveThemeColorReference(ref: ThemeColorReference, theme: ThemeCatalog): string | undefined; //# sourceMappingURL=theme-color.d.ts.map