import { ExternalConfigSchemaInput } from "../schemas/schema.js"; export type GeneratedConfigFromCSS = { config: ExternalConfigSchemaInput; /** What is in the CSS but can't be described by the config, and so is left out of it. */ warnings: string[]; }; /** * Creates the config that theme CSS files built by `tokens build` (e.g. `designsystemet.css`) came from. * Each file is one theme, keyed by theme name, which is the file name without `.css`. * * Only what the public config can describe is read: the colors (each color's base color, with steps that differ * from the generated scale as overrides), the font family and the border radius. Values that match the defaults * are left out, like the theme builder does. Throws if a file isn't theme CSS, or if the config isn't valid. */ export declare function generateConfigFromCSS(themes: Record): GeneratedConfigFromCSS;