import { TokenSetDimensions } from "../../types.js"; import { ThemeObject } from "@tokens-studio/types"; export type ThemeObject_ = ThemeObject & { $figmaCollectionId?: string; $figmaModeId?: string; $figmaVariableReferences?: Record; }; /** * Generates the `$themes.json` file which is used by Token Studio to update Figma variable collections and modes. * **IMPORTANT:** * We use existing Figma variable ids to update existing collections/modes fetched from our published Figma community file. * These are important for maintaining existing variables in user files when updating tokens. * Omitting these ids results will result in the following bugs: - New collections/modes being created which may cause ghost variables in Figma. - New collections/modes may cause users hitting the cap on Figma variable modes which is at time of writing 10 (or unlimited for enterprise). */ export declare function generate$Themes(tokenSetDimensions: TokenSetDimensions, themeNames: string[], colorNames: string[]): Promise;