@clipwright/core 0.59.0 → 0.61.0

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 (586) hide show
  1. package/dist/account-actors.d.ts +0 -43
  2. package/dist/account-actors.js +0 -55
  3. package/dist/account.d.ts +0 -6
  4. package/dist/account.js +0 -18
  5. package/dist/actor-bounds.d.ts +0 -5
  6. package/dist/actor-bounds.js +0 -6
  7. package/dist/actor-qualities.d.ts +0 -3
  8. package/dist/actor-qualities.js +0 -4
  9. package/dist/actors.d.ts +0 -16
  10. package/dist/actors.js +0 -21
  11. package/dist/ad-guide.js +0 -2
  12. package/dist/ad-pause-trim.d.ts +0 -5
  13. package/dist/ad-pause-trim.js +0 -8
  14. package/dist/api-failure.d.ts +0 -44
  15. package/dist/api-failure.js +0 -62
  16. package/dist/aspect.d.ts +0 -29
  17. package/dist/aspect.js +1 -34
  18. package/dist/asset-identity.d.ts +0 -2
  19. package/dist/asset-identity.js +0 -3
  20. package/dist/assets.d.ts +0 -34
  21. package/dist/assets.js +0 -42
  22. package/dist/billing-terms.d.ts +6 -3
  23. package/dist/billing-terms.js +0 -4
  24. package/dist/brand-styles.d.ts +0 -6
  25. package/dist/brand-styles.js +0 -13
  26. package/dist/broll-policy.js +0 -1
  27. package/dist/canvas-fit.d.ts +0 -2
  28. package/dist/canvas-fit.js +0 -4
  29. package/dist/caption-funnel.d.ts +0 -2
  30. package/dist/caption-funnel.js +0 -15
  31. package/dist/caption-geometry.d.ts +0 -6
  32. package/dist/caption-geometry.js +0 -10
  33. package/dist/caption-language.d.ts +0 -3
  34. package/dist/caption-language.js +0 -6
  35. package/dist/contract-dispositions.d.ts +0 -61
  36. package/dist/contract-dispositions.js +3 -96
  37. package/dist/contracts/v1/workflow-brief.d.ts +61 -3
  38. package/dist/contracts/v1/workflow-brief.js +0 -13
  39. package/dist/contracts/v1/workflow-catalog.d.ts +118 -0
  40. package/dist/contracts/v1/workflow-catalog.js +0 -3
  41. package/dist/contracts/v1/workflow-client.d.ts +116 -0
  42. package/dist/contracts/v1/workflow-client.js +0 -1
  43. package/dist/contracts/v1/workflow-dto.js +0 -1
  44. package/dist/contracts/v1/workflow-evidence.js +0 -1
  45. package/dist/contracts/v1/workflow-execution.d.ts +47 -1
  46. package/dist/contracts/v1/workflow-execution.js +0 -4
  47. package/dist/contracts/v1/workflow-next.d.ts +13 -2
  48. package/dist/contracts/v1/workflow-next.js +0 -3
  49. package/dist/contracts/v1/workflow-plan.d.ts +177 -0
  50. package/dist/contracts/v1/workflow-plan.js +0 -1
  51. package/dist/contracts/v1/workflow-primitives.d.ts +0 -1
  52. package/dist/contracts/v1/workflow-primitives.js +0 -2
  53. package/dist/contracts/v1/workflow-run-read.d.ts +15 -1
  54. package/dist/contracts/v1/workflow-run-read.js +0 -3
  55. package/dist/creator-profile.d.ts +0 -30
  56. package/dist/creator-profile.js +0 -45
  57. package/dist/default-actor.js +0 -2
  58. package/dist/design.d.ts +0 -17
  59. package/dist/design.js +0 -18
  60. package/dist/edit-billing.d.ts +0 -6
  61. package/dist/edit-billing.js +0 -10
  62. package/dist/edit-candidate.d.ts +0 -6
  63. package/dist/edit-candidate.js +0 -9
  64. package/dist/edit-document.d.ts +0 -12
  65. package/dist/edit-document.js +0 -15
  66. package/dist/edit-faceless.d.ts +0 -3
  67. package/dist/edit-faceless.js +0 -4
  68. package/dist/edit-long-form.d.ts +0 -13
  69. package/dist/edit-long-form.js +0 -17
  70. package/dist/edit-operations.d.ts +0 -1
  71. package/dist/edit-operations.js +0 -2
  72. package/dist/edit-primitives.d.ts +0 -3
  73. package/dist/edit-primitives.js +0 -5
  74. package/dist/edit-revision.d.ts +0 -4
  75. package/dist/edit-revision.js +0 -6
  76. package/dist/edit-rules.d.ts +0 -3
  77. package/dist/edit-rules.js +0 -9
  78. package/dist/edit-shots.d.ts +45 -5
  79. package/dist/edit-shots.js +7 -11
  80. package/dist/edit-validate.d.ts +0 -10
  81. package/dist/edit-validate.js +0 -14
  82. package/dist/edit.js +0 -3
  83. package/dist/endpoint-notes.d.ts +0 -2
  84. package/dist/endpoint-notes.js +0 -3
  85. package/dist/endpoints.d.ts +0 -11
  86. package/dist/endpoints.js +7 -21
  87. package/dist/errors.d.ts +0 -42
  88. package/dist/errors.js +0 -54
  89. package/dist/explainer-fit.d.ts +0 -7
  90. package/dist/explainer-fit.js +0 -10
  91. package/dist/face-billing.d.ts +29 -11
  92. package/dist/face-billing.js +6 -25
  93. package/dist/face-delivery.d.ts +0 -1
  94. package/dist/face-delivery.js +0 -2
  95. package/dist/faceless-action-shots.d.ts +0 -8
  96. package/dist/faceless-action-shots.js +0 -8
  97. package/dist/faceless-customer-anchors.d.ts +0 -1
  98. package/dist/faceless-customer-anchors.js +0 -2
  99. package/dist/faceless-cut-style.js +0 -1
  100. package/dist/faceless-direction-summary.d.ts +27 -0
  101. package/dist/faceless-direction-summary.js +8 -0
  102. package/dist/faceless-image-placement.d.ts +0 -2
  103. package/dist/faceless-image-placement.js +0 -3
  104. package/dist/faceless-image-qualification.js +0 -2
  105. package/dist/faceless-media-record.d.ts +0 -6
  106. package/dist/faceless-media-record.js +0 -11
  107. package/dist/faceless-price.d.ts +40 -35
  108. package/dist/faceless-price.js +35 -49
  109. package/dist/faceless-public-plan.d.ts +0 -13
  110. package/dist/faceless-public-plan.js +0 -11
  111. package/dist/faceless-public.d.ts +63 -22
  112. package/dist/faceless-public.js +23 -58
  113. package/dist/faceless-short-61.js +0 -1
  114. package/dist/faceless-storyboard-timing.js +0 -1
  115. package/dist/faceless-storyboard-v2-plan.js +0 -1
  116. package/dist/faceless-storyboard-v2-timing.d.ts +0 -4
  117. package/dist/faceless-storyboard-v2-timing.js +0 -3
  118. package/dist/faceless-storyboard-v2.js +0 -1
  119. package/dist/faceless-storyboard.js +0 -1
  120. package/dist/faceless-voices.d.ts +0 -16
  121. package/dist/faceless-voices.js +0 -18
  122. package/dist/feedback.d.ts +0 -4
  123. package/dist/feedback.js +0 -5
  124. package/dist/film-directions.d.ts +0 -2
  125. package/dist/film-directions.js +0 -7
  126. package/dist/film-drafts.d.ts +0 -8
  127. package/dist/film-drafts.js +0 -19
  128. package/dist/film-guide.d.ts +0 -3
  129. package/dist/film-guide.js +0 -6
  130. package/dist/film-styles.d.ts +0 -5
  131. package/dist/film-styles.js +0 -8
  132. package/dist/generation-shot.d.ts +0 -5
  133. package/dist/generation-shot.js +0 -8
  134. package/dist/generations-output.d.ts +0 -2
  135. package/dist/generations-output.js +0 -5
  136. package/dist/generations.d.ts +0 -22
  137. package/dist/generations.js +21 -44
  138. package/dist/idempotency.d.ts +1 -21
  139. package/dist/idempotency.js +8 -29
  140. package/dist/index.d.ts +3 -0
  141. package/dist/index.js +3 -28
  142. package/dist/live-shot-kinds.d.ts +16 -25
  143. package/dist/live-shot-kinds.js +12 -28
  144. package/dist/long-form-pricing.d.ts +0 -5
  145. package/dist/long-form-pricing.js +0 -6
  146. package/dist/long-form-profile.d.ts +0 -3
  147. package/dist/long-form-profile.js +0 -4
  148. package/dist/long-form-revision.d.ts +0 -9
  149. package/dist/long-form-revision.js +0 -11
  150. package/dist/markdown-quote.d.ts +0 -2
  151. package/dist/markdown-quote.js +0 -3
  152. package/dist/mascots.d.ts +0 -5
  153. package/dist/mascots.js +0 -10
  154. package/dist/max-credits.d.ts +0 -1
  155. package/dist/max-credits.js +0 -2
  156. package/dist/mcp-ugc-descriptions.d.ts +0 -2
  157. package/dist/mcp-ugc-descriptions.js +1 -6
  158. package/dist/media-timebase.d.ts +0 -2
  159. package/dist/media-timebase.js +0 -6
  160. package/dist/motion-styles.d.ts +0 -8
  161. package/dist/motion-styles.js +0 -11
  162. package/dist/moves.d.ts +0 -7
  163. package/dist/moves.js +0 -9
  164. package/dist/music.d.ts +0 -5
  165. package/dist/music.js +2 -9
  166. package/dist/naming.d.ts +0 -3
  167. package/dist/naming.js +0 -19
  168. package/dist/openapi.d.ts +0 -13
  169. package/dist/openapi.js +6 -11
  170. package/dist/output-provenance.d.ts +0 -4
  171. package/dist/output-provenance.js +0 -5
  172. package/dist/own-agent-price.d.ts +19 -22
  173. package/dist/own-agent-price.js +30 -25
  174. package/dist/own-agent-runs.d.ts +111 -11
  175. package/dist/own-agent-runs.js +89 -24
  176. package/dist/pacing.d.ts +3 -15
  177. package/dist/pacing.js +18 -18
  178. package/dist/parts-pricing.d.ts +8 -24
  179. package/dist/parts-pricing.js +19 -30
  180. package/dist/post-text.d.ts +0 -2
  181. package/dist/post-text.js +0 -4
  182. package/dist/presenter-beats.d.ts +0 -10
  183. package/dist/presenter-beats.js +0 -14
  184. package/dist/presenter-matte.d.ts +0 -7
  185. package/dist/presenter-matte.js +0 -9
  186. package/dist/presenter-takes.d.ts +0 -3
  187. package/dist/presenter-takes.js +0 -8
  188. package/dist/prices.d.ts +2 -8
  189. package/dist/prices.js +13 -23
  190. package/dist/public-endpoints.d.ts +0 -11
  191. package/dist/public-endpoints.js +0 -14
  192. package/dist/public-responses.d.ts +0 -2
  193. package/dist/public-responses.js +0 -3
  194. package/dist/rate-limit.d.ts +0 -24
  195. package/dist/rate-limit.js +0 -29
  196. package/dist/reference-analysis.d.ts +57 -34
  197. package/dist/reference-analysis.js +0 -69
  198. package/dist/reference-bring.d.ts +33 -0
  199. package/dist/reference-bring.js +28 -0
  200. package/dist/reference-display.d.ts +0 -3
  201. package/dist/reference-display.js +37 -4
  202. package/dist/reference-kinds.d.ts +0 -4
  203. package/dist/reference-kinds.js +0 -6
  204. package/dist/reference-lyrics.d.ts +0 -6
  205. package/dist/reference-lyrics.js +0 -6
  206. package/dist/reference-profile.d.ts +270 -39
  207. package/dist/reference-profile.js +64 -50
  208. package/dist/reference-staging.d.ts +0 -10
  209. package/dist/reference-staging.js +0 -14
  210. package/dist/reference-text-spans.d.ts +0 -4
  211. package/dist/reference-text-spans.js +0 -7
  212. package/dist/reference-voice-over.d.ts +0 -6
  213. package/dist/reference-voice-over.js +0 -7
  214. package/dist/reference-voice.d.ts +0 -7
  215. package/dist/reference-voice.js +0 -12
  216. package/dist/render-backend.d.ts +0 -30
  217. package/dist/render-backend.js +0 -5
  218. package/dist/resolved-timeline.d.ts +4 -5
  219. package/dist/resolved-timeline.js +1 -31
  220. package/dist/run-media.d.ts +0 -1
  221. package/dist/run-media.js +0 -2
  222. package/dist/run-preflight.d.ts +0 -4
  223. package/dist/run-preflight.js +0 -11
  224. package/dist/run-static-warnings.d.ts +0 -8
  225. package/dist/run-static-warnings.js +0 -38
  226. package/dist/runs.d.ts +16 -32
  227. package/dist/runs.js +0 -50
  228. package/dist/scene-bible.d.ts +15 -7
  229. package/dist/scene-bible.js +15 -10
  230. package/dist/scene-graph.d.ts +0 -12
  231. package/dist/scene-graph.js +0 -24
  232. package/dist/scene-place.d.ts +0 -25
  233. package/dist/scene-place.js +0 -24
  234. package/dist/scene-proposal.d.ts +0 -3
  235. package/dist/scene-proposal.js +0 -9
  236. package/dist/script-integrity.d.ts +0 -6
  237. package/dist/script-integrity.js +0 -8
  238. package/dist/script-voice.d.ts +0 -7
  239. package/dist/script-voice.js +0 -16
  240. package/dist/semantic-inserts.d.ts +0 -7
  241. package/dist/semantic-inserts.js +0 -10
  242. package/dist/skill-theme-explainer.js +0 -5
  243. package/dist/skill-theme.d.ts +0 -13
  244. package/dist/skill-theme.js +0 -25
  245. package/dist/skills.d.ts +22 -86
  246. package/dist/skills.js +21 -167
  247. package/dist/speech-rhythm-contract.js +0 -1
  248. package/dist/speech-rhythm.d.ts +0 -4
  249. package/dist/speech-rhythm.js +0 -2
  250. package/dist/templates/backdrop.d.ts +0 -3
  251. package/dist/templates/backdrop.js +0 -5
  252. package/dist/templates/callout.d.ts +0 -4
  253. package/dist/templates/callout.js +0 -6
  254. package/dist/templates/chart.d.ts +0 -4
  255. package/dist/templates/chart.js +0 -6
  256. package/dist/templates/chat-window.d.ts +0 -8
  257. package/dist/templates/chat-window.js +0 -10
  258. package/dist/templates/checklist.d.ts +0 -3
  259. package/dist/templates/checklist.js +0 -6
  260. package/dist/templates/comment-cta.d.ts +0 -14
  261. package/dist/templates/comment-cta.js +0 -19
  262. package/dist/templates/compare.d.ts +0 -6
  263. package/dist/templates/compare.js +0 -7
  264. package/dist/templates/cover-story.d.ts +0 -1
  265. package/dist/templates/cover-story.js +0 -3
  266. package/dist/templates/end-card.d.ts +0 -2
  267. package/dist/templates/end-card.js +0 -3
  268. package/dist/templates/hand-title.d.ts +0 -5
  269. package/dist/templates/hand-title.js +0 -9
  270. package/dist/templates/index.d.ts +0 -57
  271. package/dist/templates/index.js +0 -60
  272. package/dist/templates/lower-third.d.ts +0 -4
  273. package/dist/templates/lower-third.js +0 -5
  274. package/dist/templates/notification.d.ts +0 -6
  275. package/dist/templates/notification.js +0 -7
  276. package/dist/templates/phone-call.d.ts +0 -2
  277. package/dist/templates/phone-call.js +0 -6
  278. package/dist/templates/phone-screen.d.ts +0 -5
  279. package/dist/templates/phone-screen.js +0 -7
  280. package/dist/templates/pointer-chips.d.ts +0 -4
  281. package/dist/templates/pointer-chips.js +0 -6
  282. package/dist/templates/progress.d.ts +0 -3
  283. package/dist/templates/progress.js +0 -5
  284. package/dist/templates/quote.d.ts +0 -3
  285. package/dist/templates/quote.js +0 -4
  286. package/dist/templates/race.d.ts +0 -5
  287. package/dist/templates/race.js +0 -7
  288. package/dist/templates/rating.d.ts +0 -3
  289. package/dist/templates/rating.js +0 -5
  290. package/dist/templates/series-frame.d.ts +0 -16
  291. package/dist/templates/series-frame.js +0 -19
  292. package/dist/templates/size.d.ts +0 -7
  293. package/dist/templates/size.js +0 -8
  294. package/dist/templates/slot.d.ts +0 -2
  295. package/dist/templates/slot.js +0 -2
  296. package/dist/templates/sounds.d.ts +0 -12
  297. package/dist/templates/sounds.js +0 -16
  298. package/dist/templates/stat.d.ts +0 -3
  299. package/dist/templates/stat.js +0 -5
  300. package/dist/templates/tag.d.ts +0 -3
  301. package/dist/templates/tag.js +0 -5
  302. package/dist/templates/terminal.d.ts +0 -6
  303. package/dist/templates/terminal.js +0 -8
  304. package/dist/templates/theme.d.ts +0 -7
  305. package/dist/templates/theme.js +0 -9
  306. package/dist/templates/title-card.d.ts +0 -3
  307. package/dist/templates/title-card.js +0 -5
  308. package/dist/templates/video-grid.d.ts +0 -5
  309. package/dist/templates/video-grid.js +0 -8
  310. package/dist/templates/word-fill.d.ts +0 -3
  311. package/dist/templates/word-fill.js +0 -4
  312. package/dist/templates/word-title.d.ts +0 -2
  313. package/dist/templates/word-title.js +0 -4
  314. package/dist/trend-niches.d.ts +0 -11
  315. package/dist/trend-niches.js +0 -16
  316. package/dist/trend-search.d.ts +0 -66
  317. package/dist/trend-search.js +0 -70
  318. package/dist/tts-backend.d.ts +0 -19
  319. package/dist/tts-backend.js +0 -7
  320. package/dist/ugc-call.d.ts +0 -16
  321. package/dist/ugc-call.js +0 -21
  322. package/dist/ugc-delivery.d.ts +0 -2
  323. package/dist/ugc-delivery.js +0 -4
  324. package/dist/ugc-framing.d.ts +0 -4
  325. package/dist/ugc-framing.js +0 -6
  326. package/dist/ugc-interview.d.ts +0 -18
  327. package/dist/ugc-interview.js +0 -24
  328. package/dist/ugc-layers.d.ts +0 -39
  329. package/dist/ugc-layers.js +0 -39
  330. package/dist/ugc-scenes.d.ts +0 -2
  331. package/dist/ugc-scenes.js +0 -5
  332. package/dist/ugc-video-media.d.ts +0 -5
  333. package/dist/ugc-video-media.js +0 -7
  334. package/dist/uploads.d.ts +1 -15
  335. package/dist/uploads.js +3 -20
  336. package/dist/vendor-response.d.ts +0 -19
  337. package/dist/vendor-response.js +0 -22
  338. package/dist/video-size.d.ts +0 -4
  339. package/dist/video-size.js +0 -7
  340. package/dist/voice-admission.d.ts +2 -11
  341. package/dist/voice-admission.js +0 -13
  342. package/dist/voice-catalog-data.d.ts +0 -2
  343. package/dist/voice-catalog-data.js +0 -3
  344. package/dist/voice-catalog.d.ts +0 -6
  345. package/dist/voice-catalog.js +0 -8
  346. package/dist/voice-listing.d.ts +0 -6
  347. package/dist/voice-listing.js +0 -14
  348. package/dist/voice-pace.d.ts +0 -4
  349. package/dist/voice-pace.js +0 -7
  350. package/dist/voice-preview-approval.js +0 -1
  351. package/dist/voices.d.ts +4 -69
  352. package/dist/voices.js +3 -88
  353. package/dist/workflows/catalog.d.ts +0 -2
  354. package/dist/workflows/catalog.js +0 -4
  355. package/dist/workflows/film-directions.d.ts +0 -3
  356. package/dist/workflows/film-directions.js +0 -4
  357. package/dist/workflows/index.js +0 -1
  358. package/dist/workflows/methods/faceless-explainer.d.ts +33 -0
  359. package/dist/workflows/methods/faceless-explainer.js +0 -1
  360. package/dist/workflows/methods/kinetic-launch.d.ts +66 -1
  361. package/dist/workflows/methods/kinetic-launch.js +0 -2
  362. package/dist/workflows/methods/product-image-story.d.ts +33 -0
  363. package/dist/workflows/methods/product-image-story.js +0 -1
  364. package/dist/workflows/methods/reference-remake.d.ts +33 -0
  365. package/dist/workflows/methods/reference-remake.js +0 -1
  366. package/dist/workflows/methods/shared.d.ts +33 -1
  367. package/dist/workflows/methods/shared.js +0 -3
  368. package/dist/workflows/methods/ugc-faq-answer.d.ts +33 -0
  369. package/dist/workflows/methods/ugc-faq-answer.js +0 -1
  370. package/dist/workflows/methods/ugc-product-intro.d.ts +33 -0
  371. package/dist/workflows/methods/ugc-product-intro.js +0 -1
  372. package/dist/workflows/methods/website-proof-demo.d.ts +66 -1
  373. package/dist/workflows/methods/website-proof-demo.js +0 -2
  374. package/dist/workflows/motion-director.d.ts +0 -11
  375. package/dist/workflows/motion-director.js +0 -11
  376. package/dist/workflows/product-references.js +0 -1
  377. package/dist/workflows/reference-remake.d.ts +114 -17
  378. package/dist/workflows/reference-remake.js +0 -167
  379. package/dist/workflows/remake-chooser.d.ts +0 -6
  380. package/dist/workflows/remake-chooser.js +0 -4
  381. package/dist/workflows/remake-motion.d.ts +0 -16
  382. package/dist/workflows/remake-motion.js +0 -19
  383. package/dist/workflows/validate.d.ts +0 -1
  384. package/dist/workflows/validate.js +0 -5
  385. package/dist/workflows.js +0 -1
  386. package/package.json +1 -1
  387. package/dist/account-actors.js.map +0 -1
  388. package/dist/account.js.map +0 -1
  389. package/dist/actor-bounds.js.map +0 -1
  390. package/dist/actor-qualities.js.map +0 -1
  391. package/dist/actors.js.map +0 -1
  392. package/dist/ad-guide.js.map +0 -1
  393. package/dist/ad-pause-trim.js.map +0 -1
  394. package/dist/api-failure.js.map +0 -1
  395. package/dist/aspect.js.map +0 -1
  396. package/dist/asset-identity.js.map +0 -1
  397. package/dist/assets.js.map +0 -1
  398. package/dist/billing-terms.js.map +0 -1
  399. package/dist/brand-styles.js.map +0 -1
  400. package/dist/broll-policy.js.map +0 -1
  401. package/dist/canvas-fit.js.map +0 -1
  402. package/dist/caption-funnel.js.map +0 -1
  403. package/dist/caption-geometry.js.map +0 -1
  404. package/dist/caption-language.js.map +0 -1
  405. package/dist/contract-dispositions.js.map +0 -1
  406. package/dist/contracts/v1/workflow-brief.js.map +0 -1
  407. package/dist/contracts/v1/workflow-catalog.js.map +0 -1
  408. package/dist/contracts/v1/workflow-client.js.map +0 -1
  409. package/dist/contracts/v1/workflow-dto.js.map +0 -1
  410. package/dist/contracts/v1/workflow-evidence.js.map +0 -1
  411. package/dist/contracts/v1/workflow-execution.js.map +0 -1
  412. package/dist/contracts/v1/workflow-next.js.map +0 -1
  413. package/dist/contracts/v1/workflow-plan.js.map +0 -1
  414. package/dist/contracts/v1/workflow-primitives.js.map +0 -1
  415. package/dist/contracts/v1/workflow-run-read.js.map +0 -1
  416. package/dist/creator-profile.js.map +0 -1
  417. package/dist/default-actor.js.map +0 -1
  418. package/dist/design.js.map +0 -1
  419. package/dist/edit-billing.js.map +0 -1
  420. package/dist/edit-candidate.js.map +0 -1
  421. package/dist/edit-document.js.map +0 -1
  422. package/dist/edit-faceless.js.map +0 -1
  423. package/dist/edit-long-form.js.map +0 -1
  424. package/dist/edit-operations.js.map +0 -1
  425. package/dist/edit-primitives.js.map +0 -1
  426. package/dist/edit-revision.js.map +0 -1
  427. package/dist/edit-rules.js.map +0 -1
  428. package/dist/edit-shots.js.map +0 -1
  429. package/dist/edit-validate.js.map +0 -1
  430. package/dist/edit.js.map +0 -1
  431. package/dist/endpoint-notes.js.map +0 -1
  432. package/dist/endpoints.js.map +0 -1
  433. package/dist/errors.js.map +0 -1
  434. package/dist/explainer-fit.js.map +0 -1
  435. package/dist/face-billing.js.map +0 -1
  436. package/dist/face-delivery.js.map +0 -1
  437. package/dist/faceless-action-shots.js.map +0 -1
  438. package/dist/faceless-customer-anchors.js.map +0 -1
  439. package/dist/faceless-cut-style.js.map +0 -1
  440. package/dist/faceless-image-placement.js.map +0 -1
  441. package/dist/faceless-image-qualification.js.map +0 -1
  442. package/dist/faceless-media-record.js.map +0 -1
  443. package/dist/faceless-price.js.map +0 -1
  444. package/dist/faceless-public-plan.js.map +0 -1
  445. package/dist/faceless-public.js.map +0 -1
  446. package/dist/faceless-short-61.js.map +0 -1
  447. package/dist/faceless-storyboard-timing.js.map +0 -1
  448. package/dist/faceless-storyboard-v2-plan.js.map +0 -1
  449. package/dist/faceless-storyboard-v2-timing.js.map +0 -1
  450. package/dist/faceless-storyboard-v2.js.map +0 -1
  451. package/dist/faceless-storyboard.js.map +0 -1
  452. package/dist/faceless-voices.js.map +0 -1
  453. package/dist/feedback.js.map +0 -1
  454. package/dist/film-directions.js.map +0 -1
  455. package/dist/film-drafts.js.map +0 -1
  456. package/dist/film-guide.js.map +0 -1
  457. package/dist/film-styles.js.map +0 -1
  458. package/dist/generation-shot.js.map +0 -1
  459. package/dist/generations-output.js.map +0 -1
  460. package/dist/generations.js.map +0 -1
  461. package/dist/idempotency.js.map +0 -1
  462. package/dist/index.js.map +0 -1
  463. package/dist/live-shot-kinds.js.map +0 -1
  464. package/dist/long-form-pricing.js.map +0 -1
  465. package/dist/long-form-profile.js.map +0 -1
  466. package/dist/long-form-revision.js.map +0 -1
  467. package/dist/markdown-quote.js.map +0 -1
  468. package/dist/mascots.js.map +0 -1
  469. package/dist/max-credits.js.map +0 -1
  470. package/dist/mcp-ugc-descriptions.js.map +0 -1
  471. package/dist/media-timebase.js.map +0 -1
  472. package/dist/motion-styles.js.map +0 -1
  473. package/dist/moves.js.map +0 -1
  474. package/dist/music.js.map +0 -1
  475. package/dist/naming.js.map +0 -1
  476. package/dist/openapi.js.map +0 -1
  477. package/dist/output-provenance.js.map +0 -1
  478. package/dist/own-agent-price.js.map +0 -1
  479. package/dist/own-agent-runs.js.map +0 -1
  480. package/dist/pacing.js.map +0 -1
  481. package/dist/parts-pricing.js.map +0 -1
  482. package/dist/post-text.js.map +0 -1
  483. package/dist/presenter-beats.js.map +0 -1
  484. package/dist/presenter-matte.js.map +0 -1
  485. package/dist/presenter-takes.js.map +0 -1
  486. package/dist/prices.js.map +0 -1
  487. package/dist/public-endpoints.js.map +0 -1
  488. package/dist/public-responses.js.map +0 -1
  489. package/dist/rate-limit.js.map +0 -1
  490. package/dist/reference-analysis.js.map +0 -1
  491. package/dist/reference-display.js.map +0 -1
  492. package/dist/reference-kinds.js.map +0 -1
  493. package/dist/reference-lyrics.js.map +0 -1
  494. package/dist/reference-profile.js.map +0 -1
  495. package/dist/reference-staging.js.map +0 -1
  496. package/dist/reference-text-spans.js.map +0 -1
  497. package/dist/reference-voice-over.js.map +0 -1
  498. package/dist/reference-voice.js.map +0 -1
  499. package/dist/render-backend.js.map +0 -1
  500. package/dist/resolved-timeline.js.map +0 -1
  501. package/dist/run-media.js.map +0 -1
  502. package/dist/run-preflight.js.map +0 -1
  503. package/dist/run-static-warnings.js.map +0 -1
  504. package/dist/runs.js.map +0 -1
  505. package/dist/scene-bible.js.map +0 -1
  506. package/dist/scene-graph.js.map +0 -1
  507. package/dist/scene-place.js.map +0 -1
  508. package/dist/scene-proposal.js.map +0 -1
  509. package/dist/script-integrity.js.map +0 -1
  510. package/dist/script-voice.js.map +0 -1
  511. package/dist/semantic-inserts.js.map +0 -1
  512. package/dist/skill-theme-explainer.js.map +0 -1
  513. package/dist/skill-theme.js.map +0 -1
  514. package/dist/skills.js.map +0 -1
  515. package/dist/speech-rhythm-contract.js.map +0 -1
  516. package/dist/speech-rhythm.js.map +0 -1
  517. package/dist/templates/backdrop.js.map +0 -1
  518. package/dist/templates/callout.js.map +0 -1
  519. package/dist/templates/chart.js.map +0 -1
  520. package/dist/templates/chat-window.js.map +0 -1
  521. package/dist/templates/checklist.js.map +0 -1
  522. package/dist/templates/comment-cta.js.map +0 -1
  523. package/dist/templates/compare.js.map +0 -1
  524. package/dist/templates/cover-story.js.map +0 -1
  525. package/dist/templates/end-card.js.map +0 -1
  526. package/dist/templates/hand-title.js.map +0 -1
  527. package/dist/templates/index.js.map +0 -1
  528. package/dist/templates/lower-third.js.map +0 -1
  529. package/dist/templates/notification.js.map +0 -1
  530. package/dist/templates/phone-call.js.map +0 -1
  531. package/dist/templates/phone-screen.js.map +0 -1
  532. package/dist/templates/pointer-chips.js.map +0 -1
  533. package/dist/templates/progress.js.map +0 -1
  534. package/dist/templates/quote.js.map +0 -1
  535. package/dist/templates/race.js.map +0 -1
  536. package/dist/templates/rating.js.map +0 -1
  537. package/dist/templates/series-frame.js.map +0 -1
  538. package/dist/templates/size.js.map +0 -1
  539. package/dist/templates/slot.js.map +0 -1
  540. package/dist/templates/sounds.js.map +0 -1
  541. package/dist/templates/stat.js.map +0 -1
  542. package/dist/templates/tag.js.map +0 -1
  543. package/dist/templates/terminal.js.map +0 -1
  544. package/dist/templates/theme.js.map +0 -1
  545. package/dist/templates/title-card.js.map +0 -1
  546. package/dist/templates/video-grid.js.map +0 -1
  547. package/dist/templates/word-fill.js.map +0 -1
  548. package/dist/templates/word-title.js.map +0 -1
  549. package/dist/trend-niches.js.map +0 -1
  550. package/dist/trend-search.js.map +0 -1
  551. package/dist/tts-backend.js.map +0 -1
  552. package/dist/ugc-call.js.map +0 -1
  553. package/dist/ugc-delivery.js.map +0 -1
  554. package/dist/ugc-framing.js.map +0 -1
  555. package/dist/ugc-interview.js.map +0 -1
  556. package/dist/ugc-layers.js.map +0 -1
  557. package/dist/ugc-scenes.js.map +0 -1
  558. package/dist/ugc-video-media.js.map +0 -1
  559. package/dist/uploads.js.map +0 -1
  560. package/dist/vendor-response.js.map +0 -1
  561. package/dist/video-size.js.map +0 -1
  562. package/dist/voice-admission.js.map +0 -1
  563. package/dist/voice-catalog-data.js.map +0 -1
  564. package/dist/voice-catalog.js.map +0 -1
  565. package/dist/voice-listing.js.map +0 -1
  566. package/dist/voice-pace.js.map +0 -1
  567. package/dist/voice-preview-approval.js.map +0 -1
  568. package/dist/voices.js.map +0 -1
  569. package/dist/workflows/catalog.js.map +0 -1
  570. package/dist/workflows/film-directions.js.map +0 -1
  571. package/dist/workflows/index.js.map +0 -1
  572. package/dist/workflows/methods/faceless-explainer.js.map +0 -1
  573. package/dist/workflows/methods/kinetic-launch.js.map +0 -1
  574. package/dist/workflows/methods/product-image-story.js.map +0 -1
  575. package/dist/workflows/methods/reference-remake.js.map +0 -1
  576. package/dist/workflows/methods/shared.js.map +0 -1
  577. package/dist/workflows/methods/ugc-faq-answer.js.map +0 -1
  578. package/dist/workflows/methods/ugc-product-intro.js.map +0 -1
  579. package/dist/workflows/methods/website-proof-demo.js.map +0 -1
  580. package/dist/workflows/motion-director.js.map +0 -1
  581. package/dist/workflows/product-references.js.map +0 -1
  582. package/dist/workflows/reference-remake.js.map +0 -1
  583. package/dist/workflows/remake-chooser.js.map +0 -1
  584. package/dist/workflows/remake-motion.js.map +0 -1
  585. package/dist/workflows/validate.js.map +0 -1
  586. package/dist/workflows.js.map +0 -1
