@clipwright/core 0.34.0 → 0.36.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 (237) hide show
  1. package/README.md +6 -3
  2. package/dist/account-actors.d.ts +173 -15
  3. package/dist/account-actors.js +142 -11
  4. package/dist/account-actors.js.map +1 -1
  5. package/dist/actor-bounds.d.ts +4 -0
  6. package/dist/actor-bounds.js +4 -0
  7. package/dist/actor-bounds.js.map +1 -1
  8. package/dist/actors.d.ts +31 -0
  9. package/dist/actors.js +26 -0
  10. package/dist/actors.js.map +1 -1
  11. package/dist/api-failure.d.ts +1 -1
  12. package/dist/api-failure.js +2 -2
  13. package/dist/api-failure.js.map +1 -1
  14. package/dist/aspect.d.ts +1 -1
  15. package/dist/aspect.js +5 -5
  16. package/dist/aspect.js.map +1 -1
  17. package/dist/assets.d.ts +30 -6
  18. package/dist/assets.js +26 -8
  19. package/dist/assets.js.map +1 -1
  20. package/dist/billing-terms.d.ts +69 -0
  21. package/dist/billing-terms.js +8 -0
  22. package/dist/billing-terms.js.map +1 -1
  23. package/dist/canvas-fit.js +1 -1
  24. package/dist/canvas-fit.js.map +1 -1
  25. package/dist/contract-dispositions.d.ts +493 -9
  26. package/dist/contract-dispositions.js +38 -14
  27. package/dist/contract-dispositions.js.map +1 -1
  28. package/dist/contracts/v1/workflow-brief.d.ts +1441 -0
  29. package/dist/contracts/v1/workflow-brief.js +4 -0
  30. package/dist/contracts/v1/workflow-brief.js.map +1 -1
  31. package/dist/contracts/v1/workflow-catalog.d.ts +2181 -103
  32. package/dist/contracts/v1/workflow-catalog.js +4 -2
  33. package/dist/contracts/v1/workflow-catalog.js.map +1 -1
  34. package/dist/contracts/v1/workflow-client.d.ts +1673 -3
  35. package/dist/contracts/v1/workflow-client.js +6 -3
  36. package/dist/contracts/v1/workflow-client.js.map +1 -1
  37. package/dist/contracts/v1/workflow-execution.d.ts +164 -12
  38. package/dist/contracts/v1/workflow-execution.js +15 -7
  39. package/dist/contracts/v1/workflow-execution.js.map +1 -1
  40. package/dist/contracts/v1/workflow-plan.d.ts +3228 -140
  41. package/dist/contracts/v1/workflow-primitives.d.ts +3 -1
  42. package/dist/contracts/v1/workflow-primitives.js +1 -1
  43. package/dist/contracts/v1/workflow-primitives.js.map +1 -1
  44. package/dist/contracts/v1/workflow-run-read.d.ts +116 -3
  45. package/dist/edit-billing.d.ts +12 -0
  46. package/dist/edit-billing.js +7 -0
  47. package/dist/edit-billing.js.map +1 -1
  48. package/dist/edit-candidate.d.ts +2 -2
  49. package/dist/edit-candidate.js +2 -2
  50. package/dist/edit-candidate.js.map +1 -1
  51. package/dist/edit-long-form.d.ts +3 -3
  52. package/dist/edit-long-form.js +14 -4
  53. package/dist/edit-long-form.js.map +1 -1
  54. package/dist/edit-revision.d.ts +1 -1
  55. package/dist/edit-revision.js +1 -1
  56. package/dist/edit-revision.js.map +1 -1
  57. package/dist/endpoint-notes.d.ts +3 -0
  58. package/dist/endpoint-notes.js +70 -0
  59. package/dist/endpoint-notes.js.map +1 -0
  60. package/dist/endpoints.d.ts +4 -0
  61. package/dist/endpoints.js +16 -0
  62. package/dist/endpoints.js.map +1 -1
  63. package/dist/errors.d.ts +2 -2
  64. package/dist/errors.js +11 -2
  65. package/dist/errors.js.map +1 -1
  66. package/dist/face-billing.d.ts +55 -0
  67. package/dist/face-billing.js +24 -2
  68. package/dist/face-billing.js.map +1 -1
  69. package/dist/face-delivery.d.ts +1 -1
  70. package/dist/face-delivery.js +1 -1
  71. package/dist/face-delivery.js.map +1 -1
  72. package/dist/faceless-media-record.d.ts +1 -1
  73. package/dist/faceless-media-record.js +1 -1
  74. package/dist/faceless-media-record.js.map +1 -1
  75. package/dist/faceless-price.d.ts +49 -6
  76. package/dist/faceless-price.js +44 -10
  77. package/dist/faceless-price.js.map +1 -1
  78. package/dist/faceless-public-plan.d.ts +6 -2
  79. package/dist/faceless-public-plan.js +11 -7
  80. package/dist/faceless-public-plan.js.map +1 -1
  81. package/dist/faceless-public.d.ts +7 -2
  82. package/dist/faceless-public.js +5 -5
  83. package/dist/faceless-public.js.map +1 -1
  84. package/dist/faceless-voices.d.ts +6 -6
  85. package/dist/faceless-voices.js +5 -5
  86. package/dist/faceless-voices.js.map +1 -1
  87. package/dist/feedback.d.ts +29 -0
  88. package/dist/feedback.js +29 -0
  89. package/dist/feedback.js.map +1 -0
  90. package/dist/generations.d.ts +2 -19
  91. package/dist/generations.js +28 -49
  92. package/dist/generations.js.map +1 -1
  93. package/dist/idempotency.d.ts +2 -0
  94. package/dist/idempotency.js +7 -4
  95. package/dist/idempotency.js.map +1 -1
  96. package/dist/index.d.ts +12 -0
  97. package/dist/index.js +15 -0
  98. package/dist/index.js.map +1 -1
  99. package/dist/long-form-pricing.d.ts +7 -4
  100. package/dist/long-form-pricing.js +13 -10
  101. package/dist/long-form-pricing.js.map +1 -1
  102. package/dist/long-form-revision.js +1 -1
  103. package/dist/long-form-revision.js.map +1 -1
  104. package/dist/media-timebase.js +2 -2
  105. package/dist/media-timebase.js.map +1 -1
  106. package/dist/openapi.d.ts +155 -0
  107. package/dist/openapi.js +339 -0
  108. package/dist/openapi.js.map +1 -0
  109. package/dist/pacing.d.ts +15 -0
  110. package/dist/pacing.js +30 -0
  111. package/dist/pacing.js.map +1 -1
  112. package/dist/parts-pricing.d.ts +84 -0
  113. package/dist/parts-pricing.js +105 -0
  114. package/dist/parts-pricing.js.map +1 -0
  115. package/dist/presenter-beats.d.ts +45 -0
  116. package/dist/presenter-beats.js +144 -0
  117. package/dist/presenter-beats.js.map +1 -0
  118. package/dist/prices.d.ts +98 -0
  119. package/dist/prices.js +193 -0
  120. package/dist/prices.js.map +1 -0
  121. package/dist/public-responses.d.ts +23 -0
  122. package/dist/public-responses.js +11 -0
  123. package/dist/public-responses.js.map +1 -0
  124. package/dist/rate-limit.d.ts +2 -2
  125. package/dist/rate-limit.js +2 -2
  126. package/dist/rate-limit.js.map +1 -1
  127. package/dist/reference-analysis.d.ts +915 -0
  128. package/dist/reference-analysis.js +210 -0
  129. package/dist/reference-analysis.js.map +1 -0
  130. package/dist/reference-kinds.d.ts +8 -0
  131. package/dist/reference-kinds.js +10 -0
  132. package/dist/reference-kinds.js.map +1 -0
  133. package/dist/reference-profile.d.ts +671 -0
  134. package/dist/reference-profile.js +198 -0
  135. package/dist/reference-profile.js.map +1 -0
  136. package/dist/reference-staging.d.ts +583 -0
  137. package/dist/reference-staging.js +153 -0
  138. package/dist/reference-staging.js.map +1 -0
  139. package/dist/reference-voice.d.ts +305 -0
  140. package/dist/reference-voice.js +108 -0
  141. package/dist/reference-voice.js.map +1 -0
  142. package/dist/render-backend.d.ts +1 -1
  143. package/dist/resolved-timeline.d.ts +54 -2
  144. package/dist/resolved-timeline.js +52 -6
  145. package/dist/resolved-timeline.js.map +1 -1
  146. package/dist/run-static-warnings.js +15 -6
  147. package/dist/run-static-warnings.js.map +1 -1
  148. package/dist/runs.d.ts +78 -6
  149. package/dist/runs.js +9 -4
  150. package/dist/runs.js.map +1 -1
  151. package/dist/semantic-inserts.d.ts +1 -1
  152. package/dist/semantic-inserts.js +2 -2
  153. package/dist/semantic-inserts.js.map +1 -1
  154. package/dist/skills.d.ts +1810 -29
  155. package/dist/skills.js +148 -35
  156. package/dist/skills.js.map +1 -1
  157. package/dist/templates/callout.d.ts +2 -2
  158. package/dist/templates/callout.js +6 -6
  159. package/dist/templates/callout.js.map +1 -1
  160. package/dist/templates/checklist.js +2 -2
  161. package/dist/templates/checklist.js.map +1 -1
  162. package/dist/templates/index.d.ts +15 -8
  163. package/dist/templates/index.js +30 -18
  164. package/dist/templates/index.js.map +1 -1
  165. package/dist/templates/notification.js +2 -2
  166. package/dist/templates/notification.js.map +1 -1
  167. package/dist/templates/phone-call.d.ts +3 -0
  168. package/dist/templates/phone-call.js +14 -7
  169. package/dist/templates/phone-call.js.map +1 -1
  170. package/dist/templates/progress.js +2 -2
  171. package/dist/templates/progress.js.map +1 -1
  172. package/dist/templates/size.d.ts +1 -1
  173. package/dist/templates/size.js +1 -1
  174. package/dist/templates/size.js.map +1 -1
  175. package/dist/templates/sounds.d.ts +357 -7
  176. package/dist/templates/sounds.js +34 -12
  177. package/dist/templates/sounds.js.map +1 -1
  178. package/dist/ugc-call.d.ts +89 -0
  179. package/dist/ugc-call.js +111 -0
  180. package/dist/ugc-call.js.map +1 -0
  181. package/dist/ugc-delivery.d.ts +1 -1
  182. package/dist/ugc-delivery.js +1 -1
  183. package/dist/ugc-delivery.js.map +1 -1
  184. package/dist/ugc-framing.d.ts +26 -0
  185. package/dist/ugc-framing.js +64 -0
  186. package/dist/ugc-framing.js.map +1 -0
  187. package/dist/ugc-layers.d.ts +5 -1
  188. package/dist/ugc-layers.js +6 -1
  189. package/dist/ugc-layers.js.map +1 -1
  190. package/dist/ugc-video-media.d.ts +1 -1
  191. package/dist/ugc-video-media.js +1 -1
  192. package/dist/ugc-video-media.js.map +1 -1
  193. package/dist/uploads.d.ts +2 -2
  194. package/dist/uploads.js +2 -2
  195. package/dist/uploads.js.map +1 -1
  196. package/dist/vendor-response.d.ts +4 -0
  197. package/dist/vendor-response.js +12 -0
  198. package/dist/vendor-response.js.map +1 -1
  199. package/dist/voice-admission.d.ts +836 -420
  200. package/dist/voice-admission.js +22 -5
  201. package/dist/voice-admission.js.map +1 -1
  202. package/dist/voice-listing.d.ts +4 -4
  203. package/dist/voice-listing.js +11 -6
  204. package/dist/voice-listing.js.map +1 -1
  205. package/dist/voice-pace.d.ts +34 -0
  206. package/dist/voice-pace.generated.json +72 -0
  207. package/dist/voice-pace.js +34 -0
  208. package/dist/voice-pace.js.map +1 -0
  209. package/dist/voices.d.ts +32 -19
  210. package/dist/voices.js +81 -35
  211. package/dist/voices.js.map +1 -1
  212. package/dist/workflows/catalog.js +2 -1
  213. package/dist/workflows/catalog.js.map +1 -1
  214. package/dist/workflows/index.d.ts +2 -0
  215. package/dist/workflows/index.js +2 -0
  216. package/dist/workflows/index.js.map +1 -1
  217. package/dist/workflows/methods/faceless-explainer.d.ts +388 -10
  218. package/dist/workflows/methods/kinetic-launch.d.ts +388 -10
  219. package/dist/workflows/methods/kinetic-launch.js +1 -1
  220. package/dist/workflows/methods/product-image-story.d.ts +388 -10
  221. package/dist/workflows/methods/reference-remake.d.ts +881 -0
  222. package/dist/workflows/methods/reference-remake.js +26 -0
  223. package/dist/workflows/methods/reference-remake.js.map +1 -0
  224. package/dist/workflows/methods/shared.d.ts +388 -10
  225. package/dist/workflows/methods/shared.js +2 -2
  226. package/dist/workflows/methods/shared.js.map +1 -1
  227. package/dist/workflows/methods/ugc-faq-answer.d.ts +388 -10
  228. package/dist/workflows/methods/ugc-product-intro.d.ts +388 -10
  229. package/dist/workflows/methods/website-proof-demo.d.ts +388 -10
  230. package/dist/workflows/methods/website-proof-demo.js +1 -1
  231. package/dist/workflows/reference-remake.d.ts +684 -0
  232. package/dist/workflows/reference-remake.js +602 -0
  233. package/dist/workflows/reference-remake.js.map +1 -0
  234. package/dist/workflows/validate.js +10 -7
  235. package/dist/workflows/validate.js.map +1 -1
  236. package/package.json +9 -4
  237. package/CHANGELOG.md +0 -1393
