visualfries 0.1.0 → 0.1.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -5,176 +5,48 @@ import { z } from 'zod';
5
5
  declare const CompactWordMetadataShape: z.ZodOptional<z.ZodObject<{
6
6
  s: z.ZodOptional<z.ZodNumber>;
7
7
  si: z.ZodOptional<z.ZodNumber>;
8
- c: z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodString, string, string>, z.ZodObject<{
9
- type: z.ZodEnum<["linear", "radial"]>;
10
- colors: z.ZodArray<z.ZodEffects<z.ZodString, string, string>, "many">;
11
- stops: z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>;
8
+ c: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
9
+ type: z.ZodEnum<{
10
+ linear: "linear";
11
+ radial: "radial";
12
+ }>;
13
+ colors: z.ZodArray<z.ZodString>;
14
+ stops: z.ZodOptional<z.ZodArray<z.ZodNumber>>;
12
15
  angle: z.ZodOptional<z.ZodNumber>;
13
16
  position: z.ZodOptional<z.ZodString>;
14
- shape: z.ZodOptional<z.ZodEnum<["ellipse", "circle"]>>;
15
- }, "strip", z.ZodTypeAny, {
16
- type: "linear" | "radial";
17
- colors: string[];
18
- stops?: number[] | undefined;
19
- angle?: number | undefined;
20
- position?: string | undefined;
21
- shape?: "ellipse" | "circle" | undefined;
22
- }, {
23
- type: "linear" | "radial";
24
- colors: string[];
25
- stops?: number[] | undefined;
26
- angle?: number | undefined;
27
- position?: string | undefined;
28
- shape?: "ellipse" | "circle" | undefined;
29
- }>]>>;
17
+ shape: z.ZodOptional<z.ZodEnum<{
18
+ ellipse: "ellipse";
19
+ circle: "circle";
20
+ }>>;
21
+ }, z.core.$strip>]>>;
30
22
  e: z.ZodOptional<z.ZodString>;
31
23
  w: z.ZodOptional<z.ZodString>;
32
24
  f: z.ZodOptional<z.ZodString>;
33
- }, "strip", z.ZodAny, z.objectOutputType<{
34
- s: z.ZodOptional<z.ZodNumber>;
35
- si: z.ZodOptional<z.ZodNumber>;
36
- c: z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodString, string, string>, z.ZodObject<{
37
- type: z.ZodEnum<["linear", "radial"]>;
38
- colors: z.ZodArray<z.ZodEffects<z.ZodString, string, string>, "many">;
39
- stops: z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>;
40
- angle: z.ZodOptional<z.ZodNumber>;
41
- position: z.ZodOptional<z.ZodString>;
42
- shape: z.ZodOptional<z.ZodEnum<["ellipse", "circle"]>>;
43
- }, "strip", z.ZodTypeAny, {
44
- type: "linear" | "radial";
45
- colors: string[];
46
- stops?: number[] | undefined;
47
- angle?: number | undefined;
48
- position?: string | undefined;
49
- shape?: "ellipse" | "circle" | undefined;
50
- }, {
51
- type: "linear" | "radial";
52
- colors: string[];
53
- stops?: number[] | undefined;
54
- angle?: number | undefined;
55
- position?: string | undefined;
56
- shape?: "ellipse" | "circle" | undefined;
57
- }>]>>;
58
- e: z.ZodOptional<z.ZodString>;
59
- w: z.ZodOptional<z.ZodString>;
60
- f: z.ZodOptional<z.ZodString>;
61
- }, z.ZodAny, "strip">, z.objectInputType<{
62
- s: z.ZodOptional<z.ZodNumber>;
63
- si: z.ZodOptional<z.ZodNumber>;
64
- c: z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodString, string, string>, z.ZodObject<{
65
- type: z.ZodEnum<["linear", "radial"]>;
66
- colors: z.ZodArray<z.ZodEffects<z.ZodString, string, string>, "many">;
67
- stops: z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>;
68
- angle: z.ZodOptional<z.ZodNumber>;
69
- position: z.ZodOptional<z.ZodString>;
70
- shape: z.ZodOptional<z.ZodEnum<["ellipse", "circle"]>>;
71
- }, "strip", z.ZodTypeAny, {
72
- type: "linear" | "radial";
73
- colors: string[];
74
- stops?: number[] | undefined;
75
- angle?: number | undefined;
76
- position?: string | undefined;
77
- shape?: "ellipse" | "circle" | undefined;
78
- }, {
79
- type: "linear" | "radial";
80
- colors: string[];
81
- stops?: number[] | undefined;
82
- angle?: number | undefined;
83
- position?: string | undefined;
84
- shape?: "ellipse" | "circle" | undefined;
85
- }>]>>;
86
- e: z.ZodOptional<z.ZodString>;
87
- w: z.ZodOptional<z.ZodString>;
88
- f: z.ZodOptional<z.ZodString>;
89
- }, z.ZodAny, "strip">>>;
25
+ }, z.core.$catchall<z.ZodAny>>>;
90
26
  /**
91
27
  * Compact word tuple: [text, start_at, end_at, metadata?]
92
28
  */
93
- declare const CompactWordTupleShape: z.ZodTuple<[z.ZodString, z.ZodNumber, z.ZodNumber], z.ZodUnion<[z.ZodOptional<z.ZodObject<{
94
- s: z.ZodOptional<z.ZodNumber>;
95
- si: z.ZodOptional<z.ZodNumber>;
96
- c: z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodString, string, string>, z.ZodObject<{
97
- type: z.ZodEnum<["linear", "radial"]>;
98
- colors: z.ZodArray<z.ZodEffects<z.ZodString, string, string>, "many">;
99
- stops: z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>;
100
- angle: z.ZodOptional<z.ZodNumber>;
101
- position: z.ZodOptional<z.ZodString>;
102
- shape: z.ZodOptional<z.ZodEnum<["ellipse", "circle"]>>;
103
- }, "strip", z.ZodTypeAny, {
104
- type: "linear" | "radial";
105
- colors: string[];
106
- stops?: number[] | undefined;
107
- angle?: number | undefined;
108
- position?: string | undefined;
109
- shape?: "ellipse" | "circle" | undefined;
110
- }, {
111
- type: "linear" | "radial";
112
- colors: string[];
113
- stops?: number[] | undefined;
114
- angle?: number | undefined;
115
- position?: string | undefined;
116
- shape?: "ellipse" | "circle" | undefined;
117
- }>]>>;
118
- e: z.ZodOptional<z.ZodString>;
119
- w: z.ZodOptional<z.ZodString>;
120
- f: z.ZodOptional<z.ZodString>;
121
- }, "strip", z.ZodAny, z.objectOutputType<{
122
- s: z.ZodOptional<z.ZodNumber>;
123
- si: z.ZodOptional<z.ZodNumber>;
124
- c: z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodString, string, string>, z.ZodObject<{
125
- type: z.ZodEnum<["linear", "radial"]>;
126
- colors: z.ZodArray<z.ZodEffects<z.ZodString, string, string>, "many">;
127
- stops: z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>;
128
- angle: z.ZodOptional<z.ZodNumber>;
129
- position: z.ZodOptional<z.ZodString>;
130
- shape: z.ZodOptional<z.ZodEnum<["ellipse", "circle"]>>;
131
- }, "strip", z.ZodTypeAny, {
132
- type: "linear" | "radial";
133
- colors: string[];
134
- stops?: number[] | undefined;
135
- angle?: number | undefined;
136
- position?: string | undefined;
137
- shape?: "ellipse" | "circle" | undefined;
138
- }, {
139
- type: "linear" | "radial";
140
- colors: string[];
141
- stops?: number[] | undefined;
142
- angle?: number | undefined;
143
- position?: string | undefined;
144
- shape?: "ellipse" | "circle" | undefined;
145
- }>]>>;
146
- e: z.ZodOptional<z.ZodString>;
147
- w: z.ZodOptional<z.ZodString>;
148
- f: z.ZodOptional<z.ZodString>;
149
- }, z.ZodAny, "strip">, z.objectInputType<{
29
+ declare const CompactWordTupleShape: z.ZodTuple<[z.ZodString, z.ZodNumber, z.ZodNumber], z.ZodUnion<readonly [z.ZodOptional<z.ZodObject<{
150
30
  s: z.ZodOptional<z.ZodNumber>;
151
31
  si: z.ZodOptional<z.ZodNumber>;
152
- c: z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodString, string, string>, z.ZodObject<{
153
- type: z.ZodEnum<["linear", "radial"]>;
154
- colors: z.ZodArray<z.ZodEffects<z.ZodString, string, string>, "many">;
155
- stops: z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>;
32
+ c: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
33
+ type: z.ZodEnum<{
34
+ linear: "linear";
35
+ radial: "radial";
36
+ }>;
37
+ colors: z.ZodArray<z.ZodString>;
38
+ stops: z.ZodOptional<z.ZodArray<z.ZodNumber>>;
156
39
  angle: z.ZodOptional<z.ZodNumber>;
157
40
  position: z.ZodOptional<z.ZodString>;
158
- shape: z.ZodOptional<z.ZodEnum<["ellipse", "circle"]>>;
159
- }, "strip", z.ZodTypeAny, {
160
- type: "linear" | "radial";
161
- colors: string[];
162
- stops?: number[] | undefined;
163
- angle?: number | undefined;
164
- position?: string | undefined;
165
- shape?: "ellipse" | "circle" | undefined;
166
- }, {
167
- type: "linear" | "radial";
168
- colors: string[];
169
- stops?: number[] | undefined;
170
- angle?: number | undefined;
171
- position?: string | undefined;
172
- shape?: "ellipse" | "circle" | undefined;
173
- }>]>>;
41
+ shape: z.ZodOptional<z.ZodEnum<{
42
+ ellipse: "ellipse";
43
+ circle: "circle";
44
+ }>>;
45
+ }, z.core.$strip>]>>;
174
46
  e: z.ZodOptional<z.ZodString>;