@@ -4,33 +4,24 @@ export type CallSpeaker = (typeof CALL_SPEAKERS)[number];
4
4
  export declare const MAX_CALL_LINES = 30;
5
5
  export declare const MAX_CALL_LINE_CHARS = 1000;
6
6
  export declare const MAX_CALL_CHARS = 5000;
7
- /** A call's length before synthesis, at the reference's 19 characters a second (D10). */
8
7
  export declare const CALL_CHARS_PER_SEC = 19;
9
8
  export declare const MAX_CALL_SEC = 120;
10
- /** Past this the presenter holds still long enough to name it (D1). */
11
9
  export declare const CALL_WARN_SEC = 20;
12
- /** The bake-off's pair (S5-0): agent Cassidy, caller Mark; the agent is never the narration's voice. */
13
10
  export declare const DEFAULT_CALL_VOICES: Readonly<Record<CallSpeaker, string>>;
14
11
  export declare const SECOND_CALL_AGENT = "sarah";
15
- /** The reference's in-call screen (D8): a US number shown only to its area code and the hold banner, generic phone UI. */
16
12
  export declare const CALL_PHONE_DEFAULTS: Readonly<{
17
13
  caller: "+1 (305) 555-0147";
18
14
  banner: "Hold This Call?";
19
15
  banner_note: "You'll be notified to pick up.";
20
16
  mask_number: true;
21
17
  }>;
