@supernova-studio/supernova-sdk-beta 2.2.52 → 2.4.9

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (554) hide show
  1. package/README.md +4 -5
  2. package/build/supernova-sdk-typescript.js +1 -1
  3. package/build/supernova-sdk-typescript.js.map +1 -1
  4. package/build/{sdk-typescript/src → types}/core/SDKSupernova.d.ts +19 -4
  5. package/build/types/core/areas/SDKAreaActivityEvents.d.ts +7 -0
  6. package/build/types/core/areas/SDKAreaAgentChats.d.ts +12 -0
  7. package/build/{sdk-typescript/src → types}/core/areas/SDKAreaAssets.d.ts +1 -6
  8. package/build/{sdk-typescript/src → types}/core/areas/SDKAreaAutomation.d.ts +3 -2
  9. package/build/{sdk-typescript/src → types}/core/areas/SDKAreaBulkOperations.d.ts +130 -4
  10. package/build/types/core/areas/SDKAreaCodeComponents.d.ts +44 -0
  11. package/build/types/core/areas/SDKAreaContext.d.ts +30 -0
  12. package/build/{sdk-typescript/src → types}/core/areas/SDKAreaDataSources.d.ts +2 -2
  13. package/build/{sdk-typescript/src → types}/core/areas/SDKAreaDesignSystems.d.ts +34 -19
  14. package/build/types/core/areas/SDKAreaDocumentation.d.ts +725 -0
  15. package/build/types/core/areas/SDKAreaImport.d.ts +35 -0
  16. package/build/types/core/areas/SDKAreaMCP.d.ts +42 -0
  17. package/build/{sdk-typescript/src → types}/core/areas/SDKAreaMe.d.ts +1 -1
  18. package/build/types/core/areas/SDKAreaProjects.d.ts +2225 -0
  19. package/build/types/core/areas/SDKAreaRawData.d.ts +2236 -0
  20. package/build/{sdk-typescript/src → types}/core/areas/SDKAreaRelay.d.ts +1 -1
  21. package/build/{sdk-typescript/src → types}/core/areas/SDKAreaResources.d.ts +129 -58
  22. package/build/types/core/areas/SDKAreaSanboxes.d.ts +25 -0
  23. package/build/types/core/areas/SDKAreaThreads.d.ts +155 -0
  24. package/build/{sdk-typescript/src → types}/core/areas/SDKAreaTokens.d.ts +17 -16
  25. package/build/{sdk-typescript/src → types}/core/areas/SDKAreaWorkspaceIntegrations.d.ts +6 -4
  26. package/build/{sdk-typescript/src → types}/core/areas/SDKAreaWorkspaces.d.ts +38 -10
  27. package/build/{sdk-typescript/src → types}/core/data/SDKDataBridge.d.ts +34 -17
  28. package/build/types/core/data/SDKDataCore.d.ts +4072 -0
  29. package/build/{sdk-typescript/src → types}/core/data/SDKDataCoreCached.d.ts +5 -5
  30. package/build/{sdk-typescript/src → types}/core/data/requests/SDKDataCoreAIRequests.d.ts +1 -1
  31. package/build/types/core/data/requests/SDKDataCoreReadRequests.d.ts +1511 -0
  32. package/build/types/core/data/requests/SDKDataCoreWriteRequests.d.ts +4941 -0
  33. package/build/{sdk-typescript/src → types}/core/errors/SDKSupernovaError.d.ts +11 -0
  34. package/build/types/core/resolvers/SDKDocsEntityItemResolver.d.ts +212 -0
  35. package/build/types/core/resolvers/SDKSnapshotTokenBuilder.d.ts +28 -0
  36. package/build/{sdk-typescript/src → types}/core/resolvers/SDKTokenResolver.d.ts +13 -10
  37. package/build/{sdk-typescript/src → types}/exports.d.ts +53 -17
  38. package/build/types/model/activity-events/SDKActivityEvent.d.ts +46 -0
  39. package/build/types/model/agent-chats/SDKAgentChat.d.ts +28 -0
  40. package/build/{sdk-typescript/src → types}/model/base/SDKDesignSystem.d.ts +4 -0
  41. package/build/{sdk-typescript/src → types}/model/base/SDKDesignSystemCollection.d.ts +2 -1
  42. package/build/types/model/base/SDKDesignSystemListView.d.ts +14 -0
  43. package/build/{sdk-typescript/src → types}/model/base/SDKDesignSystemMemberList.d.ts +1 -0
  44. package/build/types/model/code-components/SDKCodeComponent.d.ts +18 -0
  45. package/build/types/model/code-components/SDKCodeComponentMarkdown.d.ts +14 -0
  46. package/build/types/model/code-components/SDKCodeComponentPropUsage.d.ts +7 -0
  47. package/build/types/model/code-components/SDKCodeComponentPropertyDefinition.d.ts +7 -0
  48. package/build/types/model/code-components/SDKCodeComponentUsage.d.ts +12 -0
  49. package/build/types/model/code-components/SDKCodeHistorySnapshot.d.ts +12 -0
  50. package/build/types/model/code-components/SDKCodeScanListItem.d.ts +11 -0
  51. package/build/{sdk-typescript/src → types}/model/components/SDKComponent.d.ts +1 -3
  52. package/build/types/model/context/SDKKnowledgeItem.d.ts +42 -0
  53. package/build/types/model/datasets/SDKDataset.d.ts +228 -0
  54. package/build/{sdk-typescript/src → types}/model/docs/blocks/definition/SDKDocsBlockBehavior.d.ts +4 -1
  55. package/build/types/model/docs/blocks/definition/actual/context-mcp/SDKDocsBlockActualContextMcp.d.ts +2 -0
  56. package/build/types/model/docs/blocks/properties/SDKDocsBlockAssetProperty.d.ts +17 -0
  57. package/build/{sdk-typescript/src → types}/model/docs/blocks/properties/SDKDocsBlockAssetPropertyProperty.d.ts +3 -2
  58. package/build/{sdk-typescript/src → types}/model/docs/blocks/properties/SDKDocsBlockBooleanProperty.d.ts +3 -2
  59. package/build/{sdk-typescript/src → types}/model/docs/blocks/properties/SDKDocsBlockCodeProperty.d.ts +3 -6
  60. package/build/{sdk-typescript/src → types}/model/docs/blocks/properties/SDKDocsBlockCodeSandboxProperty.d.ts +3 -8
  61. package/build/{sdk-typescript/src → types}/model/docs/blocks/properties/SDKDocsBlockColorProperty.d.ts +3 -3
  62. package/build/{sdk-typescript/src → types}/model/docs/blocks/properties/SDKDocsBlockComponentProperty.d.ts +7 -10
  63. package/build/{sdk-typescript/src → types}/model/docs/blocks/properties/SDKDocsBlockComponentPropertyProperty.d.ts +3 -2
  64. package/build/types/model/docs/blocks/properties/SDKDocsBlockContextProperty.d.ts +16 -0
  65. package/build/{sdk-typescript/src → types}/model/docs/blocks/properties/SDKDocsBlockDividerProperty.d.ts +3 -2
  66. package/build/{sdk-typescript/src → types}/model/docs/blocks/properties/SDKDocsBlockEmbedUrlProperty.d.ts +3 -6
  67. package/build/{sdk-typescript/src → types}/model/docs/blocks/properties/SDKDocsBlockFigmaComponentProperty.d.ts +7 -26
  68. package/build/types/model/docs/blocks/properties/SDKDocsBlockFigmaNodeProperty.d.ts +17 -0
  69. package/build/{sdk-typescript/src → types}/model/docs/blocks/properties/SDKDocsBlockFileProperty.d.ts +4 -9
  70. package/build/{sdk-typescript/src → types}/model/docs/blocks/properties/SDKDocsBlockImageProperty.d.ts +3 -10
  71. package/build/{sdk-typescript/src → types}/model/docs/blocks/properties/SDKDocsBlockMarkdownProperty.d.ts +3 -2
  72. package/build/{sdk-typescript/src → types}/model/docs/blocks/properties/SDKDocsBlockMultiRichTextProperty.d.ts +3 -3
  73. package/build/{sdk-typescript/src → types}/model/docs/blocks/properties/SDKDocsBlockMultiSelectProperty.d.ts +3 -2
  74. package/build/{sdk-typescript/src → types}/model/docs/blocks/properties/SDKDocsBlockNumberProperty.d.ts +3 -2
  75. package/build/{sdk-typescript/src → types}/model/docs/blocks/properties/SDKDocsBlockProperty.d.ts +4 -6
  76. package/build/{sdk-typescript/src → types}/model/docs/blocks/properties/SDKDocsBlockRichTextEditorProperty.d.ts +3 -3
  77. package/build/{sdk-typescript/src → types}/model/docs/blocks/properties/SDKDocsBlockRichTextProperty.d.ts +3 -7
  78. package/build/{sdk-typescript/src → types}/model/docs/blocks/properties/SDKDocsBlockSingleSelectProperty.d.ts +3 -2
  79. package/build/{sdk-typescript/src → types}/model/docs/blocks/properties/SDKDocsBlockStorybookProperty.d.ts +4 -21
  80. package/build/types/model/docs/blocks/properties/SDKDocsBlockTableProperty.d.ts +22 -0
  81. package/build/{sdk-typescript/src → types}/model/docs/blocks/properties/SDKDocsBlockTextProperty.d.ts +3 -2
  82. package/build/{sdk-typescript/src → types}/model/docs/blocks/properties/SDKDocsBlockTokenProperty.d.ts +7 -31
  83. package/build/{sdk-typescript/src → types}/model/docs/blocks/properties/SDKDocsBlockTokenPropertyProperty.d.ts +3 -2
  84. package/build/{sdk-typescript/src → types}/model/docs/blocks/properties/SDKDocsBlockTokenTypeProperty.d.ts +3 -3
  85. package/build/{sdk-typescript/src → types}/model/docs/blocks/properties/SDKDocsBlockUrlProperty.d.ts +3 -2
  86. package/build/{sdk-typescript/src → types}/model/docs/blocks/usage/SDKDocsBlockItem.d.ts +1 -3
  87. package/build/types/model/docs/sections/SDKDocsSection.d.ts +16 -0
  88. package/build/{sdk-typescript/src → types}/model/documentation/SDKDocumentationLegacyPageBlock.d.ts +2 -1
  89. package/build/types/model/documentation/SDKPageHistoryVersion.d.ts +20 -0
  90. package/build/types/model/documentation/blocks/SDKDocumentationLegacyPageBlockContextMcp.d.ts +11 -0
  91. package/build/{sdk-typescript/src → types}/model/documentation/blocks/SDKDocumentationLegacyPageBlockCustom.d.ts +2 -1
  92. package/build/{sdk-typescript/src → types}/model/documentation/blocks/SDKDocumentationLegacyPageBlockGuidelines.d.ts +1 -2
  93. package/build/{sdk-typescript/src → types}/model/documentation/blocks/SDKDocumentationLegacyPageBlockRenderCode.d.ts +2 -2
  94. package/build/{sdk-typescript/src → types}/model/elements/SDKElementPropertyOption.d.ts +2 -3
  95. package/build/{sdk-typescript/src → types}/model/enums/SDKCodeLanguage.d.ts +1 -1
  96. package/build/{sdk-typescript/src → types}/model/enums/SDKDesignSystemRole.d.ts +1 -2
  97. package/build/types/model/enums/SDKDocsBlockBehaviorSelectionType.d.ts +10 -0
  98. package/build/types/model/enums/SDKDocsBlockContainerSize.d.ts +8 -0
  99. package/build/{sdk-typescript/src → types}/model/enums/SDKDocsBlockItemPropertyType.d.ts +3 -1
  100. package/build/{sdk-typescript/src → types}/model/enums/SDKDocumentationLegacyPageBlockType.d.ts +1 -0
  101. package/build/{sdk-typescript/src → types}/model/enums/SDKTokenType.d.ts +3 -1
  102. package/build/types/model/enums/SDKWorkspaceSeatType.d.ts +14 -0
  103. package/build/{sdk-typescript/src → types}/model/enums/SDKWorkspaceSubscriptionStatus.d.ts +1 -5
  104. package/build/{sdk-typescript/src → types}/model/exporters/SDKExporter.d.ts +5 -2
  105. package/build/{sdk-typescript/src → types}/model/exporters/SDKExporterJobDestination.d.ts +1 -1
  106. package/build/{sdk-typescript/src → types}/model/exporters/SDKPipeline.d.ts +2 -1
  107. package/build/{sdk-typescript/src → types}/model/membership/SDKMembership.d.ts +1 -1
  108. package/build/types/model/projects/SDKForgeOnboardingContainerUsage.d.ts +13 -0
  109. package/build/{sdk-typescript/src → types}/model/projects/SDKForgeProject.d.ts +1 -10
  110. package/build/{sdk-typescript/src → types}/model/projects/SDKForgeProjectContext.d.ts +13 -1
  111. package/build/types/model/projects/SDKForgeProjectContextFeedback.d.ts +25 -0
  112. package/build/{sdk-typescript/src → types}/model/projects/SDKForgeProjectContextOverride.d.ts +4 -9
  113. package/build/{sdk-typescript/src → types}/model/projects/SDKForgeProjectFeature.d.ts +6 -2
  114. package/build/types/model/projects/SDKForgeProjectFeatureIteration.d.ts +21 -0
  115. package/build/{sdk-typescript/src → types}/model/projects/SDKForgeProjectFeaturePreview.d.ts +2 -0
  116. package/build/types/model/projects/SDKForgeProjectIterationTag.d.ts +11 -0
  117. package/build/types/model/projects/SDKForgeProjectPublishedState.d.ts +12 -0
  118. package/build/types/model/projects/SDKForgeProjectSandbox.d.ts +14 -0
  119. package/build/types/model/projects/SDKPublishedFeature.d.ts +22 -0
  120. package/build/{sdk-typescript/src/model/projects → types/model/projects/memberships}/SDKForgeProjectInvitation.d.ts +4 -1
  121. package/build/types/model/projects/memberships/SDKForgeProjectMembersList.d.ts +10 -0
  122. package/build/types/model/sandboxes/SDKSandboxTemplate.d.ts +20 -0
  123. package/build/{sdk-typescript/src → types}/model/support/SDKSource.d.ts +24 -3
  124. package/build/{sdk-typescript/src → types}/model/themes/SDKTokenTheme.d.ts +13 -4
  125. package/build/{sdk-typescript/src → types}/model/themes/SDKTokenThemeOverride.d.ts +4 -3
  126. package/build/{sdk-typescript/src → types}/model/threads/SDKThreadMessage.d.ts +3 -2
  127. package/build/{sdk-typescript/src → types}/model/tokens/SDKBorderToken.d.ts +2 -2
  128. package/build/{sdk-typescript/src → types}/model/tokens/SDKDimensionToken.d.ts +20 -4
  129. package/build/{sdk-typescript/src → types}/model/tokens/SDKGradientToken.d.ts +1 -1
  130. package/build/{sdk-typescript/src → types}/model/tokens/SDKStringToken.d.ts +4 -4
  131. package/build/{sdk-typescript/src → types}/model/tokens/SDKTextCaseToken.d.ts +2 -2
  132. package/build/{sdk-typescript/src → types}/model/tokens/SDKTextDecorationToken.d.ts +4 -4
  133. package/build/{sdk-typescript/src → types}/model/tokens/SDKToken.d.ts +3 -3
  134. package/build/{sdk-typescript/src → types}/model/tokens/SDKTokenValue.d.ts +3 -3
  135. package/build/{sdk-typescript/src → types}/model/tokens/SDKTypographyToken.d.ts +14 -1
  136. package/build/{sdk-typescript/src → types}/model/tokens/remote/SDKRemoteTokenModel.d.ts +35 -1
  137. package/build/{sdk-typescript/src → types}/model/tokens/remote/SDKRemoteTokenValue.d.ts +1 -1
  138. package/build/{sdk-typescript/src → types}/model/users/SDKUser.d.ts +4 -0
  139. package/build/{sdk-typescript/src → types}/model/users/SDKUserMembership.d.ts +2 -2
  140. package/build/{sdk-typescript/src → types}/model/users/SDKUserProfile.d.ts +10 -2
  141. package/build/types/model/users/SDKUserWorkspaceNotificationSettings.d.ts +19 -0
  142. package/build/{sdk-typescript/src → types}/model/workspaces/SDKWorkspaceIntegration.d.ts +4 -2
  143. package/build/{sdk-typescript/src → types}/model/workspaces/SDKWorkspaceIntegrationOauthRequest.d.ts +1 -0
  144. package/build/{sdk-typescript/src → types}/model/workspaces/SDKWorkspaceInvitation.d.ts +2 -2
  145. package/build/types/model/workspaces/SDKWorkspaceLoginScreenSettings.d.ts +12 -0
  146. package/build/{sdk-typescript/src → types}/model/workspaces/SDKWorkspaceProductFeatures.d.ts +6 -8
  147. package/build/{sdk-typescript/src → types}/model/workspaces/SDKWorkspaceProductPrice.d.ts +6 -3
  148. package/build/{sdk-typescript/src → types}/model/workspaces/SDKWorkspaceSSOSettings.d.ts +5 -1
  149. package/build/types/model/workspaces/SDKWorkspaceScimToken.d.ts +19 -0
  150. package/build/{sdk-typescript/src → types}/model/workspaces/SDKWorkspaceSubscription.d.ts +5 -6
  151. package/build/{sdk-typescript/src → types}/pulsar-interfaces.d.ts +4 -2
  152. package/build/{sdk-typescript/src → types}/tools/design-tokens/SDKToolsDesignTokensPlugin.d.ts +6 -3
  153. package/build/{sdk-typescript/src → types}/tools/design-tokens/utilities/SDKDTJSONLoader.d.ts +2 -1
  154. package/build/{sdk-typescript/src → types}/tools/design-tokens/utilities/SDKDTJSONParser.d.ts +2 -1
  155. package/build/{sdk-typescript/src → types}/tools/design-tokens/utilities/SDKDTThemeMerger.d.ts +2 -2
  156. package/build/types/tools/design-tokens/utilities/expression/SDKDTExpressionParser.d.ts +6 -0
  157. package/build/{sdk-typescript/src → types}/tools/design-tokens/utilities/tree/SDKDTGroupTree.d.ts +1 -1
  158. package/build/{sdk-typescript/src → types}/tools/docs-block-builder/SDKDocsBlockBuilder.d.ts +36 -81
  159. package/build/{sdk-typescript/src → types}/tools/json-builder/elements-transformers/SDKToolsJSONElementFigmaTokensTransformer.d.ts +11 -10
  160. package/build/{sdk-typescript/src → types}/tools/json-builder/elements-transformers/SDKToolsJSONElementStyleDictionaryTransformer.d.ts +9 -8
  161. package/build/{sdk-typescript/src → types}/tools/json-builder/elements-transformers/SDKToolsJSONElementTransformer.d.ts +14 -13
  162. package/build/{sdk-typescript/src → types}/tools/token-preview/TokenUtilPreviewGenerator.d.ts +1 -1
  163. package/build/{sdk-typescript/src → types}/tools/token-preview/TokenUtilPreviewMetadataGenerator.d.ts +1 -1
  164. package/build/{sdk-typescript/src → types}/tools/token-preview/TokenUtilPreviewSegmentGenerator.d.ts +6 -6
  165. package/build/types/utils/ContextUtils.d.ts +16 -0
  166. package/build/{sdk-typescript/src → types}/utils/RawUtils.d.ts +22 -5
  167. package/build/types/utils/SDKJSONValue.d.ts +6 -0
  168. package/build/{sdk-typescript/src → types}/utils/TokenUtils.d.ts +14 -14
  169. package/package.json +42 -48
  170. package/build/sdk-typescript/.eslintrc.d.cts +0 -41
  171. package/build/sdk-typescript/src/core/areas/SDKAreaCodeComponents.d.ts +0 -13
  172. package/build/sdk-typescript/src/core/areas/SDKAreaDocumentation.d.ts +0 -216
  173. package/build/sdk-typescript/src/core/areas/SDKAreaImport.d.ts +0 -6
  174. package/build/sdk-typescript/src/core/areas/SDKAreaMCP.d.ts +0 -24
  175. package/build/sdk-typescript/src/core/areas/SDKAreaProjects.d.ts +0 -2127
  176. package/build/sdk-typescript/src/core/areas/SDKAreaRawData.d.ts +0 -2096
  177. package/build/sdk-typescript/src/core/areas/SDKAreaThreads.d.ts +0 -81
  178. package/build/sdk-typescript/src/core/data/SDKDataCore.d.ts +0 -2957
  179. package/build/sdk-typescript/src/core/data/requests/SDKDataCoreReadRequests.d.ts +0 -1392
  180. package/build/sdk-typescript/src/core/data/requests/SDKDataCoreWriteRequests.d.ts +0 -2896
  181. package/build/sdk-typescript/src/core/resolvers/SDKDocsEntityItemResolver.d.ts +0 -212
  182. package/build/sdk-typescript/src/exports-pulsar.d.ts +0 -230
  183. package/build/sdk-typescript/src/model/code-components/SDKCodeComponent.d.ts +0 -15
  184. package/build/sdk-typescript/src/model/code-components/SDKCodeComponentPropertyControlDefinition.d.ts +0 -14
  185. package/build/sdk-typescript/src/model/code-components/SDKCodeComponentPropertyDefinition.d.ts +0 -10
  186. package/build/sdk-typescript/src/model/docs/SDKDocsConfiguration.d.ts +0 -13
  187. package/build/sdk-typescript/src/model/docs/blocks/definition/actual/link/SDKDocsBlockActualLink.d.ts +0 -8
  188. package/build/sdk-typescript/src/model/docs/blocks/definition/actual/omni-multi-item/SDKDocsBlockActualOmniMultiItem.d.ts +0 -6
  189. package/build/sdk-typescript/src/model/docs/blocks/definition/actual/omni-single-item/SDKDocsBlockActualOmniSingleItem.d.ts +0 -6
  190. package/build/sdk-typescript/src/model/docs/blocks/definition/actual/token-detail/SDKDocsBlockActualTokenDetail.d.ts +0 -6
  191. package/build/sdk-typescript/src/model/docs/blocks/definition/actual/token-list/SDKDocsBlockActualTokenList.d.ts +0 -6
  192. package/build/sdk-typescript/src/model/docs/blocks/properties/SDKDocsBlockAssetProperty.d.ts +0 -34
  193. package/build/sdk-typescript/src/model/docs/blocks/properties/SDKDocsBlockFigmaNodeProperty.d.ts +0 -32
  194. package/build/sdk-typescript/src/model/docs/blocks/properties/SDKDocsBlockTableProperty.d.ts +0 -38
  195. package/build/sdk-typescript/src/model/docs/sections/SDKDocsSection.d.ts +0 -47
  196. package/build/sdk-typescript/src/model/enums/SDKDocsBlockBehaviorSelectionType.d.ts +0 -8
  197. package/build/sdk-typescript/src/model/enums/SDKDocsBlockContainerSize.d.ts +0 -6
  198. package/build/sdk-typescript/src/model/enums/SDKDocsBlockTokenNameFormat.d.ts +0 -10
  199. package/build/sdk-typescript/src/model/enums/SDKIntegrationService.d.ts +0 -7
  200. package/build/sdk-typescript/src/model/enums/SDKWorkspaceSeatType.d.ts +0 -3
  201. package/build/sdk-typescript/src/model/projects/SDKForgeAgent.d.ts +0 -8
  202. package/build/sdk-typescript/src/model/projects/SDKForgeProjectFeatureIteration.d.ts +0 -13
  203. package/build/sdk-typescript/src/model/users/SDKUserWorkspaceNotificationSettings.d.ts +0 -16
  204. package/build/sdk-typescript/src/tests/Areas/AreaBatchUpdates.spec.d.ts +0 -1
  205. package/build/sdk-typescript/src/tests/Areas/AreaBrands.spec.d.ts +0 -1
  206. package/build/sdk-typescript/src/tests/Areas/AreaDesignSystems.spec.d.ts +0 -1
  207. package/build/sdk-typescript/src/tests/Areas/AreaDocumentation.spec.d.ts +0 -1
  208. package/build/sdk-typescript/src/tests/Areas/AreaImport.spec.d.ts +0 -1
  209. package/build/sdk-typescript/src/tests/Areas/AreaMe.spec.d.ts +0 -1
  210. package/build/sdk-typescript/src/tests/Areas/AreaMessaging.spec.d.ts +0 -1
  211. package/build/sdk-typescript/src/tests/Areas/AreaRelay.spec.d.ts +0 -1
  212. package/build/sdk-typescript/src/tests/Areas/AreaResources.spec.d.ts +0 -1
  213. package/build/sdk-typescript/src/tests/Areas/AreaStorage.spec.d.ts +0 -1
  214. package/build/sdk-typescript/src/tests/Areas/AreaThreads.spec.d.ts +0 -1
  215. package/build/sdk-typescript/src/tests/Areas/AreaTokens.spec.d.ts +0 -1
  216. package/build/sdk-typescript/src/tests/Areas/AreaWorkspace.spec.d.ts +0 -1
  217. package/build/sdk-typescript/src/tests/FigmaTokensDataLoader.d.ts +0 -33
  218. package/build/sdk-typescript/src/tests/Serialization/User.spec.d.ts +0 -1
  219. package/build/sdk-typescript/src/tests/Serialization/Workspace.spec.d.ts +0 -1
  220. package/build/sdk-typescript/src/tests/Serialization/WorkspaceIPWhitelistSettings.spec.d.ts +0 -1
  221. package/build/sdk-typescript/src/tests/Serialization/WorkspaceNPMRegistrySettings.spec.d.ts +0 -1
  222. package/build/sdk-typescript/src/tests/Serialization/WorkspaceOnboarding.spec.d.ts +0 -1
  223. package/build/sdk-typescript/src/tests/Serialization/WorkspaceSSOSettings.spec.d.ts +0 -1
  224. package/build/sdk-typescript/src/tests/Tooling/PluginFigmaTokens.spec.token-studio.d.ts +0 -1
  225. package/build/sdk-typescript/src/tests/Tooling/PluginJSONBuilder.spec.d.ts +0 -1
  226. package/build/sdk-typescript/src/tests/Tooling/ReadTokens.spec.token-studio.d.ts +0 -1
  227. package/build/sdk-typescript/src/tests/Tooling/TokensModel.spec.token-studio.d.ts +0 -1
  228. package/build/sdk-typescript/src/tests/helpers.d.ts +0 -10
  229. package/build/sdk-typescript/src/tests/validators.d.ts +0 -91
  230. package/build/sdk-typescript/src/tools/design-tokens/utilities/SDKDTTokenSetResolver.d.ts +0 -11
  231. package/build/sdk-typescript/src/tools/design-tokens/utilities/collection/SDKDTTokenCollection.d.ts +0 -13
  232. package/build/sdk-typescript/src/tools/design-tokens/utilities/expression/SDKDTExpressionParser.d.ts +0 -5
  233. package/build/sdk-typescript/src/utils/FlowUtils.d.ts +0 -5
  234. package/build/sdk-typescript/src/utils/deepPartial.d.ts +0 -3
  235. package/build/sdk-typescript/vitest.config-ci.d.ts +0 -2
  236. package/build/sdk-typescript/vitest.config-token-studio.d.ts +0 -2
  237. package/build/sdk-typescript/vitest.config.d.ts +0 -2
  238. /package/build/{sdk-typescript/src → types}/core/areas/SDKAreaBrands.d.ts +0 -0
  239. /package/build/{sdk-typescript/src → types}/core/areas/SDKAreaComponents.d.ts +0 -0
  240. /package/build/{sdk-typescript/src → types}/core/areas/SDKAreaDocsAnalytics.d.ts +0 -0
  241. /package/build/{sdk-typescript/src → types}/core/areas/SDKAreaIntegrations.d.ts +0 -0
  242. /package/build/{sdk-typescript/src → types}/core/areas/SDKAreaMessaging.d.ts +0 -0
  243. /package/build/{sdk-typescript/src → types}/core/areas/SDKAreaMultiplayer.d.ts +0 -0
  244. /package/build/{sdk-typescript/src → types}/core/areas/SDKAreaNetwork.d.ts +0 -0
  245. /package/build/{sdk-typescript/src → types}/core/areas/SDKAreaStorage.d.ts +0 -0
  246. /package/build/{sdk-typescript/src → types}/core/areas/SDKAreaTokenValues.d.ts +0 -0
  247. /package/build/{sdk-typescript/src → types}/core/areas/SDKAreaUsers.d.ts +0 -0
  248. /package/build/{sdk-typescript/src → types}/core/areas/SDKAreaVersions.d.ts +0 -0
  249. /package/build/{sdk-typescript/src → types}/core/areas/SDKRemoteIdentifiers.d.ts +0 -0
  250. /package/build/{sdk-typescript/src → types}/core/data/SDKConfiguration.d.ts +0 -0
  251. /package/build/{sdk-typescript/src → types}/core/data/requests/SDKDataCoreRenderRequests.d.ts +0 -0
  252. /package/build/{sdk-typescript/src → types}/core/resolvers/SDKAssetGroupResolver.d.ts +0 -0
  253. /package/build/{sdk-typescript/src → types}/core/resolvers/SDKComponentGroupResolver.d.ts +0 -0
  254. /package/build/{sdk-typescript/src → types}/core/resolvers/SDKComponentResolver.d.ts +0 -0
  255. /package/build/{sdk-typescript/src → types}/core/resolvers/SDKDesignComponentGroupResolver.d.ts +0 -0
  256. /package/build/{sdk-typescript/src → types}/core/resolvers/SDKDocumentationItemResolver.d.ts +0 -0
  257. /package/build/{sdk-typescript/src → types}/core/resolvers/SDKTokenGroupResolver.d.ts +0 -0
  258. /package/build/{sdk-typescript/src → types}/index.d.ts +0 -0
  259. /package/build/{sdk-typescript/src → types}/model/assets/SDKAsset.d.ts +0 -0
  260. /package/build/{sdk-typescript/src → types}/model/assets/SDKRenderedAsset.d.ts +0 -0
  261. /package/build/{sdk-typescript/src → types}/model/base/SDKBootstrapData.d.ts +0 -0
  262. /package/build/{sdk-typescript/src → types}/model/base/SDKBrand.d.ts +0 -0
  263. /package/build/{sdk-typescript/src → types}/model/base/SDKDesignSystemContactList.d.ts +0 -0
  264. /package/build/{sdk-typescript/src → types}/model/base/SDKDesignSystemVersion.d.ts +0 -0
  265. /package/build/{sdk-typescript/src → types}/model/base/SDKDesignSystemVersionStats.d.ts +0 -0
  266. /package/build/{sdk-typescript/src → types}/model/base/SDKDocumentationLegacy.d.ts +0 -0
  267. /package/build/{sdk-typescript/src → types}/model/components/SDKDesignComponent.d.ts +0 -0
  268. /package/build/{sdk-typescript/src → types}/model/components/SDKDesignComponentBase.d.ts +0 -0
  269. /package/build/{sdk-typescript/src → types}/model/components/SDKDesignComponentPropertyDefinition.d.ts +0 -0
  270. /package/build/{sdk-typescript/src → types}/model/components/SDKDesignComponentVariant.d.ts +0 -0
  271. /package/build/{sdk-typescript/src → types}/model/docs/blocks/definition/SDKDocsBlockDefinition.d.ts +0 -0
  272. /package/build/{sdk-typescript/src → types}/model/docs/blocks/definition/SDKDocsBlockItemDefinition.d.ts +0 -0
  273. /package/build/{sdk-typescript/src → types}/model/docs/blocks/definition/SDKDocsBlockLayout.d.ts +0 -0
  274. /package/build/{sdk-typescript/src → types}/model/docs/blocks/definition/SDKDocsBlockOnboarding.d.ts +0 -0
  275. /package/build/{sdk-typescript/src → types}/model/docs/blocks/definition/SDKDocsBlockVariant.d.ts +0 -0
  276. /package/build/{sdk-typescript/src → types}/model/docs/blocks/definition/actual/assets/SDKDocsBlockActualAssets.d.ts +0 -0
  277. /package/build/{sdk-typescript/src → types}/model/docs/blocks/definition/actual/blockquote/SDKDocsBlockActualBlockquote.d.ts +0 -0
  278. /package/build/{sdk-typescript/src → types}/model/docs/blocks/definition/actual/callout/SDKDocsBlockActualCallout.d.ts +0 -0
  279. /package/build/{sdk-typescript/src → types}/model/docs/blocks/definition/actual/code/SDKDocsBlockActualCode.d.ts +0 -0
  280. /package/build/{sdk-typescript/src → types}/model/docs/blocks/definition/actual/code-react/SDKDocsBlockActualCodeReact.d.ts +0 -0
  281. /package/build/{sdk-typescript/src → types}/model/docs/blocks/definition/actual/color-accessibility-grid/SDKDocsBlockActualAccessibilityGrid.d.ts +0 -0
  282. /package/build/{sdk-typescript/src → types}/model/docs/blocks/definition/actual/color-ramps/SDKDocsBlockActualColorRamps.d.ts +0 -0
  283. /package/build/{sdk-typescript/src → types}/model/docs/blocks/definition/actual/component-checklist/SDKDocsBlockActualComponentChecklist.d.ts +0 -0
  284. /package/build/{sdk-typescript/src → types}/model/docs/blocks/definition/actual/component-checklist-all/SDKDocsBlockActualComponentChecklistAll.d.ts +0 -0
  285. /package/build/{sdk-typescript/src → types}/model/docs/blocks/definition/actual/component-health/SDKDocsBlockActualComponentHealth.d.ts +0 -0
  286. /package/build/{sdk-typescript/src → types}/model/docs/blocks/definition/actual/design-tokens/SDKDocsBlockActualDesignTokens.d.ts +0 -0
  287. /package/build/{sdk-typescript/src → types}/model/docs/blocks/definition/actual/divider/SDKDocsBlockActualDivider.d.ts +0 -0
  288. /package/build/{sdk-typescript/src → types}/model/docs/blocks/definition/actual/do-dont-guidelines/SDKDocsBlockActualDoDontGuidelines.d.ts +0 -0
  289. /package/build/{sdk-typescript/src → types}/model/docs/blocks/definition/actual/embed/SDKDocsBlockActualEmbed.d.ts +0 -0
  290. /package/build/{sdk-typescript/src → types}/model/docs/blocks/definition/actual/embed-figma/SDKDocsBlockActualEmbedFigma.d.ts +0 -0
  291. /package/build/{sdk-typescript/src → types}/model/docs/blocks/definition/actual/embed-lottie/SDKDocsBlockActualEmbedLottie.d.ts +0 -0
  292. /package/build/{sdk-typescript/src → types}/model/docs/blocks/definition/actual/embed-youtube/SDKDocsBlockActualEmbedYoutube.d.ts +0 -0
  293. /package/build/{sdk-typescript/src → types}/model/docs/blocks/definition/actual/figma-component/SDKDocsBlockActualFigmaComponent.d.ts +0 -0
  294. /package/build/{sdk-typescript/src → types}/model/docs/blocks/definition/actual/figma-component-props-table/SDKDocsBlockActualFigmaComponentPropsTable.d.ts +0 -0
  295. /package/build/{sdk-typescript/src → types}/model/docs/blocks/definition/actual/figma-frames/SDKDocsBlockActualFigmaFrames.d.ts +0 -0
  296. /package/build/{sdk-typescript/src → types}/model/docs/blocks/definition/actual/files/SDKDocsBlockActualFiles.d.ts +0 -0
  297. /package/build/{sdk-typescript/src → types}/model/docs/blocks/definition/actual/image/SDKDocsBlockActualImage.d.ts +0 -0
  298. /package/build/{sdk-typescript/src → types}/model/docs/blocks/definition/actual/markdown/SDKDocsBlockActualMarkdown.d.ts +0 -0
  299. /package/build/{sdk-typescript/src → types}/model/docs/blocks/definition/actual/ordered-list/SDKDocsBlockActualOrderedList.d.ts +0 -0
  300. /package/build/{sdk-typescript/src → types}/model/docs/blocks/definition/actual/portal/SDKDocsBlockActualDoDontGuidelines.d.ts +0 -0
  301. /package/build/{sdk-typescript/src → types}/model/docs/blocks/definition/actual/portal/SDKDocsBlockActualEmbed.d.ts +0 -0
  302. /package/build/{sdk-typescript/src → types}/model/docs/blocks/definition/actual/portal/SDKDocsBlockActualEmbedFigma.d.ts +0 -0
  303. /package/build/{sdk-typescript/src → types}/model/docs/blocks/definition/actual/portal/SDKDocsBlockActualEmbedYoutube.d.ts +0 -0
  304. /package/build/{sdk-typescript/src → types}/model/docs/blocks/definition/actual/portal/SDKDocsBlockActualFiles.d.ts +0 -0
  305. /package/build/{sdk-typescript/src → types}/model/docs/blocks/definition/actual/portal/SDKDocsBlockActualImage.d.ts +0 -0
  306. /package/build/{sdk-typescript/src → types}/model/docs/blocks/definition/actual/portal/SDKDocsBlockActualShortcutLinks.d.ts +0 -0
  307. /package/build/{sdk-typescript/src → types}/model/docs/blocks/definition/actual/release-notes/SDKDocsBlockActualReleaseNotes.d.ts +0 -0
  308. /package/build/{sdk-typescript/src → types}/model/docs/blocks/definition/actual/rich-text/SDKDocsBlockActualRichText.d.ts +0 -0
  309. /package/build/{sdk-typescript/src → types}/model/docs/blocks/definition/actual/shortcut-links/SDKDocsBlockActualShortcutLinks.d.ts +0 -0
  310. /package/build/{sdk-typescript/src → types}/model/docs/blocks/definition/actual/storybook/SDKDocsBlockActualStorybook.d.ts +0 -0
  311. /package/build/{sdk-typescript/src → types}/model/docs/blocks/definition/actual/table/SDKDocsBlockActualTable.d.ts +0 -0
  312. /package/build/{sdk-typescript/src → types}/model/docs/blocks/definition/actual/title1/SDKDocsBlockActualTitle1.d.ts +0 -0
  313. /package/build/{sdk-typescript/src → types}/model/docs/blocks/definition/actual/title2/SDKDocsBlockActualTitle2.d.ts +0 -0
  314. /package/build/{sdk-typescript/src → types}/model/docs/blocks/definition/actual/title3/SDKDocsBlockActualTitle3.d.ts +0 -0
  315. /package/build/{sdk-typescript/src → types}/model/docs/blocks/definition/actual/title4/SDKDocsBlockActualTitle4.d.ts +0 -0
  316. /package/build/{sdk-typescript/src → types}/model/docs/blocks/definition/actual/title5/SDKDocsBlockActualTitle5.d.ts +0 -0
  317. /package/build/{sdk-typescript/src → types}/model/docs/blocks/definition/actual/unordered-list/SDKDocsBlockActualUnorderedList.d.ts +0 -0
  318. /package/build/{sdk-typescript/src → types}/model/docs/blocks/support/SDKDocsColorRef.d.ts +0 -0
  319. /package/build/{sdk-typescript/src → types}/model/docs/blocks/support/SDKDocsImageRef.d.ts +0 -0
  320. /package/build/{sdk-typescript/src → types}/model/docs/blocks/support/SDKDocsLinkRef.d.ts +0 -0
  321. /package/build/{sdk-typescript/src → types}/model/docs/blocks/support/SDKDocsSizeRef.d.ts +0 -0
  322. /package/build/{sdk-typescript/src → types}/model/docs/blocks/usage/SDKDocsBlock.d.ts +0 -0
  323. /package/build/{sdk-typescript/src → types}/model/docs/entities/SDKDocsEntity.d.ts +0 -0
  324. /package/build/{sdk-typescript/src → types}/model/docs/entities/SDKDocsEntityApprovalState.d.ts +0 -0
  325. /package/build/{sdk-typescript/src → types}/model/docs/entities/SDKDocsEntityConfiguration.d.ts +0 -0
  326. /package/build/{sdk-typescript/src → types}/model/docs/entities/SDKDocsEntityDraftState.d.ts +0 -0
  327. /package/build/{sdk-typescript/src → types}/model/docs/entities/SDKDocsEntityGroup.d.ts +0 -0
  328. /package/build/{sdk-typescript/src → types}/model/docs/entities/SDKDocsEntityHeader.d.ts +0 -0
  329. /package/build/{sdk-typescript/src → types}/model/docs/entities/SDKDocsEntityPage.d.ts +0 -0
  330. /package/build/{sdk-typescript/src → types}/model/docs/sections/SDKDocsSectionColumn.d.ts +0 -0
  331. /package/build/{sdk-typescript/src → types}/model/docs/sections/SDKDocsSectionItem.d.ts +0 -0
  332. /package/build/{sdk-typescript/src → types}/model/docs_analytics/SDKDocsAnalyticsComparisonData.d.ts +0 -0
  333. /package/build/{sdk-typescript/src → types}/model/docs_analytics/SDKDocsAnalyticsData.d.ts +0 -0
  334. /package/build/{sdk-typescript/src → types}/model/docs_analytics/SDKDocsAnalyticsPageComparisonData.d.ts +0 -0
  335. /package/build/{sdk-typescript/src → types}/model/docs_analytics/SDKDocsAnalyticsPageVisitData.d.ts +0 -0
  336. /package/build/{sdk-typescript/src → types}/model/docs_analytics/SDKDocsAnalyticsTimeFrame.d.ts +0 -0
  337. /package/build/{sdk-typescript/src → types}/model/docs_analytics/SDKDocsAnalyticsVisitData.d.ts +0 -0
  338. /package/build/{sdk-typescript/src → types}/model/docs_analytics/SDKDocsAnalyticsVisitHeatMapWeek.d.ts +0 -0
  339. /package/build/{sdk-typescript/src → types}/model/documentation/SDKDocumentationLegacyConfiguration.d.ts +0 -0
  340. /package/build/{sdk-typescript/src → types}/model/documentation/SDKDocumentationLegacyGroup.d.ts +0 -0
  341. /package/build/{sdk-typescript/src → types}/model/documentation/SDKDocumentationLegacyItem.d.ts +0 -0
  342. /package/build/{sdk-typescript/src → types}/model/documentation/SDKDocumentationLegacyPage.d.ts +0 -0
  343. /package/build/{sdk-typescript/src → types}/model/documentation/SDKDocumentationLegacyPageAsset.d.ts +0 -0
  344. /package/build/{sdk-typescript/src → types}/model/documentation/SDKDocumentationLegacyRichText.d.ts +0 -0
  345. /package/build/{sdk-typescript/src → types}/model/documentation/SDKDocumentationLegacyRichTextSpan.d.ts +0 -0
  346. /package/build/{sdk-typescript/src → types}/model/documentation/SDKDocumentationLegacyRichTextSpanAttribute.d.ts +0 -0
  347. /package/build/{sdk-typescript/src → types}/model/documentation/blocks/SDKDocumentationLegacyPageBlockAsset.d.ts +0 -0
  348. /package/build/{sdk-typescript/src → types}/model/documentation/blocks/SDKDocumentationLegacyPageBlockAssets.d.ts +0 -0
  349. /package/build/{sdk-typescript/src → types}/model/documentation/blocks/SDKDocumentationLegacyPageBlockCallout.d.ts +0 -0
  350. /package/build/{sdk-typescript/src → types}/model/documentation/blocks/SDKDocumentationLegacyPageBlockCode.d.ts +0 -0
  351. /package/build/{sdk-typescript/src → types}/model/documentation/blocks/SDKDocumentationLegacyPageBlockColumn.d.ts +0 -0
  352. /package/build/{sdk-typescript/src → types}/model/documentation/blocks/SDKDocumentationLegacyPageBlockColumnItem.d.ts +0 -0
  353. /package/build/{sdk-typescript/src → types}/model/documentation/blocks/SDKDocumentationLegacyPageBlockDivider.d.ts +0 -0
  354. /package/build/{sdk-typescript/src → types}/model/documentation/blocks/SDKDocumentationLegacyPageBlockEmbedFigma.d.ts +0 -0
  355. /package/build/{sdk-typescript/src → types}/model/documentation/blocks/SDKDocumentationLegacyPageBlockEmbedGeneric.d.ts +0 -0
  356. /package/build/{sdk-typescript/src → types}/model/documentation/blocks/SDKDocumentationLegacyPageBlockEmbedLink.d.ts +0 -0
  357. /package/build/{sdk-typescript/src → types}/model/documentation/blocks/SDKDocumentationLegacyPageBlockEmbedStorybook.d.ts +0 -0
  358. /package/build/{sdk-typescript/src → types}/model/documentation/blocks/SDKDocumentationLegacyPageBlockEmbedYoutube.d.ts +0 -0
  359. /package/build/{sdk-typescript/src → types}/model/documentation/blocks/SDKDocumentationLegacyPageBlockFigmaComponentPropsTable.d.ts +0 -0
  360. /package/build/{sdk-typescript/src → types}/model/documentation/blocks/SDKDocumentationLegacyPageBlockFigmaComponents.d.ts +0 -0
  361. /package/build/{sdk-typescript/src → types}/model/documentation/blocks/SDKDocumentationLegacyPageBlockFigmaComponentsConfig.d.ts +0 -0
  362. /package/build/{sdk-typescript/src → types}/model/documentation/blocks/SDKDocumentationLegacyPageBlockFiles.d.ts +0 -0
  363. /package/build/{sdk-typescript/src → types}/model/documentation/blocks/SDKDocumentationLegacyPageBlockFrame.d.ts +0 -0
  364. /package/build/{sdk-typescript/src → types}/model/documentation/blocks/SDKDocumentationLegacyPageBlockFrames.d.ts +0 -0
  365. /package/build/{sdk-typescript/src → types}/model/documentation/blocks/SDKDocumentationLegacyPageBlockGuideline.d.ts +0 -0
  366. /package/build/{sdk-typescript/src → types}/model/documentation/blocks/SDKDocumentationLegacyPageBlockHeading.d.ts +0 -0
  367. /package/build/{sdk-typescript/src → types}/model/documentation/blocks/SDKDocumentationLegacyPageBlockImage.d.ts +0 -0
  368. /package/build/{sdk-typescript/src → types}/model/documentation/blocks/SDKDocumentationLegacyPageBlockOrderedList.d.ts +0 -0
  369. /package/build/{sdk-typescript/src → types}/model/documentation/blocks/SDKDocumentationLegacyPageBlockQuote.d.ts +0 -0
  370. /package/build/{sdk-typescript/src → types}/model/documentation/blocks/SDKDocumentationLegacyPageBlockShortcut.d.ts +0 -0
  371. /package/build/{sdk-typescript/src → types}/model/documentation/blocks/SDKDocumentationLegacyPageBlockShortcuts.d.ts +0 -0
  372. /package/build/{sdk-typescript/src → types}/model/documentation/blocks/SDKDocumentationLegacyPageBlockTab.d.ts +0 -0
  373. /package/build/{sdk-typescript/src → types}/model/documentation/blocks/SDKDocumentationLegacyPageBlockTabItem.d.ts +0 -0
  374. /package/build/{sdk-typescript/src → types}/model/documentation/blocks/SDKDocumentationLegacyPageBlockTable.d.ts +0 -0
  375. /package/build/{sdk-typescript/src → types}/model/documentation/blocks/SDKDocumentationLegacyPageBlockTableCell.d.ts +0 -0
  376. /package/build/{sdk-typescript/src → types}/model/documentation/blocks/SDKDocumentationLegacyPageBlockTableColumn.d.ts +0 -0
  377. /package/build/{sdk-typescript/src → types}/model/documentation/blocks/SDKDocumentationLegacyPageBlockTableRow.d.ts +0 -0
  378. /package/build/{sdk-typescript/src → types}/model/documentation/blocks/SDKDocumentationLegacyPageBlockText.d.ts +0 -0
  379. /package/build/{sdk-typescript/src → types}/model/documentation/blocks/SDKDocumentationLegacyPageBlockToken.d.ts +0 -0
  380. /package/build/{sdk-typescript/src → types}/model/documentation/blocks/SDKDocumentationLegacyPageBlockTokenGroup.d.ts +0 -0
  381. /package/build/{sdk-typescript/src → types}/model/documentation/blocks/SDKDocumentationLegacyPageBlockTokenList.d.ts +0 -0
  382. /package/build/{sdk-typescript/src → types}/model/documentation/blocks/SDKDocumentationLegacyPageBlockUnorderedList.d.ts +0 -0
  383. /package/build/{sdk-typescript/src → types}/model/documentation/builder/SDKDocumentationLegacyBlockBuilder.d.ts +0 -0
  384. /package/build/{sdk-typescript/src → types}/model/documentation/configuration/SDKDocumentationLegacyItemConfiguration.d.ts +0 -0
  385. /package/build/{sdk-typescript/src → types}/model/documentation/configuration/SDKDocumentationLegacyItemHeader.d.ts +0 -0
  386. /package/build/{sdk-typescript/src → types}/model/elements/SDKElementDataView.d.ts +0 -0
  387. /package/build/{sdk-typescript/src → types}/model/elements/SDKElementDataViewColumn.d.ts +0 -0
  388. /package/build/{sdk-typescript/src → types}/model/elements/SDKElementProperty.d.ts +0 -0
  389. /package/build/{sdk-typescript/src → types}/model/elements/values/SDKElementPropertyValue.d.ts +0 -0
  390. /package/build/{sdk-typescript/src → types}/model/enums/SDKAlignment.d.ts +0 -0
  391. /package/build/{sdk-typescript/src → types}/model/enums/SDKAssetFormat.d.ts +0 -0
  392. /package/build/{sdk-typescript/src → types}/model/enums/SDKAssetScale.d.ts +0 -0
  393. /package/build/{sdk-typescript/src → types}/model/enums/SDKAssetScaleType.d.ts +0 -0
  394. /package/build/{sdk-typescript/src → types}/model/enums/SDKBlurType.d.ts +0 -0
  395. /package/build/{sdk-typescript/src → types}/model/enums/SDKBorderPosition.d.ts +0 -0
  396. /package/build/{sdk-typescript/src → types}/model/enums/SDKBorderStyle.d.ts +0 -0
  397. /package/build/{sdk-typescript/src → types}/model/enums/SDKCloudWarningType.d.ts +0 -0
  398. /package/build/{sdk-typescript/src → types}/model/enums/SDKConnectionProviders.d.ts +0 -0
  399. /package/build/{sdk-typescript/src → types}/model/enums/SDKCustomDomainErrorCode.d.ts +0 -0
  400. /package/build/{sdk-typescript/src → types}/model/enums/SDKCustomDomainState.d.ts +0 -0
  401. /package/build/{sdk-typescript/src → types}/model/enums/SDKDocBlockMode.d.ts +0 -0
  402. /package/build/{sdk-typescript/src → types}/model/enums/SDKDocsBlockBehaviorDataType.d.ts +0 -0
  403. /package/build/{sdk-typescript/src → types}/model/enums/SDKDocsBlockCategory.d.ts +0 -0
  404. /package/build/{sdk-typescript/src → types}/model/enums/SDKDocsBlockImagePropertyAspectRatio.d.ts +0 -0
  405. /package/build/{sdk-typescript/src → types}/model/enums/SDKDocsBlockImagePropertyWidth.d.ts +0 -0
  406. /package/build/{sdk-typescript/src → types}/model/enums/SDKDocsBlockItemEntityType.d.ts +0 -0
  407. /package/build/{sdk-typescript/src → types}/model/enums/SDKDocsBlockItemPropertyOptionRenderingStyle.d.ts +0 -0
  408. /package/build/{sdk-typescript/src → types}/model/enums/SDKDocsBlockItemPropertyRichTextStyle.d.ts +0 -0
  409. /package/build/{sdk-typescript/src → types}/model/enums/SDKDocsBlockItemPropertyTextStyle.d.ts +0 -0
  410. /package/build/{sdk-typescript/src → types}/model/enums/SDKDocsBlockItemVariantLayoutAlign.d.ts +0 -0
  411. /package/build/{sdk-typescript/src → types}/model/enums/SDKDocsBlockItemVariantLayoutColumnResizing.d.ts +0 -0
  412. /package/build/{sdk-typescript/src → types}/model/enums/SDKDocsBlockItemVariantLayoutGap.d.ts +0 -0
  413. /package/build/{sdk-typescript/src → types}/model/enums/SDKDocsBlockItemVariantLayoutType.d.ts +0 -0
  414. /package/build/{sdk-typescript/src → types}/model/enums/SDKDocsBlockItemVariantLayoutWidth.d.ts +0 -0
  415. /package/build/{sdk-typescript/src → types}/model/enums/SDKDocsBlockMultiRichTextPropertyStyle.d.ts +0 -0
  416. /package/build/{sdk-typescript/src → types}/model/enums/SDKDocsBlockOptionColor.d.ts +0 -0
  417. /package/build/{sdk-typescript/src → types}/model/enums/SDKDocsBlockOptionRenderStyle.d.ts +0 -0
  418. /package/build/{sdk-typescript/src → types}/model/enums/SDKDocsBlockRichTextEditorPropertyStyle.d.ts +0 -0
  419. /package/build/{sdk-typescript/src → types}/model/enums/SDKDocsBlockRichTextPropertyStyle.d.ts +0 -0
  420. /package/build/{sdk-typescript/src → types}/model/enums/SDKDocsBlockTextPropertyColor.d.ts +0 -0
  421. /package/build/{sdk-typescript/src → types}/model/enums/SDKDocsBlockTextPropertyStyle.d.ts +0 -0
  422. /package/build/{sdk-typescript/src → types}/model/enums/SDKDocsEntityGroupBehavior.d.ts +0 -0
  423. /package/build/{sdk-typescript/src → types}/model/enums/SDKDocsEntityType.d.ts +0 -0
  424. /package/build/{sdk-typescript/src → types}/model/enums/SDKDocsPublishStatus.d.ts +0 -0
  425. /package/build/{sdk-typescript/src → types}/model/enums/SDKDocsSectionType.d.ts +0 -0
  426. /package/build/{sdk-typescript/src → types}/model/enums/SDKDocumentationEnvironment.d.ts +0 -0
  427. /package/build/{sdk-typescript/src → types}/model/enums/SDKDocumentationLegacyCalloutType.d.ts +0 -0
  428. /package/build/{sdk-typescript/src → types}/model/enums/SDKDocumentationLegacyGroupBehavior.d.ts +0 -0
  429. /package/build/{sdk-typescript/src → types}/model/enums/SDKDocumentationLegacyHeadingType.d.ts +0 -0
  430. /package/build/{sdk-typescript/src → types}/model/enums/SDKDocumentationLegacyItemType.d.ts +0 -0
  431. /package/build/{sdk-typescript/src → types}/model/enums/SDKDocumentationLegacyPageAssetType.d.ts +0 -0
  432. /package/build/{sdk-typescript/src → types}/model/enums/SDKDocumentationLegacyPageBlockThemeType.d.ts +0 -0
  433. /package/build/{sdk-typescript/src → types}/model/enums/SDKFigmaComponentPreviewContainerSize.d.ts +0 -0
  434. /package/build/{sdk-typescript/src → types}/model/enums/SDKFrameAlignment.d.ts +0 -0
  435. /package/build/{sdk-typescript/src → types}/model/enums/SDKFrameLayout.d.ts +0 -0
  436. /package/build/{sdk-typescript/src → types}/model/enums/SDKGradientType.d.ts +0 -0
  437. /package/build/{sdk-typescript/src → types}/model/enums/SDKIconSet.d.ts +0 -0
  438. /package/build/{sdk-typescript/src → types}/model/enums/SDKImportJobOperation.d.ts +0 -0
  439. /package/build/{sdk-typescript/src → types}/model/enums/SDKImportJobState.d.ts +0 -0
  440. /package/build/{sdk-typescript/src → types}/model/enums/SDKRichTextSpanAttributeType.d.ts +0 -0
  441. /package/build/{sdk-typescript/src → types}/model/enums/SDKShadowType.d.ts +0 -0
  442. /package/build/{sdk-typescript/src → types}/model/enums/SDKSourceType.d.ts +0 -0
  443. /package/build/{sdk-typescript/src → types}/model/enums/SDKTextCase.d.ts +0 -0
  444. /package/build/{sdk-typescript/src → types}/model/enums/SDKTextDecoration.d.ts +0 -0
  445. /package/build/{sdk-typescript/src → types}/model/enums/SDKUnit.d.ts +0 -0
  446. /package/build/{sdk-typescript/src → types}/model/enums/SDKUserRole.d.ts +0 -0
  447. /package/build/{sdk-typescript/src → types}/model/enums/SDKVisibilityType.d.ts +0 -0
  448. /package/build/{sdk-typescript/src → types}/model/enums/SDKWorkspaceNPMRegistryAuthType.d.ts +0 -0
  449. /package/build/{sdk-typescript/src → types}/model/enums/SDKWorkspaceNPMRegistryType.d.ts +0 -0
  450. /package/build/{sdk-typescript/src → types}/model/enums/SDKWorkspaceSubscriptionPlanInterval.d.ts +0 -0
  451. /package/build/{sdk-typescript/src → types}/model/enums/SDKWorkspaceSubscriptionProduct.d.ts +0 -0
  452. /package/build/{sdk-typescript/src → types}/model/exporters/SDKConnections.d.ts +0 -0
  453. /package/build/{sdk-typescript/src → types}/model/exporters/custom_blocks/SDKExporterCustomBlock.d.ts +0 -0
  454. /package/build/{sdk-typescript/src → types}/model/exporters/custom_blocks/SDKExporterCustomBlockProperty.d.ts +0 -0
  455. /package/build/{sdk-typescript/src → types}/model/exporters/custom_blocks/SDKExporterCustomBlockVariant.d.ts +0 -0
  456. /package/build/{sdk-typescript/src → types}/model/exporters/custom_properties/SDKExporterConfigurationProperty.d.ts +0 -0
  457. /package/build/{sdk-typescript/src → types}/model/exporters/custom_properties/SDKExporterPropertyArray.d.ts +0 -0
  458. /package/build/{sdk-typescript/src → types}/model/exporters/custom_properties/SDKExporterPropertyBase.d.ts +0 -0
  459. /package/build/{sdk-typescript/src → types}/model/exporters/custom_properties/SDKExporterPropertyBoolean.d.ts +0 -0
  460. /package/build/{sdk-typescript/src → types}/model/exporters/custom_properties/SDKExporterPropertyCode.d.ts +0 -0
  461. /package/build/{sdk-typescript/src → types}/model/exporters/custom_properties/SDKExporterPropertyDefinition.d.ts +0 -0
  462. /package/build/{sdk-typescript/src → types}/model/exporters/custom_properties/SDKExporterPropertyEnum.d.ts +0 -0
  463. /package/build/{sdk-typescript/src → types}/model/exporters/custom_properties/SDKExporterPropertyNumber.d.ts +0 -0
  464. /package/build/{sdk-typescript/src → types}/model/exporters/custom_properties/SDKExporterPropertyObject.d.ts +0 -0
  465. /package/build/{sdk-typescript/src → types}/model/exporters/custom_properties/SDKExporterPropertyString.d.ts +0 -0
  466. /package/build/{sdk-typescript/src → types}/model/exporters/exporter_builds/SDKExportBuild.d.ts +0 -0
  467. /package/build/{sdk-typescript/src → types}/model/exporters/exporter_builds/SDKExportBuildResults.d.ts +0 -0
  468. /package/build/{sdk-typescript/src → types}/model/exporters/exporter_builds/SDKExportDestinations.d.ts +0 -0
  469. /package/build/{sdk-typescript/src → types}/model/exporters/remote/SDKRemoteConnectionsModel.d.ts +0 -0
  470. /package/build/{sdk-typescript/src → types}/model/files/SDKFileUpload.d.ts +0 -0
  471. /package/build/{sdk-typescript/src → types}/model/groups/SDKAssetGroup.d.ts +0 -0
  472. /package/build/{sdk-typescript/src → types}/model/groups/SDKComponentGroup.d.ts +0 -0
  473. /package/build/{sdk-typescript/src → types}/model/groups/SDKDesignComponentGroup.d.ts +0 -0
  474. /package/build/{sdk-typescript/src → types}/model/groups/SDKTokenGroup.d.ts +0 -0
  475. /package/build/{sdk-typescript/src → types}/model/jobs/SDKImportJob.d.ts +0 -0
  476. /package/build/{sdk-typescript/src → types}/model/mcp/SDKMCPStream.d.ts +0 -0
  477. /package/build/{sdk-typescript/src → types}/model/messaging/SDKChatThread.d.ts +0 -0
  478. /package/build/{sdk-typescript/src → types}/model/messaging/SDKChatThreadMessage.d.ts +0 -0
  479. /package/build/{sdk-typescript/src → types}/model/projects/SDKForgeProjectDocument.d.ts +0 -0
  480. /package/build/{sdk-typescript/src → types}/model/projects/SDKForgeProjectDocumentPreview.d.ts +0 -0
  481. /package/build/{sdk-typescript/src → types}/model/projects/SDKForgeProjectFeatureArtifact.d.ts +0 -0
  482. /package/build/{sdk-typescript/src → types}/model/projects/SDKForgeProjectFeatureArtifactList.d.ts +0 -0
  483. /package/build/{sdk-typescript/src → types}/model/projects/SDKForgeProjectFeatureMessage.d.ts +0 -0
  484. /package/build/{sdk-typescript/src → types}/model/projects/SDKForgeProjectFeatureMessageList.d.ts +0 -0
  485. /package/build/{sdk-typescript/src → types}/model/projects/SDKForgeProjectFeatureMessageReaction.d.ts +0 -0
  486. /package/build/{sdk-typescript/src → types}/model/projects/SDKForgeProjectRelation.d.ts +0 -0
  487. /package/build/{sdk-typescript/src/model/projects → types/model/projects/memberships}/SDKForgeProjectMembership.d.ts +0 -0
  488. /package/build/{sdk-typescript/src → types}/model/projects/sections/SDKForgeProjectDocumentSection.d.ts +0 -0
  489. /package/build/{sdk-typescript/src → types}/model/projects/sections/SDKForgeProjectFeatureSection.d.ts +0 -0
  490. /package/build/{sdk-typescript/src → types}/model/projects/sections/SDKForgeProjectSection.d.ts +0 -0
  491. /package/build/{sdk-typescript/src → types}/model/resources/SDKResource.d.ts +0 -0
  492. /package/build/{sdk-typescript/src → types}/model/resources/SDKResourceAsset.d.ts +0 -0
  493. /package/build/{sdk-typescript/src → types}/model/resources/SDKResourceFont.d.ts +0 -0
  494. /package/build/{sdk-typescript/src → types}/model/storybook/SDKStorybookEntry.d.ts +0 -0
  495. /package/build/{sdk-typescript/src → types}/model/storybook/SDKStorybookUpdate.d.ts +0 -0
  496. /package/build/{sdk-typescript/src → types}/model/support/SDKCustomDomain.d.ts +0 -0
  497. /package/build/{sdk-typescript/src → types}/model/support/SDKDesignComponentOrigin.d.ts +0 -0
  498. /package/build/{sdk-typescript/src → types}/model/support/SDKFigmaFrame.d.ts +0 -0
  499. /package/build/{sdk-typescript/src → types}/model/support/SDKFigmaStructure.d.ts +0 -0
  500. /package/build/{sdk-typescript/src → types}/model/support/SDKFigmaStructureDetail.d.ts +0 -0
  501. /package/build/{sdk-typescript/src → types}/model/support/SDKFrameOrigin.d.ts +0 -0
  502. /package/build/{sdk-typescript/src → types}/model/support/SDKLogger.d.ts +0 -0
  503. /package/build/{sdk-typescript/src → types}/model/support/SDKSize.d.ts +0 -0
  504. /package/build/{sdk-typescript/src → types}/model/support/SDKTokenOrigin.d.ts +0 -0
  505. /package/build/{sdk-typescript/src → types}/model/themes/SDKThemeUtilities.d.ts +0 -0
  506. /package/build/{sdk-typescript/src → types}/model/threads/SDKThreadMessageList.d.ts +0 -0
  507. /package/build/{sdk-typescript/src → types}/model/threads/SDKThreadMessageReaction.d.ts +0 -0
  508. /package/build/{sdk-typescript/src → types}/model/tokens/SDKBlurToken.d.ts +0 -0
  509. /package/build/{sdk-typescript/src → types}/model/tokens/SDKColorToken.d.ts +0 -0
  510. /package/build/{sdk-typescript/src → types}/model/tokens/SDKShadowToken.d.ts +0 -0
  511. /package/build/{sdk-typescript/src → types}/model/tokens/SDKTokenCompator.d.ts +0 -0
  512. /package/build/{sdk-typescript/src → types}/model/tokens/SDKVisibilityToken.d.ts +0 -0
  513. /package/build/{sdk-typescript/src → types}/model/tokens/remote/SDKRemoteTokenData.d.ts +0 -0
  514. /package/build/{sdk-typescript/src → types}/model/trail-events/SDKTrailEvent.d.ts +0 -0
  515. /package/build/{sdk-typescript/src → types}/model/users/SDKInspectableUser.d.ts +0 -0
  516. /package/build/{sdk-typescript/src → types}/model/workspaces/SDKWorkspace.d.ts +0 -0
  517. /package/build/{sdk-typescript/src → types}/model/workspaces/SDKWorkspaceIPWhitelistSettings.d.ts +0 -0
  518. /package/build/{sdk-typescript/src → types}/model/workspaces/SDKWorkspaceIntegrationAccessToken.d.ts +0 -0
  519. /package/build/{sdk-typescript/src → types}/model/workspaces/SDKWorkspaceIntegrationGetGitProviders.d.ts +0 -0
  520. /package/build/{sdk-typescript/src → types}/model/workspaces/SDKWorkspaceInvoice.d.ts +0 -0
  521. /package/build/{sdk-typescript/src → types}/model/workspaces/SDKWorkspaceNPMRegistryAccessToken.d.ts +0 -0
  522. /package/build/{sdk-typescript/src → types}/model/workspaces/SDKWorkspaceNPMRegistrySettings.d.ts +0 -0
  523. /package/build/{sdk-typescript/src → types}/model/workspaces/SDKWorkspaceOnboarding.d.ts +0 -0
  524. /package/build/{sdk-typescript/src → types}/model/workspaces/SDKWorkspacePortalSettings.d.ts +0 -0
  525. /package/build/{sdk-typescript/src → types}/model/workspaces/SDKWorkspaceProduct.d.ts +0 -0
  526. /package/build/{sdk-typescript/src → types}/model/workspaces/SDKWorkspaceProfile.d.ts +0 -0
  527. /package/build/{sdk-typescript/src → types}/model/workspaces/integrations/GitProvidersBranches.d.ts +0 -0
  528. /package/build/{sdk-typescript/src → types}/model/workspaces/integrations/GitProvidersOrganizations.d.ts +0 -0
  529. /package/build/{sdk-typescript/src → types}/model/workspaces/integrations/GitProvidersProjects.d.ts +0 -0
  530. /package/build/{sdk-typescript/src → types}/model/workspaces/integrations/GitProvidersRepositories.d.ts +0 -0
  531. /package/build/{sdk-typescript/src → types}/tools/design-tokens/utilities/SDKDTJSONConverter.d.ts +0 -0
  532. /package/build/{sdk-typescript/src → types}/tools/design-tokens/utilities/SDKDTJSONGroupBuilder.d.ts +0 -0
  533. /package/build/{sdk-typescript/src → types}/tools/design-tokens/utilities/SDKDTMapLoader.d.ts +0 -0
  534. /package/build/{sdk-typescript/src → types}/tools/design-tokens/utilities/SDKDTMapResolver.d.ts +0 -0
  535. /package/build/{sdk-typescript/src → types}/tools/design-tokens/utilities/SDKDTTokenGroupTreeMerger.d.ts +0 -0
  536. /package/build/{sdk-typescript/src → types}/tools/design-tokens/utilities/SDKDTTokenMerger.d.ts +0 -0
  537. /package/build/{sdk-typescript/src → types}/tools/design-tokens/utilities/SDKDTTokenReferenceResolver.d.ts +0 -0
  538. /package/build/{sdk-typescript/src → types}/tools/design-tokens/utilities/tree/SDKDTGroupTreeNode.d.ts +0 -0
  539. /package/build/{sdk-typescript/src → types}/tools/design-tokens/utilities/tree/SDKDTParentChildMapping.d.ts +0 -0
  540. /package/build/{sdk-typescript/src → types}/tools/json-builder/SDKToolsJSONBuilder.d.ts +0 -0
  541. /package/build/{sdk-typescript/src → types}/tools/markdown-transform/SDKToolsMarkdownLinkResolver.d.ts +0 -0
  542. /package/build/{sdk-typescript/src → types}/tools/markdown-transform/SDKToolsMarkdownTransform.d.ts +0 -0
  543. /package/build/{sdk-typescript/src → types}/tools/markdown-transform/SDKToolsMarkdownTransformBlock.d.ts +0 -0
  544. /package/build/{sdk-typescript/src → types}/tools/markdown-transform/SDKToolsMarkdownTransformUtil.d.ts +0 -0
  545. /package/build/{sdk-typescript/src → types}/tools/search-index/SDKToolsDocSearch.d.ts +0 -0
  546. /package/build/{sdk-typescript/src → types}/tools/token-preview/TokenUtilPreviewReferenceInfoGenerator.d.ts +0 -0
  547. /package/build/{sdk-typescript/src → types}/tools/token-preview/TokenUtilPreviewStyleGenerator.d.ts +0 -0
  548. /package/build/{sdk-typescript/src → types}/tools/token-preview/TokenUtilPreviewTypes.d.ts +0 -0
  549. /package/build/{sdk-typescript/src → types}/tools/token-transform/SDKToolsTokenTransform.d.ts +0 -0
  550. /package/build/{sdk-typescript/src → types}/utils/CommonUtils.d.ts +0 -0
  551. /package/build/{sdk-typescript/src → types}/utils/ComponentUtils.d.ts +0 -0
  552. /package/build/{sdk-typescript/src → types}/utils/StringUtils.d.ts +0 -0
  553. /package/build/{sdk-typescript/src → types}/utils/UnreachableCaseError.d.ts +0 -0
  554. /package/build/{sdk-typescript/src → types}/utils/tokenDefaultValues.d.ts +0 -0