175
47
  w: z.ZodOptional<z.ZodString>;
176
48
  f: z.ZodOptional<z.ZodString>;
177
- }, z.ZodAny, "strip">>>, z.ZodNull]>>;
49
+ }, z.core.$catchall<z.ZodAny>>>, z.ZodNull]>>;
178
50
  /**
179
51
  * Regular word object with full property names
180
52
  */
@@ -184,19 +56,7 @@ declare const SubtitleWordShape: z.ZodObject<{
184
56
  end_at: z.ZodNumber;
185
57
  text: z.ZodString;
186
58
  position: z.ZodOptional<z.ZodNumber>;
187
- }, "strip", z.ZodTypeAny, {
188
- id: string;
189
- text: string;
190
- start_at: number;
191
- end_at: number;
192
- position?: number | undefined;
193
- }, {
194
- id: string;
195
- text: string;
196
- start_at: number;
197
- end_at: number;
198
- position?: number | undefined;
199
- }>;
59
+ }, z.core.$strip>;
200
60
  /**
201
61
  * Subtitle with compact words format
202
62
  */
@@ -205,245 +65,59 @@ declare const SubtitleWithCompactWordsShape: z.ZodObject<{
205
65
  start_at: z.ZodNumber;
206
66
  end_at: z.ZodNumber;
207
67
  text: z.ZodString;
208
- words: z.ZodOptional<z.ZodArray<z.ZodTuple<[z.ZodString, z.ZodNumber, z.ZodNumber], z.ZodUnion<[z.ZodOptional<z.ZodObject<{
68
+ words: z.ZodOptional<z.ZodArray<z.ZodTuple<[z.ZodString, z.ZodNumber, z.ZodNumber], z.ZodUnion<readonly [z.ZodOptional<z.ZodObject<{
209
69
  s: z.ZodOptional<z.ZodNumber>;
210
70
  si: z.ZodOptional<z.ZodNumber>;
211
- c: z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodString, string, string>, z.ZodObject<{
212
- type: z.ZodEnum<["linear", "radial"]>;
213
- colors: z.ZodArray<z.ZodEffects<z.ZodString, string, string>, "many">;
214
- stops: z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>;
71
+ c: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
72
+ type: z.ZodEnum<{
73
+ linear: "linear";
74
+ radial: "radial";
75
+ }>;
76
+ colors: z.ZodArray<z.ZodString>;
77
+ stops: z.ZodOptional<z.ZodArray<z.ZodNumber>>;
215
78
  angle: z.ZodOptional<z.ZodNumber>;
216
79
  position: z.ZodOptional<z.ZodString>;
217
- shape: z.ZodOptional<z.ZodEnum<["ellipse", "circle"]>>;
218
- }, "strip", z.ZodTypeAny, {
219
- type: "linear" | "radial";
220
- colors: string[];
221
- stops?: number[] | undefined;
222
- angle?: number | undefined;
223
- position?: string | undefined;
224
- shape?: "ellipse" | "circle" | undefined;
225
- }, {
226
- type: "linear" | "radial";
227
- colors: string[];
228
- stops?: number[] | undefined;
229
- angle?: number | undefined;
230
- position?: string | undefined;
231
- shape?: "ellipse" | "circle" | undefined;
232
- }>]>>;
80
+ shape: z.ZodOptional<z.ZodEnum<{
81
+ ellipse: "ellipse";
82
+ circle: "circle";
83
+ }>>;
84
+ }, z.core.$strip>]>>;
233
85
  e: z.ZodOptional<z.ZodString>;
234
86
  w: z.ZodOptional<z.ZodString>;
235
87
  f: z.ZodOptional<z.ZodString>;
236
- }, "strip", z.ZodAny, z.objectOutputType<{
237
- s: z.ZodOptional<z.ZodNumber>;
238
- si: z.ZodOptional<z.ZodNumber>;
239
- c: z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodString, string, string>, z.ZodObject<{
240
- type: z.ZodEnum<["linear", "radial"]>;
241
- colors: z.ZodArray<z.ZodEffects<z.ZodString, string, string>, "many">;
242
- stops: z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>;
243
- angle: z.ZodOptional<z.ZodNumber>;
244
- position: z.ZodOptional<z.ZodString>;
245
- shape: z.ZodOptional<z.ZodEnum<["ellipse", "circle"]>>;
246
- }, "strip", z.ZodTypeAny, {
247
- type: "linear" | "radial";
248
- colors: string[];
249
- stops?: number[] | undefined;
250
- angle?: number | undefined;
251
- position?: string | undefined;
252
- shape?: "ellipse" | "circle" | undefined;
253
- }, {
254
- type: "linear" | "radial";
255
- colors: string[];
256
- stops?: number[] | undefined;
257
- angle?: number | undefined;
258
- position?: string | undefined;
259
- shape?: "ellipse" | "circle" | undefined;
260
- }>]>>;
261
- e: z.ZodOptional<z.ZodString>;
262
- w: z.ZodOptional<z.ZodString>;
263
- f: z.ZodOptional<z.ZodString>;
264
- }, z.ZodAny, "strip">, z.objectInputType<{
265
- s: z.ZodOptional<z.ZodNumber>;
266
- si: z.ZodOptional<z.ZodNumber>;
267
- c: z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodString, string, string>, z.ZodObject<{
268
- type: z.ZodEnum<["linear", "radial"]>;
269
- colors: z.ZodArray<z.ZodEffects<z.ZodString, string, string>, "many">;
270
- stops: z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>;
271
- angle: z.ZodOptional<z.ZodNumber>;
272
- position: z.ZodOptional<z.ZodString>;
273
- shape: z.ZodOptional<z.ZodEnum<["ellipse", "circle"]>>;
274
- }, "strip", z.ZodTypeAny, {
275
- type: "linear" | "radial";
276
- colors: string[];
277
- stops?: number[] | undefined;
278
- angle?: number | undefined;
279
- position?: string | undefined;
280
- shape?: "ellipse" | "circle" | undefined;
281
- }, {
282
- type: "linear" | "radial";
283
- colors: string[];
284
- stops?: number[] | undefined;
285
- angle?: number | undefined;
286
- position?: string | undefined;
287
- shape?: "ellipse" | "circle" | undefined;
288
- }>]>>;
289
- e: z.ZodOptional<z.ZodString>;
290
- w: z.ZodOptional<z.ZodString>;
291
- f: z.ZodOptional<z.ZodString>;
292
- }, z.ZodAny, "strip">>>, z.ZodNull]>>, "many">>;
293
- enlarge: z.ZodOptional<z.ZodEffects<z.ZodOptional<z.ZodUnion<[z.ZodBoolean, z.ZodNumber, z.ZodEffects<z.ZodString, number | true, string>]>>, number | undefined, string | number | boolean | undefined>>;
88
+ }, z.core.$catchall<z.ZodAny>>>, z.ZodNull]>>>>;
89
+ enlarge: z.ZodOptional<z.ZodPipe<z.ZodOptional<z.ZodUnion<readonly [z.ZodBoolean, z.ZodNumber, z.ZodPipe<z.ZodString, z.ZodTransform<number | true, string>>]>>, z.ZodTransform<number | undefined, number | boolean | undefined>>>;
294
90
  visible: z.ZodOptional<z.ZodBoolean>;