22
- /** The phone the run draws over a call: an id no client template can spell, so it never meets one. */
23
18
  export declare const CALL_PHONE_ID = "call.phone";
24
- /** The ring starts this long after the phone enters, rings for CALL_RING_SEC (the `ring_double` file) and the first word follows it. */
25
19
  export declare const CALL_RING_LEAD_SEC = 0.07;
26
20
  export declare const CALL_RING_SEC = 1.35;
27
21
  export declare const CALL_RING_TO_VOICE_SEC = 0.1;
28
- /** From the call's last word to the end of the freeze. */
29
22
  export declare const CALL_TAIL_SEC = 0.4;
30
- /** The presenter's live listening before the freeze (S4d), and how far before the freeze the phone enters behind it. */
31
23
  export declare const CALL_LIVE_SEC = 3.58;
32
24
  export declare const CALL_PHONE_LEAD_SEC = 3.96;
33
- /** A staged phone (#914 D1e) rises from one of these sides, within these bounds; the composition draws no other entry for it. */
34
25
  export declare const CALL_STAGE_SIDES: readonly ["bottom", "lower_left", "lower_right"];
35
26
  export declare const CALL_STAGE_MAX_ENTER_SEC = 5;
36
27
  export declare const CALL_STAGE_MAX_LEAD_SEC = 10;
