import { GetStyleDictionaryConfig } from "./configs/shared.js"; import { OutputFile, ThemePermutation, TokenSet } from "../types.js"; import { TailwindVersion } from "./output/tailwind.js"; import { ProcessedThemeObject } from "./utils/getMultidimensionalThemes.js"; import { TransformedToken } from "style-dictionary/types"; type SharedOptions = { /** Enable verbose output */ verbose: boolean; /** Set the default color for ":root" */ defaultColor?: string; /** Set the default size mode */ defaultSize?: string; /** Set the available size modes */ sizeModes?: string[]; /** Set the default typography set for ":root" */ defaultTypography?: string; /** Set the available typography sets */ typographies?: string[]; /** Token Studio `$themes.json` content */ processed$themes: ProcessedThemeObject[]; /** Build token format map */ buildTokenFormats: Record; /** Tailwind CSS major version to generate a theme file for */ tailwind?: TailwindVersion | false; }; export type BuildOptions = { type: 'build'; /** Design tokens path */ tokensDir: string; } & SharedOptions; export type FormatOptions = { type: 'format'; /** Tokensets */ tokenSets: Map; } & SharedOptions; type ProcessOptions = BuildOptions | FormatOptions; type ProcessedBuildConfigs = Record; export type ProcessReturn = ProcessedBuildConfigs; type BuildResult = { permutation: ThemePermutation; formatted: OutputFile[]; tokens: TransformedToken[]; }; export declare let buildOptions: SharedOptions; declare const buildConfigs: { typography: { getConfig: GetStyleDictionaryConfig; dimensions: "typography"[]; }; sizeMode: { getConfig: GetStyleDictionaryConfig; dimensions: "size"[]; }; size: { getConfig: GetStyleDictionaryConfig; dimensions: "semantic"[]; }; typeScale: { getConfig: GetStyleDictionaryConfig; dimensions: "semantic"[]; }; 'color-scheme': { getConfig: GetStyleDictionaryConfig; dimensions: "color-scheme"[]; }; color: { getConfig: GetStyleDictionaryConfig; dimensions: "color"[]; }; semantic: { getConfig: GetStyleDictionaryConfig; dimensions: "semantic"[]; }; }; export declare function processPlatform(options: ProcessOptions): Promise; export {};