295
91
  emoji: z.ZodOptional<z.ZodString>;
296
- color: z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodString, string, string>, z.ZodObject<{
297
- type: z.ZodEnum<["linear", "radial"]>;
298
- colors: z.ZodArray<z.ZodEffects<z.ZodString, string, string>, "many">;
299
- stops: z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>;
92
+ color: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
93
+ type: z.ZodEnum<{
94
+ linear: "linear";
95
+ radial: "radial";
96
+ }>;
97
+ colors: z.ZodArray<z.ZodString>;
98
+ stops: z.ZodOptional<z.ZodArray<z.ZodNumber>>;
300
99
  angle: z.ZodOptional<z.ZodNumber>;
301
100
  position: z.ZodOptional<z.ZodString>;
302
- shape: z.ZodOptional<z.ZodEnum<["ellipse", "circle"]>>;
303
- }, "strip", z.ZodTypeAny, {
304
- type: "linear" | "radial";
305
- colors: string[];
306
- stops?: number[] | undefined;
307
- angle?: number | undefined;
308
- position?: string | undefined;
309
- shape?: "ellipse" | "circle" | undefined;
310
- }, {
311
- type: "linear" | "radial";
312
- colors: string[];
313
- stops?: number[] | undefined;
314
- angle?: number | undefined;
315
- position?: string | undefined;
316
- shape?: "ellipse" | "circle" | undefined;
317
- }>]>>;
318
- background: z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodString, string, string>, z.ZodObject<{
319
- type: z.ZodEnum<["linear", "radial"]>;
320
- colors: z.ZodArray<z.ZodEffects<z.ZodString, string, string>, "many">;
321
- stops: z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>;
101
+ shape: z.ZodOptional<z.ZodEnum<{
102
+ ellipse: "ellipse";
103
+ circle: "circle";
104
+ }>>;
105
+ }, z.core.$strip>]>>;
106
+ background: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
107
+ type: z.ZodEnum<{
108
+ linear: "linear";
109
+ radial: "radial";
110
+ }>;
111
+ colors: z.ZodArray<z.ZodString>;
112
+ stops: z.ZodOptional<z.ZodArray<z.ZodNumber>>;
322
113
  angle: z.ZodOptional<z.ZodNumber>;
323
114
  position: z.ZodOptional<z.ZodString>;
324
- shape: z.ZodOptional<z.ZodEnum<["ellipse", "circle"]>>;
325
- }, "strip", z.ZodTypeAny, {
326
- type: "linear" | "radial";
327
- colors: string[];
328
- stops?: number[] | undefined;
329
- angle?: number | undefined;
330
- position?: string | undefined;
331
- shape?: "ellipse" | "circle" | undefined;
332
- }, {
333
- type: "linear" | "radial";
334
- colors: string[];
335
- stops?: number[] | undefined;
336
- angle?: number | undefined;
337
- position?: string | undefined;
338
- shape?: "ellipse" | "circle" | undefined;
339
- }>]>>;
340
- }, "strip", z.ZodTypeAny, {
341
- id: string;
342
- text: string;
343
- start_at: number;
344
- end_at: number;
345
- visible?: boolean | undefined;
346
- color?: string | {
347
- type: "linear" | "radial";
348
- colors: string[];
349
- stops?: number[] | undefined;
350
- angle?: number | undefined;
351
- position?: string | undefined;
352
- shape?: "ellipse" | "circle" | undefined;
353
- } | undefined;
354
- background?: string | {
355
- type: "linear" | "radial";
356
- colors: string[];
357
- stops?: number[] | undefined;
358
- angle?: number | undefined;
359
- position?: string | undefined;
360
- shape?: "ellipse" | "circle" | undefined;
361
- } | undefined;
362
- words?: [string, number, number, ...(z.objectOutputType<{
363
- s: z.ZodOptional<z.ZodNumber>;
364
- si: z.ZodOptional<z.ZodNumber>;
365
- c: z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodString, string, string>, z.ZodObject<{
366
- type: z.ZodEnum<["linear", "radial"]>;
367
- colors: z.ZodArray<z.ZodEffects<z.ZodString, string, string>, "many">;
368
- stops: z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>;
369
- angle: z.ZodOptional<z.ZodNumber>;
370
- position: z.ZodOptional<z.ZodString>;
371
- shape: z.ZodOptional<z.ZodEnum<["ellipse", "circle"]>>;
372
- }, "strip", z.ZodTypeAny, {
373
- type: "linear" | "radial";
374
- colors: string[];
375
- stops?: number[] | undefined;
376
- angle?: number | undefined;
377
- position?: string | undefined;
378
- shape?: "ellipse" | "circle" | undefined;
379
- }, {
380
- type: "linear" | "radial";
381
- colors: string[];
382
- stops?: number[] | undefined;
383
- angle?: number | undefined;
384
- position?: string | undefined;
385
- shape?: "ellipse" | "circle" | undefined;
386
- }>]>>;
387
- e: z.ZodOptional<z.ZodString>;
388
- w: z.ZodOptional<z.ZodString>;
389
- f: z.ZodOptional<z.ZodString>;
390
- }, z.ZodAny, "strip"> | null | undefined)[]][] | undefined;
391
- emoji?: string | undefined;
392
- enlarge?: number | undefined;
393
- }, {
394
- id: string;
395
- text: string;
396
- start_at: number;
397
- end_at: number;
398
- visible?: boolean | undefined;
399
- color?: string | {
400
- type: "linear" | "radial";
401
- colors: string[];
402
- stops?: number[] | undefined;
403
- angle?: number | undefined;
404
- position?: string | undefined;
405
- shape?: "ellipse" | "circle" | undefined;
406
- } | undefined;
407
- background?: string | {
408
- type: "linear" | "radial";
409
- colors: string[];
410
- stops?: number[] | undefined;
411
- angle?: number | undefined;
412
- position?: string | undefined;
413
- shape?: "ellipse" | "circle" | undefined;
414
- } | undefined;
415
- words?: [string, number, number, ...(z.objectInputType<{
416
- s: z.ZodOptional<z.ZodNumber>;
417
- si: z.ZodOptional<z.ZodNumber>;
418
- c: z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodString, string, string>, z.ZodObject<{
419
- type: z.ZodEnum<["linear", "radial"]>;
420
- colors: z.ZodArray<z.ZodEffects<z.ZodString, string, string>, "many">;
421
- stops: z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>;
422
- angle: z.ZodOptional<z.ZodNumber>;
423
- position: z.ZodOptional<z.ZodString>;
424
- shape: z.ZodOptional<z.ZodEnum<["ellipse", "circle"]>>;
425
- }, "strip", z.ZodTypeAny, {
426
- type: "linear" | "radial";
427
- colors: string[];
428
- stops?: number[] | undefined;
429
- angle?: number | undefined;
430
- position?: string | undefined;
431
- shape?: "ellipse" | "circle" | undefined;
432
- }, {
433
- type: "linear" | "radial";
434
- colors: string[];
435
- stops?: number[] | undefined;
436
- angle?: number | undefined;
437
- position?: string | undefined;
438
- shape?: "ellipse" | "circle" | undefined;
439
- }>]>>;
440
- e: z.ZodOptional<z.ZodString>;
441
- w: z.ZodOptional<z.ZodString>;
442
- f: z.ZodOptional<z.ZodString>;
443
- }, z.ZodAny, "strip"> | null | undefined)[]][] | undefined;
444
- emoji?: string | undefined;
445
- enlarge?: string | number | boolean | undefined;
446
- }>;
115
+ shape: z.ZodOptional<z.ZodEnum<{
116
+ ellipse: "ellipse";
117
+ circle: "circle";
118
+ }>>;
119
+ }, z.core.$strip>]>>;
120
+ }, z.core.$strip>;
447
121
  /**
448
122
  * Subtitle with regular words format (legacy)
449
123
  */