@@ -54,11 +45,8 @@ export interface CallInput {
54
45
  }
55
46
  export declare const callChars: (call: Pick<CallInput, "lines">) => number;
56
47
  export declare const callEstimateSec: (call: Pick<CallInput, "lines">) => number;
57
- /** The seconds a call adds to the video: its lines, the ring before them and the tail after (D10). */
58
48
  export declare const callGapEstimateSec: (call: Pick<CallInput, "lines">) => number;
59
- /** The lexical word the presenter resumes on: the one after the quote's last word, or why there is none. */
60
49
  export declare function callResumeWord(script: string, after: CallInput["after"]): number | string;
61
- /** The agent and caller voices: the named ones, else the defaults, the agent kept off the narration's voice. */
62
50
  export declare function callVoices(call: Pick<CallInput, "voices">, narrationVoice: string | undefined): Record<CallSpeaker, string>;
63
51
  export interface CallCheckInput {
64
52
  script?: string | undefined;
@@ -68,14 +56,10 @@ export interface CallCheckInput {
68
56
  inserts?: readonly AnchoredItem[] | undefined;
69
57
  call?: CallInput | undefined;
70
58
  }
71
- /** Every refusal of `call` before money, named by path (C1); the schema already bounds each line and the count. */
72
59
  export declare function callRefusals(input: CallCheckInput): LayerRefusal[];
73
- /** A long call is delivered, and named (rule 3). */
74
60
  export declare function callWarnings(input: {
75
61
  call?: unknown;
76
62
  }): string[];
77
- /** Where a call sits in its gap, in frames from the presenter's last word before it (D2): the phone enters, the ring starts, the first word,
78
- * and the gap and hold lengths. Gap = ring lead + ring + call + tail after the phone; hold = gap − live. */
79
63
  export declare function callGapFrames(args: {
80
64
  callFrames: number;
81
65
  liveFrames: number;
package/dist/ugc-call.js CHANGED
@@ -1,54 +1,39 @@
1
1
  import { lexicalTokens } from "./semantic-inserts.js";
2
2
  import { layerWordRange } from "./ugc-layers.js";
3
- // A phone call over a hold (#857 S5): two voices after a quote, the presenter listening, then frozen, until the call ends.
4
- // Numbers are the reference's, as measured on it.
5
3
  export const CALL_SPEAKERS = ["agent", "caller"];
6
4
  export const MAX_CALL_LINES = 30;
7
5
  export const MAX_CALL_LINE_CHARS = 1000;
8
6
  export const MAX_CALL_CHARS = 5000;
9
- /** A call's length before synthesis, at the reference's 19 characters a second (D10). */
10
7
  export const CALL_CHARS_PER_SEC = 19;
11
8
  export const MAX_CALL_SEC = 120;
12
- /** Past this the presenter holds still long enough to name it (D1). */
13
9
  export const CALL_WARN_SEC = 20;
14
- /** The bake-off's pair (S5-0): agent Cassidy, caller Mark; the agent is never the narration's voice. */
15
10
  export const DEFAULT_CALL_VOICES = Object.freeze({ agent: "en_female_cassidy", caller: "en_male_mark" });
16
11
  export const SECOND_CALL_AGENT = "sarah";
17
- /** The reference's in-call screen (D8): a US number shown only to its area code and the hold banner, generic phone UI. */
18
12
  export const CALL_PHONE_DEFAULTS = Object.freeze({ caller: "+1 (305) 555-0147", banner: "Hold This Call?", banner_note: "You'll be notified to pick up.",
19
13
  mask_number: true });
20
- /** The phone the run draws over a call: an id no client template can spell, so it never meets one. */
21
14
  export const CALL_PHONE_ID = "call.phone";
22
- /** The ring starts this long after the phone enters, rings for CALL_RING_SEC (the `ring_double` file) and the first word follows it. */
23
15
  export const CALL_RING_LEAD_SEC = 0.07;
24
16
  export const CALL_RING_SEC = 1.35;
25
17
  export const CALL_RING_TO_VOICE_SEC = 0.1;
26
- /** From the call's last word to the end of the freeze. */
27
18
  export const CALL_TAIL_SEC = 0.4;
28
- /** The presenter's live listening before the freeze (S4d), and how far before the freeze the phone enters behind it. */
29
19
  export const CALL_LIVE_SEC = 3.58;
30
20
  export const CALL_PHONE_LEAD_SEC = 3.96;
31
- /** A staged phone (#914 D1e) rises from one of these sides, within these bounds; the composition draws no other entry for it. */
32
21
  export const CALL_STAGE_SIDES = ["bottom", "lower_left", "lower_right"];
33
22
  export const CALL_STAGE_MAX_ENTER_SEC = 5;
34
23
  export const CALL_STAGE_MAX_LEAD_SEC = 10;
35
24
  export const callChars = (call) => call.lines.reduce((sum, line) => sum + line.text.length, 0);
36
25
  export const callEstimateSec = (call) => Math.ceil(callChars(call) / CALL_CHARS_PER_SEC);
37
- /** The seconds a call adds to the video: its lines, the ring before them and the tail after (D10). */
38
26
  export const callGapEstimateSec = (call) => callEstimateSec(call) + Math.ceil(CALL_RING_LEAD_SEC + CALL_RING_SEC + CALL_RING_TO_VOICE_SEC + CALL_TAIL_SEC);
39
- /** The lexical word the presenter resumes on: the one after the quote's last word, or why there is none. */
40
27
  export function callResumeWord(script, after) {
41
28
  const tokens = lexicalTokens(script), range = layerWordRange(tokens, { id: "call", anchor: after });
42
29
  if (typeof range === "string")
43
30
  return range;
44
31
  return range.coverWord < tokens.length ? range.coverWord : "the call needs words after it: the presenter resumes on the word after its quote";
45
32
  }
46
- /** The agent and caller voices: the named ones, else the defaults, the agent kept off the narration's voice. */
47
33
  export function callVoices(call, narrationVoice) {
48
34
  const agent = call.voices?.agent ?? (narrationVoice === DEFAULT_CALL_VOICES.agent ? SECOND_CALL_AGENT : DEFAULT_CALL_VOICES.agent);
49
35
  return { agent, caller: call.voices?.caller ?? DEFAULT_CALL_VOICES.caller };
50
36
  }
51
- /** Every refusal of `call` before money, named by path (C1); the schema already bounds each line and the count. */
52
37
  export function callRefusals(input) {
53
38
  const call = input.call;
54
39
  if (call === undefined)
@@ -85,7 +70,6 @@ export function callRefusals(input) {
85
70
  }
86
71
  return refusals;
87
72
  }
88
- /** A long call is delivered, and named (rule 3). */
89
73
  export function callWarnings(input) {
90
74
  const call = input.call;
91
75
  if (!Array.isArray(call?.lines))
@@ -93,19 +77,14 @@ export function callWarnings(input) {
93
77
  const seconds = callEstimateSec({ lines: call.lines });
94
78
  return seconds > CALL_WARN_SEC ? [`the call runs about ${seconds} s, longer than ${CALL_WARN_SEC} s: the presenter holds still through all of it`] : [];
95
79
  }
96
- /** Where a call sits in its gap, in frames from the presenter's last word before it (D2): the phone enters, the ring starts, the first word,
97
- * and the gap and hold lengths. Gap = ring lead + ring + call + tail after the phone; hold = gap − live. */
98
80
  export function callGapFrames(args) {
99
81
  const { callFrames, liveFrames, fps } = args;
100
82
  if (![callFrames, liveFrames, fps].every(Number.isSafeInteger) || callFrames < 1 || liveFrames < 0 || fps < 1) {
101
83
  throw new Error("a call's gap needs whole frames");
102
84
  }
103
- // Never before the gap: over the talking take the phone is not drawn, and a ring there plays over the last word (#924).
104
85
  const phoneEntry = Math.max(0, liveFrames - Math.round(CALL_PHONE_LEAD_SEC * fps));
105
86
  const ringFrom = phoneEntry + Math.round(CALL_RING_LEAD_SEC * fps);
106
87
  const voiceFrom = phoneEntry + Math.round((CALL_RING_LEAD_SEC + CALL_RING_SEC + CALL_RING_TO_VOICE_SEC) * fps);
107
- // A call too short to outlast the listening keeps a hold of one tail.
108
88
  const gapFrames = Math.max(voiceFrom + callFrames + Math.round(CALL_TAIL_SEC * fps), liveFrames + Math.round(CALL_TAIL_SEC * fps));
109
89
  return { phoneEntry, ringFrom, voiceFrom, gapFrames, holdFrames: gapFrames - liveFrames };
110
90
  }
111
- //# sourceMappingURL=ugc-call.js.map
@@ -1,5 +1,4 @@
1
1
  import { z } from "zod";
2
- /** The run's delivery proof; v1 remains readable, v2 separates stream timing from the container. */
3
2
  export declare const ugcDeliveryEvidenceSchema: z.ZodReadonly<z.ZodDiscriminatedUnion<[z.ZodObject<{
4
3
  runId: z.ZodString;
5
4
  accountId: z.ZodString;
@@ -29,7 +28,6 @@ export declare const ugcDeliveryEvidenceSchema: z.ZodReadonly<z.ZodDiscriminated
29
28
  audioSampleRate: z.ZodNumber;
30
29
  }, z.core.$strict>], "version">>;
31
30
  export type UgcDeliveryEvidence = z.infer<typeof ugcDeliveryEvidenceSchema>;
32
- /** The server checks this canonical record hash before projecting a stored proof. */
33
31
  export declare const ugcDeliveryRecordSchema: z.ZodReadonly<z.ZodObject<{
34
32
  record: z.ZodReadonly<z.ZodDiscriminatedUnion<[z.ZodObject<{
35
33
  runId: z.ZodString;
@@ -7,9 +7,7 @@ const fields = {
7
7
  width: count, height: count, fps: z.number().positive().finite(), outputFrames: count,
8
8
  durationSec: z.number().positive().finite(),
9
9
  };
10
- /** Two 1024-sample AAC-LC frames bound the qualified encoder's audio tail. */
11
10
  const AAC_MAX_TAIL_SAMPLES = 2048;
12
- /** The run's delivery proof; v1 remains readable, v2 separates stream timing from the container. */
13
11
  export const ugcDeliveryEvidenceSchema = z.discriminatedUnion("version", [
14
12
  z.strictObject({ version: z.literal(1), ...fields }),
15
13
  z.strictObject({ version: z.literal(2), ...fields, videoDurationSec: z.number().positive().finite(),
@@ -29,6 +27,4 @@ export const ugcDeliveryEvidenceSchema = z.discriminatedUnion("version", [
29
27
  return Math.abs(value.durationSec - streamEnd) <= 0.001 + arithmeticEpsilon &&
30
28
  value.audioDurationSec - value.videoDurationSec <= AAC_MAX_TAIL_SAMPLES / value.audioSampleRate + 0.000001;
31
29
  }, { message: "UGC artifact key or measured duration does not match its evidence" }).readonly();
32
- /** The server checks this canonical record hash before projecting a stored proof. */
33
30
  export const ugcDeliveryRecordSchema = z.strictObject({ record: ugcDeliveryEvidenceSchema, record_hash: digest }).readonly();
34
- //# sourceMappingURL=ugc-delivery.js.map
@@ -1,11 +1,9 @@
1
1
  import { type AnchoredItem, type LayerRefusal, type LayoutWindowKind } from "./ugc-layers.js";
2
- /** full (#1175 S7) shows the take as rendered, like medium: it is full height only on a full view, and a narrower take is named, never widened. */
3
2
  export declare const FRAMING_SIZES: readonly ["close", "medium", "full"];
4
3
  export type FramingSize = (typeof FRAMING_SIZES)[number];
5
4
  export declare const FRAMING_TRANSITIONS: readonly ["cut", "flash"];
6
5
  export type FramingTransition = (typeof FRAMING_TRANSITIONS)[number];
7
6
  export declare const MAX_FRAMING = 60;
8
- /** The presenter's scale about the face: close clears a scene detector's 10% with margin and stays under the ×1.25 a 720p take stands. */
9
7
  export declare const FRAMING_SCALE: Readonly<Record<FramingSize, number>>;
10
8
  export interface FramingCheckInput {
11
9
  script: string;
@@ -17,9 +15,7 @@ export interface FramingCheckInput {
17
15
  templates?: readonly AnchoredItem[] | undefined;
18
16
  framing?: readonly AnchoredItem[] | undefined;
19
17
  }
20
- /** Every refusal of `framing` against the script and the run's other parts, named by path; empty when it renders. */
21
18
  export declare function framingRefusals(input: FramingCheckInput): LayerRefusal[];
22
- /** A framing that never shows, named for the quote and the run (rule 3): it lies wholly under full-frame templates. */
23
19
  export declare function framingWarnings(input: {
24
20
  script?: unknown;
25
21
  framing?: unknown;
@@ -1,17 +1,13 @@
1
1
  import { lexicalTokens } from "./semantic-inserts.js";
2
2
  import { TEMPLATE_KINDS } from "./templates/index.js";
3
3
  import { layerWordRange } from "./ugc-layers.js";
4
- // Framing (reference-elements S2): word-anchored presenter sizes, cut or flashed in, drawn by the composition over the actor slots.
5
- /** full (#1175 S7) shows the take as rendered, like medium: it is full height only on a full view, and a narrower take is named, never widened. */
6
4
  export const FRAMING_SIZES = ["close", "medium", "full"];
7
5
  export const FRAMING_TRANSITIONS = ["cut", "flash"];
8
6
  export const MAX_FRAMING = 60;
9
- /** The presenter's scale about the face: close clears a scene detector's 10% with margin and stays under the ×1.25 a 720p take stands. */
10
7
  export const FRAMING_SCALE = Object.freeze({ close: 1.18, medium: 1, full: 1 });
11
8
  const overlaps = (a, b) => a.startWord < b.coverWord && b.startWord < a.coverWord;
12
9
  const coveredBy = (range, cover) => Array.from({ length: range.coverWord - range.startWord }, (_, offset) => range.startWord + offset).every(word => cover.some(other => word >= other.startWord && word < other.coverWord));
13
10
  const ID_FIELDS = ["inserts", "overlays", "layout_windows", "templates"];
14
- /** Every refusal of `framing` against the script and the run's other parts, named by path; empty when it renders. */
15
11
  export function framingRefusals(input) {
16
12
  const refusals = [];
17
13
  const tokens = lexicalTokens(input.script);
@@ -46,7 +42,6 @@ export function framingRefusals(input) {
46
42
  }
47
43
  return refusals;
48
44
  }
49
- /** A framing that never shows, named for the quote and the run (rule 3): it lies wholly under full-frame templates. */
50
45
  export function framingWarnings(input) {
51
46
  if (typeof input.script !== "string" || !Array.isArray(input.framing) || !Array.isArray(input.templates))
52
47
  return [];
@@ -62,4 +57,3 @@ export function framingWarnings(input) {
62
57
  ? [`framing "${item.id}" is not drawn: it lies wholly under full-frame templates, where the presenter is not on screen`] : [];
63
58
  });
64
59
  }
65
- //# sourceMappingURL=ugc-framing.js.map
@@ -4,20 +4,15 @@ export declare const INTERVIEW_GAZES: readonly ["camera", "left", "right"];
4
4
  export type InterviewGaze = (typeof INTERVIEW_GAZES)[number];
5
5
  export declare const INTERVIEW_LISTENING: readonly ["freeze", "live"];
6
6
  export declare const MAX_INTERVIEW_TURNS = 30;
7
- /** The presenter's takes in one interview: one per answer, and one more at each change of gaze. */
8
7
  export declare const MAX_INTERVIEW_TAKES = 16;
9
8
  export declare const MAX_PRESENTER_GAZE = 20;
10
- /** Past this the presenter holds still long enough to name it. */
11
9
  export declare const INTERVIEW_FREEZE_WARN_SEC = 6;
12
- /** An off-screen line's length before synthesis, at a conversation's 19 characters a second. */
13
10
  export declare const INTERVIEW_CHARS_PER_SEC = 19;
14
- /** The conversation's pauses, cut down to a tenth of a second unless pause_trim names others: an interview answers without waiting. */
15
11
  export declare const INTERVIEW_PAUSE_TRIM: Readonly<{
16
12
  sentence_end_s: 0.1;
17
13
  comma_s: 0.1;
18
14
  mid_phrase_s: 0.1;
19
15
  }>;
20
- /** The off-screen voice when none is named, never the presenter's own. */
21
16
  export declare const DEFAULT_INTERVIEW_VOICE = "en_male_mark";
22
17
  export declare const SECOND_INTERVIEW_VOICE = "en_female_cassidy";
23
18
  type Anchor = AnchoredItem["anchor"];
@@ -42,7 +37,6 @@ export interface PresenterGazeItem {
42
37
  cover_words?: number | undefined;
43
38
  gaze: InterviewGaze;
44
39
  }
45
- /** The off-screen speaker's word ranges in script order, adjacent turns joined; a string names the first turn that does not resolve or overlaps. */
46
40
  export declare function interviewTurnRanges(script: string, turns: readonly InterviewTurn[]): WordRange[] | {
47
41
  index: number;
48
42
  message: string;
@@ -54,29 +48,22 @@ export interface InterviewLine {
54
48
  startWord: number;
55
49
  coverWord: number;
56
50
  }
57
- /** The script cut into the lines of the conversation, at word boundaries with each word's punctuation kept, in order. */
58
51
  export declare function interviewTexts(script: string, turns: readonly WordRange[]): InterviewLine[];
59
- /** A conversation's pace before synthesis (#991): each line takes a start and a time per word, a short answer reading slower than narration. */
60
52
  export declare const INTERVIEW_LINE_SEC = 0.43;
61
53
  export declare const INTERVIEW_WORD_SEC = 0.39;
62
- /** An interview's estimated length and the presenter's share of it, line by line. */
63
54
  export declare function interviewSecondsEstimate(script: string, turns: readonly WordRange[]): {
64
55
  totalSec: number;
65
56
  presenterSec: number;
66
57
  };
67
- /** Each lexical word's speaker. */
68
58
  export declare function wordSpeakers(total: number, turns: readonly WordRange[]): InterviewSpeaker[];
69
- /** The presenter's gaze on each lexical word: the interview's own, else camera, then each presenter_gaze item on its words. */
70
59
  export declare function wordGazes(script: string, input: {
71
60
  interview?: Pick<InterviewInput, "gaze"> | undefined;
72
61
  presenter_gaze?: readonly PresenterGazeItem[] | undefined;
73
62
  }): InterviewGaze[];
74
- /** Every view of the actor the run needs, the main one first. */
75
63
  export declare function gazesNeeded(input: {
76
64
  interview?: Pick<InterviewInput, "gaze"> | undefined;
77
65
  presenter_gaze?: readonly Pick<PresenterGazeItem, "gaze">[] | undefined;
78
66
  }): InterviewGaze[];
79
- /** The presenter's takes before timing: each run of words on screen is one, and a change of gaze inside a run starts another. */
80
67
  export declare function presenterTakeCount(script: string, input: {
81
68
  interview?: InterviewInput | undefined;
82
69
  presenter_gaze?: readonly PresenterGazeItem[] | undefined;
@@ -100,23 +87,18 @@ export interface InterviewCheckInput {
100
87
  interview?: InterviewInput | undefined;
101
88
  presenter_gaze?: readonly PresenterGazeItem[] | undefined;
102
89
  }
103
- /** The one model that speaks a conversation in one request. */
104
90
  export declare const INTERVIEW_TTS_MODEL = "eleven_v4";
105
- /** Every refusal of `interview` and `presenter_gaze` before money, named by path. */
106
91
  export declare function interviewRefusals(input: InterviewCheckInput): LayerRefusal[];
107
- /** What an interview does differently from what was asked, named before money (rule 3). */
108
92
  export declare function interviewWarnings(input: {
109
93
  script?: unknown;
110
94
  interview?: unknown;
111
95
  voice_pace?: unknown;
112
96
  }): string[];
113
97
  export declare const INTERVIEW_SHARED_VOICE_REFUSAL = "the off-screen speaker needs a voice other than the presenter's";
114
- /** The presenter's voice by name: the named one, else its model's default for the gender; a raw voice_id has no name. */
115
98
  export declare function interviewPresenterVoice(input: {
116
99
  voice?: string | undefined;
117
100
  voice_id?: string | undefined;
118
101
  tts_model?: string | undefined;
119
102
  }, gender: Gender | undefined): string | undefined;
120
- /** The off-screen voice: the named one, else the default, kept off the presenter's voice; the server compares by vendor id (#987). */
121
103
  export declare function interviewOffScreenVoice(interview: Pick<InterviewInput, "off_screen">, speaksPresenterVoice: (voice: string) => boolean): string;
122
104
  export {};
@@ -1,23 +1,16 @@
1
1
  import { lexicalTokens, quoteOccurrences } from "./semantic-inserts.js";
2
2
  import { defaultVoiceOf } from "./voices.js";
3
3
  import { layerWordRange } from "./ugc-layers.js";
4
- // An interview (#972): an off-screen speaker's words inside the script, the presenter answering on screen and holding still while they speak.
5
4
  export const INTERVIEW_GAZES = ["camera", "left", "right"];
6
5
  export const INTERVIEW_LISTENING = ["freeze", "live"];
7
6
  export const MAX_INTERVIEW_TURNS = 30;
8
- /** The presenter's takes in one interview: one per answer, and one more at each change of gaze. */
9
7
  export const MAX_INTERVIEW_TAKES = 16;
10
8
  export const MAX_PRESENTER_GAZE = 20;
11
- /** Past this the presenter holds still long enough to name it. */
12
9
  export const INTERVIEW_FREEZE_WARN_SEC = 6;
13
- /** An off-screen line's length before synthesis, at a conversation's 19 characters a second. */
14
10
  export const INTERVIEW_CHARS_PER_SEC = 19;
15
- /** The conversation's pauses, cut down to a tenth of a second unless pause_trim names others: an interview answers without waiting. */
16
11
  export const INTERVIEW_PAUSE_TRIM = Object.freeze({ sentence_end_s: 0.1, comma_s: 0.1, mid_phrase_s: 0.1 });
17
- /** The off-screen voice when none is named, never the presenter's own. */
18
12
  export const DEFAULT_INTERVIEW_VOICE = "en_male_mark";
19
13
  export const SECOND_INTERVIEW_VOICE = "en_female_cassidy";
20
- /** The off-screen speaker's word ranges in script order, adjacent turns joined; a string names the first turn that does not resolve or overlaps. */
21
14
  export function interviewTurnRanges(script, turns) {
22
15
  const tokens = lexicalTokens(script), ranges = [];
23
16
  for (const [index, turn] of turns.entries()) {
@@ -39,7 +32,6 @@ export function interviewTurnRanges(script, turns) {
39
32
  }
40
33
  return joined;
41
34
  }
42
- /** The script cut into the lines of the conversation, at word boundaries with each word's punctuation kept, in order. */
43
35
  export function interviewTexts(script, turns) {
44
36
  const total = lexicalTokens(script).length, cuts = new Set();
45
37
  for (const turn of turns) {
@@ -56,10 +48,8 @@ export function interviewTexts(script, turns) {
56
48
  return { speaker, text, startWord, coverWord };
57
49
  });
58
50
  }
59
- /** A conversation's pace before synthesis (#991): each line takes a start and a time per word, a short answer reading slower than narration. */
60
51
  export const INTERVIEW_LINE_SEC = 0.43;
61
52
  export const INTERVIEW_WORD_SEC = 0.39;
62
- /** An interview's estimated length and the presenter's share of it, line by line. */
63
53
  export function interviewSecondsEstimate(script, turns) {
64
54
  let totalSec = 0, presenterSec = 0;
65
55
  for (const line of interviewTexts(script, turns)) {
@@ -70,8 +60,6 @@ export function interviewSecondsEstimate(script, turns) {
70
60
  }
71
61
  return { totalSec, presenterSec };
72
62
  }
73
- /** The script split before each lexical word in `boundaries`: whole whitespace chunks where possible, else inside one at the shortest prefix
74
- * that holds exactly the words before the cut. */
75
63
  function splitAtWords(script, boundaries) {
76
64
  const chunks = script.split(/(\s+)/u), pieces = [];
77
65
  let current = "", words = 0, next = 0;
@@ -89,7 +77,6 @@ function splitAtWords(script, boundaries) {
89
77
  current = "";
90
78
  }
91
79
  else {
92
- // The longest such prefix, so the punctuation after the last word stays with it.
93
80
  const cut = [...Array(rest.length).keys()].map(i => i + 1).findLast(p => lexicalTokens(rest.slice(0, p)).length === need &&
94
81
  lexicalTokens(rest.slice(p)).length === count - need);
95
82
  pieces.push(current + rest.slice(0, cut));
@@ -106,11 +93,9 @@ function splitAtWords(script, boundaries) {
106
93
  pieces.push(current);
107
94
  return pieces.map(piece => piece.trim());
108
95
  }
109
- /** Each lexical word's speaker. */
110
96
  export function wordSpeakers(total, turns) {
111
97
  return Array.from({ length: total }, (_, word) => turns.some(turn => turn.startWord <= word && word < turn.coverWord) ? "off_screen" : "presenter");
112
98
  }
113
- /** The presenter's gaze on each lexical word: the interview's own, else camera, then each presenter_gaze item on its words. */
114
99
  export function wordGazes(script, input) {
115
100
  const tokens = lexicalTokens(script), gazes = tokens.map(() => input.interview?.gaze ?? "camera");
116
101
  for (const item of input.presenter_gaze ?? []) {
@@ -122,11 +107,9 @@ export function wordGazes(script, input) {
122
107
  }
123
108
  return gazes;
124
109
  }
125
- /** Every view of the actor the run needs, the main one first. */
126
110
  export function gazesNeeded(input) {
127
111
  return [...new Set([input.interview?.gaze ?? "camera", ...(input.presenter_gaze ?? []).map(item => item.gaze)])];
128
112
  }
129
- /** The presenter's takes before timing: each run of words on screen is one, and a change of gaze inside a run starts another. */
130
113
  export function presenterTakeCount(script, input) {
131
114
  const tokens = lexicalTokens(script), turns = input.interview ? interviewTurnRanges(script, input.interview.turns) : [];
132
115
  if (!Array.isArray(turns))
@@ -148,9 +131,7 @@ export function presenterTakeCount(script, input) {
148
131
  }
149
132
  return takes;
150
133
  }
151
- /** The one model that speaks a conversation in one request. */
152
134
  export const INTERVIEW_TTS_MODEL = "eleven_v4";
153
- /** Every refusal of `interview` and `presenter_gaze` before money, named by path. */
154
135
  export function interviewRefusals(input) {
155
136
  const { interview } = input;
156
137
  if (interview === undefined && input.presenter_gaze === undefined)
@@ -171,7 +152,6 @@ export function interviewRefusals(input) {
171
152
  refusals.push({ path: ["interview", "turns"], message: "every word is the off-screen speaker's: the presenter needs words" });
172
153
  }
173
154
  }
174
- // An actor_id's gender is the pin's, so admission checks its default voice (#972 I2); an unknown gender speaks the default actor's voice.
175
155
  const presenter = input.actor_id === undefined || input.voice !== undefined
176
156
  ? interviewPresenterVoice(input, input.image === undefined ? undefined : input.actor_gender) : undefined;
177
157
  if (interview.off_screen?.voice !== undefined && interview.off_screen.voice === presenter) {
@@ -225,7 +205,6 @@ export function interviewRefusals(input) {
225
205
  }
226
206
  return refusals;
227
207
  }
228
- /** What an interview does differently from what was asked, named before money (rule 3). */
229
208
  export function interviewWarnings(input) {
230
209
  const interview = input.interview;
231
210
  if (typeof input.script !== "string" || !interview || !Array.isArray(interview.turns))
@@ -247,14 +226,11 @@ export function interviewWarnings(input) {
247
226
  return warnings;
248
227
  }
249
228
  export const INTERVIEW_SHARED_VOICE_REFUSAL = "the off-screen speaker needs a voice other than the presenter's";
250
- /** The presenter's voice by name: the named one, else its model's default for the gender; a raw voice_id has no name. */
251
229
  export function interviewPresenterVoice(input, gender) {
252
230
  if (input.voice_id !== undefined)
253
231
  return undefined;
254
232
  return input.voice ?? defaultVoiceOf(input.tts_model, gender).name;
255
233
  }
256
- /** The off-screen voice: the named one, else the default, kept off the presenter's voice; the server compares by vendor id (#987). */
257
234
  export function interviewOffScreenVoice(interview, speaksPresenterVoice) {
258
235
  return interview.off_screen?.voice ?? (speaksPresenterVoice(DEFAULT_INTERVIEW_VOICE) ? SECOND_INTERVIEW_VOICE : DEFAULT_INTERVIEW_VOICE);
259
236
  }
260
- //# sourceMappingURL=ugc-interview.js.map
@@ -5,28 +5,20 @@ export declare const OVERLAY_POSITIONS: readonly ["top_left", "top_right", "bott
5
5
  export type OverlayPosition = (typeof OVERLAY_POSITIONS)[number];
6
6
  export declare const LAYER_ENTERS: readonly ["cut", "fade", "slide", "tilt_in", "pop", "scale_up"];
7
7
  export type LayerEnter = (typeof LAYER_ENTERS)[number];
8
- /** How an overlay leaves (#973 S3); absent is a cut, as every overlay before it. */
9
8
  export declare const LAYER_EXITS: readonly ["cut", "fade", "pop_out", "slide"];
10
9
  export type LayerExit = (typeof LAYER_EXITS)[number];
11
- /** The most an overlay's appearance moves off its first word, in seconds. */
12
10
  export declare const MAX_ENTER_OFFSET_S = 0.5;
13
11
  export declare const LAYOUT_WINDOW_KINDS: readonly ["split", "card"];
14
12
  export type LayoutWindowKind = (typeof LAYOUT_WINDOW_KINDS)[number];
15
13
  export declare const FULL_FRAME_TRANSITIONS: readonly ["cut", "wipe", "flash", "zoom"];
16
- /** `glitch` breaks the cut with a colour split and an inverted frame (#1175 S5 C8); `power` closes the screen to a line and a dot and opens it the
17
- * same way (C9). */
18
14
  export declare const INSERT_TRANSITIONS: readonly ["cut", "wipe", "flash", "zoom", "light_leak", "glitch", "power"];
19
15
  export type InsertTransition = (typeof INSERT_TRANSITIONS)[number];
20
- /** A video insert's key moment slowed down and back (`ramp`) or caught in a short repeating loop (`stutter`) (#1175 S5 C6). */
21
16
  export declare const INSERT_RETIMES: readonly ["ramp", "stutter"];
22
17
  export type InsertRetimeMode = (typeof INSERT_RETIMES)[number];
23
18
  export declare const INSERT_FITS: readonly ["cover", "contain", "auto"];
24
19
  export type InsertFit = (typeof INSERT_FITS)[number];
25
- /** `auto` holds a picture still while filling cuts at most this share of it, and past it scrolls or pans it end to end (#1051 S2). */
26
20
  export declare const INSERT_STILL_CUT = 0.08;
27
- /** `auto` moves a picture only while this share of it shows at once: a 16:10 screenshot (35% in 9:16) pans; past it, it shows whole over blur. */
28
21
  export declare const INSERT_MIN_SHOWN = 0.25;
29
- /** A picture's scroll runs down or up a tall picture, its pan left or right across a wide one (#1051 S2). */
30
22
  export declare const INSERT_MOTIONS: {
31
23
  readonly scroll: readonly ["down", "up"];
32
24
  readonly pan: readonly ["left", "right"];
@@ -38,7 +30,6 @@ export type InsertMotion = {
38
30
  kind: "pan";
39
31
  direction: "left" | "right";
40
32
  };
41
- /** How a product picture comes onto its stage: tilted in depth and settling flat, slid in as a card, lit by a spotlight, or pushed in slowly. */
42
33
  export declare const INSERT_STAGE_ENTRANCES: readonly ["lean_in", "slide_card", "spotlight", "push"];
43
34
  export type InsertStageEntrance = (typeof INSERT_STAGE_ENTRANCES)[number];
44
35
  export declare const SPLIT_MEDIA_SIDES: readonly ["top", "bottom"];
@@ -50,35 +41,26 @@ export declare const SPLIT_MEDIA_SHARE: {
50
41
  export declare const MAX_OVERLAYS = 30;
51
42
  export declare const MAX_LAYOUT_WINDOWS = 15;
52
43
  export declare const MAX_OVERLAYS_AT_ONCE = 3;
53
- /** The first MAX_OVERLAYS_AT_ONCE of `others` on screen together at a word of `range`, or undefined when fewer ever are. */
54
44
  export declare function overlayCrowd<T extends {
55
45
  range: WordRange;
56
46
  }>(others: readonly T[], range: WordRange): T[] | undefined;
57
- /** A footprint on the frame, in shares of its width and height (#778 S3 D5). */
58
47
  export interface LayerRect {
59
48
  left: number;
60
49
  top: number;
61
50
  width: number;
62
51
  height: number;
63
52
  }
64
- /** The frame of a `W:H` format in pixels, as the composition's `canvasForRatio` derives it: the short side 1080, both sides even. */
65
53
  export declare function frameCanvasOf(aspectRatio: string): {
66
54
  width: number;
67
55
  height: number;
68
56
  };
69
- /** The most an overlay at `position` takes, as `overlayBox` draws it: a corner 42% wide, a band the width less margins, 30% high. */
70
57
  export declare function overlayRect(position: OverlayPosition, canvas: {
71
58
  width: number;
72
59
  height: number;
73
60
  }): LayerRect;
74
- /** Two footprints collide when they share an area; touching edges do not. */
75
61
  export declare function rectsOverlap(a: LayerRect, b: LayerRect): boolean;
76
- /** How the presenter is framed: close as every portrait was, wide, lower with room above (#884 S5d), or full, head to feet (#1175 S7). */
77
- /** wide and full are 9:16 views only. */
78
62
  export declare const PRESENTER_FRAMINGS: readonly ["close", "wide", "full"];
79
63
  export type PresenterFraming = (typeof PRESENTER_FRAMINGS)[number];
80
- /** Where the presenter's face sits: 12–48% of the height and the middle 60% of a 9:16 clip, which other formats fit whole and centre (#778 S3). */
81
- /** A wide 9:16 view puts it at 33–58% and the middle half, as measured on a HeyGen render (#884 S5d). */
82
64
  export declare function faceZone(aspectRatio: string, framing?: PresenterFraming): LayerRect;
83
65
  type WordAnchor = {
84
66
  startWord: number;
@@ -96,20 +78,16 @@ export interface WordRange {
96
78
  startWord: number;
97
79
  coverWord: number;
98
80
  }
99
- /** The words an item covers, `[startWord, coverWord)`, as an insert anchor resolves; a string names why it does not resolve. */
100
81
  export declare function layerWordRange(tokens: readonly string[], item: AnchoredItem): WordRange | string;
101
82
  export interface LayerRefusal {
102
83
  path: (string | number)[];
103
84
  message: string;
104
85
  }
105
- /** An overlay at a preset position or at a place: exactly one of the two. */
106
- /** A template drawn over the presenter carries `own`, the rect its kind draws (#973 S4): its box without a place, its shape scaled whole with one. */
107
86
  export type PlaceableOverlay = AnchoredItem & {
108
87
  position?: OverlayPosition | undefined;
109
88
  place?: Place | undefined;
110
89
  own?: LayerRect | undefined;
111
90
  };
112
- /** The templates a scene adds to the overlays for one framing; templates/index.ts gives them, which this module cannot import. */
113
91
  export type SceneExtras = (framing: PresenterFraming) => readonly PlaceableOverlay[];
114
92
  export interface LayerCheckInput {
115
93
  script: string;
@@ -127,24 +105,18 @@ export interface LayerCheckInput {
127
105
  caption_place?: CaptionPlace | undefined;
128
106
  presenter_place?: PresenterPlace | undefined;
129
107
  }
130
- /** What a placed overlay may stand by at admission: the planned face and, with captions, the tallest page's box where they sit (#973 S2). */
131
108
  export interface AdmissionScene {
132
109
  face: LayerRect;
133
110
  captions?: LayerRect | undefined;
134
111
  }
135
112
  export declare function admissionScene(input: Pick<LayerCheckInput, "captions" | "caption_style" | "caption_position" | "caption_place" | "presenter_place">, aspectRatio: string, framing: PresenterFraming): AdmissionScene;
136
- /** The sides a place may take next to the captions: a page grows sideways with its words. */
137
113
  export declare const CAPTION_SIDES: readonly string[];
138
- /** The framings an admitted run may render: a wider request renders narrower when the actor has no such view (full falls to wide, then close); */
139
- /** wide and full need an actor and 9:16. */
140
114
  export declare function admissionFramings(input: {
141
115
  aspect_ratio?: string | undefined;
142
116
  presenter_framing?: unknown;
143
117
  actor_id?: unknown;
144
118
  }): PresenterFraming[];
145
- /** How many layers a place leans on through `{ layer }`, Infinity in a loop or past a missing or preset anchor; a template is an anchor as drawn. */
146
119
  export declare function placeDepth(overlays: readonly PlaceableOverlay[], id: string, seen?: ReadonlySet<string>): number;
147
- /** A template's own rect in pixels: the shape its place scales it to. */
148
120
  export declare const ownPixels: (own: LayerRect, canvas: {
149
121
  width: number;
150
122
  height: number;
@@ -152,23 +124,16 @@ export declare const ownPixels: (own: LayerRect, canvas: {
152
124
  width: number;
153
125
  height: number;
154
126
  };
155
- /** Each layer's box at admission, by id: a preset's footprint, a template's own rect, a place resolved on the usual face (a template's shape scaled
156
- * whole into it); a place on a broken chain has none. */
157
127
  export declare function overlayFootprints(overlays: readonly PlaceableOverlay[], aspectRatio: string, framing: PresenterFraming, scene?: AdmissionScene): Map<string, LayerRect>;
158
- /** Over this share of the face's box a placed overlay covers the face; under it, it touches the edge (#973 S1). */
159
128
  export declare const FACE_COVER_SHARE = 0.1;
160
- /** Under this share of the frame's short side an overlay would not read. */
161
129
  export declare const OVERLAY_MIN_SIDE = 0.03;
162
- /** Over this share of the frame an overlay hides a presenter who is still billed. */
163
130
  export declare const OVERLAY_COVERED_PRESENTER = 0.6;
164
- /** Admission warnings for placed overlays and templates: a box at the face's edge, and a box that hides most of a billed presenter. */
165
131
  export declare function placeWarnings(input: {
166
132
  overlays?: unknown;
167
133
  aspect_ratio?: unknown;
168
134
  presenter_framing?: unknown;
169
135
  actor_id?: unknown;
170
136
  }, extras?: SceneExtras): string[];
171
- /** The refusals a placed overlay or template meets on its anchor and on its box in every framing, at the path `at` names (#973 S1, S4). */
172
137
  export declare function placedRefusals(what: "overlay" | "template", item: PlaceableOverlay & {
173
138
  place: Place;
174
139
  }, range: WordRange, at: (...rest: string[]) => (string | number)[], scene: {
@@ -183,20 +148,16 @@ export declare function placedRefusals(what: "overlay" | "template", item: Place
183
148
  height: number;
184
149
  };
185
150
  }): LayerRefusal[];
186
- /** Every refusal of overlays and layout windows against the script, named by path; empty when they render. `extras` adds the run's templates. */
187
151
  export declare function layerRefusals(input: LayerCheckInput, extras?: SceneExtras): LayerRefusal[];
188
152
  export interface LayerFrames {
189
153
  id: string;
190
154
  startFrame: number;
191
155
  endFrame: number;
192
156
  }
193
- /** Each overlay's first frame moved by its enter_offset_s (#973 S3), inside its own frames and the video. Overlays that left on or before its first */
194
- /** word and still show then leave as it enters, so no more overlays share the screen than their words allow. */
195
157
  export declare function offsetOverlayFrames(frames: readonly LayerFrames[], overlays: readonly {
196
158
  id: string;
197
159
  enter_offset_s?: number | undefined;
198
160
  }[], fps: number, warnings: string[]): LayerFrames[];
199
- /** Frames of each word range on the run's narration, by the rule inserts follow: a range ends where its first uncovered word starts. */
200
161
  export declare function resolveLayerFrames(input: {
201
162
  tokens: readonly string[];
202
163
  words: readonly WordTiming[];