@nodetool-ai/timeline 0.8.1

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 (505) hide show
  1. package/README.md +55 -0
  2. package/dist/.nodetool-build-stamp +1 -0
  3. package/dist/animation/bakedAnimation.d.ts +84 -0
  4. package/dist/animation/bakedAnimation.d.ts.map +1 -0
  5. package/dist/animation/bakedAnimation.js +95 -0
  6. package/dist/animation/bakedAnimation.js.map +1 -0
  7. package/dist/animation/beat.d.ts +7 -0
  8. package/dist/animation/beat.d.ts.map +1 -0
  9. package/dist/animation/beat.js +36 -0
  10. package/dist/animation/beat.js.map +1 -0
  11. package/dist/animation/compile.d.ts +184 -0
  12. package/dist/animation/compile.d.ts.map +1 -0
  13. package/dist/animation/compile.js +312 -0
  14. package/dist/animation/compile.js.map +1 -0
  15. package/dist/animation/custom.d.ts +183 -0
  16. package/dist/animation/custom.d.ts.map +1 -0
  17. package/dist/animation/custom.js +583 -0
  18. package/dist/animation/custom.js.map +1 -0
  19. package/dist/animation/easing.d.ts +34 -0
  20. package/dist/animation/easing.d.ts.map +1 -0
  21. package/dist/animation/easing.js +332 -0
  22. package/dist/animation/easing.js.map +1 -0
  23. package/dist/animation/index.d.ts +20 -0
  24. package/dist/animation/index.d.ts.map +1 -0
  25. package/dist/animation/index.js +20 -0
  26. package/dist/animation/index.js.map +1 -0
  27. package/dist/animation/links.d.ts +33 -0
  28. package/dist/animation/links.d.ts.map +1 -0
  29. package/dist/animation/links.js +126 -0
  30. package/dist/animation/links.js.map +1 -0
  31. package/dist/animation/presets.d.ts +86 -0
  32. package/dist/animation/presets.d.ts.map +1 -0
  33. package/dist/animation/presets.js +642 -0
  34. package/dist/animation/presets.js.map +1 -0
  35. package/dist/animation/sample.d.ts +145 -0
  36. package/dist/animation/sample.d.ts.map +1 -0
  37. package/dist/animation/sample.js +390 -0
  38. package/dist/animation/sample.js.map +1 -0
  39. package/dist/animation/simplify.d.ts +70 -0
  40. package/dist/animation/simplify.d.ts.map +1 -0
  41. package/dist/animation/simplify.js +278 -0
  42. package/dist/animation/simplify.js.map +1 -0
  43. package/dist/animation/sourceCurves.d.ts +45 -0
  44. package/dist/animation/sourceCurves.d.ts.map +1 -0
  45. package/dist/animation/sourceCurves.js +168 -0
  46. package/dist/animation/sourceCurves.js.map +1 -0
  47. package/dist/animation/styleTracks.d.ts +23 -0
  48. package/dist/animation/styleTracks.d.ts.map +1 -0
  49. package/dist/animation/styleTracks.js +341 -0
  50. package/dist/animation/styleTracks.js.map +1 -0
  51. package/dist/animation/types.d.ts +269 -0
  52. package/dist/animation/types.d.ts.map +1 -0
  53. package/dist/animation/types.js +173 -0
  54. package/dist/animation/types.js.map +1 -0
  55. package/dist/animation/typewriter.d.ts +8 -0
  56. package/dist/animation/typewriter.d.ts.map +1 -0
  57. package/dist/animation/typewriter.js +32 -0
  58. package/dist/animation/typewriter.js.map +1 -0
  59. package/dist/audioFade.d.ts +73 -0
  60. package/dist/audioFade.d.ts.map +1 -0
  61. package/dist/audioFade.js +134 -0
  62. package/dist/audioFade.js.map +1 -0
  63. package/dist/authoredStyles.d.ts +61 -0
  64. package/dist/authoredStyles.d.ts.map +1 -0
  65. package/dist/authoredStyles.js +90 -0
  66. package/dist/authoredStyles.js.map +1 -0
  67. package/dist/authoring.d.ts +50 -0
  68. package/dist/authoring.d.ts.map +1 -0
  69. package/dist/authoring.js +207 -0
  70. package/dist/authoring.js.map +1 -0
  71. package/dist/beats.d.ts +103 -0
  72. package/dist/beats.d.ts.map +1 -0
  73. package/dist/beats.js +228 -0
  74. package/dist/beats.js.map +1 -0
  75. package/dist/clone.d.ts +32 -0
  76. package/dist/clone.d.ts.map +1 -0
  77. package/dist/clone.js +53 -0
  78. package/dist/clone.js.map +1 -0
  79. package/dist/composition.d.ts +87 -0
  80. package/dist/composition.d.ts.map +1 -0
  81. package/dist/composition.js +253 -0
  82. package/dist/composition.js.map +1 -0
  83. package/dist/crop.d.ts +48 -0
  84. package/dist/crop.d.ts.map +1 -0
  85. package/dist/crop.js +75 -0
  86. package/dist/crop.js.map +1 -0
  87. package/dist/defaults.d.ts +142 -0
  88. package/dist/defaults.d.ts.map +1 -0
  89. package/dist/defaults.js +335 -0
  90. package/dist/defaults.js.map +1 -0
  91. package/dist/dependencyHash.d.ts +14 -0
  92. package/dist/dependencyHash.d.ts.map +1 -0
  93. package/dist/dependencyHash.js +19 -0
  94. package/dist/dependencyHash.js.map +1 -0
  95. package/dist/dropResolve.d.ts +40 -0
  96. package/dist/dropResolve.d.ts.map +1 -0
  97. package/dist/dropResolve.js +137 -0
  98. package/dist/dropResolve.js.map +1 -0
  99. package/dist/examples/node.d.ts +11 -0
  100. package/dist/examples/node.d.ts.map +1 -0
  101. package/dist/examples/node.js +87 -0
  102. package/dist/examples/node.js.map +1 -0
  103. package/dist/extension.d.ts +52 -0
  104. package/dist/extension.d.ts.map +1 -0
  105. package/dist/extension.js +269 -0
  106. package/dist/extension.js.map +1 -0
  107. package/dist/extensionRequest.d.ts +40 -0
  108. package/dist/extensionRequest.d.ts.map +1 -0
  109. package/dist/extensionRequest.js +135 -0
  110. package/dist/extensionRequest.js.map +1 -0
  111. package/dist/fill-text.d.ts +30 -0
  112. package/dist/fill-text.d.ts.map +1 -0
  113. package/dist/fill-text.js +73 -0
  114. package/dist/fill-text.js.map +1 -0
  115. package/dist/fonts/catalog.d.ts +97 -0
  116. package/dist/fonts/catalog.d.ts.map +1 -0
  117. package/dist/fonts/catalog.js +276 -0
  118. package/dist/fonts/catalog.js.map +1 -0
  119. package/dist/fonts/css.d.ts +24 -0
  120. package/dist/fonts/css.d.ts.map +1 -0
  121. package/dist/fonts/css.js +50 -0
  122. package/dist/fonts/css.js.map +1 -0
  123. package/dist/fonts/index.d.ts +10 -0
  124. package/dist/fonts/index.d.ts.map +1 -0
  125. package/dist/fonts/index.js +10 -0
  126. package/dist/fonts/index.js.map +1 -0
  127. package/dist/fonts/register-node.d.ts +45 -0
  128. package/dist/fonts/register-node.d.ts.map +1 -0
  129. package/dist/fonts/register-node.js +71 -0
  130. package/dist/fonts/register-node.js.map +1 -0
  131. package/dist/generatedMatte.d.ts +86 -0
  132. package/dist/generatedMatte.d.ts.map +1 -0
  133. package/dist/generatedMatte.js +152 -0
  134. package/dist/generatedMatte.js.map +1 -0
  135. package/dist/generative.d.ts +145 -0
  136. package/dist/generative.d.ts.map +1 -0
  137. package/dist/generative.js +396 -0
  138. package/dist/generative.js.map +1 -0
  139. package/dist/group.d.ts +47 -0
  140. package/dist/group.d.ts.map +1 -0
  141. package/dist/group.js +131 -0
  142. package/dist/group.js.map +1 -0
  143. package/dist/index.d.ts +55 -0
  144. package/dist/index.d.ts.map +1 -0
  145. package/dist/index.js +58 -0
  146. package/dist/index.js.map +1 -0
  147. package/dist/interchange.d.ts +47 -0
  148. package/dist/interchange.d.ts.map +1 -0
  149. package/dist/interchange.js +158 -0
  150. package/dist/interchange.js.map +1 -0
  151. package/dist/keyframes.d.ts +44 -0
  152. package/dist/keyframes.d.ts.map +1 -0
  153. package/dist/keyframes.js +148 -0
  154. package/dist/keyframes.js.map +1 -0
  155. package/dist/lineDelivery.d.ts +108 -0
  156. package/dist/lineDelivery.d.ts.map +1 -0
  157. package/dist/lineDelivery.js +154 -0
  158. package/dist/lineDelivery.js.map +1 -0
  159. package/dist/linked.d.ts +41 -0
  160. package/dist/linked.d.ts.map +1 -0
  161. package/dist/linked.js +166 -0
  162. package/dist/linked.js.map +1 -0
  163. package/dist/lipSyncRequest.d.ts +65 -0
  164. package/dist/lipSyncRequest.d.ts.map +1 -0
  165. package/dist/lipSyncRequest.js +73 -0
  166. package/dist/lipSyncRequest.js.map +1 -0
  167. package/dist/measureClipDurations.d.ts +7 -0
  168. package/dist/measureClipDurations.d.ts.map +1 -0
  169. package/dist/measureClipDurations.js +17 -0
  170. package/dist/measureClipDurations.js.map +1 -0
  171. package/dist/mediaTrack.d.ts +120 -0
  172. package/dist/mediaTrack.d.ts.map +1 -0
  173. package/dist/mediaTrack.js +269 -0
  174. package/dist/mediaTrack.js.map +1 -0
  175. package/dist/midi/cacheKey.d.ts +25 -0
  176. package/dist/midi/cacheKey.d.ts.map +1 -0
  177. package/dist/midi/cacheKey.js +54 -0
  178. package/dist/midi/cacheKey.js.map +1 -0
  179. package/dist/midi/edit.d.ts +48 -0
  180. package/dist/midi/edit.d.ts.map +1 -0
  181. package/dist/midi/edit.js +93 -0
  182. package/dist/midi/edit.js.map +1 -0
  183. package/dist/midi/engines/bl1.d.ts +29 -0
  184. package/dist/midi/engines/bl1.d.ts.map +1 -0
  185. package/dist/midi/engines/bl1.js +128 -0
  186. package/dist/midi/engines/bl1.js.map +1 -0
  187. package/dist/midi/engines/dr1.d.ts +28 -0
  188. package/dist/midi/engines/dr1.d.ts.map +1 -0
  189. package/dist/midi/engines/dr1.js +101 -0
  190. package/dist/midi/engines/dr1.js.map +1 -0
  191. package/dist/midi/engines/dsp.d.ts +126 -0
  192. package/dist/midi/engines/dsp.d.ts.map +1 -0
  193. package/dist/midi/engines/dsp.js +371 -0
  194. package/dist/midi/engines/dsp.js.map +1 -0
  195. package/dist/midi/engines/index.d.ts +13 -0
  196. package/dist/midi/engines/index.d.ts.map +1 -0
  197. package/dist/midi/engines/index.js +13 -0
  198. package/dist/midi/engines/index.js.map +1 -0
  199. package/dist/midi/engines/kits.d.ts +12 -0
  200. package/dist/midi/engines/kits.d.ts.map +1 -0
  201. package/dist/midi/engines/kits.js +121 -0
  202. package/dist/midi/engines/kits.js.map +1 -0
  203. package/dist/midi/engines/wavetables.d.ts +45 -0
  204. package/dist/midi/engines/wavetables.d.ts.map +1 -0
  205. package/dist/midi/engines/wavetables.js +334 -0
  206. package/dist/midi/engines/wavetables.js.map +1 -0
  207. package/dist/midi/engines/wt1.d.ts +30 -0
  208. package/dist/midi/engines/wt1.d.ts.map +1 -0
  209. package/dist/midi/engines/wt1.js +91 -0
  210. package/dist/midi/engines/wt1.js.map +1 -0
  211. package/dist/midi/grid.d.ts +51 -0
  212. package/dist/midi/grid.d.ts.map +1 -0
  213. package/dist/midi/grid.js +104 -0
  214. package/dist/midi/grid.js.map +1 -0
  215. package/dist/midi/index.d.ts +20 -0
  216. package/dist/midi/index.d.ts.map +1 -0
  217. package/dist/midi/index.js +20 -0
  218. package/dist/midi/index.js.map +1 -0
  219. package/dist/midi/instrument.d.ts +32 -0
  220. package/dist/midi/instrument.d.ts.map +1 -0
  221. package/dist/midi/instrument.js +73 -0
  222. package/dist/midi/instrument.js.map +1 -0
  223. package/dist/midi/notes.d.ts +46 -0
  224. package/dist/midi/notes.d.ts.map +1 -0
  225. package/dist/midi/notes.js +121 -0
  226. package/dist/midi/notes.js.map +1 -0
  227. package/dist/midi/notesEdit.d.ts +94 -0
  228. package/dist/midi/notesEdit.d.ts.map +1 -0
  229. package/dist/midi/notesEdit.js +159 -0
  230. package/dist/midi/notesEdit.js.map +1 -0
  231. package/dist/midi/presets.d.ts +29 -0
  232. package/dist/midi/presets.d.ts.map +1 -0
  233. package/dist/midi/presets.js +281 -0
  234. package/dist/midi/presets.js.map +1 -0
  235. package/dist/midi/tempo.d.ts +27 -0
  236. package/dist/midi/tempo.d.ts.map +1 -0
  237. package/dist/midi/tempo.js +57 -0
  238. package/dist/midi/tempo.js.map +1 -0
  239. package/dist/midi/ticks.d.ts +25 -0
  240. package/dist/midi/ticks.d.ts.map +1 -0
  241. package/dist/midi/ticks.js +35 -0
  242. package/dist/midi/ticks.js.map +1 -0
  243. package/dist/midi/voice.d.ts +148 -0
  244. package/dist/midi/voice.d.ts.map +1 -0
  245. package/dist/midi/voice.js +348 -0
  246. package/dist/midi/voice.js.map +1 -0
  247. package/dist/midi/wav.d.ts +14 -0
  248. package/dist/midi/wav.d.ts.map +1 -0
  249. package/dist/midi/wav.js +51 -0
  250. package/dist/midi/wav.js.map +1 -0
  251. package/dist/model3d.d.ts +41 -0
  252. package/dist/model3d.d.ts.map +1 -0
  253. package/dist/model3d.js +39 -0
  254. package/dist/model3d.js.map +1 -0
  255. package/dist/model3dBake.d.ts +80 -0
  256. package/dist/model3dBake.d.ts.map +1 -0
  257. package/dist/model3dBake.js +127 -0
  258. package/dist/model3dBake.js.map +1 -0
  259. package/dist/ops/apply.d.ts +32 -0
  260. package/dist/ops/apply.d.ts.map +1 -0
  261. package/dist/ops/apply.js +1595 -0
  262. package/dist/ops/apply.js.map +1 -0
  263. package/dist/ops/index.d.ts +13 -0
  264. package/dist/ops/index.d.ts.map +1 -0
  265. package/dist/ops/index.js +13 -0
  266. package/dist/ops/index.js.map +1 -0
  267. package/dist/ops/op.d.ts +407 -0
  268. package/dist/ops/op.d.ts.map +1 -0
  269. package/dist/ops/op.js +61 -0
  270. package/dist/ops/op.js.map +1 -0
  271. package/dist/ops/serialize.d.ts +77 -0
  272. package/dist/ops/serialize.d.ts.map +1 -0
  273. package/dist/ops/serialize.js +81 -0
  274. package/dist/ops/serialize.js.map +1 -0
  275. package/dist/ops/types.d.ts +150 -0
  276. package/dist/ops/types.d.ts.map +1 -0
  277. package/dist/ops/types.js +12 -0
  278. package/dist/ops/types.js.map +1 -0
  279. package/dist/pathSampling.d.ts +51 -0
  280. package/dist/pathSampling.d.ts.map +1 -0
  281. package/dist/pathSampling.js +111 -0
  282. package/dist/pathSampling.js.map +1 -0
  283. package/dist/placement/index.d.ts +2 -0
  284. package/dist/placement/index.d.ts.map +1 -0
  285. package/dist/placement/index.js +2 -0
  286. package/dist/placement/index.js.map +1 -0
  287. package/dist/placement/resolveTrackPlacement.d.ts +40 -0
  288. package/dist/placement/resolveTrackPlacement.d.ts.map +1 -0
  289. package/dist/placement/resolveTrackPlacement.js +71 -0
  290. package/dist/placement/resolveTrackPlacement.js.map +1 -0
  291. package/dist/production.d.ts +99 -0
  292. package/dist/production.d.ts.map +1 -0
  293. package/dist/production.js +328 -0
  294. package/dist/production.js.map +1 -0
  295. package/dist/reassemble.d.ts +68 -0
  296. package/dist/reassemble.d.ts.map +1 -0
  297. package/dist/reassemble.js +187 -0
  298. package/dist/reassemble.js.map +1 -0
  299. package/dist/recipe.d.ts +24 -0
  300. package/dist/recipe.d.ts.map +1 -0
  301. package/dist/recipe.js +89 -0
  302. package/dist/recipe.js.map +1 -0
  303. package/dist/recordedVoiceReplacement.d.ts +70 -0
  304. package/dist/recordedVoiceReplacement.d.ts.map +1 -0
  305. package/dist/recordedVoiceReplacement.js +82 -0
  306. package/dist/recordedVoiceReplacement.js.map +1 -0
  307. package/dist/reframe.d.ts +31 -0
  308. package/dist/reframe.d.ts.map +1 -0
  309. package/dist/reframe.js +227 -0
  310. package/dist/reframe.js.map +1 -0
  311. package/dist/render/canvas2d.d.ts +419 -0
  312. package/dist/render/canvas2d.d.ts.map +1 -0
  313. package/dist/render/canvas2d.js +1392 -0
  314. package/dist/render/canvas2d.js.map +1 -0
  315. package/dist/render/color.d.ts +26 -0
  316. package/dist/render/color.d.ts.map +1 -0
  317. package/dist/render/color.js +305 -0
  318. package/dist/render/color.js.map +1 -0
  319. package/dist/render/cpuLegacyEffects.d.ts +17 -0
  320. package/dist/render/cpuLegacyEffects.d.ts.map +1 -0
  321. package/dist/render/cpuLegacyEffects.js +347 -0
  322. package/dist/render/cpuLegacyEffects.js.map +1 -0
  323. package/dist/render/cpuVisualEffects.d.ts +13 -0
  324. package/dist/render/cpuVisualEffects.d.ts.map +1 -0
  325. package/dist/render/cpuVisualEffects.js +388 -0
  326. package/dist/render/cpuVisualEffects.js.map +1 -0
  327. package/dist/render/cubeLut.d.ts +12 -0
  328. package/dist/render/cubeLut.d.ts.map +1 -0
  329. package/dist/render/cubeLut.js +81 -0
  330. package/dist/render/cubeLut.js.map +1 -0
  331. package/dist/render/curveFitting.d.ts +28 -0
  332. package/dist/render/curveFitting.d.ts.map +1 -0
  333. package/dist/render/curveFitting.js +94 -0
  334. package/dist/render/curveFitting.js.map +1 -0
  335. package/dist/render/draw.d.ts +265 -0
  336. package/dist/render/draw.d.ts.map +1 -0
  337. package/dist/render/draw.js +929 -0
  338. package/dist/render/draw.js.map +1 -0
  339. package/dist/render/effects.d.ts +120 -0
  340. package/dist/render/effects.d.ts.map +1 -0
  341. package/dist/render/effects.js +804 -0
  342. package/dist/render/effects.js.map +1 -0
  343. package/dist/render/frameCompositor.d.ts +502 -0
  344. package/dist/render/frameCompositor.d.ts.map +1 -0
  345. package/dist/render/frameCompositor.js +1331 -0
  346. package/dist/render/frameCompositor.js.map +1 -0
  347. package/dist/render/index.d.ts +27 -0
  348. package/dist/render/index.d.ts.map +1 -0
  349. package/dist/render/index.js +27 -0
  350. package/dist/render/index.js.map +1 -0
  351. package/dist/render/layout.d.ts +17 -0
  352. package/dist/render/layout.d.ts.map +1 -0
  353. package/dist/render/layout.js +197 -0
  354. package/dist/render/layout.js.map +1 -0
  355. package/dist/render/model3dBakeSamples.d.ts +45 -0
  356. package/dist/render/model3dBakeSamples.d.ts.map +1 -0
  357. package/dist/render/model3dBakeSamples.js +68 -0
  358. package/dist/render/model3dBakeSamples.js.map +1 -0
  359. package/dist/render/motionBlur.d.ts +170 -0
  360. package/dist/render/motionBlur.d.ts.map +1 -0
  361. package/dist/render/motionBlur.js +193 -0
  362. package/dist/render/motionBlur.js.map +1 -0
  363. package/dist/render/sceneModel.d.ts +577 -0
  364. package/dist/render/sceneModel.d.ts.map +1 -0
  365. package/dist/render/sceneModel.js +1460 -0
  366. package/dist/render/sceneModel.js.map +1 -0
  367. package/dist/render/shapeGeometry.d.ts +81 -0
  368. package/dist/render/shapeGeometry.d.ts.map +1 -0
  369. package/dist/render/shapeGeometry.js +460 -0
  370. package/dist/render/shapeGeometry.js.map +1 -0
  371. package/dist/render/spatial.d.ts +9 -0
  372. package/dist/render/spatial.d.ts.map +1 -0
  373. package/dist/render/spatial.js +58 -0
  374. package/dist/render/spatial.js.map +1 -0
  375. package/dist/render/svgPath.d.ts +80 -0
  376. package/dist/render/svgPath.d.ts.map +1 -0
  377. package/dist/render/svgPath.js +199 -0
  378. package/dist/render/svgPath.js.map +1 -0
  379. package/dist/render/temporal.d.ts +6 -0
  380. package/dist/render/temporal.d.ts.map +1 -0
  381. package/dist/render/temporal.js +74 -0
  382. package/dist/render/temporal.js.map +1 -0
  383. package/dist/render/textLayout.d.ts +159 -0
  384. package/dist/render/textLayout.d.ts.map +1 -0
  385. package/dist/render/textLayout.js +301 -0
  386. package/dist/render/textLayout.js.map +1 -0
  387. package/dist/render/trackEffects.d.ts +23 -0
  388. package/dist/render/trackEffects.d.ts.map +1 -0
  389. package/dist/render/trackEffects.js +93 -0
  390. package/dist/render/trackEffects.js.map +1 -0
  391. package/dist/render/transform.d.ts +54 -0
  392. package/dist/render/transform.d.ts.map +1 -0
  393. package/dist/render/transform.js +222 -0
  394. package/dist/render/transform.js.map +1 -0
  395. package/dist/render/transition.d.ts +109 -0
  396. package/dist/render/transition.d.ts.map +1 -0
  397. package/dist/render/transition.js +351 -0
  398. package/dist/render/transition.js.map +1 -0
  399. package/dist/retarget.d.ts +73 -0
  400. package/dist/retarget.d.ts.map +1 -0
  401. package/dist/retarget.js +305 -0
  402. package/dist/retarget.js.map +1 -0
  403. package/dist/rippleEdit.d.ts +83 -0
  404. package/dist/rippleEdit.d.ts.map +1 -0
  405. package/dist/rippleEdit.js +184 -0
  406. package/dist/rippleEdit.js.map +1 -0
  407. package/dist/scene.d.ts +28 -0
  408. package/dist/scene.d.ts.map +1 -0
  409. package/dist/scene.js +28 -0
  410. package/dist/scene.js.map +1 -0
  411. package/dist/script-link.d.ts +52 -0
  412. package/dist/script-link.d.ts.map +1 -0
  413. package/dist/script-link.js +78 -0
  414. package/dist/script-link.js.map +1 -0
  415. package/dist/script.d.ts +52 -0
  416. package/dist/script.d.ts.map +1 -0
  417. package/dist/script.js +93 -0
  418. package/dist/script.js.map +1 -0
  419. package/dist/snap.d.ts +2 -0
  420. package/dist/snap.d.ts.map +1 -0
  421. package/dist/snap.js +21 -0
  422. package/dist/snap.js.map +1 -0
  423. package/dist/snapping/buildSnapPoints.d.ts +16 -0
  424. package/dist/snapping/buildSnapPoints.d.ts.map +1 -0
  425. package/dist/snapping/buildSnapPoints.js +39 -0
  426. package/dist/snapping/buildSnapPoints.js.map +1 -0
  427. package/dist/snapping/index.d.ts +3 -0
  428. package/dist/snapping/index.d.ts.map +1 -0
  429. package/dist/snapping/index.js +3 -0
  430. package/dist/snapping/index.js.map +1 -0
  431. package/dist/snapping/resolveSnap.d.ts +19 -0
  432. package/dist/snapping/resolveSnap.d.ts.map +1 -0
  433. package/dist/snapping/resolveSnap.js +39 -0
  434. package/dist/snapping/resolveSnap.js.map +1 -0
  435. package/dist/sourceRate.d.ts +12 -0
  436. package/dist/sourceRate.d.ts.map +1 -0
  437. package/dist/sourceRate.js +13 -0
  438. package/dist/sourceRate.js.map +1 -0
  439. package/dist/spatialVideoRequest.d.ts +91 -0
  440. package/dist/spatialVideoRequest.d.ts.map +1 -0
  441. package/dist/spatialVideoRequest.js +175 -0
  442. package/dist/spatialVideoRequest.js.map +1 -0
  443. package/dist/splitClip.d.ts +3 -0
  444. package/dist/splitClip.d.ts.map +1 -0
  445. package/dist/splitClip.js +190 -0
  446. package/dist/splitClip.js.map +1 -0
  447. package/dist/stableSerialize.d.ts +11 -0
  448. package/dist/stableSerialize.d.ts.map +1 -0
  449. package/dist/stableSerialize.js +31 -0
  450. package/dist/stableSerialize.js.map +1 -0
  451. package/dist/staleSet.d.ts +41 -0
  452. package/dist/staleSet.d.ts.map +1 -0
  453. package/dist/staleSet.js +106 -0
  454. package/dist/staleSet.js.map +1 -0
  455. package/dist/storyboard.d.ts +221 -0
  456. package/dist/storyboard.d.ts.map +1 -0
  457. package/dist/storyboard.js +417 -0
  458. package/dist/storyboard.js.map +1 -0
  459. package/dist/subtitles.d.ts +61 -0
  460. package/dist/subtitles.d.ts.map +1 -0
  461. package/dist/subtitles.js +92 -0
  462. package/dist/subtitles.js.map +1 -0
  463. package/dist/takes.d.ts +76 -0
  464. package/dist/takes.d.ts.map +1 -0
  465. package/dist/takes.js +238 -0
  466. package/dist/takes.js.map +1 -0
  467. package/dist/timeRemap.d.ts +101 -0
  468. package/dist/timeRemap.d.ts.map +1 -0
  469. package/dist/timeRemap.js +183 -0
  470. package/dist/timeRemap.js.map +1 -0
  471. package/dist/trackOrder.d.ts +38 -0
  472. package/dist/trackOrder.d.ts.map +1 -0
  473. package/dist/trackOrder.js +54 -0
  474. package/dist/trackOrder.js.map +1 -0
  475. package/dist/transitionAtCut.d.ts +89 -0
  476. package/dist/transitionAtCut.d.ts.map +1 -0
  477. package/dist/transitionAtCut.js +217 -0
  478. package/dist/transitionAtCut.js.map +1 -0
  479. package/dist/trimClip.d.ts +13 -0
  480. package/dist/trimClip.d.ts.map +1 -0
  481. package/dist/trimClip.js +60 -0
  482. package/dist/trimClip.js.map +1 -0
  483. package/dist/types.d.ts +1772 -0
  484. package/dist/types.d.ts.map +1 -0
  485. package/dist/types.js +84 -0
  486. package/dist/types.js.map +1 -0
  487. package/fonts/BebasNeue-Regular.ttf +0 -0
  488. package/fonts/Inter-ExtraBold.ttf +0 -0
  489. package/fonts/Inter-Italic-Variable.ttf +0 -0
  490. package/fonts/Inter-SemiBold.ttf +0 -0
  491. package/fonts/Inter-Variable.ttf +0 -0
  492. package/fonts/JetBrainsMono-Italic-Variable.ttf +0 -0
  493. package/fonts/JetBrainsMono-Variable.ttf +0 -0
  494. package/fonts/Lora-Italic-Variable.ttf +0 -0
  495. package/fonts/Lora-Variable.ttf +0 -0
  496. package/fonts/OFL-BebasNeue.txt +93 -0
  497. package/fonts/OFL-Inter.txt +93 -0
  498. package/fonts/OFL-JetBrainsMono.txt +93 -0
  499. package/fonts/OFL-Lora.txt +93 -0
  500. package/fonts/OFL-PlayfairDisplay.txt +93 -0
  501. package/fonts/OFL-SpaceGrotesk.txt +93 -0
  502. package/fonts/PlayfairDisplay-Italic-Variable.ttf +0 -0
  503. package/fonts/PlayfairDisplay-Variable.ttf +0 -0
  504. package/fonts/SpaceGrotesk-Variable.ttf +0 -0
  505. package/package.json +108 -0