@@ -0,0 +1,684 @@
1
+ import { z } from 'zod';
2
+ import { type ReferenceProfile } from '../reference-profile.js';
3
+ import type { CapabilityProfile } from '../contracts/v1/workflow-catalog.js';
4
+ import { type WorkflowPlanDocument } from '../contracts/v1/workflow-plan.js';
5
+ import { type WorkflowIssue } from '../contracts/v1/workflow-primitives.js';
6
+ export declare const planReferenceRemake: z.ZodObject<{
7
+ reference_profile: z.ZodObject<{
8
+ version: z.ZodLiteral<"reference-profile-v1">;
9
+ source: z.ZodObject<{
10
+ digest: z.ZodString;
11
+ duration_s: z.ZodNumber;
12
+ width: z.ZodNumber;
13
+ height: z.ZodNumber;
14
+ url: z.ZodOptional<z.ZodString>;
15
+ }, z.core.$strict>;
16
+ format: z.ZodEnum<{
17
+ broll: "broll";
18
+ faceless: "faceless";
19
+ other: "other";
20
+ talking_head_graphics: "talking_head_graphics";
21
+ }>;
22
+ beats: z.ZodArray<z.ZodObject<{
23
+ start_frac: z.ZodNumber;
24
+ end_frac: z.ZodNumber;
25
+ start_s: z.ZodNumber;
26
+ end_s: z.ZodNumber;
27
+ role: z.ZodEnum<{
28
+ agitation: "agitation";
29
+ before_after: "before_after";
30
+ cta: "cta";
31
+ demo: "demo";
32
+ hook: "hook";
33
+ offer: "offer";
34
+ other: "other";
35
+ problem: "problem";
36
+ proof: "proof";
37
+ social_proof: "social_proof";
38
+ solution: "solution";
39
+ }>;
40
+ spoken_summary: z.ZodString;
41
+ graphics: z.ZodArray<z.ZodObject<{
42
+ kind: z.ZodEnum<{
43
+ callout: "callout";
44
+ checklist: "checklist";
45
+ compare: "compare";
46
+ end_card: "end_card";
47
+ insert_media: "insert_media";
48
+ layout_split: "layout_split";
49
+ lower_third: "lower_third";
50
+ notification: "notification";
51
+ overlay_media: "overlay_media";
52
+ particles: "particles";
53
+ phone_call: "phone_call";
54
+ progress: "progress";
55
+ quote: "quote";
56
+ rating: "rating";
57
+ stat: "stat";
58
+ tag: "tag";
59
+ title_card: "title_card";
60
+ unmapped: "unmapped";
61
+ }>;
62
+ source_kind: z.ZodEnum<{
63
+ banner: "banner";
64
+ before_after_split: "before_after_split";
65
+ callout: "callout";
66
+ checklist: "checklist";
67
+ comment_box: "comment_box";
68
+ compare: "compare";
69
+ concept_card: "concept_card";
70
+ end_card: "end_card";
71
+ insert_media: "insert_media";
72
+ layout_split: "layout_split";
73
+ logo_card: "logo_card";
74
+ lower_third: "lower_third";
75
+ notification: "notification";
76
+ other: "other";
77
+ overlay_media: "overlay_media";
78
+ particles: "particles";
79
+ phone_call: "phone_call";
80
+ price_card: "price_card";
81
+ product_ui: "product_ui";
82
+ progress: "progress";
83
+ quote: "quote";
84
+ rating: "rating";
85
+ screenshot: "screenshot";
86
+ split_screen: "split_screen";
87
+ stat: "stat";
88
+ tag: "tag";
89
+ title_card: "title_card";
90
+ toggle_checklist: "toggle_checklist";
91
+ unmapped: "unmapped";
92
+ }>;
93
+ position: z.ZodEnum<{
94
+ bottom: "bottom";
95
+ bottom_left: "bottom_left";
96
+ bottom_right: "bottom_right";
97
+ center: "center";
98
+ full_screen: "full_screen";
99
+ other: "other";
100
+ split_bottom: "split_bottom";
101
+ split_top: "split_top";
102
+ top: "top";
103
+ top_left: "top_left";
104
+ top_right: "top_right";
105
+ }>;
106
+ state_changes: z.ZodArray<z.ZodObject<{
107
+ at_frac: z.ZodNumber;
108
+ change: z.ZodEnum<{
109
+ appears: "appears";
110
+ checked: "checked";
111
+ disappears: "disappears";
112
+ highlighted: "highlighted";
113
+ other: "other";
114
+ toggles_off: "toggles_off";
115
+ toggles_on: "toggles_on";
116
+ value_changes: "value_changes";
117
+ }>;
118
+ }, z.core.$strict>>;
119
+ label_hint: z.ZodString;
120
+ }, z.core.$strict>>;
121
+ camera: z.ZodEnum<{
122
+ other: "other";
123
+ punch_in: "punch_in";
124
+ shake: "shake";
125
+ static: "static";
126
+ zoom_out: "zoom_out";
127
+ }>;
128
+ transition_in: z.ZodEnum<{
129
+ cut: "cut";
130
+ flash: "flash";
131
+ none: "none";
132
+ other: "other";
133
+ wipe: "wipe";
134
+ zoom: "zoom";
135
+ }>;
136
+ sounds: z.ZodArray<z.ZodObject<{
137
+ at_frac: z.ZodNumber;
138
+ kind: z.ZodEnum<{
139
+ answer: "answer";
140
+ click: "click";
141
+ edit: "edit";
142
+ flash: "flash";
143
+ hangup: "hangup";
144
+ money: "money";
145
+ music: "music";
146
+ notify: "notify";
147
+ other: "other";
148
+ pop: "pop";
149
+ recorded_audio: "recorded_audio";
150
+ ring: "ring";
151
+ step: "step";
152
+ toggle: "toggle";
153
+ whoosh: "whoosh";
154
+ }>;
155
+ }, z.core.$strict>>;
156
+ presenter_behaviour: z.ZodEnum<{
157
+ absent: "absent";
158
+ listening: "listening";
159
+ reacting: "reacting";
160
+ speaking: "speaking";
161
+ }>;
162
+ }, z.core.$strict>>;
163
+ captions: z.ZodObject<{
164
+ present: z.ZodBoolean;
165
+ words_per_caption_max: z.ZodNumber;
166
+ position: z.ZodEnum<{
167
+ bottom: "bottom";
168
+ lower: "lower";
169
+ middle: "middle";
170
+ top: "top";
171
+ }>;
172
+ emphasis_style: z.ZodEnum<{
173
+ color: "color";
174
+ none: "none";
175
+ pill: "pill";
176
+ punch: "punch";
177
+ }>;
178
+ hidden_under_graphics: z.ZodBoolean;
179
+ }, z.core.$strict>;
180
+ pacing: z.ZodObject<{
181
+ layer_change_every_s: z.ZodNumber;
182
+ face_share: z.ZodNumber;
183
+ }, z.core.$strict>;
184
+ palette: z.ZodArray<z.ZodString>;
185
+ music: z.ZodString;
186
+ unmapped: z.ZodArray<z.ZodObject<{
187
+ what: z.ZodString;
188
+ beat_index: z.ZodNumber;
189
+ suggested_substitute: z.ZodString;
190
+ }, z.core.$strict>>;
191
+ analysis: z.ZodObject<{
192
+ models: z.ZodArray<z.ZodString>;
193
+ cost_usd: z.ZodOptional<z.ZodNumber>;
194
+ latency_ms: z.ZodNumber;
195
+ warnings: z.ZodOptional<z.ZodArray<z.ZodString>>;
196
+ }, z.core.$strict>;
197
+ voice: z.ZodOptional<z.ZodObject<{
198
+ version: z.ZodLiteral<"voice-profile-v1">;
199
+ method: z.ZodObject<{
200
+ pause_drop_db: z.ZodNumber;
201
+ pause_min_run_s: z.ZodNumber;
202
+ cut_safe_db: z.ZodNumber;
203
+ pitch: z.ZodLiteral<"yin">;
204
+ sample_rate: z.ZodNumber;
205
+ }, z.core.$strict>;
206
+ presenter_speaker: z.ZodNullable<z.ZodString>;
207
+ speakers: z.ZodArray<z.ZodObject<{
208
+ speaker: z.ZodString;
209
+ word_count: z.ZodNumber;
210
+ sentence_count: z.ZodNumber;
211
+ pace: z.ZodObject<{
212
+ status: z.ZodEnum<{
213
+ measured: "measured";
214
+ unmeasured: "unmeasured";
215
+ }>;
216
+ words_per_second: z.ZodNullable<z.ZodNumber>;
217
+ basis: z.ZodEnum<{
218
+ sentence_spans: "sentence_spans";
219
+ turn_spans: "turn_spans";
220
+ }>;
221
+ }, z.core.$strict>;
222
+ pauses: z.ZodObject<{
223
+ sentence_end: z.ZodObject<{
224
+ timestamp: z.ZodObject<{
225
+ count: z.ZodNumber;
226
+ median_s: z.ZodNullable<z.ZodNumber>;
227
+ p90_s: z.ZodNullable<z.ZodNumber>;
228
+ count_ge150ms: z.ZodNumber;
229
+ }, z.core.$strict>;
230
+ acoustic_pause: z.ZodObject<{
231
+ count: z.ZodNumber;
232
+ median_s: z.ZodNullable<z.ZodNumber>;
233
+ p90_s: z.ZodNullable<z.ZodNumber>;
234
+ count_ge150ms: z.ZodNumber;
235
+ }, z.core.$strict>;
236
+ cut_safe: z.ZodObject<{
237
+ count: z.ZodNumber;
238
+ median_s: z.ZodNullable<z.ZodNumber>;
239
+ p90_s: z.ZodNullable<z.ZodNumber>;
240
+ count_ge150ms: z.ZodNumber;
241
+ }, z.core.$strict>;
242
+ acoustic_no_dip_count: z.ZodNumber;
243
+ acoustic_unconfirmed_count: z.ZodNumber;
244
+ }, z.core.$strict>;
245
+ comma: z.ZodObject<{
246
+ timestamp: z.ZodObject<{
247
+ count: z.ZodNumber;
248
+ median_s: z.ZodNullable<z.ZodNumber>;
249
+ p90_s: z.ZodNullable<z.ZodNumber>;
250
+ count_ge150ms: z.ZodNumber;
251
+ }, z.core.$strict>;
252
+ acoustic_pause: z.ZodObject<{
253
+ count: z.ZodNumber;
254
+ median_s: z.ZodNullable<z.ZodNumber>;
255
+ p90_s: z.ZodNullable<z.ZodNumber>;
256
+ count_ge150ms: z.ZodNumber;
257
+ }, z.core.$strict>;
258
+ cut_safe: z.ZodObject<{
259
+ count: z.ZodNumber;
260
+ median_s: z.ZodNullable<z.ZodNumber>;
261
+ p90_s: z.ZodNullable<z.ZodNumber>;
262
+ count_ge150ms: z.ZodNumber;
263
+ }, z.core.$strict>;
264
+ acoustic_no_dip_count: z.ZodNumber;
265
+ acoustic_unconfirmed_count: z.ZodNumber;
266
+ }, z.core.$strict>;
267
+ mid_phrase: z.ZodObject<{
268
+ timestamp: z.ZodObject<{
269
+ count: z.ZodNumber;
270
+ median_s: z.ZodNullable<z.ZodNumber>;
271
+ p90_s: z.ZodNullable<z.ZodNumber>;
272
+ count_ge150ms: z.ZodNumber;
273
+ }, z.core.$strict>;
274
+ acoustic_pause: z.ZodObject<{
275
+ count: z.ZodNumber;
276
+ median_s: z.ZodNullable<z.ZodNumber>;
277
+ p90_s: z.ZodNullable<z.ZodNumber>;
278
+ count_ge150ms: z.ZodNumber;
279
+ }, z.core.$strict>;
280
+ cut_safe: z.ZodObject<{
281
+ count: z.ZodNumber;
282
+ median_s: z.ZodNullable<z.ZodNumber>;
283
+ p90_s: z.ZodNullable<z.ZodNumber>;
284
+ count_ge150ms: z.ZodNumber;
285
+ }, z.core.$strict>;
286
+ acoustic_no_dip_count: z.ZodNumber;
287
+ acoustic_unconfirmed_count: z.ZodNumber;
288
+ }, z.core.$strict>;
289
+ }, z.core.$strict>;
290
+ long_pause_count: z.ZodNumber;
291
+ hinge: z.ZodObject<{
292
+ status: z.ZodEnum<{
293
+ measured: "measured";
294
+ not_evaluated: "not_evaluated";
295
+ }>;
296
+ sentence_share: z.ZodNullable<z.ZodNumber>;
297
+ evaluated_sentences: z.ZodNumber;
298
+ coverage: z.ZodNullable<z.ZodNumber>;
299
+ timestamp_sentence_share: z.ZodNullable<z.ZodNumber>;
300
+ median_position: z.ZodNullable<z.ZodNumber>;
301
+ median_seconds: z.ZodNullable<z.ZodNumber>;
302
+ }, z.core.$strict>;
303
+ pitch: z.ZodObject<{
304
+ status: z.ZodEnum<{
305
+ measured: "measured";
306
+ no_voiced_frames: "no_voiced_frames";
307
+ }>;
308
+ ceiling_hz: z.ZodNumber;
309
+ ceiling_basis: z.ZodEnum<{
310
+ configured: "configured";
311
+ default: "default";
312
+ low_f0: "low_f0";
313
+ }>;
314
+ median_hz: z.ZodNullable<z.ZodNumber>;
315
+ p10_hz: z.ZodNullable<z.ZodNumber>;
316
+ p90_hz: z.ZodNullable<z.ZodNumber>;
317
+ range_st: z.ZodNullable<z.ZodNumber>;
318
+ voiced_frames: z.ZodNumber;
319
+ }, z.core.$strict>;
320
+ loudness: z.ZodObject<{
321
+ status: z.ZodEnum<{
322
+ measured: "measured";
323
+ unmeasured: "unmeasured";
324
+ }>;
325
+ range_db_p10_p90: z.ZodNullable<z.ZodNumber>;
326
+ }, z.core.$strict>;
327
+ warnings: z.ZodArray<z.ZodEnum<{
328
+ background_music_present_f0_and_intensity_may_be_contaminated: "background_music_present_f0_and_intensity_may_be_contaminated";
329
+ no_sentence_terminal_punctuation_pace_uses_turn_spans: "no_sentence_terminal_punctuation_pace_uses_turn_spans";
330
+ }>>;
331
+ }, z.core.$strict>>;
332
+ }, z.core.$strict>>;
333
+ presenter_framing: z.ZodOptional<z.ZodEnum<{
334
+ close: "close";
335
+ wide: "wide";
336
+ }>>;
337
+ presenter_mic: z.ZodOptional<z.ZodBoolean>;
338
+ staging: z.ZodOptional<z.ZodObject<{
339
+ version: z.ZodLiteral<"reference-staging-v1">;
340
+ analysis_width: z.ZodNumber;
341
+ anchors: z.ZodArray<z.ZodObject<{
342
+ id: z.ZodString;
343
+ t_s: z.ZodNumber;
344
+ }, z.core.$strict>>;
345
+ elements: z.ZodArray<z.ZodObject<{
346
+ id: z.ZodString;
347
+ beat_index: z.ZodNumber;
348
+ graphic_index: z.ZodNullable<z.ZodNumber>;
349
+ kind: z.ZodEnum<{
350
+ banner: "banner";
351
+ before_after_split: "before_after_split";
352
+ callout: "callout";
353
+ checklist: "checklist";
354
+ comment_box: "comment_box";
355
+ compare: "compare";
356
+ concept_card: "concept_card";
357
+ end_card: "end_card";
358
+ insert_media: "insert_media";
359
+ layout_split: "layout_split";
360
+ logo_card: "logo_card";
361
+ lower_third: "lower_third";
362
+ notification: "notification";
363
+ other: "other";
364
+ overlay_media: "overlay_media";
365
+ particles: "particles";
366
+ phone_call: "phone_call";
367
+ price_card: "price_card";
368
+ product_ui: "product_ui";
369
+ progress: "progress";
370
+ quote: "quote";
371
+ rating: "rating";
372
+ screenshot: "screenshot";
373
+ split_screen: "split_screen";
374
+ stat: "stat";
375
+ tag: "tag";
376
+ title_card: "title_card";
377
+ toggle_checklist: "toggle_checklist";
378
+ unmapped: "unmapped";
379
+ }>;
380
+ rect_hold: z.ZodOptional<z.ZodObject<{
381
+ left: z.ZodNumber;
382
+ top: z.ZodNumber;
383
+ width: z.ZodNumber;
384
+ height: z.ZodNumber;
385
+ }, z.core.$strict>>;
386
+ rect_hold_face: z.ZodOptional<z.ZodObject<{
387
+ left: z.ZodNumber;
388
+ top: z.ZodNumber;
389
+ width: z.ZodNumber;
390
+ height: z.ZodNumber;
391
+ }, z.core.$strict>>;
392
+ rect_method: z.ZodOptional<z.ZodEnum<{
393
+ "cv-before-after/v1": "cv-before-after/v1";
394
+ "cv-cells/v1": "cv-cells/v1";
395
+ "cv-parallax/v1": "cv-parallax/v1";
396
+ "cv-template/v1": "cv-template/v1";
397
+ "vision-still": "vision-still";
398
+ "vision-video": "vision-video";
399
+ "yunet-native/v1": "yunet-native/v1";
400
+ }>>;
401
+ rects: z.ZodOptional<z.ZodArray<z.ZodObject<{
402
+ t_s: z.ZodNumber;
403
+ rect: z.ZodObject<{
404
+ left: z.ZodNumber;
405
+ top: z.ZodNumber;
406
+ width: z.ZodNumber;
407
+ height: z.ZodNumber;
408
+ }, z.core.$strict>;
409
+ visible: z.ZodNumber;
410
+ }, z.core.$strict>>>;
411
+ entry: z.ZodOptional<z.ZodObject<{
412
+ first_visible_s: z.ZodOptional<z.ZodNumber>;
413
+ settled_s: z.ZodOptional<z.ZodNumber>;
414
+ anchors: z.ZodOptional<z.ZodArray<z.ZodObject<{
415
+ id: z.ZodString;
416
+ offset_s: z.ZodNumber;
417
+ }, z.core.$strict>>>;
418
+ style: z.ZodOptional<z.ZodEnum<{
419
+ blur_in: "blur_in";
420
+ fade: "fade";
421
+ pop: "pop";
422
+ scale_up: "scale_up";
423
+ slide: "slide";
424
+ tilt_in: "tilt_in";
425
+ typewriter: "typewriter";
426
+ unknown: "unknown";
427
+ wipe: "wipe";
428
+ }>>;
429
+ from: z.ZodOptional<z.ZodEnum<{
430
+ bottom: "bottom";
431
+ left: "left";
432
+ lower_left: "lower_left";
433
+ lower_right: "lower_right";
434
+ none: "none";
435
+ right: "right";
436
+ top: "top";
437
+ upper_left: "upper_left";
438
+ upper_right: "upper_right";
439
+ }>>;
440
+ duration_s: z.ZodOptional<z.ZodNumber>;
441
+ displacement: z.ZodOptional<z.ZodTuple<[z.ZodNumber, z.ZodNumber], null>>;
442
+ scale_from: z.ZodOptional<z.ZodOptional<z.ZodNumber>>;
443
+ method: z.ZodOptional<z.ZodEnum<{
444
+ "cv-before-after/v1": "cv-before-after/v1";
445
+ "cv-cells/v1": "cv-cells/v1";
446
+ "cv-parallax/v1": "cv-parallax/v1";
447
+ "cv-template/v1": "cv-template/v1";
448
+ "vision-still": "vision-still";
449
+ "vision-video": "vision-video";
450
+ "yunet-native/v1": "yunet-native/v1";
451
+ }>>;
452
+ }, z.core.$strict>>;
453
+ exit: z.ZodOptional<z.ZodObject<{
454
+ last_visible_s: z.ZodOptional<z.ZodNumber>;
455
+ anchors: z.ZodOptional<z.ZodArray<z.ZodObject<{
456
+ id: z.ZodString;
457
+ offset_s: z.ZodNumber;
458
+ }, z.core.$strict>>>;
459
+ style: z.ZodOptional<z.ZodEnum<{
460
+ blur_in: "blur_in";
461
+ cut: "cut";
462
+ fade: "fade";
463
+ flash: "flash";
464
+ pop: "pop";
465
+ scale_up: "scale_up";
466
+ slide: "slide";
467
+ tilt_in: "tilt_in";
468
+ typewriter: "typewriter";
469
+ unknown: "unknown";
470
+ wipe: "wipe";
471
+ }>>;
472
+ to: z.ZodOptional<z.ZodEnum<{
473
+ bottom: "bottom";
474
+ left: "left";
475
+ lower_left: "lower_left";
476
+ lower_right: "lower_right";
477
+ none: "none";
478
+ right: "right";
479
+ top: "top";
480
+ upper_left: "upper_left";
481
+ upper_right: "upper_right";
482
+ }>>;
483
+ duration_s: z.ZodOptional<z.ZodNumber>;
484
+ displacement: z.ZodOptional<z.ZodTuple<[z.ZodNumber, z.ZodNumber], null>>;
485
+ method: z.ZodOptional<z.ZodEnum<{
486
+ "cv-before-after/v1": "cv-before-after/v1";
487
+ "cv-cells/v1": "cv-cells/v1";
488
+ "cv-parallax/v1": "cv-parallax/v1";
489
+ "cv-template/v1": "cv-template/v1";
490
+ "vision-still": "vision-still";
491
+ "vision-video": "vision-video";
492
+ "yunet-native/v1": "yunet-native/v1";
493
+ }>>;
494
+ }, z.core.$strict>>;
495
+ layer: z.ZodOptional<z.ZodObject<{
496
+ value: z.ZodEnum<{
497
+ behind_presenter: "behind_presenter";
498
+ in_front_of_presenter: "in_front_of_presenter";
499
+ no_overlap: "no_overlap";
500
+ presenter_absent: "presenter_absent";
501
+ unknown: "unknown";
502
+ }>;
503
+ method: z.ZodEnum<{
504
+ "cv-before-after/v1": "cv-before-after/v1";
505
+ "cv-cells/v1": "cv-cells/v1";
506
+ "cv-parallax/v1": "cv-parallax/v1";
507
+ "cv-template/v1": "cv-template/v1";
508
+ "vision-still": "vision-still";
509
+ "vision-video": "vision-video";
510
+ "yunet-native/v1": "yunet-native/v1";
511
+ }>;
512
+ covered_by: z.ZodArray<z.ZodEnum<{
513
+ body: "body";
514
+ chair: "chair";
515
+ desk: "desk";
516
+ face: "face";
517
+ hair: "hair";
518
+ hand: "hand";
519
+ microphone: "microphone";
520
+ other: "other";
521
+ shoulder: "shoulder";
522
+ }>>;
523
+ face_clear: z.ZodOptional<z.ZodBoolean>;
524
+ face_core_cover_max: z.ZodOptional<z.ZodNumber>;
525
+ face_covered_share: z.ZodOptional<z.ZodNumber>;
526
+ blurs_presenter: z.ZodOptional<z.ZodBoolean>;
527
+ }, z.core.$strict>>;
528
+ motion: z.ZodOptional<z.ZodObject<{
529
+ kind: z.ZodOptional<z.ZodEnum<{
530
+ drift: "drift";
531
+ float: "float";
532
+ moves_with_frame: "moves_with_frame";
533
+ pushed: "pushed";
534
+ scale: "scale";
535
+ static: "static";
536
+ }>>;
537
+ drift_per_s: z.ZodOptional<z.ZodOptional<z.ZodTuple<[z.ZodNumber, z.ZodNumber], null>>>;
538
+ scale_per_s: z.ZodOptional<z.ZodOptional<z.ZodNumber>>;
539
+ wobble: z.ZodOptional<z.ZodOptional<z.ZodObject<{
540
+ amplitude: z.ZodNumber;
541
+ period_s: z.ZodNumber;
542
+ }, z.core.$strict>>>;
543
+ }, z.core.$strict>>;
544
+ }, z.core.$strict>>;
545
+ freezes: z.ZodArray<z.ZodObject<{
546
+ start_s: z.ZodNumber;
547
+ end_s: z.ZodNumber;
548
+ anchors: z.ZodArray<z.ZodObject<{
549
+ id: z.ZodString;
550
+ offset_s: z.ZodNumber;
551
+ }, z.core.$strict>>;
552
+ face_box_start: z.ZodObject<{
553
+ left: z.ZodNumber;
554
+ top: z.ZodNumber;
555
+ width: z.ZodNumber;
556
+ height: z.ZodNumber;
557
+ }, z.core.$strict>;
558
+ face_box_end: z.ZodObject<{
559
+ left: z.ZodNumber;
560
+ top: z.ZodNumber;
561
+ width: z.ZodNumber;
562
+ height: z.ZodNumber;
563
+ }, z.core.$strict>;
564
+ roll_deg: z.ZodNumber;
565
+ yaw: z.ZodNumber;
566
+ pitch: z.ZodNumber;
567
+ gaze: z.ZodOptional<z.ZodEnum<{
568
+ camera: "camera";
569
+ closed: "closed";
570
+ down: "down";
571
+ element: "element";
572
+ left: "left";
573
+ right: "right";
574
+ up_left: "up_left";
575
+ up_right: "up_right";
576
+ }>>;
577
+ head_roll: z.ZodEnum<{
578
+ left: "left";
579
+ right: "right";
580
+ upright: "upright";
581
+ }>;
582
+ expression: z.ZodOptional<z.ZodEnum<{
583
+ neutral: "neutral";
584
+ other: "other";
585
+ smile: "smile";
586
+ surprised: "surprised";
587
+ thinking: "thinking";
588
+ }>>;
589
+ hands: z.ZodOptional<z.ZodEnum<{
590
+ at_chest: "at_chest";
591
+ gesturing: "gesturing";
592
+ other: "other";
593
+ out_of_frame: "out_of_frame";
594
+ }>>;
595
+ frame_motion: z.ZodOptional<z.ZodObject<{
596
+ scale_end: z.ZodNumber;
597
+ centre_shift: z.ZodTuple<[z.ZodNumber, z.ZodNumber], null>;
598
+ }, z.core.$strict>>;
599
+ ends_with: z.ZodEnum<{
600
+ cut: "cut";
601
+ end: "end";
602
+ flash: "flash";
603
+ unfreeze: "unfreeze";
604
+ }>;
605
+ }, z.core.$strict>>;
606
+ }, z.core.$strict>>;
607
+ transcript: z.ZodOptional<z.ZodArray<z.ZodObject<{
608
+ text: z.ZodString;
609
+ start_s: z.ZodNumber;
610
+ end_s: z.ZodNumber;
611
+ speaker: z.ZodOptional<z.ZodString>;
612
+ }, z.core.$strict>>>;
613
+ hook: z.ZodOptional<z.ZodObject<{
614
+ text: z.ZodString;
615
+ end_s: z.ZodNumber;
616
+ caption: z.ZodOptional<z.ZodString>;
617
+ }, z.core.$strict>>;
618
+ }, z.core.$strict>;
619
+ script: z.ZodString;
620
+ actor_id: z.ZodString;
621
+ voice: z.ZodOptional<z.ZodString>;
622
+ voice_id: z.ZodOptional<z.ZodString>;
623
+ assets: z.ZodDefault<z.ZodArray<z.ZodObject<{
624
+ asset_id: z.ZodString;
625
+ media_type: z.ZodEnum<{
626
+ image: "image";
627
+ video: "video";
628
+ }>;
629
+ }, z.core.$strict>>>;
630
+ site: z.ZodOptional<z.ZodString>;
631
+ audience: z.ZodOptional<z.ZodString>;
632
+ message: z.ZodOptional<z.ZodString>;
633
+ call: z.ZodOptional<z.ZodObject<{
634
+ lines: z.ZodArray<z.ZodObject<{
635
+ speaker: z.ZodEnum<{
636
+ agent: "agent";
637
+ caller: "caller";
638
+ }>;
639
+ text: z.ZodString;
640
+ }, z.core.$strict>>;
641
+ voices: z.ZodOptional<z.ZodObject<{
642
+ agent: z.ZodOptional<z.ZodString>;
643
+ caller: z.ZodOptional<z.ZodString>;
644
+ }, z.core.$strict>>;
645
+ phone: z.ZodOptional<z.ZodObject<{
646
+ caller: z.ZodOptional<z.ZodString>;
647
+ banner: z.ZodOptional<z.ZodString>;
648
+ banner_note: z.ZodOptional<z.ZodString>;
649
+ mask_number: z.ZodOptional<z.ZodBoolean>;
650
+ }, z.core.$strict>>;
651
+ }, z.core.$strict>>;
652
+ }, z.core.$strict>;
653
+ export type PlanReferenceRemakeArgs = z.input<typeof planReferenceRemake>;
654
+ export type ReferenceRemakeResult = {
655
+ kind: 'compiled';
656
+ document: WorkflowPlanDocument;
657
+ } | {
658
+ kind: 'invalid';
659
+ issues: WorkflowIssue[];
660
+ };
661
+ /** A script word as make_ugc counts it, with the whitespace chunk it sits in. */
662
+ export type ReferenceScriptWord = {
663
+ token: string;
664
+ from: number;
665
+ to: number;
666
+ tag: boolean;
667
+ first: boolean;
668
+ last: boolean;
669
+ stop?: 'sentence' | 'clause';
670
+ };
671
+ export type ReferenceSpan = {
672
+ start: number;
673
+ end: number;
674
+ } | null;
675
+ /** One span of words per profile beat, in order, or null for a beat left without words: the seam a model-backed planner fills later. */
676
+ export type ReferenceSpanPlanner = (input: {
677
+ profile: ReferenceProfile;
678
+ words: readonly ReferenceScriptWord[];
679
+ }) => ReferenceSpan[];
680
+ export declare function referenceScriptWords(script: string): ReferenceScriptWord[];
681
+ /** Beats share the words by their share of the reference, cut at the nearest sentence end, or clause end at a cost. With fewer sentence ends than
682
+ * beats, neighbours of one role share a span first, latest first as a close stacks its CTA beats; then the shortest inner beats give up their words. */
683
+ export declare const proportionalSpans: ReferenceSpanPlanner;
684
+ export declare function compileReferenceRemake(input: unknown, capabilities: CapabilityProfile, planSpans?: ReferenceSpanPlanner): ReferenceRemakeResult;