import { ColorScheme, CssColor, SemanticColorNames } from "../colors/types.js"; import { ExternalConfigSchemaInput } from "../schemas/schema.js"; type ThemeConfig = NonNullable[string]; /** A color in each color scheme. A scheme is left out when the source doesn't have it. */ export type SchemeColors = Partial>; /** A theme's generated colors, e.g. read back from built CSS or from Figma variables. */ export type ThemeColorValues = { /** The steps of each color, by color name in config order, e.g. `accent` → `base-default` → { light, dark }. */ scales: Map>; linkVisited?: SchemeColors; focusInner?: SchemeColors; focusOuter?: SchemeColors; }; export type ConfigColors = Pick & { /** What couldn't be included in the config. */ warnings: string[]; }; /** * The `colors` and `overrides` of the theme config that generated these colors. Each color's base color is its * `base-default` in light, which is the input color unchanged; every other step is generated from it, so steps that * differ from the generated scale (e.g. ones edited by hand) become overrides. Severity colors, the visited link color * and the focus colors are only included when they aren't the defaults, like the theme builder does. */ export declare function configColorsFromValues({ scales, linkVisited, focusInner, focusOuter }: ThemeColorValues): ConfigColors; export {};