type Theme = Record<string, string>;
type ColorsMap = Record<string, Record<string, string>>;
type LegacyColors = Record<string, {
    hexColor: string;
}>;
/**
 * Creates a resolver that converts a color class name (e.g. "ap-blue-lighten-1")
 * into a hex value for the given theme and color palette.
 *
 * Lookup order:
 *   1. colors map: colorName + optional modifier (e.g. apBlue.lighten1)
 *   2. theme map: direct key lookup (e.g. primary, secondary)
 *   3. legacyColors map: flat key lookup (e.g. apBluelighten1.hexColor)
 */
export declare function createHexResolver(theme: Theme, colors: ColorsMap, legacyColors?: LegacyColors): (color: string) => string | undefined;
export {};
