@vibes.diy/api-types 2.0.0-dev-cli-e → 2.0.0-dev-cli-f

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.
package/chat.d.ts ADDED
@@ -0,0 +1,739 @@
1
+ export declare const ModelSelector: import("arktype/internal/variants/string.ts").StringType<"app" | "chat" | "img", {}>;
2
+ export type ModelSelector = typeof ModelSelector.infer;
3
+ export declare const Model: import("arktype/internal/variants/object.ts").ObjectType<{
4
+ id: string;
5
+ name: string;
6
+ description: string;
7
+ featured?: boolean | undefined;
8
+ preSelected?: ("app" | "chat" | "img")[] | undefined;
9
+ }, {}>;
10
+ export type Model = typeof Model.infer;
11
+ export declare const reqOpenChat: import("arktype/internal/variants/object.ts").ObjectType<{
12
+ type: "vibes.diy.req-open-chat";
13
+ auth: {
14
+ type: "clerk" | "device-id" | "ucan";
15
+ token: string;
16
+ };
17
+ appSlug?: string | undefined;
18
+ userSlug?: string | undefined;
19
+ chatId?: string | undefined;
20
+ mode: "app" | "chat" | "img";
21
+ }, {}>;
22
+ export type ReqOpenChat = typeof reqOpenChat.infer;
23
+ export declare const resOpenChat: import("arktype/internal/variants/object.ts").ObjectType<{
24
+ type: "vibes.diy.res-open-chat";
25
+ appSlug: string;
26
+ userSlug: string;
27
+ chatId: string;
28
+ mode: "app" | "chat" | "img";
29
+ }, {}>;
30
+ export type ResOpenChat = typeof resOpenChat.infer;
31
+ export declare function isResOpenChat(obj: unknown): obj is ResOpenChat;
32
+ export declare const reqCreationPromptChatSection: import("arktype/internal/variants/object.ts").ObjectType<{
33
+ type: "vibes.diy.req-prompt-chat-section";
34
+ mode: "chat";
35
+ auth: {
36
+ type: "clerk" | "device-id" | "ucan";
37
+ token: string;
38
+ };
39
+ chatId: string;
40
+ outerTid: string;
41
+ prompt: {
42
+ model?: string | undefined;
43
+ messages: {
44
+ role: "assistant" | "system" | "user";
45
+ content: {
46
+ type: "text";
47
+ text: string;
48
+ }[];
49
+ }[];
50
+ stream?: boolean | undefined;
51
+ temperature?: number | undefined;
52
+ max_tokens?: number | undefined;
53
+ top_p?: number | undefined;
54
+ logprobs?: boolean | undefined;
55
+ top_logsprobs?: number | undefined;
56
+ frequency_penalty?: number | undefined;
57
+ presence_penalty?: number | undefined;
58
+ stop?: string | string[] | undefined;
59
+ };
60
+ }, {}>;
61
+ export declare function isReqCreationPromptChatSection(obj: unknown): obj is typeof reqCreationPromptChatSection.infer;
62
+ export declare const reqPromptApplicationChatSection: import("arktype/internal/variants/object.ts").ObjectType<{
63
+ type: "vibes.diy.req-prompt-chat-section";
64
+ mode: "app";
65
+ auth: {
66
+ type: "clerk" | "device-id" | "ucan";
67
+ token: string;
68
+ };
69
+ chatId: string;
70
+ outerTid: string;
71
+ prompt: {
72
+ model?: string | undefined;
73
+ messages: {
74
+ role: "assistant" | "system" | "user";
75
+ content: {
76
+ type: "text";
77
+ text: string;
78
+ }[];
79
+ }[];
80
+ stream?: boolean | undefined;
81
+ temperature?: number | undefined;
82
+ max_tokens?: number | undefined;
83
+ top_p?: number | undefined;
84
+ logprobs?: boolean | undefined;
85
+ top_logsprobs?: number | undefined;
86
+ frequency_penalty?: number | undefined;
87
+ presence_penalty?: number | undefined;
88
+ stop?: string | string[] | undefined;
89
+ };
90
+ }, {}>;
91
+ export declare function isReqPromptApplicationChatSection(obj: unknown): obj is typeof reqPromptApplicationChatSection.infer;
92
+ export declare const reqPromptImageChatSection: import("arktype/internal/variants/object.ts").ObjectType<{
93
+ type: "vibes.diy.req-prompt-chat-section";
94
+ mode: "img";
95
+ auth: {
96
+ type: "clerk" | "device-id" | "ucan";
97
+ token: string;
98
+ };
99
+ chatId: string;
100
+ outerTid: string;
101
+ prompt: {
102
+ model?: string | undefined;
103
+ messages: {
104
+ role: "assistant" | "system" | "user";
105
+ content: {
106
+ type: "text";
107
+ text: string;
108
+ }[];
109
+ }[];
110
+ stream?: boolean | undefined;
111
+ temperature?: number | undefined;
112
+ max_tokens?: number | undefined;
113
+ top_p?: number | undefined;
114
+ logprobs?: boolean | undefined;
115
+ top_logsprobs?: number | undefined;
116
+ frequency_penalty?: number | undefined;
117
+ presence_penalty?: number | undefined;
118
+ stop?: string | string[] | undefined;
119
+ };
120
+ }, {}>;
121
+ export declare function isReqPromptImageChatSection(obj: unknown): obj is typeof reqPromptImageChatSection.infer;
122
+ export declare const reqPromptChatSection: import("arktype/internal/variants/object.ts").ObjectType<{
123
+ type: "vibes.diy.req-prompt-chat-section";
124
+ mode: "chat";
125
+ auth: {
126
+ type: "clerk" | "device-id" | "ucan";
127
+ token: string;
128
+ };
129
+ chatId: string;
130
+ outerTid: string;
131
+ prompt: {
132
+ model?: string | undefined;
133
+ messages: {
134
+ role: "assistant" | "system" | "user";
135
+ content: {
136
+ type: "text";
137
+ text: string;
138
+ }[];
139
+ }[];
140
+ stream?: boolean | undefined;
141
+ temperature?: number | undefined;
142
+ max_tokens?: number | undefined;
143
+ top_p?: number | undefined;
144
+ logprobs?: boolean | undefined;
145
+ top_logsprobs?: number | undefined;
146
+ frequency_penalty?: number | undefined;
147
+ presence_penalty?: number | undefined;
148
+ stop?: string | string[] | undefined;
149
+ };
150
+ } | {
151
+ type: "vibes.diy.req-prompt-chat-section";
152
+ mode: "app";
153
+ auth: {
154
+ type: "clerk" | "device-id" | "ucan";
155
+ token: string;
156
+ };
157
+ chatId: string;
158
+ outerTid: string;
159
+ prompt: {
160
+ model?: string | undefined;
161
+ messages: {
162
+ role: "assistant" | "system" | "user";
163
+ content: {
164
+ type: "text";
165
+ text: string;
166
+ }[];
167
+ }[];
168
+ stream?: boolean | undefined;
169
+ temperature?: number | undefined;
170
+ max_tokens?: number | undefined;
171
+ top_p?: number | undefined;
172
+ logprobs?: boolean | undefined;
173
+ top_logsprobs?: number | undefined;
174
+ frequency_penalty?: number | undefined;
175
+ presence_penalty?: number | undefined;
176
+ stop?: string | string[] | undefined;
177
+ };
178
+ } | {
179
+ type: "vibes.diy.req-prompt-chat-section";
180
+ mode: "img";
181
+ auth: {
182
+ type: "clerk" | "device-id" | "ucan";
183
+ token: string;
184
+ };
185
+ chatId: string;
186
+ outerTid: string;
187
+ prompt: {
188
+ model?: string | undefined;
189
+ messages: {
190
+ role: "assistant" | "system" | "user";
191
+ content: {
192
+ type: "text";
193
+ text: string;
194
+ }[];
195
+ }[];
196
+ stream?: boolean | undefined;
197
+ temperature?: number | undefined;
198
+ max_tokens?: number | undefined;
199
+ top_p?: number | undefined;
200
+ logprobs?: boolean | undefined;
201
+ top_logsprobs?: number | undefined;
202
+ frequency_penalty?: number | undefined;
203
+ presence_penalty?: number | undefined;
204
+ stop?: string | string[] | undefined;
205
+ };
206
+ }, {}>;
207
+ export type ReqPromptChatSection = typeof reqPromptChatSection.infer;
208
+ export declare const resPromptChatSection: import("arktype/internal/variants/object.ts").ObjectType<{
209
+ type: "vibes.diy.res-prompt-chat-section";
210
+ mode: "app" | "chat" | "img";
211
+ chatId: string;
212
+ userSlug: string;
213
+ appSlug: string;
214
+ promptId: string;
215
+ outerTid: string;
216
+ }, {}>;
217
+ export type ResPromptChatSection = typeof resPromptChatSection.infer;
218
+ export declare function isResPromptChatSection(obj: unknown): obj is ResPromptChatSection;
219
+ export declare const reqAddFS: import("arktype/internal/variants/object.ts").ObjectType<{
220
+ type: "vibes.diy.req-add-fs";
221
+ auth: {
222
+ type: "clerk" | "device-id" | "ucan";
223
+ token: string;
224
+ };
225
+ chatId: string;
226
+ outerTid: string;
227
+ fs: ({
228
+ filename: string;
229
+ entryPoint?: boolean | undefined;
230
+ mimetype?: string | undefined;
231
+ type: "code-block";
232
+ lang: string;
233
+ content: string;
234
+ } | {
235
+ filename: string;
236
+ entryPoint?: boolean | undefined;
237
+ mimetype?: string | undefined;
238
+ type: "code-ref";
239
+ refId: string;
240
+ } | {
241
+ filename: string;
242
+ entryPoint?: boolean | undefined;
243
+ mimetype?: string | undefined;
244
+ type: "str-asset-block";
245
+ content: string;
246
+ } | {
247
+ filename: string;
248
+ entryPoint?: boolean | undefined;
249
+ mimetype?: string | undefined;
250
+ type: "str-asset-ref";
251
+ refId: string;
252
+ } | {
253
+ filename: string;
254
+ entryPoint?: boolean | undefined;
255
+ mimetype?: string | undefined;
256
+ type: "uint8-asset-block";
257
+ content: Uint8Array<ArrayBuffer>;
258
+ } | {
259
+ filename: string;
260
+ entryPoint?: boolean | undefined;
261
+ mimetype?: string | undefined;
262
+ type: "uint8-asset-ref";
263
+ refId: string;
264
+ })[];
265
+ }, {}>;
266
+ export type ReqAddFS = typeof reqAddFS.infer;
267
+ export declare function isReqAddFS(obj: unknown): obj is ReqAddFS;
268
+ export declare const resAddFS: import("arktype/internal/variants/object.ts").ObjectType<{
269
+ appSlug: string;
270
+ userSlug: string;
271
+ mode: "dev" | "production";
272
+ fsId: string;
273
+ type: "vibes.diy.res-add-fs";
274
+ chatId: string;
275
+ outerTid: string;
276
+ }, {}>;
277
+ export type ResAddFS = typeof resAddFS.infer;
278
+ export declare function isResAddFS(obj: unknown): obj is ResAddFS;
279
+ export declare const PromptAndBlockMsgs: import("arktype/internal/variants/object.ts").ObjectType<{
280
+ streamId: string;
281
+ chatId: string;
282
+ seq: number;
283
+ timestamp: Date | ((In: string) => import("arktype/internal/attributes.ts").To<Date>);
284
+ type: "prompt.block-begin";
285
+ } | {
286
+ streamId: string;
287
+ chatId: string;
288
+ seq: number;
289
+ timestamp: Date | ((In: string) => import("arktype/internal/attributes.ts").To<Date>);
290
+ type: "prompt.block-end";
291
+ } | {
292
+ streamId: string;
293
+ chatId: string;
294
+ seq: number;
295
+ timestamp: Date | ((In: string) => import("arktype/internal/attributes.ts").To<Date>);
296
+ type: "prompt.req";
297
+ request: {
298
+ model?: string | undefined;
299
+ messages: {
300
+ role: "assistant" | "system" | "user";
301
+ content: {
302
+ type: "text";
303
+ text: string;
304
+ }[];
305
+ }[];
306
+ stream?: boolean | undefined;
307
+ temperature?: number | undefined;
308
+ max_tokens?: number | undefined;
309
+ top_p?: number | undefined;
310
+ logprobs?: boolean | undefined;
311
+ top_logsprobs?: number | undefined;
312
+ frequency_penalty?: number | undefined;
313
+ presence_penalty?: number | undefined;
314
+ stop?: string | string[] | undefined;
315
+ };
316
+ } | {
317
+ streamId: string;
318
+ chatId: string;
319
+ seq: number;
320
+ timestamp: Date | ((In: string) => import("arktype/internal/attributes.ts").To<Date>);
321
+ type: "prompt.error";
322
+ error: string;
323
+ } | {
324
+ blockId: string;
325
+ streamId: string;
326
+ seq: number;
327
+ blockNr: number;
328
+ timestamp: Date | ((In: string) => import("arktype/internal/attributes.ts").To<Date>);
329
+ type: "block.begin";
330
+ } | {
331
+ blockId: string;
332
+ streamId: string;
333
+ seq: number;
334
+ blockNr: number;
335
+ timestamp: Date | ((In: string) => import("arktype/internal/attributes.ts").To<Date>);
336
+ type: "block.end";
337
+ stats: {
338
+ toplevel: {
339
+ lines: number;
340
+ bytes: number;
341
+ cnt?: number | undefined;
342
+ };
343
+ code: {
344
+ lines: number;
345
+ bytes: number;
346
+ cnt?: number | undefined;
347
+ };
348
+ image: {
349
+ lines: number;
350
+ bytes: number;
351
+ cnt?: number | undefined;
352
+ };
353
+ total: {
354
+ lines: number;
355
+ bytes: number;
356
+ cnt?: number | undefined;
357
+ };
358
+ };
359
+ usage: {
360
+ given: {
361
+ prompt_tokens: number;
362
+ completion_tokens: number;
363
+ total_tokens: number;
364
+ }[];
365
+ calculated: {
366
+ prompt_tokens: number;
367
+ completion_tokens: number;
368
+ total_tokens: number;
369
+ };
370
+ };
371
+ fsRef?: {
372
+ appSlug: string;
373
+ userSlug: string;
374
+ mode: "dev" | "production";
375
+ fsId: string;
376
+ } | undefined;
377
+ } | {
378
+ blockId: string;
379
+ streamId: string;
380
+ seq: number;
381
+ blockNr: number;
382
+ timestamp: Date | ((In: string) => import("arktype/internal/attributes.ts").To<Date>);
383
+ type: "block.stats";
384
+ stats: {
385
+ toplevel: {
386
+ lines: number;
387
+ bytes: number;
388
+ cnt?: number | undefined;
389
+ };
390
+ code: {
391
+ lines: number;
392
+ bytes: number;
393
+ cnt?: number | undefined;
394
+ };
395
+ image: {
396
+ lines: number;
397
+ bytes: number;
398
+ cnt?: number | undefined;
399
+ };
400
+ total: {
401
+ lines: number;
402
+ bytes: number;
403
+ cnt?: number | undefined;
404
+ };
405
+ };
406
+ usage: {
407
+ prompt_tokens: number;
408
+ completion_tokens: number;
409
+ total_tokens: number;
410
+ };
411
+ } | {
412
+ blockId: string;
413
+ streamId: string;
414
+ seq: number;
415
+ blockNr: number;
416
+ timestamp: Date | ((In: string) => import("arktype/internal/attributes.ts").To<Date>);
417
+ stats: {
418
+ lines: number;
419
+ bytes: number;
420
+ cnt?: number | undefined;
421
+ };
422
+ type: "block.image";
423
+ sectionId: string;
424
+ url: string;
425
+ } | {
426
+ blockId: string;
427
+ streamId: string;
428
+ seq: number;
429
+ blockNr: number;
430
+ timestamp: Date | ((In: string) => import("arktype/internal/attributes.ts").To<Date>);
431
+ type: "block.code.begin";
432
+ sectionId: string;
433
+ lang: string;
434
+ } | {
435
+ blockId: string;
436
+ streamId: string;
437
+ seq: number;
438
+ blockNr: number;
439
+ timestamp: Date | ((In: string) => import("arktype/internal/attributes.ts").To<Date>);
440
+ lineNr: number;
441
+ line: string;
442
+ type: "block.code.line";
443
+ sectionId: string;
444
+ lang: string;
445
+ } | {
446
+ blockId: string;
447
+ streamId: string;
448
+ seq: number;
449
+ blockNr: number;
450
+ timestamp: Date | ((In: string) => import("arktype/internal/attributes.ts").To<Date>);
451
+ stats: {
452
+ lines: number;
453
+ bytes: number;
454
+ cnt?: number | undefined;
455
+ };
456
+ type: "block.code.end";
457
+ sectionId: string;
458
+ lang: string;
459
+ } | {
460
+ blockId: string;
461
+ streamId: string;
462
+ seq: number;
463
+ blockNr: number;
464
+ timestamp: Date | ((In: string) => import("arktype/internal/attributes.ts").To<Date>);
465
+ type: "block.toplevel.begin";
466
+ sectionId: string;
467
+ } | {
468
+ blockId: string;
469
+ streamId: string;
470
+ seq: number;
471
+ blockNr: number;
472
+ timestamp: Date | ((In: string) => import("arktype/internal/attributes.ts").To<Date>);
473
+ lineNr: number;
474
+ line: string;
475
+ type: "block.toplevel.line";
476
+ sectionId: string;
477
+ } | {
478
+ blockId: string;
479
+ streamId: string;
480
+ seq: number;
481
+ blockNr: number;
482
+ timestamp: Date | ((In: string) => import("arktype/internal/attributes.ts").To<Date>);
483
+ stats: {
484
+ lines: number;
485
+ bytes: number;
486
+ cnt?: number | undefined;
487
+ };
488
+ type: "block.toplevel.end";
489
+ sectionId: string;
490
+ }, {}>;
491
+ export type PromptAndBlockMsgs = typeof PromptAndBlockMsgs.infer;
492
+ export declare const sectionEvent: import("arktype/internal/variants/object.ts").ObjectType<{
493
+ type: "vibes.diy.section-event";
494
+ chatId: string;
495
+ promptId: string;
496
+ blockSeq: number;
497
+ timestamp: Date | ((In: string) => import("arktype/internal/attributes.ts").To<Date>);
498
+ blocks: ({
499
+ streamId: string;
500
+ chatId: string;
501
+ seq: number;
502
+ timestamp: Date | ((In: string) => import("arktype/internal/attributes.ts").To<Date>);
503
+ type: "prompt.block-begin";
504
+ } | {
505
+ streamId: string;
506
+ chatId: string;
507
+ seq: number;
508
+ timestamp: Date | ((In: string) => import("arktype/internal/attributes.ts").To<Date>);
509
+ type: "prompt.block-end";
510
+ } | {
511
+ streamId: string;
512
+ chatId: string;
513
+ seq: number;
514
+ timestamp: Date | ((In: string) => import("arktype/internal/attributes.ts").To<Date>);
515
+ type: "prompt.req";
516
+ request: {
517
+ model?: string | undefined;
518
+ messages: {
519
+ role: "assistant" | "system" | "user";
520
+ content: {
521
+ type: "text";
522
+ text: string;
523
+ }[];
524
+ }[];
525
+ stream?: boolean | undefined;
526
+ temperature?: number | undefined;
527
+ max_tokens?: number | undefined;
528
+ top_p?: number | undefined;
529
+ logprobs?: boolean | undefined;
530
+ top_logsprobs?: number | undefined;
531
+ frequency_penalty?: number | undefined;
532
+ presence_penalty?: number | undefined;
533
+ stop?: string | string[] | undefined;
534
+ };
535
+ } | {
536
+ streamId: string;
537
+ chatId: string;
538
+ seq: number;
539
+ timestamp: Date | ((In: string) => import("arktype/internal/attributes.ts").To<Date>);
540
+ type: "prompt.error";
541
+ error: string;
542
+ } | {
543
+ blockId: string;
544
+ streamId: string;
545
+ seq: number;
546
+ blockNr: number;
547
+ timestamp: Date | ((In: string) => import("arktype/internal/attributes.ts").To<Date>);
548
+ type: "block.begin";
549
+ } | {
550
+ blockId: string;
551
+ streamId: string;
552
+ seq: number;
553
+ blockNr: number;
554
+ timestamp: Date | ((In: string) => import("arktype/internal/attributes.ts").To<Date>);
555
+ type: "block.end";
556
+ stats: {
557
+ toplevel: {
558
+ lines: number;
559
+ bytes: number;
560
+ cnt?: number | undefined;
561
+ };
562
+ code: {
563
+ lines: number;
564
+ bytes: number;
565
+ cnt?: number | undefined;
566
+ };
567
+ image: {
568
+ lines: number;
569
+ bytes: number;
570
+ cnt?: number | undefined;
571
+ };
572
+ total: {
573
+ lines: number;
574
+ bytes: number;
575
+ cnt?: number | undefined;
576
+ };
577
+ };
578
+ usage: {
579
+ given: {
580
+ prompt_tokens: number;
581
+ completion_tokens: number;
582
+ total_tokens: number;
583
+ }[];
584
+ calculated: {
585
+ prompt_tokens: number;
586
+ completion_tokens: number;
587
+ total_tokens: number;
588
+ };
589
+ };
590
+ fsRef?: {
591
+ appSlug: string;
592
+ userSlug: string;
593
+ mode: "dev" | "production";
594
+ fsId: string;
595
+ } | undefined;
596
+ } | {
597
+ blockId: string;
598
+ streamId: string;
599
+ seq: number;
600
+ blockNr: number;
601
+ timestamp: Date | ((In: string) => import("arktype/internal/attributes.ts").To<Date>);
602
+ type: "block.stats";
603
+ stats: {
604
+ toplevel: {
605
+ lines: number;
606
+ bytes: number;
607
+ cnt?: number | undefined;
608
+ };
609
+ code: {
610
+ lines: number;
611
+ bytes: number;
612
+ cnt?: number | undefined;
613
+ };
614
+ image: {
615
+ lines: number;
616
+ bytes: number;
617
+ cnt?: number | undefined;
618
+ };
619
+ total: {
620
+ lines: number;
621
+ bytes: number;
622
+ cnt?: number | undefined;
623
+ };
624
+ };
625
+ usage: {
626
+ prompt_tokens: number;
627
+ completion_tokens: number;
628
+ total_tokens: number;
629
+ };
630
+ } | {
631
+ blockId: string;
632
+ streamId: string;
633
+ seq: number;
634
+ blockNr: number;
635
+ timestamp: Date | ((In: string) => import("arktype/internal/attributes.ts").To<Date>);
636
+ stats: {
637
+ lines: number;
638
+ bytes: number;
639
+ cnt?: number | undefined;
640
+ };
641
+ type: "block.image";
642
+ sectionId: string;
643
+ url: string;
644
+ } | {
645
+ blockId: string;
646
+ streamId: string;
647
+ seq: number;
648
+ blockNr: number;
649
+ timestamp: Date | ((In: string) => import("arktype/internal/attributes.ts").To<Date>);
650
+ type: "block.code.begin";
651
+ sectionId: string;
652
+ lang: string;
653
+ } | {
654
+ blockId: string;
655
+ streamId: string;
656
+ seq: number;
657
+ blockNr: number;
658
+ timestamp: Date | ((In: string) => import("arktype/internal/attributes.ts").To<Date>);
659
+ lineNr: number;
660
+ line: string;
661
+ type: "block.code.line";
662
+ sectionId: string;
663
+ lang: string;
664
+ } | {
665
+ blockId: string;
666
+ streamId: string;
667
+ seq: number;
668
+ blockNr: number;
669
+ timestamp: Date | ((In: string) => import("arktype/internal/attributes.ts").To<Date>);
670
+ stats: {
671
+ lines: number;
672
+ bytes: number;
673
+ cnt?: number | undefined;
674
+ };
675
+ type: "block.code.end";
676
+ sectionId: string;
677
+ lang: string;
678
+ } | {
679
+ blockId: string;
680
+ streamId: string;
681
+ seq: number;
682
+ blockNr: number;
683
+ timestamp: Date | ((In: string) => import("arktype/internal/attributes.ts").To<Date>);
684
+ type: "block.toplevel.begin";
685
+ sectionId: string;
686
+ } | {
687
+ blockId: string;
688
+ streamId: string;
689
+ seq: number;
690
+ blockNr: number;
691
+ timestamp: Date | ((In: string) => import("arktype/internal/attributes.ts").To<Date>);
692
+ lineNr: number;
693
+ line: string;
694
+ type: "block.toplevel.line";
695
+ sectionId: string;
696
+ } | {
697
+ blockId: string;
698
+ streamId: string;
699
+ seq: number;
700
+ blockNr: number;
701
+ timestamp: Date | ((In: string) => import("arktype/internal/attributes.ts").To<Date>);
702
+ stats: {
703
+ lines: number;
704
+ bytes: number;
705
+ cnt?: number | undefined;
706
+ };
707
+ type: "block.toplevel.end";
708
+ sectionId: string;
709
+ })[];
710
+ }, {}>;
711
+ export type SectionEvent = typeof sectionEvent.infer;
712
+ export declare function isSectionEvent(obj: unknown): obj is SectionEvent;
713
+ export declare const evtNewFsId: import("arktype/internal/variants/object.ts").ObjectType<{
714
+ type: "vibes.diy.evt-new-fs-id";
715
+ userSlug: string;
716
+ appSlug: string;
717
+ fsId: string;
718
+ sessionToken: string;
719
+ vibeUrl: string;
720
+ }, {}>;
721
+ export type EvtNewFsId = typeof evtNewFsId.infer;
722
+ export declare function isEvtNewFsId(obj: unknown): obj is EvtNewFsId;
723
+ export declare const reqListModels: import("arktype/internal/variants/object.ts").ObjectType<{
724
+ type: "vibes.diy.req-list-models";
725
+ }, {}>;
726
+ export type ReqListModels = typeof reqListModels.infer;
727
+ export declare function isReqListModels(obj: unknown): obj is ReqListModels;
728
+ export declare const resListModels: import("arktype/internal/variants/object.ts").ObjectType<{
729
+ type: "vibes.diy.res-list-models";
730
+ models: {
731
+ id: string;
732
+ name: string;
733
+ description: string;
734
+ featured?: boolean | undefined;
735
+ preSelected?: ("app" | "chat" | "img")[] | undefined;
736
+ }[];
737
+ }, {}>;
738
+ export type ResListModels = typeof resListModels.infer;
739
+ export declare function isResListModels(obj: unknown): obj is ResListModels;