@@ -458,306 +132,74 @@ declare const SubtitleWithLegacyWordsShape: z.ZodObject<{
458
132
  end_at: z.ZodNumber;
459
133
  text: z.ZodString;
460
134
  position: z.ZodOptional<z.ZodNumber>;
461
- }, "strip", z.ZodTypeAny, {
462
- id: string;
463
- text: string;
464
- start_at: number;
465
- end_at: number;
466
- position?: number | undefined;
467
- }, {
468
- id: string;
469
- text: string;
470
- start_at: number;
471
- end_at: number;
472
- position?: number | undefined;
473
- }>, "many">>;
474
- enlarge: z.ZodOptional<z.ZodEffects<z.ZodOptional<z.ZodUnion<[z.ZodBoolean, z.ZodNumber, z.ZodEffects<z.ZodString, number | true, string>]>>, number | undefined, string | number | boolean | undefined>>;
135
+ }, z.core.$strip>>>;
136
+ enlarge: z.ZodOptional<z.ZodPipe<z.ZodOptional<z.ZodUnion<readonly [z.ZodBoolean, z.ZodNumber, z.ZodPipe<z.ZodString, z.ZodTransform<number | true, string>>]>>, z.ZodTransform<number | undefined, number | boolean | undefined>>>;
475
137
  visible: z.ZodOptional<z.ZodBoolean>;
476
138
  emoji: z.ZodOptional<z.ZodString>;
477
139
  color: z.ZodOptional<z.ZodString>;
478
140
  background: z.ZodOptional<z.ZodString>;
479
- }, "strip", z.ZodTypeAny, {
480
- id: string;
481
- text: string;
482
- start_at: number;
483
- end_at: number;
484
- visible?: boolean | undefined;
485
- color?: string | undefined;
486
- background?: string | undefined;
487
- words?: {
488
- id: string;
489
- text: string;
490
- start_at: number;
491
- end_at: number;
492
- position?: number | undefined;
493
- }[] | undefined;
494
- emoji?: string | undefined;
495
- enlarge?: number | undefined;
496
- }, {
497
- id: string;
498
- text: string;
499
- start_at: number;
500
- end_at: number;
501
- visible?: boolean | undefined;
502
- color?: string | undefined;
503
- background?: string | undefined;
504
- words?: {
505
- id: string;
506
- text: string;
507
- start_at: number;
508
- end_at: number;
509
- position?: number | undefined;
510
- }[] | undefined;
511
- emoji?: string | undefined;
512
- enlarge?: string | number | boolean | undefined;
513
- }>;
141
+ }, z.core.$strip>;
514
142
  /**
515
143
  * Union type that accepts both formats
516
144
  */
517
- declare const SubtitleShape: z.ZodUnion<[z.ZodObject<{
145
+ declare const SubtitleShape: z.ZodUnion<readonly [z.ZodObject<{
518
146
  id: z.ZodString;
519
147
  start_at: z.ZodNumber;
520
148
  end_at: z.ZodNumber;
521
149
  text: z.ZodString;
522
- words: z.ZodOptional<z.ZodArray<z.ZodTuple<[z.ZodString, z.ZodNumber, z.ZodNumber], z.ZodUnion<[z.ZodOptional<z.ZodObject<{
150
+ words: z.ZodOptional<z.ZodArray<z.ZodTuple<[z.ZodString, z.ZodNumber, z.ZodNumber], z.ZodUnion<readonly [z.ZodOptional<z.ZodObject<{
523
151
  s: z.ZodOptional<z.ZodNumber>;
524
152
  si: z.ZodOptional<z.ZodNumber>;
525
- c: z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodString, string, string>, z.ZodObject<{
526
- type: z.ZodEnum<["linear", "radial"]>;
527
- colors: z.ZodArray<z.ZodEffects<z.ZodString, string, string>, "many">;
528
- stops: z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>;
153
+ c: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
154
+ type: z.ZodEnum<{
155
+ linear: "linear";
156
+ radial: "radial";
157
+ }>;
158
+ colors: z.ZodArray<z.ZodString>;
159
+ stops: z.ZodOptional<z.ZodArray<z.ZodNumber>>;
529
160
  angle: z.ZodOptional<z.ZodNumber>;
530
161
  position: z.ZodOptional<z.ZodString>;
531
- shape: z.ZodOptional<z.ZodEnum<["ellipse", "circle"]>>;
532
- }, "strip", z.ZodTypeAny, {
533
- type: "linear" | "radial";
534
- colors: string[];
535
- stops?: number[] | undefined;
536
- angle?: number | undefined;
537
- position?: string | undefined;
538
- shape?: "ellipse" | "circle" | undefined;
539
- }, {
540
- type: "linear" | "radial";
541
- colors: string[];
542
- stops?: number[] | undefined;
543
- angle?: number | undefined;
544
- position?: string | undefined;
545
- shape?: "ellipse" | "circle" | undefined;
546
- }>]>>;
162
+ shape: z.ZodOptional<z.ZodEnum<{
163
+ ellipse: "ellipse";
164
+ circle: "circle";
165
+ }>>;
166
+ }, z.core.$strip>]>>;
547
167
  e: z.ZodOptional<z.ZodString>;
548
168
  w: z.ZodOptional<z.ZodString>;
549
169
  f: z.ZodOptional<z.ZodString>;
550
- }, "strip", z.ZodAny, z.objectOutputType<{
551
- s: z.ZodOptional<z.ZodNumber>;
552
- si: z.ZodOptional<z.ZodNumber>;
553
- c: z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodString, string, string>, z.ZodObject<{
554
- type: z.ZodEnum<["linear", "radial"]>;
555
- colors: z.ZodArray<z.ZodEffects<z.ZodString, string, string>, "many">;
556
- stops: z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>;
557
- angle: z.ZodOptional<z.ZodNumber>;
558
- position: z.ZodOptional<z.ZodString>;
559
- shape: z.ZodOptional<z.ZodEnum<["ellipse", "circle"]>>;
560
- }, "strip", z.ZodTypeAny, {
561
- type: "linear" | "radial";
562
- colors: string[];
563
- stops?: number[] | undefined;
564
- angle?: number | undefined;
565
- position?: string | undefined;
566
- shape?: "ellipse" | "circle" | undefined;
567
- }, {
568
- type: "linear" | "radial";
569
- colors: string[];
570
- stops?: number[] | undefined;
571
- angle?: number | undefined;
572
- position?: string | undefined;
573
- shape?: "ellipse" | "circle" | undefined;
574
- }>]>>;
575
- e: z.ZodOptional<z.ZodString>;
576
- w: z.ZodOptional<z.ZodString>;
577
- f: z.ZodOptional<z.ZodString>;
578
- }, z.ZodAny, "strip">, z.objectInputType<{
579
- s: z.ZodOptional<z.ZodNumber>;
580
- si: z.ZodOptional<z.ZodNumber>;
581
- c: z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodString, string, string>, z.ZodObject<{
582
- type: z.ZodEnum<["linear", "radial"]>;
583
- colors: z.ZodArray<z.ZodEffects<z.ZodString, string, string>, "many">;
584
- stops: z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>;
585
- angle: z.ZodOptional<z.ZodNumber>;
586
- position: z.ZodOptional<z.ZodString>;
587
- shape: z.ZodOptional<z.ZodEnum<["ellipse", "circle"]>>;
588
- }, "strip", z.ZodTypeAny, {
589
- type: "linear" | "radial";
590
- colors: string[];
591
- stops?: number[] | undefined;
592
- angle?: number | undefined;
593
- position?: string | undefined;
594
- shape?: "ellipse" | "circle" | undefined;
595
- }, {
596
- type: "linear" | "radial";
597
- colors: string[];
598
- stops?: number[] | undefined;
599
- angle?: number | undefined;
600
- position?: string | undefined;
601
- shape?: "ellipse" | "circle" | undefined;
602
- }>]>>;
603
- e: z.ZodOptional<z.ZodString>;
604
- w: z.ZodOptional<z.ZodString>;
605
- f: z.ZodOptional<z.ZodString>;
606
- }, z.ZodAny, "strip">>>, z.ZodNull]>>, "many">>;
607
- enlarge: z.ZodOptional<z.ZodEffects<z.ZodOptional<z.ZodUnion<[z.ZodBoolean, z.ZodNumber, z.ZodEffects<z.ZodString, number | true, string>]>>, number | undefined, string | number | boolean | undefined>>;
170
+ }, z.core.$catchall<z.ZodAny>>>, z.ZodNull]>>>>;
171
+ enlarge: z.ZodOptional<z.ZodPipe<z.ZodOptional<z.ZodUnion<readonly [z.ZodBoolean, z.ZodNumber, z.ZodPipe<z.ZodString, z.ZodTransform<number | true, string>>]>>, z.ZodTransform<number | undefined, number | boolean | undefined>>>;
608
172
  visible: z.ZodOptional<z.ZodBoolean>;
