@blitzreels/contracts 0.2.17 → 0.2.18

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 (81) hide show
  1. package/dist/carousel-board-api.d.ts +3585 -0
  2. package/dist/carousel-board-api.d.ts.map +1 -0
  3. package/dist/carousel-board-api.js +463 -0
  4. package/dist/carousel-board-api.js.map +1 -0
  5. package/dist/carousel-board-deck.d.ts +176 -0
  6. package/dist/carousel-board-deck.d.ts.map +1 -0
  7. package/dist/carousel-board-deck.js +572 -0
  8. package/dist/carousel-board-deck.js.map +1 -0
  9. package/dist/carousel-board-generate.d.ts +305 -0
  10. package/dist/carousel-board-generate.d.ts.map +1 -0
  11. package/dist/carousel-board-generate.js +219 -0
  12. package/dist/carousel-board-generate.js.map +1 -0
  13. package/dist/carousel-board-images.d.ts +34 -0
  14. package/dist/carousel-board-images.d.ts.map +1 -0
  15. package/dist/carousel-board-images.js +263 -0
  16. package/dist/carousel-board-images.js.map +1 -0
  17. package/dist/carousel-board-layout.d.ts +57 -0
  18. package/dist/carousel-board-layout.d.ts.map +1 -0
  19. package/dist/carousel-board-layout.js +226 -0
  20. package/dist/carousel-board-layout.js.map +1 -0
  21. package/dist/carousel-board-revert.d.ts +15 -0
  22. package/dist/carousel-board-revert.d.ts.map +1 -0
  23. package/dist/carousel-board-revert.js +232 -0
  24. package/dist/carousel-board-revert.js.map +1 -0
  25. package/dist/carousel-board-templates.d.ts +42 -0
  26. package/dist/carousel-board-templates.d.ts.map +1 -0
  27. package/dist/carousel-board-templates.js +6860 -0
  28. package/dist/carousel-board-templates.js.map +1 -0
  29. package/dist/carousel-board.d.ts +5893 -0
  30. package/dist/carousel-board.d.ts.map +1 -0
  31. package/dist/carousel-board.js +741 -0
  32. package/dist/carousel-board.js.map +1 -0
  33. package/dist/carousels-contract.d.ts +2 -0
  34. package/dist/carousels-contract.d.ts.map +1 -1
  35. package/dist/carousels-contract.js +1 -1
  36. package/dist/carousels-contract.js.map +1 -1
  37. package/dist/content-intelligence-contract.d.ts +2040 -0
  38. package/dist/content-intelligence-contract.d.ts.map +1 -0
  39. package/dist/content-intelligence-contract.js +396 -0
  40. package/dist/content-intelligence-contract.js.map +1 -0
  41. package/dist/creative-composition-edit.d.ts +31 -0
  42. package/dist/creative-composition-edit.d.ts.map +1 -1
  43. package/dist/creative-composition-edit.js +49 -2
  44. package/dist/creative-composition-edit.js.map +1 -1
  45. package/dist/creative-composition-structure.d.ts.map +1 -1
  46. package/dist/creative-composition-structure.js +6 -0
  47. package/dist/creative-composition-structure.js.map +1 -1
  48. package/dist/creative-composition-types.d.ts +4 -0
  49. package/dist/creative-composition-types.d.ts.map +1 -1
  50. package/dist/creative-element-contract.d.ts.map +1 -1
  51. package/dist/creative-element-contract.js +8 -0
  52. package/dist/creative-element-contract.js.map +1 -1
  53. package/dist/creative-style-contract.d.ts +1 -0
  54. package/dist/creative-style-contract.d.ts.map +1 -1
  55. package/dist/creative-style-contract.js +4 -0
  56. package/dist/creative-style-contract.js.map +1 -1
  57. package/dist/creative-text-runs.d.ts +116 -0
  58. package/dist/creative-text-runs.d.ts.map +1 -0
  59. package/dist/creative-text-runs.js +239 -0
  60. package/dist/creative-text-runs.js.map +1 -0
  61. package/dist/editor-command-contract.d.ts +30 -0
  62. package/dist/editor-command-contract.d.ts.map +1 -1
  63. package/dist/generation-resolution.d.ts.map +1 -1
  64. package/dist/generation-resolution.js +15 -14
  65. package/dist/generation-resolution.js.map +1 -1
  66. package/dist/hook-suggestions.d.ts +116 -0
  67. package/dist/hook-suggestions.d.ts.map +1 -0
  68. package/dist/hook-suggestions.js +64 -0
  69. package/dist/hook-suggestions.js.map +1 -0
  70. package/dist/index.d.ts +11 -0
  71. package/dist/index.d.ts.map +1 -1
  72. package/dist/index.js +11 -0
  73. package/dist/index.js.map +1 -1
  74. package/dist/metered-operations.d.ts +36 -0
  75. package/dist/metered-operations.d.ts.map +1 -1
  76. package/dist/metered-operations.js +21 -0
  77. package/dist/metered-operations.js.map +1 -1
  78. package/dist/model-prices.d.ts.map +1 -1
  79. package/dist/model-prices.js +14 -2
  80. package/dist/model-prices.js.map +1 -1
  81. package/package.json +1 -1
