import { type Validator } from '../types.js'; export type KsFigmaColorRbg = { /** 0 - 1 */ r: number; /** 0 - 1 */ g: number; /** 0 - 1 */ b: number; /** 0 - 1 */ a?: number; }; export interface KsFigmaVarAlias { type: 'VARIABLE_ALIAS'; id: string; } export type KsFigmaVarValue = boolean | string | number | KsFigmaColorRbg | KsFigmaVarAlias; export type KsFigmaVariableType = 'BOOLEAN' | 'COLOR' | 'FLOAT' | 'STRING'; export declare function isKsFigmaVarValueAlias(value: unknown): value is KsFigmaVarAlias; export declare function isKsFigmaVarValueRgb(value: KsFigmaVarValue): value is KsFigmaColorRbg; export type KsFigmaVar = { id: string; key: string; name: string; type: KsFigmaVariableType; description?: string; hiddenFromPublishing?: boolean; remote?: boolean; collectionId: string; valuesByMode: Record; }; export type KsFigmaCollection = { name: string; id: string; key: string; modes: { name: string; modeId: string; }[]; hiddenFromPublishing?: boolean; remote?: boolean; variableIds: string[]; }; export type KsFigmaVarsFormat = { collectionsById: Record; variablesById: Record; }; export declare const validateFigmaVarsSrc: Validator; //# sourceMappingURL=ks-figma-vars.format.d.ts.map