609
173
  emoji: z.ZodOptional<z.ZodString>;
610
- color: z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodString, string, string>, z.ZodObject<{
611
- type: z.ZodEnum<["linear", "radial"]>;
612
- colors: z.ZodArray<z.ZodEffects<z.ZodString, string, string>, "many">;
613
- stops: z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>;
174
+ color: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
175
+ type: z.ZodEnum<{
176
+ linear: "linear";
177
+ radial: "radial";
178
+ }>;
179
+ colors: z.ZodArray<z.ZodString>;
180
+ stops: z.ZodOptional<z.ZodArray<z.ZodNumber>>;
614
181
  angle: z.ZodOptional<z.ZodNumber>;
615
182
  position: z.ZodOptional<z.ZodString>;
616
- shape: z.ZodOptional<z.ZodEnum<["ellipse", "circle"]>>;
617
- }, "strip", z.ZodTypeAny, {
618
- type: "linear" | "radial";
619
- colors: string[];
620
- stops?: number[] | undefined;
621
- angle?: number | undefined;
622
- position?: string | undefined;
623
- shape?: "ellipse" | "circle" | undefined;
624
- }, {
625
- type: "linear" | "radial";
626
- colors: string[];
627
- stops?: number[] | undefined;
628
- angle?: number | undefined;
629
- position?: string | undefined;
630
- shape?: "ellipse" | "circle" | undefined;
631
- }>]>>;
632
- background: z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodString, string, string>, z.ZodObject<{
633
- type: z.ZodEnum<["linear", "radial"]>;
634
- colors: z.ZodArray<z.ZodEffects<z.ZodString, string, string>, "many">;
635
- stops: z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>;
183
+ shape: z.ZodOptional<z.ZodEnum<{
184
+ ellipse: "ellipse";
185
+ circle: "circle";
186
+ }>>;
187
+ }, z.core.$strip>]>>;
188
+ background: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
189
+ type: z.ZodEnum<{
190
+ linear: "linear";
191
+ radial: "radial";
192
+ }>;
193
+ colors: z.ZodArray<z.ZodString>;
194
+ stops: z.ZodOptional<z.ZodArray<z.ZodNumber>>;
636
195
  angle: z.ZodOptional<z.ZodNumber>;
637
196
  position: z.ZodOptional<z.ZodString>;