@@ -0,0 +1,2040 @@
1
+ import { z } from "zod/v4";
2
+ export declare const corpusPlatformSchema: z.ZodEnum<{
3
+ instagram: "instagram";
4
+ tiktok: "tiktok";
5
+ }>;
6
+ export declare const corpusPostKindSchema: z.ZodEnum<{
7
+ carousel: "carousel";
8
+ video: "video";
9
+ }>;
10
+ export declare const corpusHookTypeSchema: z.ZodEnum<{
11
+ bold_claim: "bold_claim";
12
+ challenge: "challenge";
13
+ contrarian: "contrarian";
14
+ curiosity_gap: "curiosity_gap";
15
+ demo: "demo";
16
+ how_to: "how_to";
17
+ list: "list";
18
+ news: "news";
19
+ other: "other";
20
+ question: "question";
21
+ relatable: "relatable";
22
+ result_first: "result_first";
23
+ story: "story";
24
+ }>;
25
+ export declare const corpusFormatKeySchema: z.ZodEnum<{
26
+ ai_avatar: "ai_avatar";
27
+ before_after: "before_after";
28
+ green_screen: "green_screen";
29
+ interview: "interview";
30
+ listicle: "listicle";
31
+ meme: "meme";
32
+ other: "other";
33
+ reaction: "reaction";
34
+ screen_recording: "screen_recording";
35
+ skit: "skit";
36
+ slideshow: "slideshow";
37
+ talking_head: "talking_head";
38
+ text_on_screen: "text_on_screen";
39
+ tutorial_steps: "tutorial_steps";
40
+ voiceover_broll: "voiceover_broll";
41
+ }>;
42
+ export declare const corpusSortSchema: z.ZodEnum<{
43
+ engagement: "engagement";
44
+ outlier: "outlier";
45
+ recent: "recent";
46
+ velocity: "velocity";
47
+ views: "views";
48
+ }>;
49
+ export declare const corpusPatternKindSchema: z.ZodEnum<{
50
+ format: "format";
51
+ hook: "hook";
52
+ topic: "topic";
53
+ }>;
54
+ export declare const corpusMomentumSchema: z.ZodEnum<{
55
+ fading: "fading";
56
+ new: "new";
57
+ rising: "rising";
58
+ steady: "steady";
59
+ }>;
60
+ export declare const corpusPostAnalysisSchema: z.ZodObject<{
61
+ version: z.ZodNumber;
62
+ language: z.ZodString;
63
+ nicheFit: z.ZodNumber;
64
+ topic: z.ZodString;
65
+ angle: z.ZodString;
66
+ hook: z.ZodObject<{
67
+ text: z.ZodString;
68
+ type: z.ZodEnum<{
69
+ bold_claim: "bold_claim";
70
+ challenge: "challenge";
71
+ contrarian: "contrarian";
72
+ curiosity_gap: "curiosity_gap";
73
+ demo: "demo";
74
+ how_to: "how_to";
75
+ list: "list";
76
+ news: "news";
77
+ other: "other";
78
+ question: "question";
79
+ relatable: "relatable";
80
+ result_first: "result_first";
81
+ story: "story";
82
+ }>;
83
+ visual: z.ZodNullable<z.ZodString>;
84
+ }, z.core.$strip>;
85
+ formatKey: z.ZodEnum<{
86
+ ai_avatar: "ai_avatar";
87
+ before_after: "before_after";
88
+ green_screen: "green_screen";
89
+ interview: "interview";
90
+ listicle: "listicle";
91
+ meme: "meme";
92
+ other: "other";
93
+ reaction: "reaction";
94
+ screen_recording: "screen_recording";
95
+ skit: "skit";
96
+ slideshow: "slideshow";
97
+ talking_head: "talking_head";
98
+ text_on_screen: "text_on_screen";
99
+ tutorial_steps: "tutorial_steps";
100
+ voiceover_broll: "voiceover_broll";
101
+ }>;
102
+ faceOnCamera: z.ZodNullable<z.ZodBoolean>;
103
+ structure: z.ZodArray<z.ZodString>;
104
+ cta: z.ZodNullable<z.ZodString>;
105
+ whyItWorks: z.ZodString;
106
+ howToReplicate: z.ZodString;
107
+ effort: z.ZodEnum<{
108
+ high: "high";
109
+ low: "low";
110
+ medium: "medium";
111
+ }>;
112
+ }, z.core.$strip>;
113
+ export declare const corpusCreatorSummarySchema: z.ZodObject<{
114
+ id: z.ZodUUID;
115
+ platform: z.ZodEnum<{
116
+ instagram: "instagram";
117
+ tiktok: "tiktok";
118
+ }>;
119
+ handle: z.ZodString;
120
+ displayName: z.ZodNullable<z.ZodString>;
121
+ followers: z.ZodNullable<z.ZodNumber>;
122
+ avatarUrl: z.ZodNullable<z.ZodString>;
123
+ medianViews: z.ZodNullable<z.ZodNumber>;
124
+ region: z.ZodNullable<z.ZodString>;
125
+ }, z.core.$strip>;
126
+ export declare const corpusPostSchema: z.ZodObject<{
127
+ id: z.ZodUUID;
128
+ platform: z.ZodEnum<{
129
+ instagram: "instagram";
130
+ tiktok: "tiktok";
131
+ }>;
132
+ kind: z.ZodEnum<{
133
+ carousel: "carousel";
134
+ video: "video";
135
+ }>;
136
+ url: z.ZodURL;
137
+ caption: z.ZodNullable<z.ZodString>;
138
+ coverUrl: z.ZodNullable<z.ZodString>;
139
+ publishedAt: z.ZodNullable<z.ZodISODateTime>;
140
+ durationSeconds: z.ZodNullable<z.ZodNumber>;
141
+ slideCount: z.ZodNullable<z.ZodNumber>;
142
+ creator: z.ZodObject<{
143
+ id: z.ZodUUID;
144
+ platform: z.ZodEnum<{
145
+ instagram: "instagram";
146
+ tiktok: "tiktok";
147
+ }>;
148
+ handle: z.ZodString;
149
+ displayName: z.ZodNullable<z.ZodString>;
150
+ followers: z.ZodNullable<z.ZodNumber>;
151
+ avatarUrl: z.ZodNullable<z.ZodString>;
152
+ medianViews: z.ZodNullable<z.ZodNumber>;
153
+ region: z.ZodNullable<z.ZodString>;
154
+ }, z.core.$strip>;
155
+ metrics: z.ZodObject<{
156
+ views: z.ZodNullable<z.ZodNumber>;
157
+ likes: z.ZodNullable<z.ZodNumber>;
158
+ comments: z.ZodNullable<z.ZodNumber>;
159
+ shares: z.ZodNullable<z.ZodNumber>;
160
+ saves: z.ZodNullable<z.ZodNumber>;
161
+ observedAt: z.ZodISODateTime;
162
+ }, z.core.$strip>;
163
+ scores: z.ZodObject<{
164
+ outlier: z.ZodNullable<z.ZodNumber>;
165
+ outlierBasis: z.ZodNullable<z.ZodEnum<{
166
+ likes: "likes";
167
+ views: "views";
168
+ }>>;
169
+ engagementRate: z.ZodNullable<z.ZodNumber>;
170
+ viewsPerHour: z.ZodNullable<z.ZodNumber>;
171
+ }, z.core.$strip>;
172
+ niches: z.ZodArray<z.ZodString>;
173
+ analysis: z.ZodNullable<z.ZodObject<{
174
+ version: z.ZodNumber;
175
+ language: z.ZodString;
176
+ nicheFit: z.ZodNumber;
177
+ topic: z.ZodString;
178
+ angle: z.ZodString;
179
+ hook: z.ZodObject<{
180
+ text: z.ZodString;
181
+ type: z.ZodEnum<{
182
+ bold_claim: "bold_claim";
183
+ challenge: "challenge";
184
+ contrarian: "contrarian";
185
+ curiosity_gap: "curiosity_gap";
186
+ demo: "demo";
187
+ how_to: "how_to";
188
+ list: "list";
189
+ news: "news";
190
+ other: "other";
191
+ question: "question";
192
+ relatable: "relatable";
193
+ result_first: "result_first";
194
+ story: "story";
195
+ }>;
196
+ visual: z.ZodNullable<z.ZodString>;
197
+ }, z.core.$strip>;
198
+ formatKey: z.ZodEnum<{
199
+ ai_avatar: "ai_avatar";
200
+ before_after: "before_after";
201
+ green_screen: "green_screen";
202
+ interview: "interview";
203
+ listicle: "listicle";
204
+ meme: "meme";
205
+ other: "other";
206
+ reaction: "reaction";
207
+ screen_recording: "screen_recording";
208
+ skit: "skit";
209
+ slideshow: "slideshow";
210
+ talking_head: "talking_head";
211
+ text_on_screen: "text_on_screen";
212
+ tutorial_steps: "tutorial_steps";
213
+ voiceover_broll: "voiceover_broll";
214
+ }>;
215
+ faceOnCamera: z.ZodNullable<z.ZodBoolean>;
216
+ structure: z.ZodArray<z.ZodString>;
217
+ cta: z.ZodNullable<z.ZodString>;
218
+ whyItWorks: z.ZodString;
219
+ howToReplicate: z.ZodString;
220
+ effort: z.ZodEnum<{
221
+ high: "high";
222
+ low: "low";
223
+ medium: "medium";
224
+ }>;
225
+ }, z.core.$strip>>;
226
+ }, z.core.$strip>;
227
+ export declare const corpusSearchInputSchema: z.ZodObject<{
228
+ source: z.ZodDefault<z.ZodEnum<{
229
+ niches: "niches";
230
+ watchlist: "watchlist";
231
+ }>>;
232
+ niches: z.ZodDefault<z.ZodArray<z.ZodString>>;
233
+ region: z.ZodDefault<z.ZodNullable<z.ZodString>>;
234
+ platforms: z.ZodDefault<z.ZodArray<z.ZodEnum<{
235
+ instagram: "instagram";
236
+ tiktok: "tiktok";
237
+ }>>>;
238
+ kinds: z.ZodDefault<z.ZodArray<z.ZodEnum<{
239
+ carousel: "carousel";
240
+ video: "video";
241
+ }>>>;
242
+ hookTypes: z.ZodDefault<z.ZodArray<z.ZodEnum<{
243
+ bold_claim: "bold_claim";
244
+ challenge: "challenge";
245
+ contrarian: "contrarian";
246
+ curiosity_gap: "curiosity_gap";
247
+ demo: "demo";
248
+ how_to: "how_to";
249
+ list: "list";
250
+ news: "news";
251
+ other: "other";
252
+ question: "question";
253
+ relatable: "relatable";
254
+ result_first: "result_first";
255
+ story: "story";
256
+ }>>>;
257
+ formatKeys: z.ZodDefault<z.ZodArray<z.ZodEnum<{
258
+ ai_avatar: "ai_avatar";
259
+ before_after: "before_after";
260
+ green_screen: "green_screen";
261
+ interview: "interview";
262
+ listicle: "listicle";
263
+ meme: "meme";
264
+ other: "other";
265
+ reaction: "reaction";
266
+ screen_recording: "screen_recording";
267
+ skit: "skit";
268
+ slideshow: "slideshow";
269
+ talking_head: "talking_head";
270
+ text_on_screen: "text_on_screen";
271
+ tutorial_steps: "tutorial_steps";
272
+ voiceover_broll: "voiceover_broll";
273
+ }>>>;
274
+ publishedWithinDays: z.ZodDefault<z.ZodNumber>;
275
+ minOutlier: z.ZodDefault<z.ZodNumber>;
276
+ query: z.ZodDefault<z.ZodString>;
277
+ analyzedOnly: z.ZodDefault<z.ZodBoolean>;
278
+ sort: z.ZodDefault<z.ZodEnum<{
279
+ engagement: "engagement";
280
+ outlier: "outlier";
281
+ recent: "recent";
282
+ velocity: "velocity";
283
+ views: "views";
284
+ }>>;
285
+ cursor: z.ZodDefault<z.ZodNullable<z.ZodString>>;
286
+ limit: z.ZodDefault<z.ZodNumber>;
287
+ }, z.core.$strip>;
288
+ export declare const corpusSearchResultSchema: z.ZodObject<{
289
+ posts: z.ZodArray<z.ZodObject<{
290
+ id: z.ZodUUID;
291
+ platform: z.ZodEnum<{
292
+ instagram: "instagram";
293
+ tiktok: "tiktok";
294
+ }>;
295
+ kind: z.ZodEnum<{
296
+ carousel: "carousel";
297
+ video: "video";
298
+ }>;
299
+ url: z.ZodURL;
300
+ caption: z.ZodNullable<z.ZodString>;
301
+ coverUrl: z.ZodNullable<z.ZodString>;
302
+ publishedAt: z.ZodNullable<z.ZodISODateTime>;
303
+ durationSeconds: z.ZodNullable<z.ZodNumber>;
304
+ slideCount: z.ZodNullable<z.ZodNumber>;
305
+ creator: z.ZodObject<{
306
+ id: z.ZodUUID;
307
+ platform: z.ZodEnum<{
308
+ instagram: "instagram";
309
+ tiktok: "tiktok";
310
+ }>;
311
+ handle: z.ZodString;
312
+ displayName: z.ZodNullable<z.ZodString>;
313
+ followers: z.ZodNullable<z.ZodNumber>;
314
+ avatarUrl: z.ZodNullable<z.ZodString>;
315
+ medianViews: z.ZodNullable<z.ZodNumber>;
316
+ region: z.ZodNullable<z.ZodString>;
317
+ }, z.core.$strip>;
318
+ metrics: z.ZodObject<{
319
+ views: z.ZodNullable<z.ZodNumber>;
320
+ likes: z.ZodNullable<z.ZodNumber>;
321
+ comments: z.ZodNullable<z.ZodNumber>;
322
+ shares: z.ZodNullable<z.ZodNumber>;
323
+ saves: z.ZodNullable<z.ZodNumber>;
324
+ observedAt: z.ZodISODateTime;
325
+ }, z.core.$strip>;
326
+ scores: z.ZodObject<{
327
+ outlier: z.ZodNullable<z.ZodNumber>;
328
+ outlierBasis: z.ZodNullable<z.ZodEnum<{
329
+ likes: "likes";
330
+ views: "views";
331
+ }>>;
332
+ engagementRate: z.ZodNullable<z.ZodNumber>;
333
+ viewsPerHour: z.ZodNullable<z.ZodNumber>;
334
+ }, z.core.$strip>;
335
+ niches: z.ZodArray<z.ZodString>;
336
+ analysis: z.ZodNullable<z.ZodObject<{
337
+ version: z.ZodNumber;
338
+ language: z.ZodString;
339
+ nicheFit: z.ZodNumber;
340
+ topic: z.ZodString;
341
+ angle: z.ZodString;
342
+ hook: z.ZodObject<{
343
+ text: z.ZodString;
344
+ type: z.ZodEnum<{
345
+ bold_claim: "bold_claim";
346
+ challenge: "challenge";
347
+ contrarian: "contrarian";
348
+ curiosity_gap: "curiosity_gap";
349
+ demo: "demo";
350
+ how_to: "how_to";
351
+ list: "list";
352
+ news: "news";
353
+ other: "other";
354
+ question: "question";
355
+ relatable: "relatable";
356
+ result_first: "result_first";
357
+ story: "story";
358
+ }>;
359
+ visual: z.ZodNullable<z.ZodString>;
360
+ }, z.core.$strip>;
361
+ formatKey: z.ZodEnum<{
362
+ ai_avatar: "ai_avatar";
363
+ before_after: "before_after";
364
+ green_screen: "green_screen";
365
+ interview: "interview";
366
+ listicle: "listicle";
367
+ meme: "meme";
368
+ other: "other";
369
+ reaction: "reaction";
370
+ screen_recording: "screen_recording";
371
+ skit: "skit";
372
+ slideshow: "slideshow";
373
+ talking_head: "talking_head";
374
+ text_on_screen: "text_on_screen";
375
+ tutorial_steps: "tutorial_steps";
376
+ voiceover_broll: "voiceover_broll";
377
+ }>;
378
+ faceOnCamera: z.ZodNullable<z.ZodBoolean>;
379
+ structure: z.ZodArray<z.ZodString>;
380
+ cta: z.ZodNullable<z.ZodString>;
381
+ whyItWorks: z.ZodString;
382
+ howToReplicate: z.ZodString;
383
+ effort: z.ZodEnum<{
384
+ high: "high";
385
+ low: "low";
386
+ medium: "medium";
387
+ }>;
388
+ }, z.core.$strip>>;
389
+ }, z.core.$strip>>;
390
+ nextCursor: z.ZodNullable<z.ZodString>;
391
+ }, z.core.$strip>;
392
+ export declare const corpusPatternSchema: z.ZodObject<{
393
+ id: z.ZodUUID;
394
+ niche: z.ZodString;
395
+ kind: z.ZodEnum<{
396
+ format: "format";
397
+ hook: "hook";
398
+ topic: "topic";
399
+ }>;
400
+ label: z.ZodString;
401
+ template: z.ZodNullable<z.ZodString>;
402
+ description: z.ZodString;
403
+ whyItWorks: z.ZodString;
404
+ postCount: z.ZodNumber;
405
+ medianOutlier: z.ZodNullable<z.ZodNumber>;
406
+ momentum: z.ZodNullable<z.ZodEnum<{
407
+ fading: "fading";
408
+ new: "new";
409
+ rising: "rising";
410
+ steady: "steady";
411
+ }>>;
412
+ examples: z.ZodArray<z.ZodObject<{
413
+ id: z.ZodUUID;
414
+ platform: z.ZodEnum<{
415
+ instagram: "instagram";
416
+ tiktok: "tiktok";
417
+ }>;
418
+ kind: z.ZodEnum<{
419
+ carousel: "carousel";
420
+ video: "video";
421
+ }>;
422
+ url: z.ZodURL;
423
+ caption: z.ZodNullable<z.ZodString>;
424
+ coverUrl: z.ZodNullable<z.ZodString>;
425
+ publishedAt: z.ZodNullable<z.ZodISODateTime>;
426
+ durationSeconds: z.ZodNullable<z.ZodNumber>;
427
+ slideCount: z.ZodNullable<z.ZodNumber>;
428
+ creator: z.ZodObject<{
429
+ id: z.ZodUUID;
430
+ platform: z.ZodEnum<{
431
+ instagram: "instagram";
432
+ tiktok: "tiktok";
433
+ }>;
434
+ handle: z.ZodString;
435
+ displayName: z.ZodNullable<z.ZodString>;
436
+ followers: z.ZodNullable<z.ZodNumber>;
437
+ avatarUrl: z.ZodNullable<z.ZodString>;
438
+ medianViews: z.ZodNullable<z.ZodNumber>;
439
+ region: z.ZodNullable<z.ZodString>;
440
+ }, z.core.$strip>;
441
+ metrics: z.ZodObject<{
442
+ views: z.ZodNullable<z.ZodNumber>;
443
+ likes: z.ZodNullable<z.ZodNumber>;
444
+ comments: z.ZodNullable<z.ZodNumber>;
445
+ shares: z.ZodNullable<z.ZodNumber>;
446
+ saves: z.ZodNullable<z.ZodNumber>;
447
+ observedAt: z.ZodISODateTime;
448
+ }, z.core.$strip>;
449
+ scores: z.ZodObject<{
450
+ outlier: z.ZodNullable<z.ZodNumber>;
451
+ outlierBasis: z.ZodNullable<z.ZodEnum<{
452
+ likes: "likes";
453
+ views: "views";
454
+ }>>;
455
+ engagementRate: z.ZodNullable<z.ZodNumber>;
456
+ viewsPerHour: z.ZodNullable<z.ZodNumber>;
457
+ }, z.core.$strip>;
458
+ niches: z.ZodArray<z.ZodString>;
459
+ analysis: z.ZodNullable<z.ZodObject<{
460
+ version: z.ZodNumber;
461
+ language: z.ZodString;
462
+ nicheFit: z.ZodNumber;
463
+ topic: z.ZodString;
464
+ angle: z.ZodString;
465
+ hook: z.ZodObject<{
466
+ text: z.ZodString;
467
+ type: z.ZodEnum<{
468
+ bold_claim: "bold_claim";
469
+ challenge: "challenge";
470
+ contrarian: "contrarian";
471
+ curiosity_gap: "curiosity_gap";
472
+ demo: "demo";
473
+ how_to: "how_to";
474
+ list: "list";
475
+ news: "news";
476
+ other: "other";
477
+ question: "question";
478
+ relatable: "relatable";
479
+ result_first: "result_first";
480
+ story: "story";
481
+ }>;
482
+ visual: z.ZodNullable<z.ZodString>;
483
+ }, z.core.$strip>;
484
+ formatKey: z.ZodEnum<{
485
+ ai_avatar: "ai_avatar";
486
+ before_after: "before_after";
487
+ green_screen: "green_screen";
488
+ interview: "interview";
489
+ listicle: "listicle";
490
+ meme: "meme";
491
+ other: "other";
492
+ reaction: "reaction";
493
+ screen_recording: "screen_recording";
494
+ skit: "skit";
495
+ slideshow: "slideshow";
496
+ talking_head: "talking_head";
497
+ text_on_screen: "text_on_screen";
498
+ tutorial_steps: "tutorial_steps";
499
+ voiceover_broll: "voiceover_broll";
500
+ }>;
501
+ faceOnCamera: z.ZodNullable<z.ZodBoolean>;
502
+ structure: z.ZodArray<z.ZodString>;
503
+ cta: z.ZodNullable<z.ZodString>;
504
+ whyItWorks: z.ZodString;
505
+ howToReplicate: z.ZodString;
506
+ effort: z.ZodEnum<{
507
+ high: "high";
508
+ low: "low";
509
+ medium: "medium";
510
+ }>;
511
+ }, z.core.$strip>>;
512
+ }, z.core.$strip>>;
513
+ updatedAt: z.ZodISODateTime;
514
+ }, z.core.$strip>;
515
+ export declare const corpusPatternsInputSchema: z.ZodObject<{
516
+ niches: z.ZodDefault<z.ZodArray<z.ZodString>>;
517
+ kind: z.ZodDefault<z.ZodNullable<z.ZodEnum<{
518
+ format: "format";
519
+ hook: "hook";
520
+ topic: "topic";
521
+ }>>>;
522
+ limit: z.ZodDefault<z.ZodNumber>;
523
+ }, z.core.$strip>;
524
+ export declare const corpusPostDetailSchema: z.ZodObject<{
525
+ id: z.ZodUUID;
526
+ platform: z.ZodEnum<{
527
+ instagram: "instagram";
528
+ tiktok: "tiktok";
529
+ }>;
530
+ kind: z.ZodEnum<{
531
+ carousel: "carousel";
532
+ video: "video";
533
+ }>;
534
+ url: z.ZodURL;
535
+ caption: z.ZodNullable<z.ZodString>;
536
+ coverUrl: z.ZodNullable<z.ZodString>;
537
+ publishedAt: z.ZodNullable<z.ZodISODateTime>;
538
+ durationSeconds: z.ZodNullable<z.ZodNumber>;
539
+ slideCount: z.ZodNullable<z.ZodNumber>;
540
+ creator: z.ZodObject<{
541
+ id: z.ZodUUID;
542
+ platform: z.ZodEnum<{
543
+ instagram: "instagram";
544
+ tiktok: "tiktok";
545
+ }>;
546
+ handle: z.ZodString;
547
+ displayName: z.ZodNullable<z.ZodString>;
548
+ followers: z.ZodNullable<z.ZodNumber>;
549
+ avatarUrl: z.ZodNullable<z.ZodString>;
550
+ medianViews: z.ZodNullable<z.ZodNumber>;
551
+ region: z.ZodNullable<z.ZodString>;
552
+ }, z.core.$strip>;
553
+ metrics: z.ZodObject<{
554
+ views: z.ZodNullable<z.ZodNumber>;
555
+ likes: z.ZodNullable<z.ZodNumber>;
556
+ comments: z.ZodNullable<z.ZodNumber>;
557
+ shares: z.ZodNullable<z.ZodNumber>;
558
+ saves: z.ZodNullable<z.ZodNumber>;
559
+ observedAt: z.ZodISODateTime;
560
+ }, z.core.$strip>;
561
+ scores: z.ZodObject<{
562
+ outlier: z.ZodNullable<z.ZodNumber>;
563
+ outlierBasis: z.ZodNullable<z.ZodEnum<{
564
+ likes: "likes";
565
+ views: "views";
566
+ }>>;
567
+ engagementRate: z.ZodNullable<z.ZodNumber>;
568
+ viewsPerHour: z.ZodNullable<z.ZodNumber>;
569
+ }, z.core.$strip>;
570
+ niches: z.ZodArray<z.ZodString>;
571
+ analysis: z.ZodNullable<z.ZodObject<{
572
+ version: z.ZodNumber;
573
+ language: z.ZodString;
574
+ nicheFit: z.ZodNumber;
575
+ topic: z.ZodString;
576
+ angle: z.ZodString;
577
+ hook: z.ZodObject<{
578
+ text: z.ZodString;
579
+ type: z.ZodEnum<{
580
+ bold_claim: "bold_claim";
581
+ challenge: "challenge";
582
+ contrarian: "contrarian";
583
+ curiosity_gap: "curiosity_gap";
584
+ demo: "demo";
585
+ how_to: "how_to";
586
+ list: "list";
587
+ news: "news";
588
+ other: "other";
589
+ question: "question";
590
+ relatable: "relatable";
591
+ result_first: "result_first";
592
+ story: "story";
593
+ }>;
594
+ visual: z.ZodNullable<z.ZodString>;
595
+ }, z.core.$strip>;
596
+ formatKey: z.ZodEnum<{
597
+ ai_avatar: "ai_avatar";
598
+ before_after: "before_after";
599
+ green_screen: "green_screen";
600
+ interview: "interview";
601
+ listicle: "listicle";
602
+ meme: "meme";
603
+ other: "other";
604
+ reaction: "reaction";
605
+ screen_recording: "screen_recording";
606
+ skit: "skit";
607
+ slideshow: "slideshow";
608
+ talking_head: "talking_head";
609
+ text_on_screen: "text_on_screen";
610
+ tutorial_steps: "tutorial_steps";
611
+ voiceover_broll: "voiceover_broll";
612
+ }>;
613
+ faceOnCamera: z.ZodNullable<z.ZodBoolean>;
614
+ structure: z.ZodArray<z.ZodString>;
615
+ cta: z.ZodNullable<z.ZodString>;
616
+ whyItWorks: z.ZodString;
617
+ howToReplicate: z.ZodString;
618
+ effort: z.ZodEnum<{
619
+ high: "high";
620
+ low: "low";
621
+ medium: "medium";
622
+ }>;
623
+ }, z.core.$strip>>;
624
+ transcript: z.ZodNullable<z.ZodString>;
625
+ history: z.ZodArray<z.ZodObject<{
626
+ observedAt: z.ZodISODateTime;
627
+ views: z.ZodNullable<z.ZodNumber>;
628
+ likes: z.ZodNullable<z.ZodNumber>;
629
+ comments: z.ZodNullable<z.ZodNumber>;
630
+ shares: z.ZodNullable<z.ZodNumber>;
631
+ }, z.core.$strip>>;
632
+ patterns: z.ZodArray<z.ZodObject<{
633
+ id: z.ZodUUID;
634
+ niche: z.ZodString;
635
+ kind: z.ZodEnum<{
636
+ format: "format";
637
+ hook: "hook";
638
+ topic: "topic";
639
+ }>;
640
+ label: z.ZodString;
641
+ template: z.ZodNullable<z.ZodString>;
642
+ description: z.ZodString;
643
+ whyItWorks: z.ZodString;
644
+ postCount: z.ZodNumber;
645
+ medianOutlier: z.ZodNullable<z.ZodNumber>;
646
+ momentum: z.ZodNullable<z.ZodEnum<{
647
+ fading: "fading";
648
+ new: "new";
649
+ rising: "rising";
650
+ steady: "steady";
651
+ }>>;
652
+ updatedAt: z.ZodISODateTime;
653
+ }, z.core.$strip>>;
654
+ related: z.ZodArray<z.ZodObject<{
655
+ id: z.ZodUUID;
656
+ platform: z.ZodEnum<{
657
+ instagram: "instagram";
658
+ tiktok: "tiktok";
659
+ }>;
660
+ kind: z.ZodEnum<{
661
+ carousel: "carousel";
662
+ video: "video";
663
+ }>;
664
+ url: z.ZodURL;
665
+ caption: z.ZodNullable<z.ZodString>;
666
+ coverUrl: z.ZodNullable<z.ZodString>;
667
+ publishedAt: z.ZodNullable<z.ZodISODateTime>;
668
+ durationSeconds: z.ZodNullable<z.ZodNumber>;
669
+ slideCount: z.ZodNullable<z.ZodNumber>;
670
+ creator: z.ZodObject<{
671
+ id: z.ZodUUID;
672
+ platform: z.ZodEnum<{
673
+ instagram: "instagram";
674
+ tiktok: "tiktok";
675
+ }>;
676
+ handle: z.ZodString;
677
+ displayName: z.ZodNullable<z.ZodString>;
678
+ followers: z.ZodNullable<z.ZodNumber>;
679
+ avatarUrl: z.ZodNullable<z.ZodString>;
680
+ medianViews: z.ZodNullable<z.ZodNumber>;
681
+ region: z.ZodNullable<z.ZodString>;
682
+ }, z.core.$strip>;
683
+ metrics: z.ZodObject<{
684
+ views: z.ZodNullable<z.ZodNumber>;
685
+ likes: z.ZodNullable<z.ZodNumber>;
686
+ comments: z.ZodNullable<z.ZodNumber>;
687
+ shares: z.ZodNullable<z.ZodNumber>;
688
+ saves: z.ZodNullable<z.ZodNumber>;
689
+ observedAt: z.ZodISODateTime;
690
+ }, z.core.$strip>;
691
+ scores: z.ZodObject<{
692
+ outlier: z.ZodNullable<z.ZodNumber>;
693
+ outlierBasis: z.ZodNullable<z.ZodEnum<{
694
+ likes: "likes";
695
+ views: "views";
696
+ }>>;
697
+ engagementRate: z.ZodNullable<z.ZodNumber>;
698
+ viewsPerHour: z.ZodNullable<z.ZodNumber>;
699
+ }, z.core.$strip>;
700
+ niches: z.ZodArray<z.ZodString>;
701
+ analysis: z.ZodNullable<z.ZodObject<{
702
+ version: z.ZodNumber;
703
+ language: z.ZodString;
704
+ nicheFit: z.ZodNumber;
705
+ topic: z.ZodString;
706
+ angle: z.ZodString;
707
+ hook: z.ZodObject<{
708
+ text: z.ZodString;
709
+ type: z.ZodEnum<{
710
+ bold_claim: "bold_claim";
711
+ challenge: "challenge";
712
+ contrarian: "contrarian";
713
+ curiosity_gap: "curiosity_gap";
714
+ demo: "demo";
715
+ how_to: "how_to";
716
+ list: "list";
717
+ news: "news";
718
+ other: "other";
719
+ question: "question";
720
+ relatable: "relatable";
721
+ result_first: "result_first";
722
+ story: "story";
723
+ }>;
724
+ visual: z.ZodNullable<z.ZodString>;
725
+ }, z.core.$strip>;
726
+ formatKey: z.ZodEnum<{
727
+ ai_avatar: "ai_avatar";
728
+ before_after: "before_after";
729
+ green_screen: "green_screen";
730
+ interview: "interview";
731
+ listicle: "listicle";
732
+ meme: "meme";
733
+ other: "other";
734
+ reaction: "reaction";
735
+ screen_recording: "screen_recording";
736
+ skit: "skit";
737
+ slideshow: "slideshow";
738
+ talking_head: "talking_head";
739
+ text_on_screen: "text_on_screen";
740
+ tutorial_steps: "tutorial_steps";
741
+ voiceover_broll: "voiceover_broll";
742
+ }>;
743
+ faceOnCamera: z.ZodNullable<z.ZodBoolean>;
744
+ structure: z.ZodArray<z.ZodString>;
745
+ cta: z.ZodNullable<z.ZodString>;
746
+ whyItWorks: z.ZodString;
747
+ howToReplicate: z.ZodString;
748
+ effort: z.ZodEnum<{
749
+ high: "high";
750
+ low: "low";
751
+ medium: "medium";
752
+ }>;
753
+ }, z.core.$strip>>;
754
+ }, z.core.$strip>>;
755
+ creatorPosts: z.ZodArray<z.ZodObject<{
756
+ id: z.ZodUUID;
757
+ publishedAt: z.ZodISODateTime;
758
+ value: z.ZodNumber;
759
+ }, z.core.$strip>>;
760
+ usual: z.ZodObject<{
761
+ views: z.ZodNullable<z.ZodNumber>;
762
+ likes: z.ZodNullable<z.ZodNumber>;
763
+ comments: z.ZodNullable<z.ZodNumber>;
764
+ shares: z.ZodNullable<z.ZodNumber>;
765
+ saves: z.ZodNullable<z.ZodNumber>;
766
+ engagementRate: z.ZodNullable<z.ZodNumber>;
767
+ }, z.core.$strip>;
768
+ visuals: z.ZodArray<z.ZodObject<{
769
+ kind: z.ZodEnum<{
770
+ frame: "frame";
771
+ slide: "slide";
772
+ }>;
773
+ index: z.ZodNumber;
774
+ url: z.ZodString;
775
+ }, z.core.$strip>>;
776
+ }, z.core.$strip>;
777
+ export declare const corpusCreatorSchema: z.ZodObject<{
778
+ id: z.ZodUUID;
779
+ platform: z.ZodEnum<{
780
+ instagram: "instagram";
781
+ tiktok: "tiktok";
782
+ }>;
783
+ handle: z.ZodString;
784
+ displayName: z.ZodNullable<z.ZodString>;
785
+ followers: z.ZodNullable<z.ZodNumber>;
786
+ avatarUrl: z.ZodNullable<z.ZodString>;
787
+ medianViews: z.ZodNullable<z.ZodNumber>;
788
+ region: z.ZodNullable<z.ZodString>;
789
+ url: z.ZodURL;
790
+ niches: z.ZodArray<z.ZodString>;
791
+ postsObserved: z.ZodNumber;
792
+ lastCollectedAt: z.ZodNullable<z.ZodISODateTime>;
793
+ topPosts: z.ZodArray<z.ZodObject<{
794
+ id: z.ZodUUID;
795
+ platform: z.ZodEnum<{
796
+ instagram: "instagram";
797
+ tiktok: "tiktok";
798
+ }>;
799
+ kind: z.ZodEnum<{
800
+ carousel: "carousel";
801
+ video: "video";
802
+ }>;
803
+ url: z.ZodURL;
804
+ caption: z.ZodNullable<z.ZodString>;
805
+ coverUrl: z.ZodNullable<z.ZodString>;
806
+ publishedAt: z.ZodNullable<z.ZodISODateTime>;
807
+ durationSeconds: z.ZodNullable<z.ZodNumber>;
808
+ slideCount: z.ZodNullable<z.ZodNumber>;
809
+ creator: z.ZodObject<{
810
+ id: z.ZodUUID;
811
+ platform: z.ZodEnum<{
812
+ instagram: "instagram";
813
+ tiktok: "tiktok";
814
+ }>;
815
+ handle: z.ZodString;
816
+ displayName: z.ZodNullable<z.ZodString>;
817
+ followers: z.ZodNullable<z.ZodNumber>;
818
+ avatarUrl: z.ZodNullable<z.ZodString>;
819
+ medianViews: z.ZodNullable<z.ZodNumber>;
820
+ region: z.ZodNullable<z.ZodString>;
821
+ }, z.core.$strip>;
822
+ metrics: z.ZodObject<{
823
+ views: z.ZodNullable<z.ZodNumber>;
824
+ likes: z.ZodNullable<z.ZodNumber>;
825
+ comments: z.ZodNullable<z.ZodNumber>;
826
+ shares: z.ZodNullable<z.ZodNumber>;
827
+ saves: z.ZodNullable<z.ZodNumber>;
828
+ observedAt: z.ZodISODateTime;
829
+ }, z.core.$strip>;
830
+ scores: z.ZodObject<{
831
+ outlier: z.ZodNullable<z.ZodNumber>;
832
+ outlierBasis: z.ZodNullable<z.ZodEnum<{
833
+ likes: "likes";
834
+ views: "views";
835
+ }>>;
836
+ engagementRate: z.ZodNullable<z.ZodNumber>;
837
+ viewsPerHour: z.ZodNullable<z.ZodNumber>;
838
+ }, z.core.$strip>;
839
+ niches: z.ZodArray<z.ZodString>;
840
+ analysis: z.ZodNullable<z.ZodObject<{
841
+ version: z.ZodNumber;
842
+ language: z.ZodString;
843
+ nicheFit: z.ZodNumber;
844
+ topic: z.ZodString;
845
+ angle: z.ZodString;
846
+ hook: z.ZodObject<{
847
+ text: z.ZodString;
848
+ type: z.ZodEnum<{
849
+ bold_claim: "bold_claim";
850
+ challenge: "challenge";
851
+ contrarian: "contrarian";
852
+ curiosity_gap: "curiosity_gap";
853
+ demo: "demo";
854
+ how_to: "how_to";
855
+ list: "list";
856
+ news: "news";
857
+ other: "other";
858
+ question: "question";
859
+ relatable: "relatable";
860
+ result_first: "result_first";
861
+ story: "story";
862
+ }>;
863
+ visual: z.ZodNullable<z.ZodString>;
864
+ }, z.core.$strip>;
865
+ formatKey: z.ZodEnum<{
866
+ ai_avatar: "ai_avatar";
867
+ before_after: "before_after";
868
+ green_screen: "green_screen";
869
+ interview: "interview";
870
+ listicle: "listicle";
871
+ meme: "meme";
872
+ other: "other";
873
+ reaction: "reaction";
874
+ screen_recording: "screen_recording";
875
+ skit: "skit";
876
+ slideshow: "slideshow";
877
+ talking_head: "talking_head";
878
+ text_on_screen: "text_on_screen";
879
+ tutorial_steps: "tutorial_steps";
880
+ voiceover_broll: "voiceover_broll";
881
+ }>;
882
+ faceOnCamera: z.ZodNullable<z.ZodBoolean>;
883
+ structure: z.ZodArray<z.ZodString>;
884
+ cta: z.ZodNullable<z.ZodString>;
885
+ whyItWorks: z.ZodString;
886
+ howToReplicate: z.ZodString;
887
+ effort: z.ZodEnum<{
888
+ high: "high";
889
+ low: "low";
890
+ medium: "medium";
891
+ }>;
892
+ }, z.core.$strip>>;
893
+ }, z.core.$strip>>;
894
+ }, z.core.$strip>;
895
+ export declare const corpusNicheSchema: z.ZodObject<{
896
+ slug: z.ZodString;
897
+ name: z.ZodString;
898
+ description: z.ZodString;
899
+ followed: z.ZodBoolean;
900
+ creators: z.ZodNumber;
901
+ posts: z.ZodNumber;
902
+ analyzed: z.ZodNumber;
903
+ lastCollectedAt: z.ZodNullable<z.ZodISODateTime>;
904
+ }, z.core.$strip>;
905
+ export declare const corpusOverviewSchema: z.ZodObject<{
906
+ niches: z.ZodArray<z.ZodObject<{
907
+ slug: z.ZodString;
908
+ name: z.ZodString;
909
+ description: z.ZodString;
910
+ followed: z.ZodBoolean;
911
+ creators: z.ZodNumber;
912
+ posts: z.ZodNumber;
913
+ analyzed: z.ZodNumber;
914
+ lastCollectedAt: z.ZodNullable<z.ZodISODateTime>;
915
+ }, z.core.$strip>>;
916
+ regions: z.ZodArray<z.ZodObject<{
917
+ code: z.ZodString;
918
+ creators: z.ZodNumber;
919
+ }, z.core.$strip>>;
920
+ totals: z.ZodObject<{
921
+ creators: z.ZodNumber;
922
+ posts: z.ZodNumber;
923
+ analyzed: z.ZodNumber;
924
+ outliers: z.ZodNumber;
925
+ }, z.core.$strip>;
926
+ lastCollectedAt: z.ZodNullable<z.ZodISODateTime>;
927
+ spend: z.ZodObject<{
928
+ monthUsd: z.ZodNumber;
929
+ capUsd: z.ZodNumber;
930
+ }, z.core.$strip>;
931
+ topFormats: z.ZodArray<z.ZodObject<{
932
+ formatKey: z.ZodEnum<{
933
+ ai_avatar: "ai_avatar";
934
+ before_after: "before_after";
935
+ green_screen: "green_screen";
936
+ interview: "interview";
937
+ listicle: "listicle";
938
+ meme: "meme";
939
+ other: "other";
940
+ reaction: "reaction";
941
+ screen_recording: "screen_recording";
942
+ skit: "skit";
943
+ slideshow: "slideshow";
944
+ talking_head: "talking_head";
945
+ text_on_screen: "text_on_screen";
946
+ tutorial_steps: "tutorial_steps";
947
+ voiceover_broll: "voiceover_broll";
948
+ }>;
949
+ posts: z.ZodNumber;
950
+ medianOutlier: z.ZodNullable<z.ZodNumber>;
951
+ }, z.core.$strip>>;
952
+ topHookTypes: z.ZodArray<z.ZodObject<{
953
+ hookType: z.ZodEnum<{
954
+ bold_claim: "bold_claim";
955
+ challenge: "challenge";
956
+ contrarian: "contrarian";
957
+ curiosity_gap: "curiosity_gap";
958
+ demo: "demo";
959
+ how_to: "how_to";
960
+ list: "list";
961
+ news: "news";
962
+ other: "other";
963
+ question: "question";
964
+ relatable: "relatable";
965
+ result_first: "result_first";
966
+ story: "story";
967
+ }>;
968
+ posts: z.ZodNumber;
969
+ medianOutlier: z.ZodNullable<z.ZodNumber>;
970
+ }, z.core.$strip>>;
971
+ risingPatterns: z.ZodArray<z.ZodObject<{
972
+ id: z.ZodUUID;
973
+ niche: z.ZodString;
974
+ kind: z.ZodEnum<{
975
+ format: "format";
976
+ hook: "hook";
977
+ topic: "topic";
978
+ }>;
979
+ label: z.ZodString;
980
+ template: z.ZodNullable<z.ZodString>;
981
+ description: z.ZodString;
982
+ whyItWorks: z.ZodString;
983
+ postCount: z.ZodNumber;
984
+ medianOutlier: z.ZodNullable<z.ZodNumber>;
985
+ momentum: z.ZodNullable<z.ZodEnum<{
986
+ fading: "fading";
987
+ new: "new";
988
+ rising: "rising";
989
+ steady: "steady";
990
+ }>>;
991
+ examples: z.ZodArray<z.ZodObject<{
992
+ id: z.ZodUUID;
993
+ platform: z.ZodEnum<{
994
+ instagram: "instagram";
995
+ tiktok: "tiktok";
996
+ }>;
997
+ kind: z.ZodEnum<{
998
+ carousel: "carousel";
999
+ video: "video";
1000
+ }>;
1001
+ url: z.ZodURL;
1002
+ caption: z.ZodNullable<z.ZodString>;
1003
+ coverUrl: z.ZodNullable<z.ZodString>;
1004
+ publishedAt: z.ZodNullable<z.ZodISODateTime>;
1005
+ durationSeconds: z.ZodNullable<z.ZodNumber>;
1006
+ slideCount: z.ZodNullable<z.ZodNumber>;
1007
+ creator: z.ZodObject<{
1008
+ id: z.ZodUUID;
1009
+ platform: z.ZodEnum<{
1010
+ instagram: "instagram";
1011
+ tiktok: "tiktok";
1012
+ }>;
1013
+ handle: z.ZodString;
1014
+ displayName: z.ZodNullable<z.ZodString>;
1015
+ followers: z.ZodNullable<z.ZodNumber>;
1016
+ avatarUrl: z.ZodNullable<z.ZodString>;
1017
+ medianViews: z.ZodNullable<z.ZodNumber>;
1018
+ region: z.ZodNullable<z.ZodString>;
1019
+ }, z.core.$strip>;
1020
+ metrics: z.ZodObject<{
1021
+ views: z.ZodNullable<z.ZodNumber>;
1022
+ likes: z.ZodNullable<z.ZodNumber>;
1023
+ comments: z.ZodNullable<z.ZodNumber>;
1024
+ shares: z.ZodNullable<z.ZodNumber>;
1025
+ saves: z.ZodNullable<z.ZodNumber>;
1026
+ observedAt: z.ZodISODateTime;
1027
+ }, z.core.$strip>;
1028
+ scores: z.ZodObject<{
1029
+ outlier: z.ZodNullable<z.ZodNumber>;
1030
+ outlierBasis: z.ZodNullable<z.ZodEnum<{
1031
+ likes: "likes";
1032
+ views: "views";
1033
+ }>>;
1034
+ engagementRate: z.ZodNullable<z.ZodNumber>;
1035
+ viewsPerHour: z.ZodNullable<z.ZodNumber>;
1036
+ }, z.core.$strip>;
1037
+ niches: z.ZodArray<z.ZodString>;
1038
+ analysis: z.ZodNullable<z.ZodObject<{
1039
+ version: z.ZodNumber;
1040
+ language: z.ZodString;
1041
+ nicheFit: z.ZodNumber;
1042
+ topic: z.ZodString;
1043
+ angle: z.ZodString;
1044
+ hook: z.ZodObject<{
1045
+ text: z.ZodString;
1046
+ type: z.ZodEnum<{
1047
+ bold_claim: "bold_claim";
1048
+ challenge: "challenge";
1049
+ contrarian: "contrarian";
1050
+ curiosity_gap: "curiosity_gap";
1051
+ demo: "demo";
1052
+ how_to: "how_to";
1053
+ list: "list";
1054
+ news: "news";
1055
+ other: "other";
1056
+ question: "question";
1057
+ relatable: "relatable";
1058
+ result_first: "result_first";
1059
+ story: "story";
1060
+ }>;
1061
+ visual: z.ZodNullable<z.ZodString>;
1062
+ }, z.core.$strip>;
1063
+ formatKey: z.ZodEnum<{
1064
+ ai_avatar: "ai_avatar";
1065
+ before_after: "before_after";
1066
+ green_screen: "green_screen";
1067
+ interview: "interview";
1068
+ listicle: "listicle";
1069
+ meme: "meme";
1070
+ other: "other";
1071
+ reaction: "reaction";
1072
+ screen_recording: "screen_recording";
1073
+ skit: "skit";
1074
+ slideshow: "slideshow";
1075
+ talking_head: "talking_head";
1076
+ text_on_screen: "text_on_screen";
1077
+ tutorial_steps: "tutorial_steps";
1078
+ voiceover_broll: "voiceover_broll";
1079
+ }>;
1080
+ faceOnCamera: z.ZodNullable<z.ZodBoolean>;
1081
+ structure: z.ZodArray<z.ZodString>;
1082
+ cta: z.ZodNullable<z.ZodString>;
1083
+ whyItWorks: z.ZodString;
1084
+ howToReplicate: z.ZodString;
1085
+ effort: z.ZodEnum<{
1086
+ high: "high";
1087
+ low: "low";
1088
+ medium: "medium";
1089
+ }>;
1090
+ }, z.core.$strip>>;
1091
+ }, z.core.$strip>>;
1092
+ updatedAt: z.ZodISODateTime;
1093
+ }, z.core.$strip>>;
1094
+ breakouts: z.ZodArray<z.ZodObject<{
1095
+ id: z.ZodUUID;
1096
+ platform: z.ZodEnum<{
1097
+ instagram: "instagram";
1098
+ tiktok: "tiktok";
1099
+ }>;
1100
+ kind: z.ZodEnum<{
1101
+ carousel: "carousel";
1102
+ video: "video";
1103
+ }>;
1104
+ url: z.ZodURL;
1105
+ caption: z.ZodNullable<z.ZodString>;
1106
+ coverUrl: z.ZodNullable<z.ZodString>;
1107
+ publishedAt: z.ZodNullable<z.ZodISODateTime>;
1108
+ durationSeconds: z.ZodNullable<z.ZodNumber>;
1109
+ slideCount: z.ZodNullable<z.ZodNumber>;
1110
+ creator: z.ZodObject<{
1111
+ id: z.ZodUUID;
1112
+ platform: z.ZodEnum<{
1113
+ instagram: "instagram";
1114
+ tiktok: "tiktok";
1115
+ }>;
1116
+ handle: z.ZodString;
1117
+ displayName: z.ZodNullable<z.ZodString>;
1118
+ followers: z.ZodNullable<z.ZodNumber>;
1119
+ avatarUrl: z.ZodNullable<z.ZodString>;
1120
+ medianViews: z.ZodNullable<z.ZodNumber>;
1121
+ region: z.ZodNullable<z.ZodString>;
1122
+ }, z.core.$strip>;
1123
+ metrics: z.ZodObject<{
1124
+ views: z.ZodNullable<z.ZodNumber>;
1125
+ likes: z.ZodNullable<z.ZodNumber>;
1126
+ comments: z.ZodNullable<z.ZodNumber>;
1127
+ shares: z.ZodNullable<z.ZodNumber>;
1128
+ saves: z.ZodNullable<z.ZodNumber>;
1129
+ observedAt: z.ZodISODateTime;
1130
+ }, z.core.$strip>;
1131
+ scores: z.ZodObject<{
1132
+ outlier: z.ZodNullable<z.ZodNumber>;
1133
+ outlierBasis: z.ZodNullable<z.ZodEnum<{
1134
+ likes: "likes";
1135
+ views: "views";
1136
+ }>>;
1137
+ engagementRate: z.ZodNullable<z.ZodNumber>;
1138
+ viewsPerHour: z.ZodNullable<z.ZodNumber>;
1139
+ }, z.core.$strip>;
1140
+ niches: z.ZodArray<z.ZodString>;
1141
+ analysis: z.ZodNullable<z.ZodObject<{
1142
+ version: z.ZodNumber;
1143
+ language: z.ZodString;
1144
+ nicheFit: z.ZodNumber;
1145
+ topic: z.ZodString;
1146
+ angle: z.ZodString;
1147
+ hook: z.ZodObject<{
1148
+ text: z.ZodString;
1149
+ type: z.ZodEnum<{
1150
+ bold_claim: "bold_claim";
1151
+ challenge: "challenge";
1152
+ contrarian: "contrarian";
1153
+ curiosity_gap: "curiosity_gap";
1154
+ demo: "demo";
1155
+ how_to: "how_to";
1156
+ list: "list";
1157
+ news: "news";
1158
+ other: "other";
1159
+ question: "question";
1160
+ relatable: "relatable";
1161
+ result_first: "result_first";
1162
+ story: "story";
1163
+ }>;
1164
+ visual: z.ZodNullable<z.ZodString>;
1165
+ }, z.core.$strip>;
1166
+ formatKey: z.ZodEnum<{
1167
+ ai_avatar: "ai_avatar";
1168
+ before_after: "before_after";
1169
+ green_screen: "green_screen";
1170
+ interview: "interview";
1171
+ listicle: "listicle";
1172
+ meme: "meme";
1173
+ other: "other";
1174
+ reaction: "reaction";
1175
+ screen_recording: "screen_recording";
1176
+ skit: "skit";
1177
+ slideshow: "slideshow";
1178
+ talking_head: "talking_head";
1179
+ text_on_screen: "text_on_screen";
1180
+ tutorial_steps: "tutorial_steps";
1181
+ voiceover_broll: "voiceover_broll";
1182
+ }>;
1183
+ faceOnCamera: z.ZodNullable<z.ZodBoolean>;
1184
+ structure: z.ZodArray<z.ZodString>;
1185
+ cta: z.ZodNullable<z.ZodString>;
1186
+ whyItWorks: z.ZodString;
1187
+ howToReplicate: z.ZodString;
1188
+ effort: z.ZodEnum<{
1189
+ high: "high";
1190
+ low: "low";
1191
+ medium: "medium";
1192
+ }>;
1193
+ }, z.core.$strip>>;
1194
+ }, z.core.$strip>>;
1195
+ }, z.core.$strip>;
1196
+ export declare const trendIdeaSchema: z.ZodObject<{
1197
+ id: z.ZodString;
1198
+ title: z.ZodString;
1199
+ hook: z.ZodString;
1200
+ kind: z.ZodEnum<{
1201
+ carousel: "carousel";
1202
+ video: "video";
1203
+ }>;
1204
+ formatKey: z.ZodEnum<{
1205
+ ai_avatar: "ai_avatar";
1206
+ before_after: "before_after";
1207
+ green_screen: "green_screen";
1208
+ interview: "interview";
1209
+ listicle: "listicle";
1210
+ meme: "meme";
1211
+ other: "other";
1212
+ reaction: "reaction";
1213
+ screen_recording: "screen_recording";
1214
+ skit: "skit";
1215
+ slideshow: "slideshow";
1216
+ talking_head: "talking_head";
1217
+ text_on_screen: "text_on_screen";
1218
+ tutorial_steps: "tutorial_steps";
1219
+ voiceover_broll: "voiceover_broll";
1220
+ }>;
1221
+ angle: z.ZodString;
1222
+ beats: z.ZodArray<z.ZodString>;
1223
+ evidence: z.ZodString;
1224
+ patternIds: z.ZodArray<z.ZodUUID>;
1225
+ sourcePostIds: z.ZodArray<z.ZodUUID>;
1226
+ }, z.core.$strip>;
1227
+ export declare const trendDraftSchema: z.ZodObject<{
1228
+ id: z.ZodUUID;
1229
+ ideaId: z.ZodString;
1230
+ ideaTitle: z.ZodString;
1231
+ kind: z.ZodEnum<{
1232
+ carousel: "carousel";
1233
+ video: "video";
1234
+ }>;
1235
+ origin: z.ZodEnum<{
1236
+ autopilot: "autopilot";
1237
+ manual: "manual";
1238
+ }>;
1239
+ status: z.ZodEnum<{
1240
+ drafting: "drafting";
1241
+ failed: "failed";
1242
+ queued: "queued";
1243
+ ready: "ready";
1244
+ }>;
1245
+ href: z.ZodNullable<z.ZodString>;
1246
+ createdAt: z.ZodISODateTime;
1247
+ }, z.core.$strip>;
1248
+ export declare const trendIdeasSchema: z.ZodObject<{
1249
+ generatedAt: z.ZodISODateTime;
1250
+ niches: z.ZodArray<z.ZodString>;
1251
+ ideas: z.ZodArray<z.ZodObject<{
1252
+ id: z.ZodString;
1253
+ title: z.ZodString;
1254
+ hook: z.ZodString;
1255
+ kind: z.ZodEnum<{
1256
+ carousel: "carousel";
1257
+ video: "video";
1258
+ }>;
1259
+ formatKey: z.ZodEnum<{
1260
+ ai_avatar: "ai_avatar";
1261
+ before_after: "before_after";
1262
+ green_screen: "green_screen";
1263
+ interview: "interview";
1264
+ listicle: "listicle";
1265
+ meme: "meme";
1266
+ other: "other";
1267
+ reaction: "reaction";
1268
+ screen_recording: "screen_recording";
1269
+ skit: "skit";
1270
+ slideshow: "slideshow";
1271
+ talking_head: "talking_head";
1272
+ text_on_screen: "text_on_screen";
1273
+ tutorial_steps: "tutorial_steps";
1274
+ voiceover_broll: "voiceover_broll";
1275
+ }>;
1276
+ angle: z.ZodString;
1277
+ beats: z.ZodArray<z.ZodString>;
1278
+ evidence: z.ZodString;
1279
+ patternIds: z.ZodArray<z.ZodUUID>;
1280
+ sourcePostIds: z.ZodArray<z.ZodUUID>;
1281
+ }, z.core.$strip>>;
1282
+ sources: z.ZodArray<z.ZodObject<{
1283
+ id: z.ZodUUID;
1284
+ platform: z.ZodEnum<{
1285
+ instagram: "instagram";
1286
+ tiktok: "tiktok";
1287
+ }>;
1288
+ kind: z.ZodEnum<{
1289
+ carousel: "carousel";
1290
+ video: "video";
1291
+ }>;
1292
+ url: z.ZodURL;
1293
+ caption: z.ZodNullable<z.ZodString>;
1294
+ coverUrl: z.ZodNullable<z.ZodString>;
1295
+ publishedAt: z.ZodNullable<z.ZodISODateTime>;
1296
+ durationSeconds: z.ZodNullable<z.ZodNumber>;
1297
+ slideCount: z.ZodNullable<z.ZodNumber>;
1298
+ creator: z.ZodObject<{
1299
+ id: z.ZodUUID;
1300
+ platform: z.ZodEnum<{
1301
+ instagram: "instagram";
1302
+ tiktok: "tiktok";
1303
+ }>;
1304
+ handle: z.ZodString;
1305
+ displayName: z.ZodNullable<z.ZodString>;
1306
+ followers: z.ZodNullable<z.ZodNumber>;
1307
+ avatarUrl: z.ZodNullable<z.ZodString>;
1308
+ medianViews: z.ZodNullable<z.ZodNumber>;
1309
+ region: z.ZodNullable<z.ZodString>;
1310
+ }, z.core.$strip>;
1311
+ metrics: z.ZodObject<{
1312
+ views: z.ZodNullable<z.ZodNumber>;
1313
+ likes: z.ZodNullable<z.ZodNumber>;
1314
+ comments: z.ZodNullable<z.ZodNumber>;
1315
+ shares: z.ZodNullable<z.ZodNumber>;
1316
+ saves: z.ZodNullable<z.ZodNumber>;
1317
+ observedAt: z.ZodISODateTime;
1318
+ }, z.core.$strip>;
1319
+ scores: z.ZodObject<{
1320
+ outlier: z.ZodNullable<z.ZodNumber>;
1321
+ outlierBasis: z.ZodNullable<z.ZodEnum<{
1322
+ likes: "likes";
1323
+ views: "views";
1324
+ }>>;
1325
+ engagementRate: z.ZodNullable<z.ZodNumber>;
1326
+ viewsPerHour: z.ZodNullable<z.ZodNumber>;
1327
+ }, z.core.$strip>;
1328
+ niches: z.ZodArray<z.ZodString>;
1329
+ analysis: z.ZodNullable<z.ZodObject<{
1330
+ version: z.ZodNumber;
1331
+ language: z.ZodString;
1332
+ nicheFit: z.ZodNumber;
1333
+ topic: z.ZodString;
1334
+ angle: z.ZodString;
1335
+ hook: z.ZodObject<{
1336
+ text: z.ZodString;
1337
+ type: z.ZodEnum<{
1338
+ bold_claim: "bold_claim";
1339
+ challenge: "challenge";
1340
+ contrarian: "contrarian";
1341
+ curiosity_gap: "curiosity_gap";
1342
+ demo: "demo";
1343
+ how_to: "how_to";
1344
+ list: "list";
1345
+ news: "news";
1346
+ other: "other";
1347
+ question: "question";
1348
+ relatable: "relatable";
1349
+ result_first: "result_first";
1350
+ story: "story";
1351
+ }>;
1352
+ visual: z.ZodNullable<z.ZodString>;
1353
+ }, z.core.$strip>;
1354
+ formatKey: z.ZodEnum<{
1355
+ ai_avatar: "ai_avatar";
1356
+ before_after: "before_after";
1357
+ green_screen: "green_screen";
1358
+ interview: "interview";
1359
+ listicle: "listicle";
1360
+ meme: "meme";
1361
+ other: "other";
1362
+ reaction: "reaction";
1363
+ screen_recording: "screen_recording";
1364
+ skit: "skit";
1365
+ slideshow: "slideshow";
1366
+ talking_head: "talking_head";
1367
+ text_on_screen: "text_on_screen";
1368
+ tutorial_steps: "tutorial_steps";
1369
+ voiceover_broll: "voiceover_broll";
1370
+ }>;
1371
+ faceOnCamera: z.ZodNullable<z.ZodBoolean>;
1372
+ structure: z.ZodArray<z.ZodString>;
1373
+ cta: z.ZodNullable<z.ZodString>;
1374
+ whyItWorks: z.ZodString;
1375
+ howToReplicate: z.ZodString;
1376
+ effort: z.ZodEnum<{
1377
+ high: "high";
1378
+ low: "low";
1379
+ medium: "medium";
1380
+ }>;
1381
+ }, z.core.$strip>>;
1382
+ }, z.core.$strip>>;
1383
+ drafts: z.ZodArray<z.ZodObject<{
1384
+ id: z.ZodUUID;
1385
+ ideaId: z.ZodString;
1386
+ ideaTitle: z.ZodString;
1387
+ kind: z.ZodEnum<{
1388
+ carousel: "carousel";
1389
+ video: "video";
1390
+ }>;
1391
+ origin: z.ZodEnum<{
1392
+ autopilot: "autopilot";
1393
+ manual: "manual";
1394
+ }>;
1395
+ status: z.ZodEnum<{
1396
+ drafting: "drafting";
1397
+ failed: "failed";
1398
+ queued: "queued";
1399
+ ready: "ready";
1400
+ }>;
1401
+ href: z.ZodNullable<z.ZodString>;
1402
+ createdAt: z.ZodISODateTime;
1403
+ }, z.core.$strip>>;
1404
+ }, z.core.$strip>;
1405
+ export declare const trendDraftInputSchema: z.ZodObject<{
1406
+ ideaId: z.ZodString;
1407
+ kind: z.ZodEnum<{
1408
+ carousel: "carousel";
1409
+ video: "video";
1410
+ }>;
1411
+ }, z.core.$strip>;
1412
+ export declare const WATCHLIST_MAX_CREATORS = 50;
1413
+ export declare const watchlistCreatorSchema: z.ZodObject<{
1414
+ id: z.ZodUUID;
1415
+ platform: z.ZodEnum<{
1416
+ instagram: "instagram";
1417
+ tiktok: "tiktok";
1418
+ }>;
1419
+ handle: z.ZodString;
1420
+ displayName: z.ZodNullable<z.ZodString>;
1421
+ followers: z.ZodNullable<z.ZodNumber>;
1422
+ avatarUrl: z.ZodNullable<z.ZodString>;
1423
+ medianViews: z.ZodNullable<z.ZodNumber>;
1424
+ region: z.ZodNullable<z.ZodString>;
1425
+ url: z.ZodURL;
1426
+ addedAt: z.ZodISODateTime;
1427
+ status: z.ZodEnum<{
1428
+ collecting: "collecting";
1429
+ failed: "failed";
1430
+ not_found: "not_found";
1431
+ private: "private";
1432
+ ready: "ready";
1433
+ }>;
1434
+ postsObserved: z.ZodNumber;
1435
+ lastCollectedAt: z.ZodNullable<z.ZodISODateTime>;
1436
+ topPost: z.ZodNullable<z.ZodObject<{
1437
+ id: z.ZodUUID;
1438
+ platform: z.ZodEnum<{
1439
+ instagram: "instagram";
1440
+ tiktok: "tiktok";
1441
+ }>;
1442
+ kind: z.ZodEnum<{
1443
+ carousel: "carousel";
1444
+ video: "video";
1445
+ }>;
1446
+ url: z.ZodURL;
1447
+ caption: z.ZodNullable<z.ZodString>;
1448
+ coverUrl: z.ZodNullable<z.ZodString>;
1449
+ publishedAt: z.ZodNullable<z.ZodISODateTime>;
1450
+ durationSeconds: z.ZodNullable<z.ZodNumber>;
1451
+ slideCount: z.ZodNullable<z.ZodNumber>;
1452
+ creator: z.ZodObject<{
1453
+ id: z.ZodUUID;
1454
+ platform: z.ZodEnum<{
1455
+ instagram: "instagram";
1456
+ tiktok: "tiktok";
1457
+ }>;
1458
+ handle: z.ZodString;
1459
+ displayName: z.ZodNullable<z.ZodString>;
1460
+ followers: z.ZodNullable<z.ZodNumber>;
1461
+ avatarUrl: z.ZodNullable<z.ZodString>;
1462
+ medianViews: z.ZodNullable<z.ZodNumber>;
1463
+ region: z.ZodNullable<z.ZodString>;
1464
+ }, z.core.$strip>;
1465
+ metrics: z.ZodObject<{
1466
+ views: z.ZodNullable<z.ZodNumber>;
1467
+ likes: z.ZodNullable<z.ZodNumber>;
1468
+ comments: z.ZodNullable<z.ZodNumber>;
1469
+ shares: z.ZodNullable<z.ZodNumber>;
1470
+ saves: z.ZodNullable<z.ZodNumber>;
1471
+ observedAt: z.ZodISODateTime;
1472
+ }, z.core.$strip>;
1473
+ scores: z.ZodObject<{
1474
+ outlier: z.ZodNullable<z.ZodNumber>;
1475
+ outlierBasis: z.ZodNullable<z.ZodEnum<{
1476
+ likes: "likes";
1477
+ views: "views";
1478
+ }>>;
1479
+ engagementRate: z.ZodNullable<z.ZodNumber>;
1480
+ viewsPerHour: z.ZodNullable<z.ZodNumber>;
1481
+ }, z.core.$strip>;
1482
+ niches: z.ZodArray<z.ZodString>;
1483
+ analysis: z.ZodNullable<z.ZodObject<{
1484
+ version: z.ZodNumber;
1485
+ language: z.ZodString;
1486
+ nicheFit: z.ZodNumber;
1487
+ topic: z.ZodString;
1488
+ angle: z.ZodString;
1489
+ hook: z.ZodObject<{
1490
+ text: z.ZodString;
1491
+ type: z.ZodEnum<{
1492
+ bold_claim: "bold_claim";
1493
+ challenge: "challenge";
1494
+ contrarian: "contrarian";
1495
+ curiosity_gap: "curiosity_gap";
1496
+ demo: "demo";
1497
+ how_to: "how_to";
1498
+ list: "list";
1499
+ news: "news";
1500
+ other: "other";
1501
+ question: "question";
1502
+ relatable: "relatable";
1503
+ result_first: "result_first";
1504
+ story: "story";
1505
+ }>;
1506
+ visual: z.ZodNullable<z.ZodString>;
1507
+ }, z.core.$strip>;
1508
+ formatKey: z.ZodEnum<{
1509
+ ai_avatar: "ai_avatar";
1510
+ before_after: "before_after";
1511
+ green_screen: "green_screen";
1512
+ interview: "interview";
1513
+ listicle: "listicle";
1514
+ meme: "meme";
1515
+ other: "other";
1516
+ reaction: "reaction";
1517
+ screen_recording: "screen_recording";
1518
+ skit: "skit";
1519
+ slideshow: "slideshow";
1520
+ talking_head: "talking_head";
1521
+ text_on_screen: "text_on_screen";
1522
+ tutorial_steps: "tutorial_steps";
1523
+ voiceover_broll: "voiceover_broll";
1524
+ }>;
1525
+ faceOnCamera: z.ZodNullable<z.ZodBoolean>;
1526
+ structure: z.ZodArray<z.ZodString>;
1527
+ cta: z.ZodNullable<z.ZodString>;
1528
+ whyItWorks: z.ZodString;
1529
+ howToReplicate: z.ZodString;
1530
+ effort: z.ZodEnum<{
1531
+ high: "high";
1532
+ low: "low";
1533
+ medium: "medium";
1534
+ }>;
1535
+ }, z.core.$strip>>;
1536
+ }, z.core.$strip>>;
1537
+ }, z.core.$strip>;
1538
+ export declare const watchlistAddInputSchema: z.ZodObject<{
1539
+ platform: z.ZodEnum<{
1540
+ instagram: "instagram";
1541
+ tiktok: "tiktok";
1542
+ }>;
1543
+ handle: z.ZodString;
1544
+ }, z.core.$strip>;
1545
+ export declare const watchlistRemoveInputSchema: z.ZodObject<{
1546
+ creatorId: z.ZodUUID;
1547
+ }, z.core.$strip>;
1548
+ export declare const trendCollectionSchema: z.ZodObject<{
1549
+ id: z.ZodUUID;
1550
+ name: z.ZodString;
1551
+ postCount: z.ZodNumber;
1552
+ coverUrls: z.ZodArray<z.ZodString>;
1553
+ updatedAt: z.ZodISODateTime;
1554
+ }, z.core.$strip>;
1555
+ export declare const savedPostSchema: z.ZodObject<{
1556
+ post: z.ZodObject<{
1557
+ id: z.ZodUUID;
1558
+ platform: z.ZodEnum<{
1559
+ instagram: "instagram";
1560
+ tiktok: "tiktok";
1561
+ }>;
1562
+ kind: z.ZodEnum<{
1563
+ carousel: "carousel";
1564
+ video: "video";
1565
+ }>;
1566
+ url: z.ZodURL;
1567
+ caption: z.ZodNullable<z.ZodString>;
1568
+ coverUrl: z.ZodNullable<z.ZodString>;
1569
+ publishedAt: z.ZodNullable<z.ZodISODateTime>;
1570
+ durationSeconds: z.ZodNullable<z.ZodNumber>;
1571
+ slideCount: z.ZodNullable<z.ZodNumber>;
1572
+ creator: z.ZodObject<{
1573
+ id: z.ZodUUID;
1574
+ platform: z.ZodEnum<{
1575
+ instagram: "instagram";
1576
+ tiktok: "tiktok";
1577
+ }>;
1578
+ handle: z.ZodString;
1579
+ displayName: z.ZodNullable<z.ZodString>;
1580
+ followers: z.ZodNullable<z.ZodNumber>;
1581
+ avatarUrl: z.ZodNullable<z.ZodString>;
1582
+ medianViews: z.ZodNullable<z.ZodNumber>;
1583
+ region: z.ZodNullable<z.ZodString>;
1584
+ }, z.core.$strip>;
1585
+ metrics: z.ZodObject<{
1586
+ views: z.ZodNullable<z.ZodNumber>;
1587
+ likes: z.ZodNullable<z.ZodNumber>;
1588
+ comments: z.ZodNullable<z.ZodNumber>;
1589
+ shares: z.ZodNullable<z.ZodNumber>;
1590
+ saves: z.ZodNullable<z.ZodNumber>;
1591
+ observedAt: z.ZodISODateTime;
1592
+ }, z.core.$strip>;
1593
+ scores: z.ZodObject<{
1594
+ outlier: z.ZodNullable<z.ZodNumber>;
1595
+ outlierBasis: z.ZodNullable<z.ZodEnum<{
1596
+ likes: "likes";
1597
+ views: "views";
1598
+ }>>;
1599
+ engagementRate: z.ZodNullable<z.ZodNumber>;
1600
+ viewsPerHour: z.ZodNullable<z.ZodNumber>;
1601
+ }, z.core.$strip>;
1602
+ niches: z.ZodArray<z.ZodString>;
1603
+ analysis: z.ZodNullable<z.ZodObject<{
1604
+ version: z.ZodNumber;
1605
+ language: z.ZodString;
1606
+ nicheFit: z.ZodNumber;
1607
+ topic: z.ZodString;
1608
+ angle: z.ZodString;
1609
+ hook: z.ZodObject<{
1610
+ text: z.ZodString;
1611
+ type: z.ZodEnum<{
1612
+ bold_claim: "bold_claim";
1613
+ challenge: "challenge";
1614
+ contrarian: "contrarian";
1615
+ curiosity_gap: "curiosity_gap";
1616
+ demo: "demo";
1617
+ how_to: "how_to";
1618
+ list: "list";
1619
+ news: "news";
1620
+ other: "other";
1621
+ question: "question";
1622
+ relatable: "relatable";
1623
+ result_first: "result_first";
1624
+ story: "story";
1625
+ }>;
1626
+ visual: z.ZodNullable<z.ZodString>;
1627
+ }, z.core.$strip>;
1628
+ formatKey: z.ZodEnum<{
1629
+ ai_avatar: "ai_avatar";
1630
+ before_after: "before_after";
1631
+ green_screen: "green_screen";
1632
+ interview: "interview";
1633
+ listicle: "listicle";
1634
+ meme: "meme";
1635
+ other: "other";
1636
+ reaction: "reaction";
1637
+ screen_recording: "screen_recording";
1638
+ skit: "skit";
1639
+ slideshow: "slideshow";
1640
+ talking_head: "talking_head";
1641
+ text_on_screen: "text_on_screen";
1642
+ tutorial_steps: "tutorial_steps";
1643
+ voiceover_broll: "voiceover_broll";
1644
+ }>;
1645
+ faceOnCamera: z.ZodNullable<z.ZodBoolean>;
1646
+ structure: z.ZodArray<z.ZodString>;
1647
+ cta: z.ZodNullable<z.ZodString>;
1648
+ whyItWorks: z.ZodString;
1649
+ howToReplicate: z.ZodString;
1650
+ effort: z.ZodEnum<{
1651
+ high: "high";
1652
+ low: "low";
1653
+ medium: "medium";
1654
+ }>;
1655
+ }, z.core.$strip>>;
1656
+ }, z.core.$strip>;
1657
+ collectionId: z.ZodUUID;
1658
+ note: z.ZodNullable<z.ZodString>;
1659
+ savedAt: z.ZodISODateTime;
1660
+ }, z.core.$strip>;
1661
+ export declare const savedPostsInputSchema: z.ZodObject<{
1662
+ collectionId: z.ZodDefault<z.ZodNullable<z.ZodUUID>>;
1663
+ cursor: z.ZodDefault<z.ZodNullable<z.ZodString>>;
1664
+ limit: z.ZodDefault<z.ZodNumber>;
1665
+ }, z.core.$strip>;
1666
+ export declare const savedPostsResultSchema: z.ZodObject<{
1667
+ items: z.ZodArray<z.ZodObject<{
1668
+ post: z.ZodObject<{
1669
+ id: z.ZodUUID;
1670
+ platform: z.ZodEnum<{
1671
+ instagram: "instagram";
1672
+ tiktok: "tiktok";
1673
+ }>;
1674
+ kind: z.ZodEnum<{
1675
+ carousel: "carousel";
1676
+ video: "video";
1677
+ }>;
1678
+ url: z.ZodURL;
1679
+ caption: z.ZodNullable<z.ZodString>;
1680
+ coverUrl: z.ZodNullable<z.ZodString>;
1681
+ publishedAt: z.ZodNullable<z.ZodISODateTime>;
1682
+ durationSeconds: z.ZodNullable<z.ZodNumber>;
1683
+ slideCount: z.ZodNullable<z.ZodNumber>;
1684
+ creator: z.ZodObject<{
1685
+ id: z.ZodUUID;
1686
+ platform: z.ZodEnum<{
1687
+ instagram: "instagram";
1688
+ tiktok: "tiktok";
1689
+ }>;
1690
+ handle: z.ZodString;
1691
+ displayName: z.ZodNullable<z.ZodString>;
1692
+ followers: z.ZodNullable<z.ZodNumber>;
1693
+ avatarUrl: z.ZodNullable<z.ZodString>;
1694
+ medianViews: z.ZodNullable<z.ZodNumber>;
1695
+ region: z.ZodNullable<z.ZodString>;
1696
+ }, z.core.$strip>;
1697
+ metrics: z.ZodObject<{
1698
+ views: z.ZodNullable<z.ZodNumber>;
1699
+ likes: z.ZodNullable<z.ZodNumber>;
1700
+ comments: z.ZodNullable<z.ZodNumber>;
1701
+ shares: z.ZodNullable<z.ZodNumber>;
1702
+ saves: z.ZodNullable<z.ZodNumber>;
1703
+ observedAt: z.ZodISODateTime;
1704
+ }, z.core.$strip>;
1705
+ scores: z.ZodObject<{
1706
+ outlier: z.ZodNullable<z.ZodNumber>;
1707
+ outlierBasis: z.ZodNullable<z.ZodEnum<{
1708
+ likes: "likes";
1709
+ views: "views";
1710
+ }>>;
1711
+ engagementRate: z.ZodNullable<z.ZodNumber>;
1712
+ viewsPerHour: z.ZodNullable<z.ZodNumber>;
1713
+ }, z.core.$strip>;
1714
+ niches: z.ZodArray<z.ZodString>;
1715
+ analysis: z.ZodNullable<z.ZodObject<{
1716
+ version: z.ZodNumber;
1717
+ language: z.ZodString;
1718
+ nicheFit: z.ZodNumber;
1719
+ topic: z.ZodString;
1720
+ angle: z.ZodString;
1721
+ hook: z.ZodObject<{
1722
+ text: z.ZodString;
1723
+ type: z.ZodEnum<{
1724
+ bold_claim: "bold_claim";
1725
+ challenge: "challenge";
1726
+ contrarian: "contrarian";
1727
+ curiosity_gap: "curiosity_gap";
1728
+ demo: "demo";
1729
+ how_to: "how_to";
1730
+ list: "list";
1731
+ news: "news";
1732
+ other: "other";
1733
+ question: "question";
1734
+ relatable: "relatable";
1735
+ result_first: "result_first";
1736
+ story: "story";
1737
+ }>;
1738
+ visual: z.ZodNullable<z.ZodString>;
1739
+ }, z.core.$strip>;
1740
+ formatKey: z.ZodEnum<{
1741
+ ai_avatar: "ai_avatar";
1742
+ before_after: "before_after";
1743
+ green_screen: "green_screen";
1744
+ interview: "interview";
1745
+ listicle: "listicle";
1746
+ meme: "meme";
1747
+ other: "other";
1748
+ reaction: "reaction";
1749
+ screen_recording: "screen_recording";
1750
+ skit: "skit";
1751
+ slideshow: "slideshow";
1752
+ talking_head: "talking_head";
1753
+ text_on_screen: "text_on_screen";
1754
+ tutorial_steps: "tutorial_steps";
1755
+ voiceover_broll: "voiceover_broll";
1756
+ }>;
1757
+ faceOnCamera: z.ZodNullable<z.ZodBoolean>;
1758
+ structure: z.ZodArray<z.ZodString>;
1759
+ cta: z.ZodNullable<z.ZodString>;
1760
+ whyItWorks: z.ZodString;
1761
+ howToReplicate: z.ZodString;
1762
+ effort: z.ZodEnum<{
1763
+ high: "high";
1764
+ low: "low";
1765
+ medium: "medium";
1766
+ }>;
1767
+ }, z.core.$strip>>;
1768
+ }, z.core.$strip>;
1769
+ collectionId: z.ZodUUID;
1770
+ note: z.ZodNullable<z.ZodString>;
1771
+ savedAt: z.ZodISODateTime;
1772
+ }, z.core.$strip>>;
1773
+ nextCursor: z.ZodNullable<z.ZodString>;
1774
+ }, z.core.$strip>;
1775
+ export declare const savedPostRefsSchema: z.ZodArray<z.ZodObject<{
1776
+ postId: z.ZodUUID;
1777
+ collectionIds: z.ZodArray<z.ZodUUID>;
1778
+ }, z.core.$strip>>;
1779
+ export declare const savePostInputSchema: z.ZodObject<{
1780
+ postId: z.ZodUUID;
1781
+ collectionId: z.ZodNullable<z.ZodUUID>;
1782
+ note: z.ZodNullable<z.ZodString>;
1783
+ }, z.core.$strip>;
1784
+ export declare const unsavePostInputSchema: z.ZodObject<{
1785
+ postId: z.ZodUUID;
1786
+ collectionId: z.ZodNullable<z.ZodUUID>;
1787
+ }, z.core.$strip>;
1788
+ export declare const collectionCreateInputSchema: z.ZodObject<{
1789
+ name: z.ZodString;
1790
+ }, z.core.$strip>;
1791
+ export declare const collectionRenameInputSchema: z.ZodObject<{
1792
+ collectionId: z.ZodUUID;
1793
+ name: z.ZodString;
1794
+ }, z.core.$strip>;
1795
+ export declare const collectionDeleteInputSchema: z.ZodObject<{
1796
+ collectionId: z.ZodUUID;
1797
+ }, z.core.$strip>;
1798
+ export declare const collectionExportInputSchema: z.ZodObject<{
1799
+ collectionId: z.ZodNullable<z.ZodUUID>;
1800
+ }, z.core.$strip>;
1801
+ export declare const collectionExportSchema: z.ZodObject<{
1802
+ filename: z.ZodString;
1803
+ csv: z.ZodString;
1804
+ rows: z.ZodNumber;
1805
+ }, z.core.$strip>;
1806
+ export declare const trendsSettingsSchema: z.ZodObject<{
1807
+ autopilot: z.ZodObject<{
1808
+ enabled: z.ZodBoolean;
1809
+ draftsPerWeek: z.ZodNumber;
1810
+ lastRunAt: z.ZodNullable<z.ZodISODateTime>;
1811
+ nextRunAt: z.ZodNullable<z.ZodISODateTime>;
1812
+ }, z.core.$strip>;
1813
+ digest: z.ZodObject<{
1814
+ enabled: z.ZodBoolean;
1815
+ lastSentAt: z.ZodNullable<z.ZodISODateTime>;
1816
+ nextSendAt: z.ZodNullable<z.ZodISODateTime>;
1817
+ }, z.core.$strip>;
1818
+ refresh: z.ZodObject<{
1819
+ lastRunAt: z.ZodNullable<z.ZodISODateTime>;
1820
+ lastStatus: z.ZodNullable<z.ZodEnum<{
1821
+ "budget-stopped": "budget-stopped";
1822
+ failed: "failed";
1823
+ running: "running";
1824
+ succeeded: "succeeded";
1825
+ }>>;
1826
+ nextRunAt: z.ZodNullable<z.ZodISODateTime>;
1827
+ }, z.core.$strip>;
1828
+ }, z.core.$strip>;
1829
+ export declare const trendsSettingsUpdateInputSchema: z.ZodObject<{
1830
+ autopilotEnabled: z.ZodOptional<z.ZodBoolean>;
1831
+ autopilotDraftsPerWeek: z.ZodOptional<z.ZodNumber>;
1832
+ digestEnabled: z.ZodOptional<z.ZodBoolean>;
1833
+ }, z.core.$strip>;
1834
+ export declare const corpusPostInputSchema: z.ZodObject<{
1835
+ postId: z.ZodUUID;
1836
+ }, z.core.$strip>;
1837
+ export declare const corpusCreatorInputSchema: z.ZodObject<{
1838
+ creatorId: z.ZodUUID;
1839
+ }, z.core.$strip>;
1840
+ export declare const trendIdeasInputSchema: z.ZodObject<{
1841
+ refresh: z.ZodDefault<z.ZodBoolean>;
1842
+ }, z.core.$strip>;
1843
+ export declare const corpusNicheFollowInputSchema: z.ZodObject<{
1844
+ niche: z.ZodString;
1845
+ followed: z.ZodBoolean;
1846
+ }, z.core.$strip>;
1847
+ export type CorpusPlatform = z.infer<typeof corpusPlatformSchema>;
1848
+ export type CorpusPostKind = z.infer<typeof corpusPostKindSchema>;
1849
+ export type CorpusHookType = z.infer<typeof corpusHookTypeSchema>;
1850
+ export type CorpusFormatKey = z.infer<typeof corpusFormatKeySchema>;
1851
+ export type CorpusSort = z.infer<typeof corpusSortSchema>;
1852
+ export type CorpusPatternKind = z.infer<typeof corpusPatternKindSchema>;
1853
+ export type CorpusMomentum = z.infer<typeof corpusMomentumSchema>;
1854
+ export type CorpusPostAnalysis = z.infer<typeof corpusPostAnalysisSchema>;
1855
+ export type CorpusCreatorSummary = z.infer<typeof corpusCreatorSummarySchema>;
1856
+ export type CorpusPost = z.infer<typeof corpusPostSchema>;
1857
+ export type CorpusSearchInput = z.input<typeof corpusSearchInputSchema>;
1858
+ export type CorpusSearchResult = z.infer<typeof corpusSearchResultSchema>;
1859
+ export type CorpusPattern = z.infer<typeof corpusPatternSchema>;
1860
+ export type CorpusPatternsInput = z.input<typeof corpusPatternsInputSchema>;
1861
+ export type CorpusPostDetail = z.infer<typeof corpusPostDetailSchema>;
1862
+ export type CorpusCreator = z.infer<typeof corpusCreatorSchema>;
1863
+ export type CorpusNiche = z.infer<typeof corpusNicheSchema>;
1864
+ export type CorpusOverview = z.infer<typeof corpusOverviewSchema>;
1865
+ export type TrendIdea = z.infer<typeof trendIdeaSchema>;
1866
+ export type TrendIdeas = z.infer<typeof trendIdeasSchema>;
1867
+ export type TrendDraft = z.infer<typeof trendDraftSchema>;
1868
+ export type WatchlistCreator = z.infer<typeof watchlistCreatorSchema>;
1869
+ export type TrendCollection = z.infer<typeof trendCollectionSchema>;
1870
+ export type SavedPost = z.infer<typeof savedPostSchema>;
1871
+ export type SavedPostRefs = z.infer<typeof savedPostRefsSchema>;
1872
+ export type TrendsSettings = z.infer<typeof trendsSettingsSchema>;
1873
+ export declare const trendsWriteInputSchema: z.ZodObject<{
1874
+ idempotencyKey: z.ZodString;
1875
+ }, z.core.$strip>;
1876
+ export declare const trendsWrittenSchema: z.ZodObject<{
1877
+ generatedAt: z.ZodISODateTime;
1878
+ niches: z.ZodArray<z.ZodString>;
1879
+ ideas: z.ZodArray<z.ZodObject<{
1880
+ id: z.ZodString;
1881
+ title: z.ZodString;
1882
+ hook: z.ZodString;
1883
+ kind: z.ZodEnum<{
1884
+ carousel: "carousel";
1885
+ video: "video";
1886
+ }>;
1887
+ formatKey: z.ZodEnum<{
1888
+ ai_avatar: "ai_avatar";
1889
+ before_after: "before_after";
1890
+ green_screen: "green_screen";
1891
+ interview: "interview";
1892
+ listicle: "listicle";
1893
+ meme: "meme";
1894
+ other: "other";
1895
+ reaction: "reaction";
1896
+ screen_recording: "screen_recording";
1897
+ skit: "skit";
1898
+ slideshow: "slideshow";
1899
+ talking_head: "talking_head";
1900
+ text_on_screen: "text_on_screen";
1901
+ tutorial_steps: "tutorial_steps";
1902
+ voiceover_broll: "voiceover_broll";
1903
+ }>;
1904
+ angle: z.ZodString;
1905
+ beats: z.ZodArray<z.ZodString>;
1906
+ evidence: z.ZodString;
1907
+ patternIds: z.ZodArray<z.ZodUUID>;
1908
+ sourcePostIds: z.ZodArray<z.ZodUUID>;
1909
+ }, z.core.$strip>>;
1910
+ sources: z.ZodArray<z.ZodObject<{
1911
+ id: z.ZodUUID;
1912
+ platform: z.ZodEnum<{
1913
+ instagram: "instagram";
1914
+ tiktok: "tiktok";
1915
+ }>;
1916
+ kind: z.ZodEnum<{
1917
+ carousel: "carousel";
1918
+ video: "video";
1919
+ }>;
1920
+ url: z.ZodURL;
1921
+ caption: z.ZodNullable<z.ZodString>;
1922
+ coverUrl: z.ZodNullable<z.ZodString>;
1923
+ publishedAt: z.ZodNullable<z.ZodISODateTime>;
1924
+ durationSeconds: z.ZodNullable<z.ZodNumber>;
1925
+ slideCount: z.ZodNullable<z.ZodNumber>;
1926
+ creator: z.ZodObject<{
1927
+ id: z.ZodUUID;
1928
+ platform: z.ZodEnum<{
1929
+ instagram: "instagram";
1930
+ tiktok: "tiktok";
1931
+ }>;
1932
+ handle: z.ZodString;
1933
+ displayName: z.ZodNullable<z.ZodString>;
1934
+ followers: z.ZodNullable<z.ZodNumber>;
1935
+ avatarUrl: z.ZodNullable<z.ZodString>;
1936
+ medianViews: z.ZodNullable<z.ZodNumber>;
1937
+ region: z.ZodNullable<z.ZodString>;
1938
+ }, z.core.$strip>;
1939
+ metrics: z.ZodObject<{
1940
+ views: z.ZodNullable<z.ZodNumber>;
1941
+ likes: z.ZodNullable<z.ZodNumber>;
1942
+ comments: z.ZodNullable<z.ZodNumber>;
1943
+ shares: z.ZodNullable<z.ZodNumber>;
1944
+ saves: z.ZodNullable<z.ZodNumber>;
1945
+ observedAt: z.ZodISODateTime;
1946
+ }, z.core.$strip>;
1947
+ scores: z.ZodObject<{
1948
+ outlier: z.ZodNullable<z.ZodNumber>;
1949
+ outlierBasis: z.ZodNullable<z.ZodEnum<{
1950
+ likes: "likes";
1951
+ views: "views";
1952
+ }>>;
1953
+ engagementRate: z.ZodNullable<z.ZodNumber>;
1954
+ viewsPerHour: z.ZodNullable<z.ZodNumber>;
1955
+ }, z.core.$strip>;
1956
+ niches: z.ZodArray<z.ZodString>;
1957
+ analysis: z.ZodNullable<z.ZodObject<{
1958
+ version: z.ZodNumber;
1959
+ language: z.ZodString;
1960
+ nicheFit: z.ZodNumber;
1961
+ topic: z.ZodString;
1962
+ angle: z.ZodString;
1963
+ hook: z.ZodObject<{
1964
+ text: z.ZodString;
1965
+ type: z.ZodEnum<{
1966
+ bold_claim: "bold_claim";
1967
+ challenge: "challenge";
1968
+ contrarian: "contrarian";
1969
+ curiosity_gap: "curiosity_gap";
1970
+ demo: "demo";
1971
+ how_to: "how_to";
1972
+ list: "list";
1973
+ news: "news";
1974
+ other: "other";
1975
+ question: "question";
1976
+ relatable: "relatable";
1977
+ result_first: "result_first";
1978
+ story: "story";
1979
+ }>;
1980
+ visual: z.ZodNullable<z.ZodString>;
1981
+ }, z.core.$strip>;
1982
+ formatKey: z.ZodEnum<{
1983
+ ai_avatar: "ai_avatar";
1984
+ before_after: "before_after";
1985
+ green_screen: "green_screen";
1986
+ interview: "interview";
1987
+ listicle: "listicle";
1988
+ meme: "meme";
1989
+ other: "other";
1990
+ reaction: "reaction";
1991
+ screen_recording: "screen_recording";
1992
+ skit: "skit";
1993
+ slideshow: "slideshow";
1994
+ talking_head: "talking_head";
1995
+ text_on_screen: "text_on_screen";
1996
+ tutorial_steps: "tutorial_steps";
1997
+ voiceover_broll: "voiceover_broll";
1998
+ }>;
1999
+ faceOnCamera: z.ZodNullable<z.ZodBoolean>;
2000
+ structure: z.ZodArray<z.ZodString>;
2001
+ cta: z.ZodNullable<z.ZodString>;
2002
+ whyItWorks: z.ZodString;
2003
+ howToReplicate: z.ZodString;
2004
+ effort: z.ZodEnum<{
2005
+ high: "high";
2006
+ low: "low";
2007
+ medium: "medium";
2008
+ }>;
2009
+ }, z.core.$strip>>;
2010
+ }, z.core.$strip>>;
2011
+ drafts: z.ZodArray<z.ZodObject<{
2012
+ id: z.ZodUUID;
2013
+ ideaId: z.ZodString;
2014
+ ideaTitle: z.ZodString;
2015
+ kind: z.ZodEnum<{
2016
+ carousel: "carousel";
2017
+ video: "video";
2018
+ }>;
2019
+ origin: z.ZodEnum<{
2020
+ autopilot: "autopilot";
2021
+ manual: "manual";
2022
+ }>;
2023
+ status: z.ZodEnum<{
2024
+ drafting: "drafting";
2025
+ failed: "failed";
2026
+ queued: "queued";
2027
+ ready: "ready";
2028
+ }>;
2029
+ href: z.ZodNullable<z.ZodString>;
2030
+ createdAt: z.ZodISODateTime;
2031
+ }, z.core.$strip>>;
2032
+ mutationReceipt: z.ZodObject<{
2033
+ id: z.ZodNullable<z.ZodString>;
2034
+ key: z.ZodNullable<z.ZodString>;
2035
+ operation: z.ZodString;
2036
+ status: z.ZodLiteral<"completed">;
2037
+ replayed: z.ZodBoolean;
2038
+ }, z.core.$strip>;
2039
+ }, z.core.$strip>;
2040
+ //# sourceMappingURL=content-intelligence-contract.d.ts.map