/**
 * Style resolver for the form_styles.json configuration system
 * Handles token substitution, inheritance resolution, and CSS conversion
 */
import type { StylesConfig, StyleTokens, ResolvedStyle } from '../types/style_variant.js';
/**
 * Resolve token references in a value
 * e.g., "{colors.primary}" -> "#1e3a5f"
 */
export declare function resolve_tokens(value: string | undefined, tokens: StyleTokens): string | undefined;
/**
 * Resolve a style class with inheritance chain and token substitution
 */
export declare function resolve_style_class(class_name: string, styles_config: StylesConfig, cache?: Map<string, ResolvedStyle>): ResolvedStyle;
/**
 * Convert ResolvedStyle to React inline style object
 */
export declare function to_inline_style(resolved: ResolvedStyle): React.CSSProperties;
/**
 * Create a memoized style resolver for a given styles configuration
 */
export declare function create_style_resolver(styles_config: StylesConfig): {
    resolve: (class_name: string) => ResolvedStyle;
    to_style: (class_name: string) => React.CSSProperties;
    get_value: <K extends keyof ResolvedStyle>(class_name: string, property: K) => ResolvedStyle[K];
    merge: (...class_names: string[]) => ResolvedStyle;
    merge_to_style: (...class_names: string[]) => React.CSSProperties;
    clear_cache: () => void;
    has_style: (class_name: string) => boolean;
    get_style_names: () => string[];
    get_tokens: () => StyleTokens;
    resolve_token: (token_path: string) => string | undefined;
};
export type StyleResolver = ReturnType<typeof create_style_resolver>;
export declare function merge_with_overrides(resolved: ResolvedStyle, overrides: React.CSSProperties): React.CSSProperties;
//# sourceMappingURL=style_resolver.d.ts.map