638
- shape: z.ZodOptional<z.ZodEnum<["ellipse", "circle"]>>;
639
- }, "strip", z.ZodTypeAny, {
640
- type: "linear" | "radial";
641
- colors: string[];
642
- stops?: number[] | undefined;
643
- angle?: number | undefined;
644
- position?: string | undefined;
645
- shape?: "ellipse" | "circle" | undefined;
646
- }, {
647
- type: "linear" | "radial";
648
- colors: string[];
649
- stops?: number[] | undefined;
650
- angle?: number | undefined;
651
- position?: string | undefined;
652
- shape?: "ellipse" | "circle" | undefined;
653
- }>]>>;
654
- }, "strip", z.ZodTypeAny, {
655
- id: string;
656
- text: string;
657
- start_at: number;
658
- end_at: number;
659
- visible?: boolean | undefined;
660
- color?: string | {
661
- type: "linear" | "radial";
662
- colors: string[];
663
- stops?: number[] | undefined;
664
- angle?: number | undefined;
665
- position?: string | undefined;
666
- shape?: "ellipse" | "circle" | undefined;
667
- } | undefined;
668
- background?: string | {
669
- type: "linear" | "radial";
670
- colors: string[];
671
- stops?: number[] | undefined;
672
- angle?: number | undefined;
673
- position?: string | undefined;
674
- shape?: "ellipse" | "circle" | undefined;
675
- } | undefined;
676
- words?: [string, number, number, ...(z.objectOutputType<{
677
- s: z.ZodOptional<z.ZodNumber>;
678
- si: z.ZodOptional<z.ZodNumber>;
679
- c: z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodString, string, string>, z.ZodObject<{
680
- type: z.ZodEnum<["linear", "radial"]>;
681
- colors: z.ZodArray<z.ZodEffects<z.ZodString, string, string>, "many">;
682
- stops: z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>;
683
- angle: z.ZodOptional<z.ZodNumber>;
684
- position: z.ZodOptional<z.ZodString>;
685
- shape: z.ZodOptional<z.ZodEnum<["ellipse", "circle"]>>;
686
- }, "strip", z.ZodTypeAny, {
687
- type: "linear" | "radial";
688
- colors: string[];
689
- stops?: number[] | undefined;
690
- angle?: number | undefined;
691
- position?: string | undefined;
692
- shape?: "ellipse" | "circle" | undefined;
693
- }, {
694
- type: "linear" | "radial";
695
- colors: string[];
696
- stops?: number[] | undefined;
697
- angle?: number | undefined;
698
- position?: string | undefined;
699
- shape?: "ellipse" | "circle" | undefined;
700
- }>]>>;
701
- e: z.ZodOptional<z.ZodString>;
702
- w: z.ZodOptional<z.ZodString>;
703
- f: z.ZodOptional<z.ZodString>;
704
- }, z.ZodAny, "strip"> | null | undefined)[]][] | undefined;
705
- emoji?: string | undefined;
706
- enlarge?: number | undefined;
707
- }, {
708
- id: string;
709
- text: string;
710
- start_at: number;
711
- end_at: number;
712
- visible?: boolean | undefined;
713
- color?: string | {
714
- type: "linear" | "radial";
715
- colors: string[];
716
- stops?: number[] | undefined;
717
- angle?: number | undefined;
718
- position?: string | undefined;
719
- shape?: "ellipse" | "circle" | undefined;
720
- } | undefined;
721
- background?: string | {
722
- type: "linear" | "radial";
723
- colors: string[];
724
- stops?: number[] | undefined;
725
- angle?: number | undefined;
726
- position?: string | undefined;
727
- shape?: "ellipse" | "circle" | undefined;
728
- } | undefined;
729
- words?: [string, number, number, ...(z.objectInputType<{
730
- s: z.ZodOptional<z.ZodNumber>;
731
- si: z.ZodOptional<z.ZodNumber>;
732
- c: z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodString, string, string>, z.ZodObject<{
733
- type: z.ZodEnum<["linear", "radial"]>;
734
- colors: z.ZodArray<z.ZodEffects<z.ZodString, string, string>, "many">;
735
- stops: z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>;
736
- angle: z.ZodOptional<z.ZodNumber>;
737
- position: z.ZodOptional<z.ZodString>;
738
- shape: z.ZodOptional<z.ZodEnum<["ellipse", "circle"]>>;
739
- }, "strip", z.ZodTypeAny, {
740
- type: "linear" | "radial";
741
- colors: string[];
742
- stops?: number[] | undefined;
743
- angle?: number | undefined;
744
- position?: string | undefined;
745
- shape?: "ellipse" | "circle" | undefined;
746
- }, {
747
- type: "linear" | "radial";
748
- colors: string[];
749
- stops?: number[] | undefined;
750
- angle?: number | undefined;
751
- position?: string | undefined;
752
- shape?: "ellipse" | "circle" | undefined;
753
- }>]>>;
754
- e: z.ZodOptional<z.ZodString>;
755
- w: z.ZodOptional<z.ZodString>;
756
- f: z.ZodOptional<z.ZodString>;
757
- }, z.ZodAny, "strip"> | null | undefined)[]][] | undefined;
758
- emoji?: string | undefined;
759
- enlarge?: string | number | boolean | undefined;
760
- }>, z.ZodObject<{
197
+ shape: z.ZodOptional<z.ZodEnum<{
198
+ ellipse: "ellipse";
199
+ circle: "circle";
200
+ }>>;
201
+ }, z.core.$strip>]>>;
202
+ }, z.core.$strip>, z.ZodObject<{
761
203
  id: z.ZodString;
762
204
  start_at: z.ZodNumber;
763
205
  end_at: z.ZodNumber;
@@ -768,306 +210,74 @@ declare const SubtitleShape: z.ZodUnion<[z.ZodObject<{
768
210
  end_at: z.ZodNumber;
769
211
  text: z.ZodString;
770
212
  position: z.ZodOptional<z.ZodNumber>;
771
- }, "strip", z.ZodTypeAny, {
772
- id: string;
773
- text: string;
774
- start_at: number;
775
- end_at: number;
776
- position?: number | undefined;
777
- }, {
778
- id: string;
779
- text: string;
780
- start_at: number;
781
- end_at: number;
782
- position?: number | undefined;
783
- }>, "many">>;
784
- enlarge: z.ZodOptional<z.ZodEffects<z.ZodOptional<z.ZodUnion<[z.ZodBoolean, z.ZodNumber, z.ZodEffects<z.ZodString, number | true, string>]>>, number | undefined, string | number | boolean | undefined>>;
213
+ }, z.core.$strip>>>;
214
+ enlarge: z.ZodOptional<z.ZodPipe<z.ZodOptional<z.ZodUnion<readonly [z.ZodBoolean, z.ZodNumber, z.ZodPipe<z.ZodString, z.ZodTransform<number | true, string>>]>>, z.ZodTransform<number | undefined, number | boolean | undefined>>>;
785
215
  visible: z.ZodOptional<z.ZodBoolean>;
786
216
  emoji: z.ZodOptional<z.ZodString>;
787
217
  color: z.ZodOptional<z.ZodString>;
788
218
  background: z.ZodOptional<z.ZodString>;
789
- }, "strip", z.ZodTypeAny, {
790
- id: string;
791
- text: string;
792
- start_at: number;
793
- end_at: number;
794
- visible?: boolean | undefined;
795
- color?: string | undefined;
796
- background?: string | undefined;
797
- words?: {
798
- id: string;
799
- text: string;
800
- start_at: number;
801
- end_at: number;
802
- position?: number | undefined;
803
- }[] | undefined;
804
- emoji?: string | undefined;
805
- enlarge?: number | undefined;
806
- }, {
807
- id: string;
808
- text: string;
809
- start_at: number;
810
- end_at: number;
811
- visible?: boolean | undefined;
812
- color?: string | undefined;
813
- background?: string | undefined;
814
- words?: {
815
- id: string;
816
- text: string;
817
- start_at: number;
818
- end_at: number;
819
- position?: number | undefined;
820
- }[] | undefined;
821
- emoji?: string | undefined;
822
- enlarge?: string | number | boolean | undefined;
823
- }>]>;
219
+ }, z.core.$strip>]>;
824
220
  /**
825
221
  * Subtitle collection (language mapping)
826
222
  */
