import type { CompleteFlexTokenInput, FlexColorDescription, FlexTokenDescription, FlexTokens, InteractiveColor, PartialFlexTokens } from './tokens.types'; import type { ColorSchemeSelector } from './colors/flexColor'; /** Resolve one normalized color for an appearance. */ export type FlexColorResolver = (token: string, description: FlexColorDescription, appearance: TAppearance) => InteractiveColor; /** * Merge authored overrides into a description. Each color and shadow replaces * the previous value atomically, so omitted states never inherit stale * explicit values. `undefined` colors and shadows are not overrides. Other * non-color groups keep deep-merge semantics. * @internal */ export declare function mergeFlexTokenDescription(base: FlexTokenDescription, overrides: PartialFlexTokens | undefined): FlexTokenDescription; /** * Normalize a complete authored token set. * @internal */ export declare function createFlexTokenDescription(tokens: CompleteFlexTokenInput): FlexTokenDescription; /** * Resolve every color in a description with a color policy and select each * shadow for the scheme. Other non-color groups are shared with the * description. * @internal */ export declare function resolveFlexTokenDescriptionWith(description: FlexTokenDescription, appearance: TAppearance, resolveColor: FlexColorResolver): FlexTokens; /** * Resolve a description without interaction algorithms; omitted states equal * rest. * @internal */ export declare function resolveExplicitFlexTokenDescription(description: FlexTokenDescription, appearance: ColorSchemeSelector): FlexTokens; //# sourceMappingURL=flexTokenDescription.d.ts.map