@@ -0,0 +1,577 @@
1
+ /**
2
+ * sceneModel — the single source of truth for "what is on screen at time t".
3
+ *
4
+ * The live preview, the browser's offline exporter, and the server-side
5
+ * `RenderTimeline` node all drive their layer lists from
6
+ * {@link computeActiveLayers}, so an exported video is composited from the
7
+ * exact same scene description the user previewed — 1:1 with live, wherever
8
+ * the render runs.
9
+ *
10
+ * Everything here is pure (no DOM, no GPU, no store access) so it is trivially
11
+ * testable and reusable across every render path.
12
+ */
13
+ import type { ClipCrop, ClipEffect, ClipMask, ClipModel3DStyle, ClipTransform, TimelineCamera2D, TimelineTempo, MediaTrack, TimelineClip, TimelineTrack, TrackEffect } from "../types.js";
14
+ import type { Model3DCameraChannels } from "../model3d.js";
15
+ import type { AnimationSampleMask, ClipAnimation, CompiledAnimation, StaggerUnit } from "../animation/index.js";
16
+ import type { ResolvedCaption, TextRenderStagger } from "./draw.js";
17
+ import { type RenderCanvas } from "./textLayout.js";
18
+ import { type ResolvedTransition } from "./transition.js";
19
+ /** Blend mode a layer composites with. */
20
+ export type CompositorBlendMode = NonNullable<TimelineClip["blendMode"]>;
21
+ /**
22
+ * Top-of-UI track (lowest `track.index`) renders on top in the composite —
23
+ * matches Premiere / Resolve / FCP. The compositor draws layers from low z to
24
+ * high z, so we invert the UI index. The constant offset keeps numbers
25
+ * positive for DOM placeholder z-indices too.
26
+ */
27
+ export declare const LAYER_Z_BASE = 1000;
28
+ export declare const trackZ: (uiIndex: number) => number;
29
+ /**
30
+ * Stacking order for overlays drawn on top of the whole preview frame, above
31
+ * every `trackZ` layer. A local scale (not the global `Z_INDEX`/`theme.zIndex`
32
+ * theme scale, whose `commandMenu` at 9999 means the command palette) — these
33
+ * are top-of-preview chrome, semantically distinct from app-level stacking.
34
+ * The magic-generation wash sits below the corner status badges, which sit
35
+ * below the transform gizmo.
36
+ */
37
+ export declare const PREVIEW_OVERLAY_Z: {
38
+ readonly magicWash: 9998;
39
+ readonly badge: 9999;
40
+ readonly gizmo: 10000;
41
+ };
42
+ /**
43
+ * Max simultaneous video layers. The live preview is bounded by its hot
44
+ * HTMLVideoElement pool; the renderer applies the same cap so the exported
45
+ * frame matches what the preview showed when many video clips overlap.
46
+ */
47
+ export declare const MAX_VIDEO_LAYERS = 8;
48
+ /**
49
+ * Max simultaneous live 3D layers. Each one holds its own WebGL context in the
50
+ * browser and its own scene in the headless renderer, and browsers allow only
51
+ * about sixteen contexts per page across the whole editor (R2). A baked 3D clip
52
+ * plays as video and costs a decode slot instead, so it is not counted here.
53
+ */
54
+ export declare const MAX_MODEL3D_LAYERS = 2;
55
+ export declare function isClipActive(clip: TimelineClip, currentTimeMs: number): boolean;
56
+ /**
57
+ * Opacity multiplier for a clip's incoming transition given the playhead.
58
+ *
59
+ * On the same track the later-starting clip composites on top, so a dissolve is
60
+ * just the incoming clip fading in over the one beneath it — the outgoing clip
61
+ * stays fully opaque (fading it too would bleed the black seed through).
62
+ *
63
+ * - `transitionIn` unset → **auto**: fade in across the overlap with a preceding
64
+ * same-track clip (the overlap length is the duration). No overlap → 1.
65
+ * - `transitionIn` set with `durationMs > 0` → explicit ramp over that window
66
+ * from the clip's start (independent of overlap; also gives fade-from-black
67
+ * for a clip with nothing beneath it).
68
+ * - `durationMs <= 0` → opt-out: a zero-length transition is a hard cut, so 1
69
+ * even when the clips overlap.
70
+ *
71
+ * The incoming half of {@link resolveTransition}, kept as its own name because
72
+ * "how visible is this clip mid-dissolve" is the question every caller outside
73
+ * the compositors asks.
74
+ *
75
+ * `sameTrackClips` must already be filtered to clip's track.
76
+ */
77
+ export declare function crossfadeOpacity(clip: TimelineClip, sameTrackClips: TimelineClip[], currentTimeMs: number): number;
78
+ /** The asset id that should be drawn for a clip in its current status. */
79
+ export declare function effectiveAssetId(clip: TimelineClip): string | undefined;
80
+ /**
81
+ * The source-media time (seconds) a clip's video element should display at
82
+ * timeline position `currentTimeMs`. Honors the clip's in-point and speed
83
+ * (unless the speed change is already baked into the asset). Shared by the
84
+ * live preview's seek scheduling and the renderer's deterministic seeking so
85
+ * the same frame is shown in both.
86
+ *
87
+ * A clip carrying a `timeRemap` reads its source position off that curve
88
+ * instead (D13): the keyframes name absolute source milliseconds, so neither
89
+ * the rate nor the in-point applies on top of them.
90
+ *
91
+ * Delegates to `clipSourceMsAt` (`timeRemap.ts`) — the same source time a
92
+ * source-anchored custom animation is sampled at — so this and the animation
93
+ * sampler can't drift into disagreeing about what "now" is on the clip's
94
+ * media clock.
95
+ */
96
+ export declare function clipSourceTimeSec(clip: TimelineClip, currentTimeMs: number): number;
97
+ /**
98
+ * The time a **baked** `model3d` clip's video is seeked to (design §D6, time
99
+ * origin). A bake is the clip's evaluated picture rendered from its own first
100
+ * frame, so it plays from 0 however the clip is trimmed, sped up or reversed:
101
+ * the seek is clip-local time and nothing else.
102
+ */
103
+ export declare function bakedClipSourceTimeSec(clip: TimelineClip, currentTimeMs: number): number;
104
+ /**
105
+ * Resolve a clip's caption to its on-screen word state at `currentTimeMs`.
106
+ * Returns `undefined` for clips that carry no caption. Word timings are
107
+ * clip-local (relative to `clip.startMs`), so moving or splitting the clip
108
+ * needs no rewrite of the words.
109
+ */
110
+ export declare function resolveCaptionAtTime(clip: TimelineClip, currentTimeMs: number): ResolvedCaption | undefined;
111
+ /**
112
+ * A group clip resolved at one point in time (D4). A group carries no media:
113
+ * it exists so the clips naming it with `parentId` inherit one transform, one
114
+ * opacity and one window.
115
+ */
116
+ export interface ResolvedGroup {
117
+ /**
118
+ * The group's clip-space matrix, with its own ancestors already composed in.
119
+ * Absent when the caller supplied no canvas — a transform is expressed
120
+ * against the sequence resolution, so there is no matrix without one.
121
+ */
122
+ matrix?: Float32Array;
123
+ /**
124
+ * The opacity a child of this group inherits, its ancestors' already
125
+ * multiplied in. A precompositing group hands its children 1 and applies its
126
+ * own opacity once, when the composed surface blends.
127
+ */
128
+ opacity: number;
129
+ /** Absolute timeline window children are clipped to (`[startMs, endMs)`). */
130
+ window: {
131
+ startMs: number;
132
+ endMs: number;
133
+ };
134
+ /**
135
+ * Set when the group's parent chain loops back on itself. The chain is
136
+ * refused rather than followed: every group on it resolves as if it had no
137
+ * parent, so a cyclic document renders instead of hanging. The validator
138
+ * reports it as `parent_cycle`.
139
+ */
140
+ cycle?: boolean;
141
+ /**
142
+ * The intermediate surface a child of this group draws into: this group's own
143
+ * id when it precomposites, otherwise whatever its parent named. Absent when
144
+ * no group on the chain precomposites — the ordinary path, where children go
145
+ * straight onto the main stack.
146
+ */
147
+ surfaceId?: string;
148
+ /** Set when this group composites its children before blending them. */
149
+ precomposite?: GroupPrecomposite;
150
+ /** The parent matrix already includes the scene camera. */
151
+ cameraApplied?: boolean;
152
+ }
153
+ /** How a precompositing group's composed surface blends into what is beneath. */
154
+ export interface GroupPrecomposite {
155
+ /** The group's opacity, ancestor opacity and transition ramp applied once. */
156
+ opacity: number;
157
+ blendMode: CompositorBlendMode;
158
+ /** The group's effect chain, run once on the composed surface. */
159
+ effects?: ClipEffect[];
160
+ /** The cut applied once to the composed group picture. */
161
+ transition?: ResolvedTransition;
162
+ /**
163
+ * The surface this one blends into, when a precompositing group holds this
164
+ * group. Absent when it blends onto the frame.
165
+ */
166
+ parentSurfaceId?: string;
167
+ }
168
+ /**
169
+ * Whether a group has to composite its children into an intermediate surface
170
+ * before they blend.
171
+ *
172
+ * An effect and a non-normal blend mode must run once on the composed picture.
173
+ * A transition also needs one surface so its geometry and coverage apply to
174
+ * the assembly, not each child. Opacity alone does not require a surface.
175
+ *
176
+ * An adjustment child treats the composite of the siblings beneath it, and
177
+ * "the siblings" only exists as a picture once the
178
+ * group has a surface of its own. Without it the adjustment would reach the
179
+ * whole frame below the group, which is not what putting it inside says.
180
+ */
181
+ export declare function groupNeedsPrecomposite(group: TimelineClip, holdsAdjustment?: boolean, hasTransition?: boolean): boolean;
182
+ /** Every group clip in a document, resolved. Keyed by clip id. */
183
+ export type ResolvedGroups = Map<string, ResolvedGroup>;
184
+ /**
185
+ * Resolve every group clip at `currentTimeMs`, parents before children.
186
+ *
187
+ * A group may itself name a parent, so each one is resolved by walking its
188
+ * parent chain up to the first ancestor already resolved (or to a clip that is
189
+ * not a group), then folding back down: matrices compose `parent × own`,
190
+ * opacities multiply, windows intersect. Resolution is independent of tracks —
191
+ * a group parents by id, and I9 keeps z-order the child's own track's.
192
+ *
193
+ * A chain that revisits a group it already walked is a cycle. It is refused,
194
+ * not followed: every group on that chain resolves unparented and carries
195
+ * `cycle`, which is what stops this from recursing forever on a document that
196
+ * names a parent in a loop.
197
+ */
198
+ export declare function resolveGroups(clips: readonly TimelineClip[], currentTimeMs: number, canvas?: RenderCanvas, cache?: AnimationCompileCache, tempo?: TimelineTempo, transitions?: ReadonlyMap<string, ResolvedTransition>, camera?: TimelineCamera2D | null): ResolvedGroups;
199
+ /** Channels of a matte source that can drive a layer's alpha (D6). */
200
+ export declare const MATTE_MODES: readonly ["alpha", "luma"];
201
+ export type MatteMode = (typeof MATTE_MODES)[number];
202
+ /**
203
+ * Narrow a document's matte `mode` to one this build applies, or `null` for one
204
+ * it does not — which the scene model leaves unmatted, the way an unknown
205
+ * transition type falls back to a cross-fade (I2).
206
+ */
207
+ export declare function parseMatteMode(mode: string): MatteMode | null;
208
+ /** A track matte resolved at one point in time: the source layer and how to read it. */
209
+ export interface ResolvedMatte {
210
+ mode: MatteMode;
211
+ invert: boolean;
212
+ /**
213
+ * The matte source, resolved exactly as if it were drawing itself. A
214
+ * compositor renders it to its own surface and reads the named channel out
215
+ * of it; it never reaches the frame.
216
+ */
217
+ layer: ActiveLayer;
218
+ /**
219
+ * Multiplies the matte's alpha, so 0.5 lets half of what the matte hides
220
+ * back through. Absent means 1. Only a generated matte carries it.
221
+ */
222
+ strength?: number;
223
+ /**
224
+ * Softens the matte's edge by this many pixels before it is applied. Absent
225
+ * means a hard edge. GPU only: Canvas 2D draws it hard and reports
226
+ * `generated_matte_feather_ignored`.
227
+ */
228
+ featherPx?: number;
229
+ }
230
+ /** A visual layer active at a point in time, in bottom-to-top composite order. */
231
+ export interface ActiveLayer {
232
+ kind: "video" | "image" | "text" | "shape" | "caption" | "model3d";
233
+ clip: TimelineClip;
234
+ clipId: string;
235
+ trackIndex: number;
236
+ /** Bottom-to-top order among clips and group surfaces on this track. */
237
+ stackOrder?: number;
238
+ blendMode: CompositorBlendMode;
239
+ /** Final opacity including the clip base opacity and any transition ramp. */
240
+ opacity: number;
241
+ /** Parent and transition coverage retained when an opacity link replaces the clip's own opacity. */
242
+ opacityCoverage?: number;
243
+ /** Asset to draw, or undefined when the clip has no usable render yet. */
244
+ assetId: string | undefined;
245
+ transform?: ClipTransform;
246
+ camera2d?: TimelineCamera2D | null;
247
+ /**
248
+ * The resolved matrix of the group this clip names with `parentId`, or
249
+ * absent when it names none. A compositor passes it to
250
+ * `buildTransformMatrix` as the parent of this layer's own transform; the
251
+ * layer's `opacity` already has the group's folded in.
252
+ */
253
+ parentMatrix?: Float32Array;
254
+ /**
255
+ * The intermediate surface this layer draws into instead of the main stack,
256
+ * named by the precompositing group that owns it. Absent on every layer of a
257
+ * document whose groups carry no effects and no blend mode, which is the
258
+ * path that allocates nothing.
259
+ */
260
+ precomposeGroupId?: string;
261
+ borderRadius?: number;
262
+ /**
263
+ * The part of the source this layer draws (D2's sibling for framing): the
264
+ * crop is taken before anything else reads the pixels, so the contain fit,
265
+ * the transform, the border radius and the effect chain all see the cropped
266
+ * rectangle as the layer's whole picture. Never set on a caption layer, which
267
+ * composites frame-sized and untransformed and so has no source to crop.
268
+ */
269
+ crop?: ClipCrop;
270
+ effects?: ClipEffect[];
271
+ trackEffects?: TrackEffect[];
272
+ /** Present only when `kind === "caption"`: the words to draw this frame. */
273
+ caption?: ResolvedCaption;
274
+ /** Present only when `kind === "text"`: authored text to rasterize. */
275
+ textStyle?: TimelineClip["textStyle"];
276
+ /** Present only when `kind === "shape"`: authored geometry to rasterize. */
277
+ shapeStyle?: TimelineClip["shapeStyle"];
278
+ /**
279
+ * Present only when `kind === "model3d"`: the camera, lighting, background
280
+ * and animation selection the glTF is drawn with. The camera still has to be
281
+ * folded with the sampled channels — `resolveModel3DCamera` is that fold, and
282
+ * every host calls it rather than reading `model3dStyle.camera` directly.
283
+ */
284
+ model3dStyle?: ClipModel3DStyle;
285
+ /**
286
+ * Present only when `kind === "model3d"`: the glTF animation's own clock in
287
+ * seconds — the clip's source time (in point, speed, time remap) times
288
+ * `animation.speed` (D3). Trimming a 3D clip hides animation the way it hides
289
+ * video, and a reversed remap plays it backwards.
290
+ */
291
+ sourceTimeSec?: number;
292
+ /**
293
+ * Present only on the `video` layer a **baked** `model3d` clip emits: the
294
+ * time to seek the bake to, in seconds. A bake is the clip's evaluated
295
+ * picture, so its first frame is the clip's first frame however the clip is
296
+ * trimmed or retimed — every decoder seeks by this field when it is set,
297
+ * instead of `clipSourceTimeSec` (D6, time origin).
298
+ */
299
+ bakeSourceTimeSec?: number;
300
+ /**
301
+ * The clip's shape mask, in this layer's own normalized space, applied
302
+ * before it blends (D6). Never set on a caption layer, which composites
303
+ * frame-sized and untransformed and so has no layer space to mask in.
304
+ */
305
+ shapeMask?: ClipMask;
306
+ /**
307
+ * The track matte driving this layer's alpha, with the source clip already
308
+ * resolved to its own layer. The source is not in {@link
309
+ * ActiveLayersResult.layers}: a matte source never draws itself.
310
+ */
311
+ matte?: ResolvedMatte;
312
+ /**
313
+ * The cut this layer is part of, and which side of it the layer is on. The
314
+ * opacity it names is already folded into {@link ActiveLayer.opacity}; the
315
+ * rest — a scale, a frame-relative offset, a reveal mask, the solid a
316
+ * `dipToColor` fades through — is what the compositors draw with, so both
317
+ * express one cut the same way.
318
+ */
319
+ transition?: ResolvedTransition;
320
+ }
321
+ export interface ComputeActiveLayersOptions {
322
+ /** Cap on simultaneous video layers. Defaults to {@link MAX_VIDEO_LAYERS}. */
323
+ maxVideoLayers?: number;
324
+ /**
325
+ * The sequence's own resolution (and its text metrics), the space a group's
326
+ * transform and animations are authored in. Every render host passes the
327
+ * canvas it already samples animations against. Without it a group's
328
+ * transform cannot become a matrix, so children compose unparented — their
329
+ * window still clips them and the group's opacity still multiplies.
330
+ */
331
+ canvas?: RenderCanvas;
332
+ camera2d?: TimelineCamera2D | null;
333
+ /** Compile cache for the group clips' own animations. */
334
+ animationCache?: AnimationCompileCache;
335
+ tempo?: TimelineTempo;
336
+ /** Per-clip shutter clock used for active-window membership. */
337
+ layerTimeMs?: (clip: TimelineClip) => number;
338
+ /**
339
+ * The live bake hash of a `model3d` clip — `computeModel3DBakeHash` from
340
+ * `@nodetool-ai/timeline/dependencyHash`, which this module cannot call
341
+ * itself: it is built on `node:crypto` and the scene model is bundled for
342
+ * the browser.
343
+ *
344
+ * A clip whose stored `model3dStyle.bake.dependencyHash` equals what this
345
+ * returns plays its bake as a video layer; on any mismatch — and for a host
346
+ * that supplies no resolver at all — the live 3D layer draws instead. A bake
347
+ * is never played on the strength of not having checked it (D6).
348
+ */
349
+ model3dBakeHash?: (clip: TimelineClip) => string | undefined;
350
+ /**
351
+ * The document's subject/object tracks (P0 AI Video, Phase 2), so a clip
352
+ * carrying a `trackBinding` resolves against them. Absent means no host
353
+ * data was supplied — every bound clip then resolves as unbound, the same
354
+ * as a host that predates `mediaTracks` reading a document that has none.
355
+ */
356
+ mediaTracks?: MediaTrack[];
357
+ }
358
+ /** Why a clip that was active at the query time contributed no layer. */
359
+ export type DroppedLayerReason = "video_layer_cap"
360
+ /**
361
+ * More live 3D clips are active than {@link MAX_MODEL3D_LAYERS}. Each one
362
+ * costs a renderer context, so the extras are named rather than drawn (R2).
363
+ */
364
+ | "model3d_layer_cap"
365
+ /**
366
+ * The clip is matted by a source that draws nothing at this time, so the
367
+ * matte is empty and so is the layer. Reported rather than silently omitted:
368
+ * a matted layer that vanishes for part of a cut is otherwise indistinguishable
369
+ * from one that was never wired up.
370
+ */
371
+ | "matte_source_inactive";
372
+ /** A clip the scene model resolved and then left out of the composite. */
373
+ export interface DroppedLayer {
374
+ clipId: string;
375
+ reason: DroppedLayerReason;
376
+ }
377
+ /**
378
+ * Result of {@link computeActiveLayersWithHorizon}: the resolved layers plus
379
+ * the change horizon (see that function for what the horizon means).
380
+ */
381
+ /**
382
+ * One precompositing group's composed surface, as a layer of the frame.
383
+ *
384
+ * Every layer naming this group's `clipId` in `precomposeGroupId` draws into
385
+ * the surface instead of onto the main stack; the surface then blends once,
386
+ * here, with the group's own opacity, blend mode and effect chain.
387
+ */
388
+ export interface PrecompositeLayer {
389
+ /** The group clip's id. Keys the intermediate surface. */
390
+ clipId: string;
391
+ /** The group clip's own track — the z the surface blends at (I9). */
392
+ trackIndex: number;
393
+ /** Bottom-to-top order among clips and group surfaces on this track. */
394
+ stackOrder?: number;
395
+ /** The group's opacity, ancestor opacity and transition ramp applied once. */
396
+ opacity: number;
397
+ blendMode: CompositorBlendMode;
398
+ /** Run once on the composed surface, not once per child. */
399
+ effects?: ClipEffect[];
400
+ /** The group cut, applied once after its children have composed. */
401
+ transition?: ResolvedTransition;
402
+ /** Set when a precompositing group holds this one: the surface it draws into. */
403
+ precomposeGroupId?: string;
404
+ }
405
+ /**
406
+ * An adjustment clip resolved at one point in time: a treatment of the picture
407
+ * beneath it, not a picture of its own (T24).
408
+ *
409
+ * A compositor runs this at `trackIndex`'s z, on whatever the surface holds by
410
+ * then — every layer on a track with a higher index, plus any layer at the same
411
+ * z already drawn. It takes that composite, runs {@link effects} on it, and
412
+ * mixes the treated result into the untreated one by {@link opacity}: 1 is
413
+ * fully treated — the treatment replacing what it covers, alpha included — and
414
+ * 0 a no-op. So stacked adjustments apply bottom-up on their
415
+ * own, without either compositor deciding anything — the higher one simply
416
+ * finds the lower one's result already on the surface.
417
+ *
418
+ * The record only exists when the chain has something enabled in it. An
419
+ * adjustment with no effects treats nothing, so it costs no surface.
420
+ */
421
+ export interface AdjustmentLayer {
422
+ clip: TimelineClip;
423
+ clipId: string;
424
+ /** The adjustment's own track — the z its treatment runs at (I9). */
425
+ trackIndex: number;
426
+ /** How much of the treated composite is kept, 0..1. */
427
+ opacity: number;
428
+ /**
429
+ * The chain to run on the composite below, the clip's animated effect
430
+ * channels already folded in by `resolveAnimatedLayerProps` — so a keyframed
431
+ * saturation treats the frame the way a keyframed one grades a layer.
432
+ *
433
+ * The clip's own effects only: a track effect grades the pictures on that
434
+ * track, and an adjustment has none. Inheriting it would grade everything
435
+ * below the adjustment as a side effect of which track it was dropped on.
436
+ */
437
+ effects: ClipEffect[];
438
+ /**
439
+ * Where the treatment lands, in the treated surface's normalized space (the
440
+ * frame, or the group's surface). Absent treats all of it.
441
+ */
442
+ mask?: ClipMask;
443
+ /** An animated wipe limiting the treatment, exactly as it limits a layer. */
444
+ wipe?: AnimationSampleMask;
445
+ /**
446
+ * The intermediate surface this adjustment treats, named by the group that
447
+ * holds it. Absent when it treats the frame — the ordinary case.
448
+ */
449
+ precomposeGroupId?: string;
450
+ }
451
+ export interface ActiveLayersResult {
452
+ layers: ActiveLayer[];
453
+ /**
454
+ * The adjustment clips active at the query time, each naming the surface it
455
+ * treats and the z it treats at. Empty unless the document has one, so a
456
+ * host that never saw an adjustment allocates nothing new.
457
+ */
458
+ adjustments: AdjustmentLayer[];
459
+ /**
460
+ * The groups that composite their children before blending, innermost first
461
+ * — so a host can build each surface in array order and always find a nested
462
+ * one already finished. Empty unless a group carries effects, a blend mode,
463
+ * a transition, or an adjustment child.
464
+ */
465
+ precomposites: PrecompositeLayer[];
466
+ /**
467
+ * Clips active at the query time that the scene model refused to draw. The
468
+ * layer cap used to discard them with a bare `continue`, so a frame quietly
469
+ * lost a layer and no host could say which one. Every caller that reports
470
+ * what it drew reports these beside it.
471
+ */
472
+ droppedLayers: DroppedLayer[];
473
+ /**
474
+ * The minimum time (ms), strictly greater than the query `currentTimeMs`,
475
+ * at which the resolved layer set OR any layer's active caption word could
476
+ * change. `Number.POSITIVE_INFINITY` when nothing upcoming would change it.
477
+ * Callers may treat `layers` as valid for any query time in
478
+ * `[currentTimeMs, nextChangeMs)` without recomputing.
479
+ */
480
+ nextChangeMs: number;
481
+ }
482
+ export declare function computeActiveLayersWithHorizon(tracks: TimelineTrack[], clips: TimelineClip[], currentTimeMs: number, options?: ComputeActiveLayersOptions): ActiveLayersResult;
483
+ /**
484
+ * {@link computeActiveLayersWithHorizon}, discarding the change horizon. Kept
485
+ * as the stable entry point for callers that only need the layer set (the
486
+ * offline renderer, tests) — its signature must stay a plain `ActiveLayer[]`
487
+ * return.
488
+ */
489
+ export declare function computeActiveLayers(tracks: TimelineTrack[], clips: TimelineClip[], currentTimeMs: number, options?: ComputeActiveLayersOptions): ActiveLayer[];
490
+ /**
491
+ * The animated transform/opacity a layer should render with at a point in time.
492
+ * Composed from the layer's static `transform`/`opacity` and its animation
493
+ * sample. Identical fields to the layer when it has no active animation.
494
+ */
495
+ export interface AnimatedLayerProps extends Model3DCameraChannels {
496
+ transform?: ClipTransform;
497
+ opacity: number;
498
+ borderRadius?: number;
499
+ /** Wipe mask to apply in the compositor. Absent means unmasked. */
500
+ mask?: AnimationSampleMask;
501
+ /**
502
+ * Effects to feed the compositor's per-layer effect pre-pass: the clip's
503
+ * static `effects` with any animated blur and grade channels composed in.
504
+ * Equal to the clip's own `effects` when no effect animation is active.
505
+ */
506
+ effects?: ClipEffect[];
507
+ /**
508
+ * The clip's `shapeStyle` with any animated `trimStart`/`trimEnd` applied.
509
+ * Equal to the clip's own when neither is driven. The shape rasterizer does
510
+ * not read the trim range yet, so today this is carried, not drawn.
511
+ */
512
+ shapeStyle?: TimelineClip["shapeStyle"];
513
+ textStyle?: TimelineClip["textStyle"];
514
+ clipMask?: ClipMask;
515
+ }
516
+ interface CompileCacheEntry {
517
+ /** The `animations` array reference this entry was compiled from. */
518
+ animationsRef: ClipAnimation[];
519
+ /** Recompile when the clip is trimmed (window math depends on duration). */
520
+ durationMs: number;
521
+ canvasW: number;
522
+ canvasH: number;
523
+ /** The unit the clip's staggers were counted in. */
524
+ staggerUnit: StaggerUnit;
525
+ /** Unit count of a text clip (stagger span math depends on it). 0 otherwise. */
526
+ staggerCount: number;
527
+ beatSignature: string;
528
+ compiled: CompiledAnimation[];
529
+ }
530
+ /**
531
+ * Per-clip memoized compilation so the rAF loop never compiles. Invalidated
532
+ * when the clip's `animations` array reference, its duration, or the canvas
533
+ * size changes. Keyed by clip id.
534
+ */
535
+ export type AnimationCompileCache = Map<string, CompileCacheEntry>;
536
+ export declare function createAnimationCompileCache(): AnimationCompileCache;
537
+ /**
538
+ * The unit a clip's staggered animations are timed and drawn in, and how many
539
+ * of it the clip's text holds. A clip lays out in ONE unit — the rasterizer
540
+ * walks a single list — so the first enabled animation naming a unit this
541
+ * build knows decides it, and the compiler drops a stagger declaring another.
542
+ *
543
+ * Non-text clips and clips with no stagger count zero, which is how a stagger
544
+ * config stays a no-op outside text.
545
+ */
546
+ export declare function clipStaggerCount(clip: TimelineClip, canvas: RenderCanvas): {
547
+ unit: StaggerUnit;
548
+ count: number;
549
+ };
550
+ /** Document context needed to resolve a clip's source-time track binding. */
551
+ export interface RenderTrackingContext {
552
+ mediaTracks: readonly MediaTrack[];
553
+ clips: readonly TimelineClip[];
554
+ tempo?: TimelineTempo;
555
+ }
556
+ export declare function resolveAnimatedLayerProps(layer: {
557
+ clip: TimelineClip;
558
+ transform?: ClipTransform;
559
+ opacity: number;
560
+ opacityCoverage?: number;
561
+ camera2d?: TimelineCamera2D | null;
562
+ }, currentTimeMs: number, canvas: RenderCanvas, cache?: AnimationCompileCache, tracking?: RenderTrackingContext): AnimatedLayerProps;
563
+ /**
564
+ * Resolve the stagger context for a text layer at `currentTimeMs`, or `null`
565
+ * when the clip has no staggered animation. Shared by the live preview, the
566
+ * export renderer, and the agent frame harness so per-word motion is drawn
567
+ * from one code path (preview == export).
568
+ */
569
+ export declare function resolveTextStaggerContext(clip: TimelineClip, currentTimeMs: number, canvas: RenderCanvas, cache?: AnimationCompileCache, tempo?: TimelineTempo): TextRenderStagger | null;
570
+ /**
571
+ * True when any active layer has an animation whose window covers
572
+ * `currentTimeMs`. The live preview uses this to keep redrawing every rAF tick
573
+ * while motion is in flight, even though the cached layer *set* is unchanged.
574
+ */
575
+ export declare function hasActiveAnimation(layers: ActiveLayer[], currentTimeMs: number, canvas: RenderCanvas, cache?: AnimationCompileCache, clips?: readonly TimelineClip[], tempo?: TimelineTempo): boolean;
576
+ export {};
577
+ //# sourceMappingURL=sceneModel.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"sceneModel.d.ts","sourceRoot":"","sources":["../../src/render/sceneModel.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;GAWG;AAEH,OAAO,KAAK,EACV,QAAQ,EACR,UAAU,EACV,QAAQ,EACR,gBAAgB,EAChB,aAAa,EACb,gBAAgB,EAChB,aAAa,EACb,UAAU,EACV,YAAY,EACZ,aAAa,EACb,WAAW,EACZ,MAAM,aAAa,CAAC;AAIrB,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,eAAe,CAAC;AAC3D,OAAO,KAAK,EAEV,mBAAmB,EACnB,aAAa,EACb,iBAAiB,EACjB,WAAW,EACZ,MAAM,uBAAuB,CAAC;AAY/B,OAAO,KAAK,EAAE,eAAe,EAAE,iBAAiB,EAAE,MAAM,WAAW,CAAC;AACpE,OAAO,EAAyB,KAAK,YAAY,EAAE,MAAM,iBAAiB,CAAC;AAK3E,OAAO,EAAqB,KAAK,kBAAkB,EAAE,MAAM,iBAAiB,CAAC;AAK7E,0CAA0C;AAC1C,MAAM,MAAM,mBAAmB,GAAG,WAAW,CAAC,YAAY,CAAC,WAAW,CAAC,CAAC,CAAC;AAEzE;;;;;GAKG;AACH,eAAO,MAAM,YAAY,OAAO,CAAC;AACjC,eAAO,MAAM,MAAM,YAAa,MAAM,KAAG,MAAgC,CAAC;AAE1E;;;;;;;GAOG;AACH,eAAO,MAAM,iBAAiB;aAC5B,SAAS,EAAE,IAAI;aACf,KAAK,EAAE,IAAI;aACX,KAAK,EAAE,KAAK;CACJ,CAAC;AAWX;;;;GAIG;AACH,eAAO,MAAM,gBAAgB,IAAI,CAAC;AAElC;;;;;GAKG;AACH,eAAO,MAAM,kBAAkB,IAAI,CAAC;AAEpC,wBAAgB,YAAY,CAC1B,IAAI,EAAE,YAAY,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