827
- declare const SubtitleCollectionShape: z.ZodRecord<z.ZodString, z.ZodArray<z.ZodUnion<[z.ZodObject<{
223
+ declare const SubtitleCollectionShape: z.ZodRecord<z.ZodString, z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
828
224
  id: z.ZodString;
829
225
  start_at: z.ZodNumber;
830
226
  end_at: z.ZodNumber;
831
227
  text: z.ZodString;
832
- words: z.ZodOptional<z.ZodArray<z.ZodTuple<[z.ZodString, z.ZodNumber, z.ZodNumber], z.ZodUnion<[z.ZodOptional<z.ZodObject<{
228
+ words: z.ZodOptional<z.ZodArray<z.ZodTuple<[z.ZodString, z.ZodNumber, z.ZodNumber], z.ZodUnion<readonly [z.ZodOptional<z.ZodObject<{
833
229
  s: z.ZodOptional<z.ZodNumber>;
834
230
  si: z.ZodOptional<z.ZodNumber>;
835
- c: z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodString, string, string>, z.ZodObject<{
836
- type: z.ZodEnum<["linear", "radial"]>;
837
- colors: z.ZodArray<z.ZodEffects<z.ZodString, string, string>, "many">;
838
- stops: z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>;
231
+ c: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
232
+ type: z.ZodEnum<{
233
+ linear: "linear";
234
+ radial: "radial";
235
+ }>;
236
+ colors: z.ZodArray<z.ZodString>;
237
+ stops: z.ZodOptional<z.ZodArray<z.ZodNumber>>;
839
238
  angle: z.ZodOptional<z.ZodNumber>;
840
239
  position: z.ZodOptional<z.ZodString>;
841
- shape: z.ZodOptional<z.ZodEnum<["ellipse", "circle"]>>;
842
- }, "strip", z.ZodTypeAny, {
843
- type: "linear" | "radial";
844
- colors: string[];
845
- stops?: number[] | undefined;
846
- angle?: number | undefined;
847
- position?: string | undefined;
848
- shape?: "ellipse" | "circle" | undefined;
849
- }, {
850
- type: "linear" | "radial";
851
- colors: string[];
852
- stops?: number[] | undefined;
853
- angle?: number | undefined;
854
- position?: string | undefined;
855
- shape?: "ellipse" | "circle" | undefined;
856
- }>]>>;
240
+ shape: z.ZodOptional<z.ZodEnum<{
241
+ ellipse: "ellipse";
242
+ circle: "circle";
243
+ }>>;
244
+ }, z.core.$strip>]>>;
857
245
  e: z.ZodOptional<z.ZodString>;
858
246
  w: z.ZodOptional<z.ZodString>;
859
247
  f: z.ZodOptional<z.ZodString>;
860
- }, "strip", z.ZodAny, z.objectOutputType<{
861
- s: z.ZodOptional<z.ZodNumber>;
862
- si: z.ZodOptional<z.ZodNumber>;
863
- c: z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodString, string, string>, z.ZodObject<{
864
- type: z.ZodEnum<["linear", "radial"]>;
865
- colors: z.ZodArray<z.ZodEffects<z.ZodString, string, string>, "many">;
866
- stops: z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>;
867
- angle: z.ZodOptional<z.ZodNumber>;
868
- position: z.ZodOptional<z.ZodString>;
869
- shape: z.ZodOptional<z.ZodEnum<["ellipse", "circle"]>>;
870
- }, "strip", z.ZodTypeAny, {
871
- type: "linear" | "radial";
872
- colors: string[];
873
- stops?: number[] | undefined;
874
- angle?: number | undefined;
875
- position?: string | undefined;
876
- shape?: "ellipse" | "circle" | undefined;
877
- }, {
878
- type: "linear" | "radial";
879
- colors: string[];
880
- stops?: number[] | undefined;
881
- angle?: number | undefined;
882
- position?: string | undefined;
883
- shape?: "ellipse" | "circle" | undefined;
884
- }>]>>;
885
- e: z.ZodOptional<z.ZodString>;
886
- w: z.ZodOptional<z.ZodString>;
887
- f: z.ZodOptional<z.ZodString>;
888
- }, z.ZodAny, "strip">, z.objectInputType<{
889
- s: z.ZodOptional<z.ZodNumber>;
890
- si: z.ZodOptional<z.ZodNumber>;
891
- c: z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodString, string, string>, z.ZodObject<{
892
- type: z.ZodEnum<["linear", "radial"]>;
893
- colors: z.ZodArray<z.ZodEffects<z.ZodString, string, string>, "many">;
894
- stops: z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>;
895
- angle: z.ZodOptional<z.ZodNumber>;
896
- position: z.ZodOptional<z.ZodString>;
897
- shape: z.ZodOptional<z.ZodEnum<["ellipse", "circle"]>>;
898
- }, "strip", z.ZodTypeAny, {
899
- type: "linear" | "radial";
900
- colors: string[];
901
- stops?: number[] | undefined;
902
- angle?: number | undefined;
903
- position?: string | undefined;
904
- shape?: "ellipse" | "circle" | undefined;
905
- }, {
906
- type: "linear" | "radial";
907
- colors: string[];
908
- stops?: number[] | undefined;
909
- angle?: number | undefined;
910
- position?: string | undefined;
911
- shape?: "ellipse" | "circle" | undefined;
912
- }>]>>;
913
- e: z.ZodOptional<z.ZodString>;
914
- w: z.ZodOptional<z.ZodString>;
915
- f: z.ZodOptional<z.ZodString>;
916
- }, z.ZodAny, "strip">>>, z.ZodNull]>>, "many">>;
917
- enlarge: z.ZodOptional<z.ZodEffects<z.ZodOptional<z.ZodUnion<[z.ZodBoolean, z.ZodNumber, z.ZodEffects<z.ZodString, number | true, string>]>>, number | undefined, string | number | boolean | undefined>>;
248
+ }, z.core.$catchall<z.ZodAny>>>, z.ZodNull]>>>>;
249
+ enlarge: z.ZodOptional<z.ZodPipe<z.ZodOptional<z.ZodUnion<readonly [z.ZodBoolean, z.ZodNumber, z.ZodPipe<z.ZodString, z.ZodTransform<number | true, string>>]>>, z.ZodTransform<number | undefined, number | boolean | undefined>>>;
918
250
  visible: z.ZodOptional<z.ZodBoolean>;
919
251
  emoji: z.ZodOptional<z.ZodString>;
920
- color: z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodString, string, string>, z.ZodObject<{
921
- type: z.ZodEnum<["linear", "radial"]>;
922
- colors: z.ZodArray<z.ZodEffects<z.ZodString, string, string>, "many">;
923
- stops: z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>;
252
+ color: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
253
+ type: z.ZodEnum<{
254
+ linear: "linear";
255
+ radial: "radial";
256
+ }>;
257
+ colors: z.ZodArray<z.ZodString>;
258
+ stops: z.ZodOptional<z.ZodArray<z.ZodNumber>>;
924
259
  angle: z.ZodOptional<z.ZodNumber>;
925
260
  position: z.ZodOptional<z.ZodString>;
926
- shape: z.ZodOptional<z.ZodEnum<["ellipse", "circle"]>>;
927
- }, "strip", z.ZodTypeAny, {
928
- type: "linear" | "radial";
929
- colors: string[];
930
- stops?: number[] | undefined;
931
- angle?: number | undefined;
932
- position?: string | undefined;
933
- shape?: "ellipse" | "circle" | undefined;
934
- }, {
935
- type: "linear" | "radial";
936
- colors: string[];
937
- stops?: number[] | undefined;
938
- angle?: number | undefined;
939
- position?: string | undefined;
940
- shape?: "ellipse" | "circle" | undefined;
941
- }>]>>;
942
- background: z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodString, string, string>, z.ZodObject<{
943
- type: z.ZodEnum<["linear", "radial"]>;
944
- colors: z.ZodArray<z.ZodEffects<z.ZodString, string, string>, "many">;
945
- stops: z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>;
261
+ shape: z.ZodOptional<z.ZodEnum<{
262
+ ellipse: "ellipse";
263
+ circle: "circle";
264
+ }>>;
265
+ }, z.core.$strip>]>>;
266
+ background: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
267
+ type: z.ZodEnum<{
268
+ linear: "linear";
269
+ radial: "radial";
270
+ }>;
271
+ colors: z.ZodArray<z.ZodString>;
272
+ stops: z.ZodOptional<z.ZodArray<z.ZodNumber>>;
946
273
  angle: z.ZodOptional<z.ZodNumber>;
947
274
  position: z.ZodOptional<z.ZodString>;
