import { ThemeObject_ } from "./create/generators/$themes.js"; import { OutputFile, Theme, TokenSetDimensions, TokenSets } from "./types.js"; export declare const getTokenSetDimensions: (theme: Pick) => TokenSetDimensions; export declare const createTokens: (theme: Theme, tokenSetDimensions: TokenSetDimensions) => Promise<{ tokenSets: TokenSets; }>; type CreateTokenFilesOptions = { tokenSetDimensions: TokenSetDimensions; colorNames: string[]; themeNames: string[]; }; export declare const createSystemTokens: (options: CreateTokenFilesOptions) => Promise<{ $themes: ThemeObject_[]; $metadata: { tokenSetOrder: string[]; }; $designsystemet: { name: string; version: string; }; }>; /** * Creates system token files (`$themes.json`, `$metadata.json`, `$designsystemet.jsonc`) based on the provided token set dimensions and theme names. * * `$themes.json` and `$metadata.json` are essential for Token Studio and Style Dictionary to correctly interpret and manage the design tokens. */ export declare const systemTokenToFiles: (options: CreateTokenFilesOptions) => Promise; /** * Pass tokenSets created from `createTokens` to this function to convert them into an array of OutputFile objects, which can then be written to disk or used as needed. * @param tokenSets * @returns */ export declare const tokenSetsToFiles: (tokenSets: TokenSets) => OutputFile[]; export type { ThemeObject_ };