@@ -1,10 +1,11 @@
1
1
  import { DTOriginalTokenType } from "../../../model/enums/SDKTokenType";
2
+ import { JSONValue } from "../../../utils/SDKJSONValue";
2
3
  export type DTParsedNode = {
3
4
  rootKey: string;
4
5
  name: string;
5
6
  path: Array<string>;
6
7
  type: DTOriginalTokenType;
7
- value: any;
8
+ value: JSONValue;
8
9
  description: string | null;
9
10
  };
10
11
  export type DTParsedTokenSet = {
@@ -1,11 +1,12 @@
1
1
  import { DTOriginalTokenType } from "../../../model/enums/SDKTokenType";
2
2
  import { Logger } from "../../../model/support/SDKLogger";
3
+ import { JSONValue } from "../../../utils/SDKJSONValue";
3
4
  export type DTParsedNode = {
4
5
  rootKey: string;
5
6
  name: string;
6
7
  path: Array<string>;
7
8
  type: DTOriginalTokenType;
8
- value: any;
9
+ value: JSONValue;
9
10
  description: string | null;
10
11
  };
11
12
  export type DTParsedTokenSet = {
@@ -14,7 +14,7 @@ export declare class DTThemeMerger {
14
14
  makeTheme(upstreamTokens: Array<Token>, upstreamGroups: Array<TokenGroup>, upstreamTheme: TokenTheme, processedNodes: Array<DTProcessedTokenNode>, preciseCopy?: DTPluginPreciseCopyStrategy, themeOverridesStrategy?: DTPluginThemeOverrideStrategy): TokenTheme;
15
15
  inlineTokens(themeReplica: TokenTheme, tokensInThemeButNotInUpstream: Map<string, DTProcessedTokenNode>): void;
16
16
  applyThemeOverrideStrategy(idsToRemap: Map<string, string>, themeOverridesStrategy: DTPluginThemeOverrideStrategy, token: Token, incomingThemeOverrideToken?: Token, currentThemeOverride?: Token): {
17
- keepOverrideDueToAlias: boolean | "" | null;
18
- incomingThemeDiffersFromUpstreamThemeAlias: boolean | "" | null;
17
+ keepOverrideDueToAlias: boolean;
18
+ incomingThemeDiffersFromUpstreamThemeAlias: boolean;
19
19
  };
20
20
  }
@@ -0,0 +1,6 @@
1
+ /** Parsing utility */
2
+ export declare class DTExpressionParser {
3
+ /** Parsing and reduction utility for simple math expressions */
4
+ static reduceExpressionsToBaseForm(baseExpression: string): string | number;
5
+ private static evaluateSingleUnitExpression;
6
+ }
@@ -7,6 +7,6 @@ export type TokenTreeElement = Token | TokenGroup;
7
7
  export declare class GroupTree extends GroupTreeNode {
8
8
  childType: TokenType;
9
9
  constructor(backingElement: TokenTreeElement);
10
- static populate(root: TokenTreeElement, elements: Array<TokenTreeElement>, parentChildrenMap: Map<string, Array<TokenTreeElement>>): GroupTree | null;
10
+ static populate(root: TokenTreeElement, elements: Array<TokenTreeElement>, parentChildrenMap: Map<string, Array<TokenTreeElement>>): GroupTree;
11
11
  }
12
12
  export declare function buildBrandedElementRoots(elements: TokenTreeElement[]): Map<string, Map<TokenType, GroupTree>>;
@@ -10,6 +10,7 @@ import { DocsBlockCodePropertyDefinition, DocsBlockCodePropertyOptions } from ".
10
10
  import { DocsBlockCodeSandboxPropertyDefinition, DocsBlockCodeSandboxPropertyOptions } from "../../model/docs/blocks/properties/SDKDocsBlockCodeSandboxProperty";
11
11
  import { DocsBlockComponentPropertyDefinition, DocsBlockComponentPropertyOptions } from "../../model/docs/blocks/properties/SDKDocsBlockComponentProperty";
12
12
  import { DocsBlockComponentPropertyPropertyDefinition, DocsBlockComponentPropertyPropertyOptions } from "../../model/docs/blocks/properties/SDKDocsBlockComponentPropertyProperty";
13
+ import { DocsBlockContextPropertyDefinition, DocsBlockContextPropertyOptions } from "../../model/docs/blocks/properties/SDKDocsBlockContextProperty";
13
14
  import { DocsBlockDividerPropertyDefinition, DocsBlockDividerPropertyOptions } from "../../model/docs/blocks/properties/SDKDocsBlockDividerProperty";
14
15
  import { DocsBlockEmbedUrlPropertyDefinition, DocsBlockEmbedUrlPropertyOptions } from "../../model/docs/blocks/properties/SDKDocsBlockEmbedUrlProperty";
15
16
  import { DocsBlockFigmaComponentPropertyDefinition, DocsBlockFigmaComponentPropertyOptions } from "../../model/docs/blocks/properties/SDKDocsBlockFigmaComponentProperty";
@@ -182,9 +183,7 @@ export declare class DocsBlockBuilder {
182
183
  name: string;
183
184
  description?: string;
184
185
  options: DocsBlockTextPropertyOptions;
185
- variants?: {
186
- [key: string]: DocsBlockTextPropertyOptions;
187
- };
186
+ variants?: Record<string, DocsBlockTextPropertyOptions>;
188
187
  }): DocsBlockTextPropertyDefinition;
189
188
  /** Create a block property with type .richText and its specific options */
190
189
  richTextProperty(configuration: {
@@ -192,9 +191,7 @@ export declare class DocsBlockBuilder {
192
191
  name: string;
193
192
  description?: string;
194
193
  options: DocsBlockRichTextPropertyOptions;
195
- variants?: {
196
- [key: string]: DocsBlockRichTextPropertyOptions;
197
- };
194
+ variants?: Record<string, DocsBlockRichTextPropertyOptions>;
198
195
  }): DocsBlockRichTextPropertyDefinition;
199
196
  /** Create a block property with type .multiRichText and its specific options */
200
197
  multiRichTextProperty(configuration: {
@@ -202,9 +199,7 @@ export declare class DocsBlockBuilder {
202
199
  name: string;
203
200
  description?: string;
204
201
  options: DocsBlockMultiRichTextPropertyOptions;
205
- variants?: {
206
- [key: string]: DocsBlockMultiRichTextPropertyOptions;
207
- };
202
+ variants?: Record<string, DocsBlockMultiRichTextPropertyOptions>;
208
203
  }): DocsBlockMultiRichTextPropertyDefinition;
209
204
  /** Create a block property with type .multiRichText and its specific options */
210
205
  richTextEditorProperty(configuration: {
@@ -212,9 +207,7 @@ export declare class DocsBlockBuilder {
212
207
  name: string;
213
208
  description?: string;
214
209
  options: DocsBlockRichTextEditorPropertyOptions;
215
- variants?: {
216
- [key: string]: DocsBlockRichTextEditorPropertyOptions;
217
- };
210
+ variants?: Record<string, DocsBlockRichTextEditorPropertyOptions>;
218
211
  }): DocsBlockRichTextEditorPropertyDefinition;
219
212
  /** Create a block property with type .boolean and its specific options */
220
213
  booleanProperty(configuration: {
@@ -222,9 +215,7 @@ export declare class DocsBlockBuilder {
222
215
  name: string;
223
216
  description?: string;
224
217
  options: DocsBlockBooleanPropertyOptions;
225
- variants?: {
226
- [key: string]: DocsBlockBooleanPropertyOptions;
227
- };
218
+ variants?: Record<string, DocsBlockBooleanPropertyOptions>;
228
219
  }): DocsBlockBooleanPropertyDefinition;
229
220
  /** Create a block property with type .number and its specific options */
230
221
  numericProperty(configuration: {
@@ -232,9 +223,7 @@ export declare class DocsBlockBuilder {
232
223
  name: string;
233
224
  description?: string;
234
225
  options: DocsBlockNumberPropertyOptions;
235
- variants?: {
236
- [key: string]: DocsBlockNumberPropertyOptions;
237
- };
226
+ variants?: Record<string, DocsBlockNumberPropertyOptions>;
238
227
  }): DocsBlockNumberPropertyDefinition;
239
228
  /** Create a block property with type .singleSelect and its specific options */
240
229
  singleSelectProperty(configuration: {
@@ -242,9 +231,7 @@ export declare class DocsBlockBuilder {
242
231
  name: string;
243
232
  description?: string;
244
233
  options: DocsBlockSingleSelectPropertyOptions;
245
- variants?: {
246
- [key: string]: DocsBlockSingleSelectPropertyOptions;
247
- };
234
+ variants?: Record<string, DocsBlockSingleSelectPropertyOptions>;
248
235
  }): DocsBlockSingleSelectPropertyDefinition;
249
236
  /** Create a block property with type .multiSelect and its specific options */
250
237
  multiSelectProperty(configuration: {
@@ -252,9 +239,7 @@ export declare class DocsBlockBuilder {
252
239
  name: string;
253
240
  description?: string;
254
241
  options: DocsBlockMultiSelectPropertyOptions;
255
- variants?: {
256
- [key: string]: DocsBlockMultiSelectPropertyOptions;
257
- };
242
+ variants?: Record<string, DocsBlockMultiSelectPropertyOptions>;
258
243
  }): DocsBlockMultiSelectPropertyDefinition;
259
244
  /** Create a block property with type .image and its specific options */
260
245
  imageProperty(configuration: {
@@ -262,9 +247,7 @@ export declare class DocsBlockBuilder {
262
247
  name: string;
263
248
  description?: string;
264
249
  options?: DocsBlockImagePropertyOptions;
265
- variants?: {
266
- [key: string]: DocsBlockImagePropertyOptions;
267
- };
250
+ variants?: Record<string, DocsBlockImagePropertyOptions>;
268
251
  }): DocsBlockImagePropertyDefinition;
269
252
  /** Create a block property with type .token and its specific options */
270
253
  tokenProperty(configuration: {
@@ -272,9 +255,7 @@ export declare class DocsBlockBuilder {
272
255
  name: string;
273
256
  description?: string;
274
257
  options: DocsBlockTokenPropertyOptions;
275
- variants?: {
276
- [key: string]: DocsBlockTokenPropertyOptions;
277
- };
258
+ variants?: Record<string, DocsBlockTokenPropertyOptions>;
278
259
  }): DocsBlockTokenPropertyDefinition;
279
260
  /** Create a block property with type .tokenType and its specific options */
280
261
  tokenTypeProperty(configuration: {
@@ -282,9 +263,7 @@ export declare class DocsBlockBuilder {
282
263
  name: string;
283
264
  description?: string;
284
265
  options: DocsBlockTokenTypePropertyOptions;
285
- variants?: {
286
- [key: string]: DocsBlockTokenTypePropertyOptions;
287
- };
266
+ variants?: Record<string, DocsBlockTokenTypePropertyOptions>;
288
267
  }): DocsBlockTokenTypePropertyDefinition;
289
268
  /** Create a block property with type .tokenProperty and its specific options */
290
269
  tokenPropertyProperty(configuration: {
@@ -292,9 +271,7 @@ export declare class DocsBlockBuilder {
292
271
  name: string;
293
272
  description?: string;
294
273
  options: DocsBlockTokenPropertyPropertyOptions;
295
- variants?: {
296
- [key: string]: DocsBlockTokenPropertyPropertyOptions;
297
- };
274
+ variants?: Record<string, DocsBlockTokenPropertyPropertyOptions>;
298
275
  }): DocsBlockTokenPropertyPropertyDefinition;
299
276
  /** Create a block property with type .component and its specific options */
300
277
  componentProperty(configuration: {
@@ -302,9 +279,7 @@ export declare class DocsBlockBuilder {
302
279
  name: string;
303
280
  description?: string;
304
281
  options: DocsBlockComponentPropertyOptions;
305
- variants?: {
306
- [key: string]: DocsBlockComponentPropertyOptions;
307
- };
282
+ variants?: Record<string, DocsBlockComponentPropertyOptions>;
308
283
  }): DocsBlockComponentPropertyDefinition;
309
284
  /** Create a block property with type .componentProperty and its specific options */
310
285
  componentPropertyProperty(configuration: {
@@ -312,9 +287,7 @@ export declare class DocsBlockBuilder {
312
287
  name: string;
313
288
  description?: string;
314
289
  options: DocsBlockComponentPropertyPropertyOptions;
315
- variants?: {
316
- [key: string]: DocsBlockComponentPropertyPropertyOptions;
317
- };
290
+ variants?: Record<string, DocsBlockComponentPropertyPropertyOptions>;
318
291
  }): DocsBlockComponentPropertyPropertyDefinition;
319
292
  /** Create a block property with type .figmaComponentProperty and its specific options */
320
293
  figmaComponentProperty(configuration: {
@@ -322,9 +295,7 @@ export declare class DocsBlockBuilder {
322
295
  name: string;
323
296
  description?: string;
324
297
  options: DocsBlockFigmaComponentPropertyOptions;
325
- variants?: {
326
- [key: string]: DocsBlockFigmaComponentPropertyOptions;
327
- };
298
+ variants?: Record<string, DocsBlockFigmaComponentPropertyOptions>;
328
299
  }): DocsBlockFigmaComponentPropertyDefinition;
329
300
  /** Create a block property with type .asset and its specific options */
330
301
  assetProperty(configuration: {
@@ -332,9 +303,7 @@ export declare class DocsBlockBuilder {
332
303
  name: string;
333
304
  description?: string;
334
305
  options: DocsBlockAssetPropertyOptions;
335
- variants?: {
336
- [key: string]: DocsBlockAssetPropertyOptions;
337
- };
306
+ variants?: Record<string, DocsBlockAssetPropertyOptions>;
338
307
  }): DocsBlockAssetPropertyDefinition;
339
308
  /** Create a block property with type .figmaNodeProperty and its specific options */
340
309
  figmaNodeProperty(configuration: {
@@ -342,9 +311,7 @@ export declare class DocsBlockBuilder {
342
311
  name: string;
343
312
  description?: string;
344
313
  options: DocsBlockFigmaNodePropertyOptions;
345
- variants?: {
346
- [key: string]: DocsBlockFigmaNodePropertyOptions;
347
- };
314
+ variants?: Record<string, DocsBlockFigmaNodePropertyOptions>;
348
315
  }): DocsBlockFigmaNodePropertyDefinition;
349
316
  /** Create a block property with type .assetProperty and its specific options */
350
317
  assetPropertyProperty(configuration: {
@@ -352,9 +319,7 @@ export declare class DocsBlockBuilder {
352
319
  name: string;
353
320
  description?: string;
354
321
  options: DocsBlockAssetPropertyPropertyOptions;
355
- variants?: {
356
- [key: string]: DocsBlockAssetPropertyPropertyOptions;
357
- };
322
+ variants?: Record<string, DocsBlockAssetPropertyPropertyOptions>;
358
323
  }): DocsBlockAssetPropertyPropertyDefinition;
359
324
  /** Create a block property with type .embedURL and its specific options */
360
325
  embedUrlProperty(configuration: {
@@ -362,9 +327,7 @@ export declare class DocsBlockBuilder {
362
327
  name: string;
363
328
  description?: string;
364
329
  options: DocsBlockEmbedUrlPropertyOptions;
365
- variants?: {
366
- [key: string]: DocsBlockEmbedUrlPropertyOptions;
367
- };
330
+ variants?: Record<string, DocsBlockEmbedUrlPropertyOptions>;
368
331
  }): DocsBlockEmbedUrlPropertyDefinition;
369
332
  /** Create a block property with type .markdown and its specific options */
370
333
  markdownProperty(configuration: {
@@ -372,9 +335,7 @@ export declare class DocsBlockBuilder {
372
335
  name: string;
373
336
  description?: string;
374
337
  options: DocsBlockMarkdownPropertyOptions;
375
- variants?: {
376
- [key: string]: DocsBlockMarkdownPropertyOptions;
377
- };
338
+ variants?: Record<string, DocsBlockMarkdownPropertyOptions>;
378
339
  }): DocsBlockMarkdownPropertyDefinition;
379
340
  /** Create a block property with type .url and its specific options */
380
341
  urlProperty(configuration: {
@@ -382,9 +343,7 @@ export declare class DocsBlockBuilder {
382
343
  name: string;
383
344
  description?: string;
384
345
  options: DocsBlockUrlPropertyOptions;
385
- variants?: {
386
- [key: string]: DocsBlockUrlPropertyOptions;
387
- };
346
+ variants?: Record<string, DocsBlockUrlPropertyOptions>;
388
347
  }): DocsBlockUrlPropertyDefinition;
389
348
  /** Create a block property with type .storybook and its specific options */
390
349
  storybookProperty(configuration: {
@@ -392,9 +351,7 @@ export declare class DocsBlockBuilder {
392
351
  name: string;
393
352
  description?: string;
394
353
  options: DocsBlockStorybookPropertyOptions;
395
- variants?: {
396
- [key: string]: DocsBlockStorybookPropertyOptions;
397
- };
354
+ variants?: Record<string, DocsBlockStorybookPropertyOptions>;
398
355
  }): DocsBlockStorybookPropertyDefinition;
399
356
  /** Create a block property with type .code and its specific options */
400
357
  codeProperty(configuration: {
@@ -402,9 +359,7 @@ export declare class DocsBlockBuilder {
402
359
  name: string;
403
360
  description?: string;
404
361
  options: DocsBlockCodePropertyOptions;
405
- variants?: {
406
- [key: string]: DocsBlockCodePropertyOptions;
407
- };
362
+ variants?: Record<string, DocsBlockCodePropertyOptions>;
408
363
  }): DocsBlockCodePropertyDefinition;
409
364
  /** Create a block property with type .codeSandbox and its specific options */
410
365
  codeSandboxProperty(configuration: {
@@ -412,9 +367,7 @@ export declare class DocsBlockBuilder {
412
367
  name: string;
413
368
  description?: string;
414
369
  options: DocsBlockCodeSandboxPropertyOptions;
415
- variants?: {
416
- [key: string]: DocsBlockCodeSandboxPropertyOptions;
417
- };
370
+ variants?: Record<string, DocsBlockCodeSandboxPropertyOptions>;
418
371
  }): DocsBlockCodeSandboxPropertyDefinition;
419
372
  /** Create a block property with type .table and its specific options */
420
373
  tableProperty(configuration: {
@@ -422,9 +375,7 @@ export declare class DocsBlockBuilder {
422
375
  name: string;
423
376
  description?: string;
424
377
  options: DocsBlockTablePropertyOptions;
425
- variants?: {
426
- [key: string]: DocsBlockTablePropertyOptions;
427
- };
378
+ variants?: Record<string, DocsBlockTablePropertyOptions>;
428
379
  }): DocsBlockTablePropertyDefinition;
429
380
  /** Create a block property with type .divider and its specific options */
430
381
  dividerProperty(configuration: {
@@ -432,9 +383,7 @@ export declare class DocsBlockBuilder {
432
383
  name: string;
433
384
  description?: string;
434
385
  options: DocsBlockDividerPropertyOptions;
435
- variants?: {
436
- [key: string]: DocsBlockDividerPropertyOptions;
437
- };
386
+ variants?: Record<string, DocsBlockDividerPropertyOptions>;
438
387
  }): DocsBlockDividerPropertyDefinition;
439
388
  /** Create a block property with type .file and its specific options */
440
389
  fileProperty(configuration: {
@@ -442,8 +391,14 @@ export declare class DocsBlockBuilder {
442
391
  name: string;
443
392
  description?: string;
444
393
  options: DocsBlockFilePropertyOptions;
445
- variants?: {
446
- [key: string]: DocsBlockFilePropertyOptions;
447
- };
394
+ variants?: Record<string, DocsBlockFilePropertyOptions>;
448
395
  }): DocsBlockFilePropertyDefinition;
396
+ /** Create a block property with type .context and its specific options */
397
+ contextProperty(configuration: {
398
+ id: string;
399
+ name: string;
400
+ description?: string;
401
+ options?: DocsBlockContextPropertyOptions;
402
+ variants?: Record<string, DocsBlockContextPropertyOptions>;
403
+ }): DocsBlockContextPropertyDefinition;
449
404
  }
@@ -1,29 +1,30 @@
1
1
  import { TokenGroup } from "../../../model/groups/SDKTokenGroup";
2
2
  import { Token } from "../../../model/tokens/SDKToken";
3
3
  import { AnyOptionTokenValue, AnyStringTokenValue, BorderTokenValue, ColorTokenValue, DimensionTokenValue, GradientTokenValue, ShadowTokenValue, TypographyTokenValue } from "../../../model/tokens/SDKTokenValue";
4
+ import { JSONValue } from "../../../utils/SDKJSONValue";
4
5
  import { TokenJSONBuilderOptionsInternal } from "../SDKToolsJSONBuilder";
5
6
  import { TokenJSONElementTransformer } from "./SDKToolsJSONElementTransformer";
6
7
  /** Token transformer that allow generic transform of tokens to different destinations, like Style Dictionary or Figma Tokens representation */
7
8
  export declare class TokenJSONElementFigmaTokensTransformer extends TokenJSONElementTransformer {
8
9
  /** Represent color token value either as reference or as plain representation */
9
- representColorTokenValue(value: ColorTokenValue, allTokens: Map<string, Token>, allGroups: Array<TokenGroup>, options: TokenJSONBuilderOptionsInternal): any;
10
+ representColorTokenValue(value: ColorTokenValue, allTokens: Map<string, Token>, allGroups: Array<TokenGroup>, options: TokenJSONBuilderOptionsInternal): JSONValue;
10
11
  /** Represent dimension token value either as reference or as plain representation */
11
- representDimensionTokenValue(value: DimensionTokenValue, allTokens: Map<string, Token>, allGroups: Array<TokenGroup>, options: TokenJSONBuilderOptionsInternal): any;
12
+ representDimensionTokenValue(value: DimensionTokenValue, allTokens: Map<string, Token>, allGroups: Array<TokenGroup>, options: TokenJSONBuilderOptionsInternal): JSONValue;
12
13
  /** Represent text token value either as reference or as plain representation */
13
- representStringTokenValue(value: AnyStringTokenValue, allTokens: Map<string, Token>, allGroups: Array<TokenGroup>, options: TokenJSONBuilderOptionsInternal): any;
14
- representOptionTokenValue(value: AnyOptionTokenValue, allTokens: Map<string, Token>, allGroups: Array<TokenGroup>, options: TokenJSONBuilderOptionsInternal): any;
14
+ representStringTokenValue(value: AnyStringTokenValue, allTokens: Map<string, Token>, allGroups: Array<TokenGroup>, options: TokenJSONBuilderOptionsInternal): JSONValue;
15
+ representOptionTokenValue(value: AnyOptionTokenValue, allTokens: Map<string, Token>, allGroups: Array<TokenGroup>, options: TokenJSONBuilderOptionsInternal): JSONValue;
15
16
  /** Represent typography token value either as reference or as plain representation */
16
- representTypographyTokenValue(value: TypographyTokenValue, allTokens: Map<string, Token>, allGroups: Array<TokenGroup>, options: TokenJSONBuilderOptionsInternal): any;
17
+ representTypographyTokenValue(value: TypographyTokenValue, allTokens: Map<string, Token>, allGroups: Array<TokenGroup>, options: TokenJSONBuilderOptionsInternal): JSONValue;
17
18
  /** Represent border token value either as reference or as plain representation */
18
- representBorderTokenValue(value: BorderTokenValue, allTokens: Map<string, Token>, allGroups: Array<TokenGroup>, options: TokenJSONBuilderOptionsInternal): any;
19
+ representBorderTokenValue(value: BorderTokenValue, allTokens: Map<string, Token>, allGroups: Array<TokenGroup>, options: TokenJSONBuilderOptionsInternal): JSONValue;
19
20
  /** Represent shadow token value either as reference or as plain representation */
20
- representShadowTokenValue(values: ShadowTokenValue[], allTokens: Map<string, Token>, allGroups: Array<TokenGroup>, options: TokenJSONBuilderOptionsInternal): any;
21
+ representShadowTokenValue(values: ShadowTokenValue[], allTokens: Map<string, Token>, allGroups: Array<TokenGroup>, options: TokenJSONBuilderOptionsInternal): JSONValue;
21
22
  /** Represent gradient token value either as reference or as plain representation */
22
- representGradientTokenValue(values: GradientTokenValue[], allTokens: Map<string, Token>, allGroups: Array<TokenGroup>, options: TokenJSONBuilderOptionsInternal): any;
23
+ representGradientTokenValue(values: GradientTokenValue[], allTokens: Map<string, Token>, allGroups: Array<TokenGroup>, options: TokenJSONBuilderOptionsInternal): JSONValue;
23
24
  /** Retrieve token wrapper containing its metadata and value information (used as container for each defined token) */
24
- tokenWrapper(token: Token, value: any, options: TokenJSONBuilderOptionsInternal, groups: Array<TokenGroup>): object;
25
+ tokenWrapper(token: Token, value: JSONValue, options: TokenJSONBuilderOptionsInternal, groups: Array<TokenGroup>): object;
25
26
  /** Retrieve human-readable token type in unified fashion, used both as token type and as token master group */
26
- typeLabelConsideringAbstractGroups(token: Token, groups: Array<TokenGroup>): string | undefined;
27
+ typeLabelConsideringAbstractGroups(token: Token, groups: Array<TokenGroup>): string;
27
28
  /** Retrieve wrapper to certain token (referenced by name) pointing to token value */
28
29
  referenceWrapper(reference: string): string;
29
30
  /** Retrieve safe group name made out of normal group name
@@ -1,25 +1,26 @@
1
1
  import { TokenGroup } from "../../../model/groups/SDKTokenGroup";
2
2
  import { Token } from "../../../model/tokens/SDKToken";
3
3
  import { AnyOptionTokenValue, AnyStringTokenValue, BorderTokenValue, ColorTokenValue, DimensionTokenValue, GradientTokenValue, ShadowTokenValue, TypographyTokenValue } from "../../../model/tokens/SDKTokenValue";
4
+ import { JSONValue } from "../../../utils/SDKJSONValue";
4
5
  import { TokenJSONBuilderOptionsInternal } from "../SDKToolsJSONBuilder";
5
6
  import { TokenJSONElementTransformer } from "./SDKToolsJSONElementTransformer";
6
7
  /** Token transformer that allow generic transform of tokens to different destinations, like Style Dictionary or Figma Tokens representation */
7
8
  export declare class TokenJSONElementStyleDictionaryTransformer extends TokenJSONElementTransformer {
8
9
  /** Represent color token value either as reference or as plain representation */
9
- representColorTokenValue(value: ColorTokenValue, allTokens: Map<string, Token>, allGroups: Array<TokenGroup>, options: TokenJSONBuilderOptionsInternal): any;
10
+ representColorTokenValue(value: ColorTokenValue, allTokens: Map<string, Token>, allGroups: Array<TokenGroup>, options: TokenJSONBuilderOptionsInternal): JSONValue;
10
11
  /** Represent dimension token value either as reference or as plain representation */
11
- representDimensionTokenValue(value: DimensionTokenValue, allTokens: Map<string, Token>, allGroups: Array<TokenGroup>, options: TokenJSONBuilderOptionsInternal): any;
12
+ representDimensionTokenValue(value: DimensionTokenValue, allTokens: Map<string, Token>, allGroups: Array<TokenGroup>, options: TokenJSONBuilderOptionsInternal): JSONValue;
12
13
  /** Represent text token value either as reference or as plain representation */
13
- representStringTokenValue(value: AnyStringTokenValue, allTokens: Map<string, Token>, allGroups: Array<TokenGroup>, options: TokenJSONBuilderOptionsInternal): any;
14
- representOptionTokenValue(value: AnyOptionTokenValue, allTokens: Map<string, Token>, allGroups: Array<TokenGroup>, options: TokenJSONBuilderOptionsInternal): any;
14
+ representStringTokenValue(value: AnyStringTokenValue, allTokens: Map<string, Token>, allGroups: Array<TokenGroup>, options: TokenJSONBuilderOptionsInternal): JSONValue;
15
+ representOptionTokenValue(value: AnyOptionTokenValue, allTokens: Map<string, Token>, allGroups: Array<TokenGroup>, options: TokenJSONBuilderOptionsInternal): JSONValue;
15
16
  /** Represent typography token value either as reference or as plain representation */
16
- representTypographyTokenValue(value: TypographyTokenValue, allTokens: Map<string, Token>, allGroups: Array<TokenGroup>, options: TokenJSONBuilderOptionsInternal): any;
17
+ representTypographyTokenValue(value: TypographyTokenValue, allTokens: Map<string, Token>, allGroups: Array<TokenGroup>, options: TokenJSONBuilderOptionsInternal): JSONValue;
17
18
  /** Represent border token value either as reference or as plain representation */
18
- representBorderTokenValue(value: BorderTokenValue, allTokens: Map<string, Token>, allGroups: Array<TokenGroup>, options: TokenJSONBuilderOptionsInternal): any;
19
+ representBorderTokenValue(value: BorderTokenValue, allTokens: Map<string, Token>, allGroups: Array<TokenGroup>, options: TokenJSONBuilderOptionsInternal): JSONValue;
19
20
  /** Represent shadow token value either as reference or as plain representation */
20
- representShadowTokenValue(values: ShadowTokenValue[], allTokens: Map<string, Token>, allGroups: Array<TokenGroup>, options: TokenJSONBuilderOptionsInternal): any;
21
+ representShadowTokenValue(values: ShadowTokenValue[], allTokens: Map<string, Token>, allGroups: Array<TokenGroup>, options: TokenJSONBuilderOptionsInternal): JSONValue;
21
22
  /** Represent gradient token value either as reference or as plain representation */
22
- representGradientTokenValue(values: GradientTokenValue[], allTokens: Map<string, Token>, allGroups: Array<TokenGroup>, options: TokenJSONBuilderOptionsInternal): any;
23
+ representGradientTokenValue(values: GradientTokenValue[], allTokens: Map<string, Token>, allGroups: Array<TokenGroup>, options: TokenJSONBuilderOptionsInternal): JSONValue;
23
24
  /** Retrieve wrapper to certain token (referenced by name) pointing to token value */
24
25
  referenceWrapper(reference: string): string;
25
26
  groupIsAbstract(group: TokenGroup): boolean;
@@ -9,6 +9,7 @@ import { AnyStringToken } from "../../../model/tokens/SDKStringToken";
9
9
  import { Token } from "../../../model/tokens/SDKToken";
10
10
  import { AnyDimensionTokenValue, AnyOptionToken, AnyOptionTokenValue, AnyStringTokenValue, BorderTokenValue, ColorTokenValue, GradientTokenValue, ShadowTokenValue, TypographyTokenValue } from "../../../model/tokens/SDKTokenValue";
11
11
  import { TypographyToken } from "../../../model/tokens/SDKTypographyToken";
12
+ import { JSONValue } from "../../../utils/SDKJSONValue";
12
13
  import { JSONBuilderNamingOption, TokenJSONBuilderOptionsInternal } from "../SDKToolsJSONBuilder";
13
14
  /** Token transformer that allow generic transform of tokens to different destinations, like Style Dictionary or Figma Tokens representation */
14
15
  export declare class TokenJSONElementTransformer {
@@ -21,33 +22,33 @@ export declare class TokenJSONElementTransformer {
21
22
  /** Represent full gradient token, including wrapping meta-information such as user description */
22
23
  representGradientToken(token: GradientToken, allTokens: Map<string, Token>, allGroups: Array<TokenGroup>, options: TokenJSONBuilderOptionsInternal): object;
23
24
  /** Represent full dimension token, including wrapping meta-information such as user description */
24
- representDimensionToken(token: AnyDimensionToken, allTokens: Map<string, Token>, allGroups: Array<TokenGroup>, options: TokenJSONBuilderOptionsInternal): Object;
25
+ representDimensionToken(token: AnyDimensionToken, allTokens: Map<string, Token>, allGroups: Array<TokenGroup>, options: TokenJSONBuilderOptionsInternal): object;
25
26
  /** Represent full shadow token, including wrapping meta-information such as user description */
26
27
  representShadowToken(token: ShadowToken, allTokens: Map<string, Token>, allGroups: Array<TokenGroup>, options: TokenJSONBuilderOptionsInternal): object;
27
28
  /** Represent full text token, including wrapping meta-information such as user description */
28
- representStringToken(token: AnyStringToken, allTokens: Map<string, Token>, allGroups: Array<TokenGroup>, options: TokenJSONBuilderOptionsInternal): Object;
29
- representOptionToken(token: AnyOptionToken, allTokens: Map<string, Token>, allGroups: Array<TokenGroup>, options: TokenJSONBuilderOptionsInternal): Object;
29
+ representStringToken(token: AnyStringToken, allTokens: Map<string, Token>, allGroups: Array<TokenGroup>, options: TokenJSONBuilderOptionsInternal): object;
30
+ representOptionToken(token: AnyOptionToken, allTokens: Map<string, Token>, allGroups: Array<TokenGroup>, options: TokenJSONBuilderOptionsInternal): object;
30
31
  /** Represent full typography token, including wrapping meta-information such as user description */
31
32
  representTypographyToken(token: TypographyToken, allTokens: Map<string, Token>, allGroups: Array<TokenGroup>, options: TokenJSONBuilderOptionsInternal): object;
32
33
  /** Represent color token value either as reference or as plain representation */
33
- representColorTokenValue(value: ColorTokenValue, allTokens: Map<string, Token>, allGroups: Array<TokenGroup>, options: TokenJSONBuilderOptionsInternal): any;
34
+ representColorTokenValue(value: ColorTokenValue, allTokens: Map<string, Token>, allGroups: Array<TokenGroup>, options: TokenJSONBuilderOptionsInternal): JSONValue;
34
35
  /** Represent dimension token value either as reference or as plain representation */
35
- representDimensionTokenValue(value: AnyDimensionTokenValue, allTokens: Map<string, Token>, allGroups: Array<TokenGroup>, options: TokenJSONBuilderOptionsInternal): any;
36
+ representDimensionTokenValue(value: AnyDimensionTokenValue, allTokens: Map<string, Token>, allGroups: Array<TokenGroup>, options: TokenJSONBuilderOptionsInternal): JSONValue;
36
37
  /** Represent text token value either as reference or as plain representation */
37
- representStringTokenValue(value: AnyStringTokenValue, allTokens: Map<string, Token>, allGroups: Array<TokenGroup>, options: TokenJSONBuilderOptionsInternal): any;
38
- representOptionTokenValue(value: AnyOptionTokenValue, allTokens: Map<string, Token>, allGroups: Array<TokenGroup>, options: TokenJSONBuilderOptionsInternal): any;
38
+ representStringTokenValue(value: AnyStringTokenValue, allTokens: Map<string, Token>, allGroups: Array<TokenGroup>, options: TokenJSONBuilderOptionsInternal): JSONValue;
39
+ representOptionTokenValue(value: AnyOptionTokenValue, allTokens: Map<string, Token>, allGroups: Array<TokenGroup>, options: TokenJSONBuilderOptionsInternal): JSONValue;
39
40
  /** Represent typography token value either as reference or as plain representation */
40
- representTypographyTokenValue(value: TypographyTokenValue, allTokens: Map<string, Token>, allGroups: Array<TokenGroup>, options: TokenJSONBuilderOptionsInternal): any;
41
+ representTypographyTokenValue(value: TypographyTokenValue, allTokens: Map<string, Token>, allGroups: Array<TokenGroup>, options: TokenJSONBuilderOptionsInternal): JSONValue;
41
42
  /** Represent border token value either as reference or as plain representation */
42
- representBorderTokenValue(value: BorderTokenValue, allTokens: Map<string, Token>, allGroups: Array<TokenGroup>, options: TokenJSONBuilderOptionsInternal): any;
43
+ representBorderTokenValue(value: BorderTokenValue, allTokens: Map<string, Token>, allGroups: Array<TokenGroup>, options: TokenJSONBuilderOptionsInternal): JSONValue;
43
44
  /** Represent shadow token value either as reference or as plain representation */
44
- representShadowTokenValue(values: ShadowTokenValue[], allTokens: Map<string, Token>, allGroups: Array<TokenGroup>, options: TokenJSONBuilderOptionsInternal): any;
45
+ representShadowTokenValue(values: ShadowTokenValue[], allTokens: Map<string, Token>, allGroups: Array<TokenGroup>, options: TokenJSONBuilderOptionsInternal): JSONValue;
45
46
  /** Represent gradient token value either as reference or as plain representation */
46
- representGradientTokenValue(value: GradientTokenValue[], allTokens: Map<string, Token>, allGroups: Array<TokenGroup>, options: TokenJSONBuilderOptionsInternal): any;
47
+ representGradientTokenValue(value: GradientTokenValue[], allTokens: Map<string, Token>, allGroups: Array<TokenGroup>, options: TokenJSONBuilderOptionsInternal): JSONValue;
47
48
  /** Retrieve wrapper to certain token (referenced by name) pointing to token value */
48
49
  referenceWrapper(reference: string, options: TokenJSONBuilderOptionsInternal): void;
49
50
  /** Retrieve token wrapper containing its metadata and value information (used as container for each defined token) */
50
- tokenWrapper(token: Token, value: any, options: TokenJSONBuilderOptionsInternal, groups: Array<TokenGroup>): object;
51
+ tokenWrapper(token: Token, value: JSONValue, options: TokenJSONBuilderOptionsInternal, groups: Array<TokenGroup>): object;
51
52
  /** Create full reference name representing token. Such name can, for example, look like: [g1].[g2].[g3].[g4].[token-name] */
52
53
  referenceName(referenceId: string, allTokens: Map<string, Token>, allGroups: Array<TokenGroup>, options: TokenJSONBuilderOptionsInternal): string;
53
54
  /** Retrieve safe token name made out of normal token name
@@ -62,7 +63,7 @@ export declare class TokenJSONElementTransformer {
62
63
  safeGroupName(group: TokenGroup): string;
63
64
  processedName(name: string, naming: JSONBuilderNamingOption): string;
64
65
  /** Retrieve human-readable token type in unified fashion, used both as token type and as token master group */
65
- typeLabel(type: TokenType): "visibility" | "color" | "gradient" | "typography" | "border" | "text" | "textCase" | "textDecoration" | "shadow" | "measure" | undefined;
66
+ typeLabel(type: TokenType): "visibility" | "border" | "color" | "gradient" | "measure" | "shadow" | "text" | "textCase" | "textDecoration" | "typography";
66
67
  /** Retrieve chain of groups up to a specified group, ordered from parent to children */
67
68
  referenceGroupChain(containingGroup: TokenGroup, allGroups: Array<TokenGroup>): Array<TokenGroup>;
68
69
  }
@@ -5,7 +5,7 @@ export declare class TokenUtilPreviewGenerator {
5
5
  /** Generates segments required for rendering of the preview. Only usable with Supernova preview */
6
6
  static tokenPreviewSegments(token: Token, allTokens: Map<string, Token>): Array<TokenUtilPreviewTokenValueSegment | "separator">;
7
7
  /** Generates metadata required for rendering of the preview. Only usable with Supernova preview */
8
- static tokenPreviewMetadata(token: Token, allTokens: Map<string, Token>): TokenUtilPreviewMetadata;
8
+ static tokenPreviewMetadata(token: Token, allTokens: Map<string, Token>, layerIndex?: number): TokenUtilPreviewMetadata;
9
9
  /** Generates style required for rendering of the preview. Only usable with Supernova preview */
10
10
  static tokenPreviewStyle(token: Token, overridenStyles?: {
11
11
  fontFamily?: string;
@@ -2,7 +2,7 @@ import { TokenType } from "../../model/enums/SDKTokenType";
2
2
  import { Token } from "../../model/tokens/SDKToken";
3
3
  import { TokenUtilPreviewMetadata, TokenUtilPreviewTokenType } from "./TokenUtilPreviewTypes";
4
4
  export declare class TokenUtilPreviewMetadataGenerator {
5
- resolvedMetadataForToken(token: Token, allTokens: Map<string, Token>): TokenUtilPreviewMetadata;
5
+ resolvedMetadataForToken(token: Token, allTokens: Map<string, Token>, layerIndex?: number): TokenUtilPreviewMetadata;
6
6
  displayValue(token: Token): string;
7
7
  tokenTypeToPreviewType(type: TokenType): TokenUtilPreviewTokenType;
8
8
  }
@@ -5,7 +5,7 @@ export declare class TokenUtilPreviewSegmentGenerator {
5
5
  static getTypographyValueReferenceProperties(tokenValue: TypographyTokenValueTypes | undefined | null, allTokens: Map<string, Token>): Pick<TokenUtilPreviewTokenValueSegment, "referencedName" | "referenceResolutionFailed" | "referenceOriginRemote" | "referenceOriginName" | "referenceFullPath">;
6
6
  static getReferenceName(reference: Token): string;
7
7
  static getCommonProperties(token: Token | undefined, reference: Token | undefined): {
8
- referenceName: undefined;
8
+ referenceName: any;
9
9
  referenceResolutionFailed?: undefined;
10
10
  referenceOriginRemote?: undefined;
11
11
  referenceOriginName?: undefined;
@@ -18,13 +18,13 @@ export declare class TokenUtilPreviewSegmentGenerator {
18
18
  } | {
19
19
  referenceResolutionFailed: boolean;
20
20
  referenceOriginRemote: boolean;
21
- referenceOriginName: string | undefined;
22
- referenceFullPath: string | undefined;
23
- referencedName: string | undefined;
21
+ referenceOriginName: string;
22
+ referenceFullPath: string;
23
+ referencedName: string;
24
24
  isDifferentTypeValue: boolean;
25
25
  isValueOutOfRange: boolean;
26
- tokenOutOfRangeErrorMessage: string | undefined;
27
- tokenDifferentTypeErrorMessage: string | undefined;
26
+ tokenOutOfRangeErrorMessage: string;
27
+ tokenDifferentTypeErrorMessage: string;
28
28
  referenceName?: undefined;
29
29
  };
30
30
  static resolvedSegmentsForToken(token: Token, allTokens: Map<string, Token>): Array<TokenUtilPreviewTokenValueSegment | "separator">;
@@ -0,0 +1,16 @@
1
+ import { SDKDataset } from "../model/datasets/SDKDataset";
2
+ import { ForgeProjectContext } from "../model/projects/SDKForgeProjectContext";
3
+ export type ContextCompositionNode = {
4
+ id: string;
5
+ includedContextIds: readonly string[];
6
+ };
7
+ export declare class ContextUtils {
8
+ static getDatasetFromContext(context: ForgeProjectContext): SDKDataset;
9
+ static getResolvedDatasetForContext(context: ForgeProjectContext, allContexts: ForgeProjectContext[]): SDKDataset;
10
+ static hasCircularIncludedContextDependency({ contextsById, sourceContextId, targetContextIds, visitedContextIds, }: {
11
+ contextsById: ReadonlyMap<string, ContextCompositionNode>;
12
+ sourceContextId: string;
13
+ targetContextIds: ReadonlySet<string>;
14
+ visitedContextIds?: Set<string>;
15
+ }): boolean;
16
+ }