import { FigmaLocalVariable, FigmaLocalVariableCollections, FigmaLocalVariables } from "../models/figma"; import { RadiusVariable } from "../models/stats"; export type FigmaVariableMapVariable = { name: string; description: string; variableId: string; variableKey: string; variableCollectionId: string; variableCollectionKey: string; variableCollectionName: string; variableCollectionDefaultModeId: string; modeId: string; modeName: string; scopes: VariableScope[]; }; export type HexColorToFigmaVariableMap = Record; export type RoundingToFigmaVariableMap = Record; export type SpacingToFigmaVariableMap = Record; type VariableModeValue = { variableId: string; modeId: string; value: VariableValue; }; type VariableModeMap = Record>; export declare const rgbaToHex: (rgba: RGBA) => string; export declare const getCollectionVariables: (variableCollectionIds: string[], variableCollections: FigmaLocalVariableCollections) => string[]; export declare const getVariableFromSubscribedId: (variables: FigmaLocalVariables, subscribedId: string) => FigmaLocalVariable | undefined; export declare const calculateResolvedVariableModesMap: (targetNode: BaseNode) => Map; export declare const isVariableAlias: (value: VariableValue) => value is VariableAlias; export declare function resolveVariableValue(variableId: string, modeId: string, variables: FigmaLocalVariables, type: VariableDataType): VariableValue | undefined; export declare const createVariableModeNameMap: (variableCollections: FigmaLocalVariableCollections) => VariableModeMap; export declare const createVariableMapVariable: (variableId: string, modeId: string, variableModeNameMap: VariableModeMap, variables: FigmaLocalVariables, variableCollections: FigmaLocalVariableCollections) => FigmaVariableMapVariable | undefined; export declare const getModeValues: (variableId: string, variables: FigmaLocalVariables, variableType: VariableDataType) => VariableModeValue[] | undefined; export declare const createHexColorToVariableMap: (colorVariableIds: string[], variables: FigmaLocalVariables, variableCollections: FigmaLocalVariableCollections) => HexColorToFigmaVariableMap; export declare const CORNER_RADII: RadiusVariable[]; export declare const createRoundingToVariableMap: (roundingVariableIds: string[], variables: FigmaLocalVariables, variableCollections: FigmaLocalVariableCollections) => RoundingToFigmaVariableMap; export declare const createSpacingToVariableMap: (spacingVariableIds: string[], variables: FigmaLocalVariables, variableCollections: FigmaLocalVariableCollections) => RoundingToFigmaVariableMap; export {};