948
- shape: z.ZodOptional<z.ZodEnum<["ellipse", "circle"]>>;
949
- }, "strip", z.ZodTypeAny, {
950
- type: "linear" | "radial";
951
- colors: string[];
952
- stops?: number[] | undefined;
953
- angle?: number | undefined;
954
- position?: string | undefined;
955
- shape?: "ellipse" | "circle" | undefined;
956
- }, {
957
- type: "linear" | "radial";
958
- colors: string[];
959
- stops?: number[] | undefined;
960
- angle?: number | undefined;
961
- position?: string | undefined;
962
- shape?: "ellipse" | "circle" | undefined;
963
- }>]>>;
964
- }, "strip", z.ZodTypeAny, {
965
- id: string;
966
- text: string;
967
- start_at: number;
968
- end_at: number;
969
- visible?: boolean | undefined;
970
- color?: string | {
971
- type: "linear" | "radial";
972
- colors: string[];
973
- stops?: number[] | undefined;
974
- angle?: number | undefined;
975
- position?: string | undefined;
976
- shape?: "ellipse" | "circle" | undefined;
977
- } | undefined;
978
- background?: string | {
979
- type: "linear" | "radial";
980
- colors: string[];
981
- stops?: number[] | undefined;
982
- angle?: number | undefined;
983
- position?: string | undefined;
984
- shape?: "ellipse" | "circle" | undefined;
985
- } | undefined;
986
- words?: [string, number, number, ...(z.objectOutputType<{
987
- s: z.ZodOptional<z.ZodNumber>;
988
- si: z.ZodOptional<z.ZodNumber>;
989
- c: z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodString, string, string>, z.ZodObject<{
990
- type: z.ZodEnum<["linear", "radial"]>;
991
- colors: z.ZodArray<z.ZodEffects<z.ZodString, string, string>, "many">;
992
- stops: z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>;
993
- angle: z.ZodOptional<z.ZodNumber>;
994
- position: z.ZodOptional<z.ZodString>;
995
- shape: z.ZodOptional<z.ZodEnum<["ellipse", "circle"]>>;
996
- }, "strip", z.ZodTypeAny, {
997
- type: "linear" | "radial";
998
- colors: string[];
999
- stops?: number[] | undefined;
1000
- angle?: number | undefined;
1001
- position?: string | undefined;
1002
- shape?: "ellipse" | "circle" | undefined;
1003
- }, {
1004
- type: "linear" | "radial";
1005
- colors: string[];
1006
- stops?: number[] | undefined;
1007
- angle?: number | undefined;
1008
- position?: string | undefined;
1009
- shape?: "ellipse" | "circle" | undefined;
1010
- }>]>>;
1011
- e: z.ZodOptional<z.ZodString>;
1012
- w: z.ZodOptional<z.ZodString>;
1013
- f: z.ZodOptional<z.ZodString>;
1014
- }, z.ZodAny, "strip"> | null | undefined)[]][] | undefined;
1015
- emoji?: string | undefined;
1016
- enlarge?: number | undefined;
1017
- }, {
1018
- id: string;
1019
- text: string;
1020
- start_at: number;
1021
- end_at: number;
1022
- visible?: boolean | undefined;
1023
- color?: string | {
1024
- type: "linear" | "radial";
1025
- colors: string[];
1026
- stops?: number[] | undefined;
1027
- angle?: number | undefined;
1028
- position?: string | undefined;
1029
- shape?: "ellipse" | "circle" | undefined;
1030
- } | undefined;
1031
- background?: string | {
1032
- type: "linear" | "radial";
1033
- colors: string[];
1034
- stops?: number[] | undefined;
1035
- angle?: number | undefined;
1036
- position?: string | undefined;
1037
- shape?: "ellipse" | "circle" | undefined;
1038
- } | undefined;
1039
- words?: [string, number, number, ...(z.objectInputType<{
1040
- s: z.ZodOptional<z.ZodNumber>;
1041
- si: z.ZodOptional<z.ZodNumber>;
1042
- c: z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodString, string, string>, z.ZodObject<{
1043
- type: z.ZodEnum<["linear", "radial"]>;
1044
- colors: z.ZodArray<z.ZodEffects<z.ZodString, string, string>, "many">;
1045
- stops: z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>;
1046
- angle: z.ZodOptional<z.ZodNumber>;
1047
- position: z.ZodOptional<z.ZodString>;
1048
- shape: z.ZodOptional<z.ZodEnum<["ellipse", "circle"]>>;
1049
- }, "strip", z.ZodTypeAny, {
1050
- type: "linear" | "radial";
1051
- colors: string[];
1052
- stops?: number[] | undefined;
1053
- angle?: number | undefined;
1054
- position?: string | undefined;
1055
- shape?: "ellipse" | "circle" | undefined;
1056
- }, {
1057
- type: "linear" | "radial";
1058
- colors: string[];
1059
- stops?: number[] | undefined;
1060
- angle?: number | undefined;
1061
- position?: string | undefined;
1062
- shape?: "ellipse" | "circle" | undefined;
1063
- }>]>>;
1064
- e: z.ZodOptional<z.ZodString>;
1065
- w: z.ZodOptional<z.ZodString>;
1066
- f: z.ZodOptional<z.ZodString>;
1067
- }, z.ZodAny, "strip"> | null | undefined)[]][] | undefined;
1068
- emoji?: string | undefined;
1069
- enlarge?: string | number | boolean | undefined;
1070
- }>, z.ZodObject<{
275
+ shape: z.ZodOptional<z.ZodEnum<{
276
+ ellipse: "ellipse";
277
+ circle: "circle";
278
+ }>>;
279
+ }, z.core.$strip>]>>;
280
+ }, z.core.$strip>, z.ZodObject<{
1071
281
  id: z.ZodString;
1072
282
  start_at: z.ZodNumber;
1073
283
  end_at: z.ZodNumber;
@@ -1078,59 +288,13 @@ declare const SubtitleCollectionShape: z.ZodRecord<z.ZodString, z.ZodArray<z.Zod
1078
288
  end_at: z.ZodNumber;
1079
289
  text: z.ZodString;
1080
290
  position: z.ZodOptional<z.ZodNumber>;
1081
- }, "strip", z.ZodTypeAny, {
1082
- id: string;
1083
- text: string;
1084
- start_at: number;
1085
- end_at: number;
1086
- position?: number | undefined;
1087
- }, {
1088
- id: string;
1089
- text: string;
1090
- start_at: number;
1091
- end_at: number;
1092
- position?: number | undefined;
1093
- }>, "many">>;
1094
- enlarge: z.ZodOptional<z.ZodEffects<z.ZodOptional<z.ZodUnion<[z.ZodBoolean, z.ZodNumber, z.ZodEffects<z.ZodString, number | true, string>]>>, number | undefined, string | number | boolean | undefined>>;
291
+ }, z.core.$strip>>>;
292
+ enlarge: z.ZodOptional<z.ZodPipe<z.ZodOptional<z.ZodUnion<readonly [z.ZodBoolean, z.ZodNumber, z.ZodPipe<z.ZodString, z.ZodTransform<number | true, string>>]>>, z.ZodTransform<number | undefined, number | boolean | undefined>>>;
1095
293
  visible: z.ZodOptional<z.ZodBoolean>;
1096
294
  emoji: z.ZodOptional<z.ZodString>;
1097
295
  color: z.ZodOptional<z.ZodString>;
1098
296
  background: z.ZodOptional<z.ZodString>;
1099
- }, "strip", z.ZodTypeAny, {
1100
- id: string;
1101
- text: string;
1102
- start_at: number;
1103
- end_at: number;
1104
- visible?: boolean | undefined;
1105
- color?: string | undefined;
1106
- background?: string | undefined;
1107
- words?: {
1108
- id: string;
1109
- text: string;
1110
- start_at: number;
1111
- end_at: number;
1112
- position?: number | undefined;
1113
- }[] | undefined;
1114
- emoji?: string | undefined;
1115
- enlarge?: number | undefined;
1116
- }, {
1117
- id: string;
1118
- text: string;
1119
- start_at: number;
1120
- end_at: number;
1121
- visible?: boolean | undefined;
1122
- color?: string | undefined;
1123
- background?: string | undefined;
1124
- words?: {
1125
- id: string;
1126
- text: string;
1127
- start_at: number;
1128
- end_at: number;
1129
- position?: number | undefined;
1130
- }[] | undefined;
1131
- emoji?: string | undefined;
1132
- enlarge?: string | number | boolean | undefined;
1133
- }>]>, "many">>;
297
+ }, z.core.$strip>]>>>;
1134
298
  export type CompactWordMetadata = z.infer<typeof CompactWordMetadataShape>;
1135
299
  export type CompactWordTuple = z.infer<typeof CompactWordTupleShape>;
1136
300
  export type SubtitleWord = z.infer<typeof SubtitleWordShape>;