@expandai/sdk 0.17.2 → 0.19.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -27,13 +27,6 @@ declare const FetchFetchRequest_base: S.Class<FetchFetchRequest, {
27
27
  }>]>, {
28
28
  nullable: true;
29
29
  }>;
30
- summary: S.optionalWith<S.Union<[typeof S.Boolean, S.Struct<{
31
- prompt: S.optionalWith<S.filter<typeof S.String>, {
32
- nullable: true;
33
- }>;
34
- }>]>, {
35
- nullable: true;
36
- }>;
37
30
  links: S.optionalWith<S.Union<[typeof S.Boolean, S.Struct<{
38
31
  sameDomainOnly: S.optionalWith<typeof S.Boolean, {
39
32
  nullable: true;
@@ -107,13 +100,6 @@ declare const FetchFetchRequest_base: S.Class<FetchFetchRequest, {
107
100
  }>]>, {
108
101
  nullable: true;
109
102
  }>;
110
- summary: S.optionalWith<S.Union<[typeof S.Boolean, S.Struct<{
111
- prompt: S.optionalWith<S.filter<typeof S.String>, {
112
- nullable: true;
113
- }>;
114
- }>]>, {
115
- nullable: true;
116
- }>;
117
103
  links: S.optionalWith<S.Union<[typeof S.Boolean, S.Struct<{
118
104
  sameDomainOnly: S.optionalWith<typeof S.Boolean, {
119
105
  nullable: true;
@@ -172,6 +158,10 @@ declare const FetchFetchRequest_base: S.Class<FetchFetchRequest, {
172
158
  nullable: true;
173
159
  }>;
174
160
  }>, never, {
161
+ readonly browserConfig?: {
162
+ readonly scrollFullPage: boolean;
163
+ } | undefined;
164
+ } & {
175
165
  readonly include?: {
176
166
  readonly html?: boolean | {
177
167
  readonly [x: string]: unknown;
@@ -182,9 +172,6 @@ declare const FetchFetchRequest_base: S.Class<FetchFetchRequest, {
182
172
  readonly screenshot?: boolean | {
183
173
  readonly fullPage?: boolean | undefined;
184
174
  } | undefined;
185
- readonly summary?: boolean | {
186
- readonly prompt?: string | undefined;
187
- } | undefined;
188
175
  readonly links?: boolean | {
189
176
  readonly sameDomainOnly: boolean;
190
177
  readonly includePatterns?: readonly string[] | undefined;
@@ -197,8 +184,6 @@ declare const FetchFetchRequest_base: S.Class<FetchFetchRequest, {
197
184
  readonly json: boolean;
198
185
  readonly appendix?: boolean | undefined;
199
186
  } | undefined;
200
- } & {
201
- readonly url: string;
202
187
  } & {
203
188
  readonly search?: {
204
189
  readonly query: string;
@@ -206,9 +191,7 @@ declare const FetchFetchRequest_base: S.Class<FetchFetchRequest, {
206
191
  readonly minScore: number;
207
192
  } | undefined;
208
193
  } & {
209
- readonly browserConfig?: {
210
- readonly scrollFullPage: boolean;
211
- } | undefined;
194
+ readonly url: string;
212
195
  }, {}, {}>;
213
196
  export declare class FetchFetchRequest extends FetchFetchRequest_base {
214
197
  }
@@ -276,13 +259,13 @@ declare const AuthFailed_base: S.Class<AuthFailed, {
276
259
  }>;
277
260
  _tag: typeof AuthFailedTag;
278
261
  }>, never, {
279
- readonly _tag: "AuthFailed";
280
- } & {
281
- readonly reason: "InvalidApiKey" | "InvalidToken" | "InvalidSession" | "InvalidTenant";
282
- } & {
283
262
  readonly description?: string | {
284
263
  readonly message: string;
285
264
  } | undefined;
265
+ } & {
266
+ readonly _tag: "AuthFailed";
267
+ } & {
268
+ readonly reason: "InvalidApiKey" | "InvalidSession" | "InvalidTenant" | "InvalidToken";
286
269
  }, {}, {}>;
287
270
  export declare class AuthFailed extends AuthFailed_base {
288
271
  }
@@ -312,15 +295,35 @@ export declare class FetchFetch403 extends FetchFetch403_base {
312
295
  declare const PayloadTooLargeTag_base: S.Literal<["PayloadTooLarge"]>;
313
296
  export declare class PayloadTooLargeTag extends PayloadTooLargeTag_base {
314
297
  }
315
- declare const PayloadTooLarge_base: S.Class<PayloadTooLarge, {
316
- _tag: typeof PayloadTooLargeTag;
317
- }, S.Struct.Encoded<{
298
+ declare const PayloadTooLarge_base: S.Struct<{
318
299
  _tag: typeof PayloadTooLargeTag;
319
- }>, never, {
320
- readonly _tag: "PayloadTooLarge";
321
- }, {}, {}>;
300
+ }>;
322
301
  export declare class PayloadTooLarge extends PayloadTooLarge_base {
323
302
  }
303
+ declare const FetchPageTooLargeLimitKind_base: S.Literal<["transfer_bytes", "domsnapshot_bytes", "ast_bytes"]>;
304
+ export declare class FetchPageTooLargeLimitKind extends FetchPageTooLargeLimitKind_base {
305
+ }
306
+ declare const FetchPageTooLargeTag_base: S.Literal<["FetchPageTooLarge"]>;
307
+ export declare class FetchPageTooLargeTag extends FetchPageTooLargeTag_base {
308
+ }
309
+ declare const FetchPageTooLarge_base: S.Struct<{
310
+ url: typeof S.String;
311
+ limitKind: S.optionalWith<typeof FetchPageTooLargeLimitKind, {
312
+ nullable: true;
313
+ }>;
314
+ limitBytes: S.optionalWith<typeof S.Number, {
315
+ nullable: true;
316
+ }>;
317
+ measuredBytes: S.optionalWith<typeof S.Number, {
318
+ nullable: true;
319
+ }>;
320
+ _tag: typeof FetchPageTooLargeTag;
321
+ }>;
322
+ export declare class FetchPageTooLarge extends FetchPageTooLarge_base {
323
+ }
324
+ declare const FetchFetch413_base: S.Union<[typeof PayloadTooLarge, typeof FetchPageTooLarge]>;
325
+ export declare class FetchFetch413 extends FetchFetch413_base {
326
+ }
324
327
  declare const TooManyRequestsTag_base: S.Literal<["TooManyRequests"]>;
325
328
  export declare class TooManyRequestsTag extends TooManyRequestsTag_base {
326
329
  }
@@ -345,18 +348,105 @@ declare const InternalError_base: S.Class<InternalError, {
345
348
  }, {}, {}>;
346
349
  export declare class InternalError extends InternalError_base {
347
350
  }
351
+ declare const FetchNavigationFailedFailureType_base: S.Literal<["browserInternalDocument"]>;
352
+ export declare class FetchNavigationFailedFailureType extends FetchNavigationFailedFailureType_base {
353
+ }
354
+ declare const FetchNavigationFailedTag_base: S.Literal<["FetchNavigationFailed"]>;
355
+ export declare class FetchNavigationFailedTag extends FetchNavigationFailedTag_base {
356
+ }
357
+ declare const FetchNavigationFailed_base: S.Class<FetchNavigationFailed, {
358
+ url: typeof S.String;
359
+ failureType: typeof FetchNavigationFailedFailureType;
360
+ _tag: typeof FetchNavigationFailedTag;
361
+ }, S.Struct.Encoded<{
362
+ url: typeof S.String;
363
+ failureType: typeof FetchNavigationFailedFailureType;
364
+ _tag: typeof FetchNavigationFailedTag;
365
+ }>, never, {
366
+ readonly _tag: "FetchNavigationFailed";
367
+ } & {
368
+ readonly failureType: "browserInternalDocument";
369
+ } & {
370
+ readonly url: string;
371
+ }, {}, {}>;
372
+ export declare class FetchNavigationFailed extends FetchNavigationFailed_base {
373
+ }
348
374
  declare const ServiceUnavailableTag_base: S.Literal<["ServiceUnavailable"]>;
349
375
  export declare class ServiceUnavailableTag extends ServiceUnavailableTag_base {
350
376
  }
351
377
  declare const ServiceUnavailable_base: S.Class<ServiceUnavailable, {
378
+ message: S.optionalWith<typeof S.String, {
379
+ nullable: true;
380
+ }>;
381
+ requestId: S.optionalWith<typeof S.String, {
382
+ nullable: true;
383
+ }>;
352
384
  _tag: typeof ServiceUnavailableTag;
353
385
  }, S.Struct.Encoded<{
386
+ message: S.optionalWith<typeof S.String, {
387
+ nullable: true;
388
+ }>;
389
+ requestId: S.optionalWith<typeof S.String, {
390
+ nullable: true;
391
+ }>;
354
392
  _tag: typeof ServiceUnavailableTag;
355
393
  }>, never, {
394
+ readonly message?: string | undefined;
395
+ } & {
396
+ readonly requestId?: string | undefined;
397
+ } & {
356
398
  readonly _tag: "ServiceUnavailable";
357
399
  }, {}, {}>;
358
400
  export declare class ServiceUnavailable extends ServiceUnavailable_base {
359
401
  }
402
+ declare const FetchCaptureTimeoutTag_base: S.Literal<["FetchCaptureTimeout"]>;
403
+ export declare class FetchCaptureTimeoutTag extends FetchCaptureTimeoutTag_base {
404
+ }
405
+ declare const FetchCaptureTimeout_base: S.Class<FetchCaptureTimeout, {
406
+ url: typeof S.String;
407
+ timeoutMs: S.optionalWith<typeof S.Number, {
408
+ nullable: true;
409
+ }>;
410
+ _tag: typeof FetchCaptureTimeoutTag;
411
+ }, S.Struct.Encoded<{
412
+ url: typeof S.String;
413
+ timeoutMs: S.optionalWith<typeof S.Number, {
414
+ nullable: true;
415
+ }>;
416
+ _tag: typeof FetchCaptureTimeoutTag;
417
+ }>, never, {
418
+ readonly timeoutMs?: number | undefined;
419
+ } & {
420
+ readonly _tag: "FetchCaptureTimeout";
421
+ } & {
422
+ readonly url: string;
423
+ }, {}, {}>;
424
+ export declare class FetchCaptureTimeout extends FetchCaptureTimeout_base {
425
+ }
426
+ declare const FetchCapacityTimeoutTag_base: S.Literal<["FetchCapacityTimeout"]>;
427
+ export declare class FetchCapacityTimeoutTag extends FetchCapacityTimeoutTag_base {
428
+ }
429
+ declare const FetchCapacityTimeout_base: S.Class<FetchCapacityTimeout, {
430
+ url: typeof S.String;
431
+ timeoutMs: S.optionalWith<typeof S.Number, {
432
+ nullable: true;
433
+ }>;
434
+ _tag: typeof FetchCapacityTimeoutTag;
435
+ }, S.Struct.Encoded<{
436
+ url: typeof S.String;
437
+ timeoutMs: S.optionalWith<typeof S.Number, {
438
+ nullable: true;
439
+ }>;
440
+ _tag: typeof FetchCapacityTimeoutTag;
441
+ }>, never, {
442
+ readonly timeoutMs?: number | undefined;
443
+ } & {
444
+ readonly _tag: "FetchCapacityTimeout";
445
+ } & {
446
+ readonly url: string;
447
+ }, {}, {}>;
448
+ export declare class FetchCapacityTimeout extends FetchCapacityTimeout_base {
449
+ }
360
450
  declare const FetchFetchJsonParams_base: S.Struct<{
361
451
  include: S.optionalWith<typeof S.String, {
362
452
  nullable: true;
@@ -380,13 +470,6 @@ declare const FetchFetchJsonRequest_base: S.Class<FetchFetchJsonRequest, {
380
470
  }>]>, {
381
471
  nullable: true;
382
472
  }>;
383
- summary: S.optionalWith<S.Union<[typeof S.Boolean, S.Struct<{
384
- prompt: S.optionalWith<S.filter<typeof S.String>, {
385
- nullable: true;
386
- }>;
387
- }>]>, {
388
- nullable: true;
389
- }>;
390
473
  links: S.optionalWith<S.Union<[typeof S.Boolean, S.Struct<{
391
474
  sameDomainOnly: S.optionalWith<typeof S.Boolean, {
392
475
  nullable: true;
@@ -460,13 +543,6 @@ declare const FetchFetchJsonRequest_base: S.Class<FetchFetchJsonRequest, {
460
543
  }>]>, {
461
544
  nullable: true;
462
545
  }>;
463
- summary: S.optionalWith<S.Union<[typeof S.Boolean, S.Struct<{
464
- prompt: S.optionalWith<S.filter<typeof S.String>, {
465
- nullable: true;
466
- }>;
467
- }>]>, {
468
- nullable: true;
469
- }>;
470
546
  links: S.optionalWith<S.Union<[typeof S.Boolean, S.Struct<{
471
547
  sameDomainOnly: S.optionalWith<typeof S.Boolean, {
472
548
  nullable: true;
@@ -525,6 +601,10 @@ declare const FetchFetchJsonRequest_base: S.Class<FetchFetchJsonRequest, {
525
601
  nullable: true;
526
602
  }>;
527
603
  }>, never, {
604
+ readonly browserConfig?: {
605
+ readonly scrollFullPage: boolean;
606
+ } | undefined;
607
+ } & {
528
608
  readonly include?: {
529
609
  readonly html?: boolean | {
530
610
  readonly [x: string]: unknown;
@@ -535,9 +615,6 @@ declare const FetchFetchJsonRequest_base: S.Class<FetchFetchJsonRequest, {
535
615
  readonly screenshot?: boolean | {
536
616
  readonly fullPage?: boolean | undefined;
537
617
  } | undefined;
538
- readonly summary?: boolean | {
539
- readonly prompt?: string | undefined;
540
- } | undefined;
541
618
  readonly links?: boolean | {
542
619
  readonly sameDomainOnly: boolean;
543
620
  readonly includePatterns?: readonly string[] | undefined;
@@ -550,8 +627,6 @@ declare const FetchFetchJsonRequest_base: S.Class<FetchFetchJsonRequest, {
550
627
  readonly json: boolean;
551
628
  readonly appendix?: boolean | undefined;
552
629
  } | undefined;
553
- } & {
554
- readonly url: string;
555
630
  } & {
556
631
  readonly search?: {
557
632
  readonly query: string;
@@ -559,9 +634,7 @@ declare const FetchFetchJsonRequest_base: S.Class<FetchFetchJsonRequest, {
559
634
  readonly minScore: number;
560
635
  } | undefined;
561
636
  } & {
562
- readonly browserConfig?: {
563
- readonly scrollFullPage: boolean;
564
- } | undefined;
637
+ readonly url: string;
565
638
  }, {}, {}>;
566
639
  export declare class FetchFetchJsonRequest extends FetchFetchJsonRequest_base {
567
640
  }
@@ -587,7 +660,9 @@ export declare class FetchObjectModeStateJsonHint extends FetchObjectModeStateJs
587
660
  }
588
661
  declare const FetchObjectModeMarkdownHint_base: S.Struct<{
589
662
  url: typeof S.String;
590
- moreTokens: typeof S.Number;
663
+ moreTokens: S.optionalWith<typeof S.Number, {
664
+ nullable: true;
665
+ }>;
591
666
  }>;
592
667
  export declare class FetchObjectModeMarkdownHint extends FetchObjectModeMarkdownHint_base {
593
668
  }
@@ -650,6 +725,12 @@ export declare class FetchObjectModeEvidenceKind extends FetchObjectModeEvidence
650
725
  declare const FetchObjectModeEvidenceRole_base: S.Literal<["ld+json", "next-data", "nuxt", "apollo-state", "initial-state", "application-json", "script-tag", "data-attribute", "network-json", "network-response", "other"]>;
651
726
  export declare class FetchObjectModeEvidenceRole extends FetchObjectModeEvidenceRole_base {
652
727
  }
728
+ declare const FetchObjectModeEvidenceUrlRedacted_base: S.Literal<[true]>;
729
+ export declare class FetchObjectModeEvidenceUrlRedacted extends FetchObjectModeEvidenceUrlRedacted_base {
730
+ }
731
+ declare const FetchObjectModeEvidenceUrlOmitted_base: S.Literal<["invalid", "unsafe", "too-long"]>;
732
+ export declare class FetchObjectModeEvidenceUrlOmitted extends FetchObjectModeEvidenceUrlOmitted_base {
733
+ }
653
734
  declare const FetchObjectModeEvidence_base: S.Struct<{
654
735
  id: typeof S.Number;
655
736
  kind: typeof FetchObjectModeEvidenceKind;
@@ -667,6 +748,12 @@ declare const FetchObjectModeEvidence_base: S.Struct<{
667
748
  keys: S.optionalWith<S.Array$<typeof S.String>, {
668
749
  nullable: true;
669
750
  }>;
751
+ urlRedacted: S.optionalWith<typeof FetchObjectModeEvidenceUrlRedacted, {
752
+ nullable: true;
753
+ }>;
754
+ urlOmitted: S.optionalWith<typeof FetchObjectModeEvidenceUrlOmitted, {
755
+ nullable: true;
756
+ }>;
670
757
  }>;
671
758
  export declare class FetchObjectModeEvidence extends FetchObjectModeEvidence_base {
672
759
  }
@@ -684,59 +771,37 @@ declare const FetchAssetReference_base: S.Struct<{
684
771
  }>;
685
772
  export declare class FetchAssetReference extends FetchAssetReference_base {
686
773
  }
687
- declare const CaptureTelemetryInfoRequestedStyleMode_base: S.Literal<["compat_full", "native_default"]>;
688
- export declare class CaptureTelemetryInfoRequestedStyleMode extends CaptureTelemetryInfoRequestedStyleMode_base {
774
+ declare const FetchDegradedInfoReason_base: S.Literal<["pageTooLarge", "modelInputTooLarge"]>;
775
+ export declare class FetchDegradedInfoReason extends FetchDegradedInfoReason_base {
689
776
  }
690
- declare const CaptureTelemetryInfoSelected_base: S.Literal<["rust"]>;
691
- export declare class CaptureTelemetryInfoSelected extends CaptureTelemetryInfoSelected_base {
777
+ declare const FetchDegradedInfoLimitKind_base: S.Literal<["domsnapshot_bytes", "ast_bytes", "hfc_tokens"]>;
778
+ export declare class FetchDegradedInfoLimitKind extends FetchDegradedInfoLimitKind_base {
692
779
  }
693
- declare const CaptureTelemetryInfoActual_base: S.Literal<["rust"]>;
694
- export declare class CaptureTelemetryInfoActual extends CaptureTelemetryInfoActual_base {
695
- }
696
- declare const CaptureTelemetryInfoActualStyleMode_base: S.Literal<["compat_full", "native_default"]>;
697
- export declare class CaptureTelemetryInfoActualStyleMode extends CaptureTelemetryInfoActualStyleMode_base {
698
- }
699
- declare const CaptureTelemetryInfoIconBackendDecision_base: S.Literal<["cpu", "remote_gpu"]>;
700
- export declare class CaptureTelemetryInfoIconBackendDecision extends CaptureTelemetryInfoIconBackendDecision_base {
701
- }
702
- declare const CaptureTelemetryInfo_base: S.Struct<{
703
- requestedStyleMode: S.optionalWith<typeof CaptureTelemetryInfoRequestedStyleMode, {
704
- nullable: true;
705
- }>;
706
- selected: typeof CaptureTelemetryInfoSelected;
707
- actual: typeof CaptureTelemetryInfoActual;
708
- actualStyleMode: S.optionalWith<typeof CaptureTelemetryInfoActualStyleMode, {
709
- nullable: true;
710
- }>;
711
- rolloutApplied: typeof S.Boolean;
712
- preparedSessionHit: S.optionalWith<typeof S.Boolean, {
713
- nullable: true;
714
- }>;
715
- nativePoolHit: S.optionalWith<typeof S.Boolean, {
716
- nullable: true;
717
- }>;
718
- nativePoolCapacity: S.optionalWith<typeof S.Number, {
719
- nullable: true;
720
- }>;
721
- nativePoolProfile: S.optionalWith<typeof S.String, {
722
- nullable: true;
723
- }>;
724
- poolHit: S.optionalWith<typeof S.Boolean, {
780
+ declare const FetchDegradedInfo_base: S.Struct<{
781
+ reason: typeof FetchDegradedInfoReason;
782
+ skipped: S.Array$<S.Literal<["hfc"]>>;
783
+ limitKind: typeof FetchDegradedInfoLimitKind;
784
+ measuredBytes: S.optionalWith<S.filter<typeof S.Int>, {
725
785
  nullable: true;
726
786
  }>;
727
- connectMs: S.optionalWith<typeof S.Number, {
787
+ thresholdBytes: S.optionalWith<S.filter<typeof S.Int>, {
728
788
  nullable: true;
729
789
  }>;
730
- warmConnectionAgeMs: S.optionalWith<typeof S.Number, {
790
+ measuredTokens: S.optionalWith<S.filter<typeof S.Int>, {
731
791
  nullable: true;
732
792
  }>;
733
- iconBackendDecision: S.optionalWith<typeof CaptureTelemetryInfoIconBackendDecision, {
793
+ thresholdTokens: S.optionalWith<S.filter<typeof S.Int>, {
734
794
  nullable: true;
735
795
  }>;
736
796
  }>;
737
- export declare class CaptureTelemetryInfo extends CaptureTelemetryInfo_base {
797
+ export declare class FetchDegradedInfo extends FetchDegradedInfo_base {
798
+ }
799
+ export declare class Int extends S.Int {
738
800
  }
739
801
  declare const FetchSearchSnippetLocation_base: S.Struct<{
802
+ evidenceId: S.optionalWith<typeof Int, {
803
+ nullable: true;
804
+ }>;
740
805
  markdownBlockId: S.optionalWith<typeof S.String, {
741
806
  nullable: true;
742
807
  }>;
@@ -755,7 +820,7 @@ export declare class FetchSearchSnippetLocation extends FetchSearchSnippetLocati
755
820
  declare const FetchSearchSourceMetaSource_base: S.Literal<["markdown", "appendix", "statejson"]>;
756
821
  export declare class FetchSearchSourceMetaSource extends FetchSearchSourceMetaSource_base {
757
822
  }
758
- declare const FetchSearchSourceMetaRanker_base: S.Literal<["zeroentropy", "local_lexical"]>;
823
+ declare const FetchSearchSourceMetaRanker_base: S.Literal<["zeroentropy", "mixedbread", "local_lexical"]>;
759
824
  export declare class FetchSearchSourceMetaRanker extends FetchSearchSourceMetaRanker_base {
760
825
  }
761
826
  declare const FetchSearchSourceMetaFallbackReason_base: S.Literal<["timeout", "error"]>;
@@ -808,7 +873,7 @@ declare const FetchObjectModeResult_base: S.Class<FetchObjectModeResult, {
808
873
  assets: S.optionalWith<S.Array$<typeof FetchAssetReference>, {
809
874
  nullable: true;
810
875
  }>;
811
- captureTelemetry: S.optionalWith<typeof CaptureTelemetryInfo, {
876
+ degraded: S.optionalWith<typeof FetchDegradedInfo, {
812
877
  nullable: true;
813
878
  }>;
814
879
  search: S.optionalWith<typeof FetchSearchResult, {
@@ -831,7 +896,7 @@ declare const FetchObjectModeResult_base: S.Class<FetchObjectModeResult, {
831
896
  assets: S.optionalWith<S.Array$<typeof FetchAssetReference>, {
832
897
  nullable: true;
833
898
  }>;
834
- captureTelemetry: S.optionalWith<typeof CaptureTelemetryInfo, {
899
+ degraded: S.optionalWith<typeof FetchDegradedInfo, {
835
900
  nullable: true;
836
901
  }>;
837
902
  search: S.optionalWith<typeof FetchSearchResult, {
@@ -847,23 +912,77 @@ declare const FetchObjectModeResult_base: S.Class<FetchObjectModeResult, {
847
912
  nullable: true;
848
913
  }>;
849
914
  }>, never, {
850
- readonly markdown: string;
851
- } & {
852
- readonly meta: {
853
- readonly url: string;
854
- readonly markdown?: {
855
- readonly url: string;
856
- readonly moreTokens: number;
915
+ readonly data?: {
916
+ readonly assets?: readonly {
917
+ readonly id: string;
918
+ readonly kind: "data-url";
919
+ readonly placeholder: string;
920
+ readonly archiveKey: string;
921
+ readonly mimeType: string;
922
+ readonly sha256: string;
923
+ readonly bytes: number;
924
+ }[] | undefined;
925
+ readonly degraded?: {
926
+ readonly reason: "modelInputTooLarge" | "pageTooLarge";
927
+ readonly skipped: readonly "hfc"[];
928
+ readonly limitKind: "ast_bytes" | "domsnapshot_bytes" | "hfc_tokens";
929
+ readonly measuredBytes?: number | undefined;
930
+ readonly thresholdBytes?: number | undefined;
931
+ readonly measuredTokens?: number | undefined;
932
+ readonly thresholdTokens?: number | undefined;
857
933
  } | undefined;
858
- readonly appendix?: {
934
+ readonly search?: {
935
+ readonly query: string;
936
+ readonly snippets: readonly {
937
+ readonly type: "text";
938
+ readonly source: "appendix" | "markdown" | "statejson";
939
+ readonly text: string;
940
+ readonly score: number;
941
+ readonly location?: {
942
+ readonly evidenceId?: number | undefined;
943
+ readonly markdownBlockId?: string | undefined;
944
+ readonly nodeIds?: readonly number[] | undefined;
945
+ readonly stateJsonSourceId?: number | undefined;
946
+ readonly jsonPath?: string | undefined;
947
+ } | undefined;
948
+ }[];
949
+ readonly meta?: {
950
+ readonly durationMs: number;
951
+ readonly sources: readonly {
952
+ readonly source: "appendix" | "markdown" | "statejson";
953
+ readonly chunkCount: number;
954
+ readonly batchCount: number;
955
+ readonly ranker: "local_lexical" | "mixedbread" | "zeroentropy";
956
+ readonly fallback: boolean;
957
+ readonly fallbackReason?: "error" | "timeout" | undefined;
958
+ readonly durationMs: number;
959
+ }[];
960
+ } | undefined;
961
+ } | undefined;
962
+ readonly screenshot?: {
859
963
  readonly url: string;
860
- readonly links: {
861
- readonly sameDomain: number;
862
- readonly external: number;
863
- };
964
+ readonly fullPage: boolean;
864
965
  } | undefined;
865
- readonly description?: string | undefined;
966
+ } | undefined;
967
+ } & {
968
+ readonly json: readonly {
969
+ readonly id: number;
970
+ readonly kind: "inline" | "network";
971
+ readonly role: "apollo-state" | "application-json" | "data-attribute" | "initial-state" | "ld+json" | "network-json" | "network-response" | "next-data" | "nuxt" | "other" | "script-tag";
972
+ readonly score: number;
973
+ readonly url?: string | undefined;
974
+ readonly method?: string | undefined;
975
+ readonly moreTokens?: number | undefined;
976
+ readonly keys?: readonly string[] | undefined;
977
+ readonly urlRedacted?: true | undefined;
978
+ readonly urlOmitted?: "invalid" | "too-long" | "unsafe" | undefined;
979
+ }[];
980
+ } & {
981
+ readonly markdown: string;
982
+ } & {
983
+ readonly meta: {
866
984
  readonly version: 1;
985
+ readonly url: string;
867
986
  readonly capturedAt: string;
868
987
  readonly snapshotId: string;
869
988
  readonly lang: string;
@@ -872,86 +991,29 @@ declare const FetchObjectModeResult_base: S.Class<FetchObjectModeResult, {
872
991
  readonly title?: string | undefined;
873
992
  readonly finalUrl?: string | undefined;
874
993
  readonly canonical?: string | undefined;
994
+ readonly description?: string | undefined;
875
995
  readonly author?: string | undefined;
876
996
  readonly createdAt?: string | undefined;
877
997
  readonly updatedAt?: string | undefined;
878
998
  readonly image?: string | undefined;
879
999
  readonly paginationNext?: string | undefined;
1000
+ readonly appendix?: {
1001
+ readonly url: string;
1002
+ readonly links: {
1003
+ readonly sameDomain: number;
1004
+ readonly external: number;
1005
+ };
1006
+ } | undefined;
880
1007
  readonly stateJson?: {
881
1008
  readonly moreTokens: number;
882
1009
  } | undefined;
1010
+ readonly markdown?: {
1011
+ readonly url: string;
1012
+ readonly moreTokens?: number | undefined;
1013
+ } | undefined;
883
1014
  readonly blocked?: string | undefined;
884
1015
  readonly loadingStatus?: string | undefined;
885
1016
  };
886
- } & {
887
- readonly json: readonly {
888
- readonly keys?: readonly string[] | undefined;
889
- readonly url?: string | undefined;
890
- readonly moreTokens?: number | undefined;
891
- readonly id: number;
892
- readonly kind: "inline" | "network";
893
- readonly role: "ld+json" | "next-data" | "nuxt" | "apollo-state" | "initial-state" | "application-json" | "script-tag" | "data-attribute" | "network-json" | "network-response" | "other";
894
- readonly score: number;
895
- readonly method?: string | undefined;
896
- }[];
897
- } & {
898
- readonly data?: {
899
- readonly search?: {
900
- readonly meta?: {
901
- readonly durationMs: number;
902
- readonly sources: readonly {
903
- readonly source: "markdown" | "appendix" | "statejson";
904
- readonly chunkCount: number;
905
- readonly batchCount: number;
906
- readonly ranker: "zeroentropy" | "local_lexical";
907
- readonly fallback: boolean;
908
- readonly fallbackReason?: "timeout" | "error" | undefined;
909
- readonly durationMs: number;
910
- }[];
911
- } | undefined;
912
- readonly query: string;
913
- readonly snippets: readonly {
914
- readonly score: number;
915
- readonly source: "markdown" | "appendix" | "statejson";
916
- readonly type: "text";
917
- readonly text: string;
918
- readonly location?: {
919
- readonly markdownBlockId?: string | undefined;
920
- readonly nodeIds?: readonly number[] | undefined;
921
- readonly stateJsonSourceId?: number | undefined;
922
- readonly jsonPath?: string | undefined;
923
- } | undefined;
924
- }[];
925
- } | undefined;
926
- readonly screenshot?: {
927
- readonly url: string;
928
- readonly fullPage: boolean;
929
- } | undefined;
930
- readonly assets?: readonly {
931
- readonly id: string;
932
- readonly kind: "data-url";
933
- readonly placeholder: string;
934
- readonly archiveKey: string;
935
- readonly mimeType: string;
936
- readonly sha256: string;
937
- readonly bytes: number;
938
- }[] | undefined;
939
- readonly captureTelemetry?: {
940
- readonly requestedStyleMode?: "compat_full" | "native_default" | undefined;
941
- readonly selected: "rust";
942
- readonly actual: "rust";
943
- readonly actualStyleMode?: "compat_full" | "native_default" | undefined;
944
- readonly rolloutApplied: boolean;
945
- readonly preparedSessionHit?: boolean | undefined;
946
- readonly nativePoolHit?: boolean | undefined;
947
- readonly nativePoolCapacity?: number | undefined;
948
- readonly nativePoolProfile?: string | undefined;
949
- readonly poolHit?: boolean | undefined;
950
- readonly connectMs?: number | undefined;
951
- readonly warmConnectionAgeMs?: number | undefined;
952
- readonly iconBackendDecision?: "cpu" | "remote_gpu" | undefined;
953
- } | undefined;
954
- } | undefined;
955
1017
  }, {}, {}>;
956
1018
  export declare class FetchObjectModeResult extends FetchObjectModeResult_base {
957
1019
  }
@@ -967,18 +1029,8 @@ declare const FetchFetchJson403_base: S.Union<[S.Struct<{
967
1029
  }>, typeof FetchBlocked]>;
968
1030
  export declare class FetchFetchJson403 extends FetchFetchJson403_base {
969
1031
  }
970
- declare const IncludeHtmlConfig_base: S.Record$<typeof S.String, typeof S.Unknown>;
971
- export declare class IncludeHtmlConfig extends IncludeHtmlConfig_base {
972
- }
973
- declare const IncludeMarkdownConfig_base: S.Record$<typeof S.String, typeof S.Unknown>;
974
- export declare class IncludeMarkdownConfig extends IncludeMarkdownConfig_base {
975
- }
976
- declare const IncludeScreenshotConfig_base: S.Struct<{
977
- fullPage: S.optionalWith<typeof S.Boolean, {
978
- nullable: true;
979
- }>;
980
- }>;
981
- export declare class IncludeScreenshotConfig extends IncludeScreenshotConfig_base {
1032
+ declare const FetchFetchJson413_base: S.Union<[typeof PayloadTooLarge, typeof FetchPageTooLarge]>;
1033
+ export declare class FetchFetchJson413 extends FetchFetchJson413_base {
982
1034
  }
983
1035
  declare const FetchFetchSearchRequest_base: S.Class<FetchFetchSearchRequest, {
984
1036
  snapshotId: S.filter<typeof S.String>;
@@ -994,19 +1046,15 @@ declare const FetchFetchSearchRequest_base: S.Class<FetchFetchSearchRequest, {
994
1046
  }>;
995
1047
  }>;
996
1048
  include: S.optionalWith<S.Struct<{
997
- html: S.optionalWith<S.Union<[typeof S.Boolean, typeof IncludeHtmlConfig]>, {
998
- nullable: true;
999
- }>;
1000
- markdown: S.optionalWith<S.Union<[typeof S.Boolean, typeof IncludeMarkdownConfig]>, {
1049
+ html: S.optionalWith<S.Union<[typeof S.Boolean, S.Record$<typeof S.String, typeof S.Unknown>]>, {
1001
1050
  nullable: true;
1002
1051
  }>;
1003
- screenshot: S.optionalWith<S.Union<[typeof S.Boolean, typeof IncludeScreenshotConfig]>, {
1052
+ markdown: S.optionalWith<S.Union<[typeof S.Boolean, S.Record$<typeof S.String, typeof S.Unknown>]>, {
1004
1053
  nullable: true;
1005
1054
  }>;
1006
- summary: S.optionalWith<S.Union<[typeof S.Boolean, S.Struct<{
1007
- prompt: S.optionalWith<S.filter<typeof S.String>, {
1055
+ screenshot: S.optionalWith<S.Union<[typeof S.Boolean, S.Struct<{
1056
+ fullPage: S.optionalWith<typeof S.Boolean, {
1008
1057
  nullable: true;
1009
- default: () => "You are a helpful assistant that summarizes web page content.\nGiven the markdown content of a web page, provide a clear and concise summary.\nFocus on the main points and key information.\nKeep the summary informative but brief.";
1010
1058
  }>;
1011
1059
  }>]>, {
1012
1060
  nullable: true;
@@ -1061,19 +1109,15 @@ declare const FetchFetchSearchRequest_base: S.Class<FetchFetchSearchRequest, {
1061
1109
  }>;
1062
1110
  }>;
1063
1111
  include: S.optionalWith<S.Struct<{
1064
- html: S.optionalWith<S.Union<[typeof S.Boolean, typeof IncludeHtmlConfig]>, {
1065
- nullable: true;
1066
- }>;
1067
- markdown: S.optionalWith<S.Union<[typeof S.Boolean, typeof IncludeMarkdownConfig]>, {
1112
+ html: S.optionalWith<S.Union<[typeof S.Boolean, S.Record$<typeof S.String, typeof S.Unknown>]>, {
1068
1113
  nullable: true;
1069
1114
  }>;
1070
- screenshot: S.optionalWith<S.Union<[typeof S.Boolean, typeof IncludeScreenshotConfig]>, {
1115
+ markdown: S.optionalWith<S.Union<[typeof S.Boolean, S.Record$<typeof S.String, typeof S.Unknown>]>, {
1071
1116
  nullable: true;
1072
1117
  }>;
1073
- summary: S.optionalWith<S.Union<[typeof S.Boolean, S.Struct<{
1074
- prompt: S.optionalWith<S.filter<typeof S.String>, {
1118
+ screenshot: S.optionalWith<S.Union<[typeof S.Boolean, S.Struct<{
1119
+ fullPage: S.optionalWith<typeof S.Boolean, {
1075
1120
  nullable: true;
1076
- default: () => "You are a helpful assistant that summarizes web page content.\nGiven the markdown content of a web page, provide a clear and concise summary.\nFocus on the main points and key information.\nKeep the summary informative but brief.";
1077
1121
  }>;
1078
1122
  }>]>, {
1079
1123
  nullable: true;
@@ -1125,9 +1169,6 @@ declare const FetchFetchSearchRequest_base: S.Class<FetchFetchSearchRequest, {
1125
1169
  readonly screenshot?: boolean | {
1126
1170
  readonly fullPage?: boolean | undefined;
1127
1171
  } | undefined;
1128
- readonly summary?: boolean | {
1129
- readonly prompt: string;
1130
- } | undefined;
1131
1172
  readonly links?: boolean | {
1132
1173
  readonly sameDomainOnly: boolean;
1133
1174
  readonly includePatterns?: readonly string[] | undefined;
@@ -1175,51 +1216,56 @@ declare const FetchSnapshotSearchResult_base: S.Class<FetchSnapshotSearchResult,
1175
1216
  response: typeof ResponseInfo;
1176
1217
  search: typeof FetchSearchResult;
1177
1218
  durationMs: S.filter<typeof S.Number>;
1219
+ playground: typeof S.String;
1178
1220
  }, S.Struct.Encoded<{
1179
1221
  snapshotId: S.filter<typeof S.String>;
1180
1222
  response: typeof ResponseInfo;
1181
1223
  search: typeof FetchSearchResult;
1182
1224
  durationMs: S.filter<typeof S.Number>;
1225
+ playground: typeof S.String;
1183
1226
  }>, never, {
1227
+ readonly durationMs: number;
1228
+ } & {
1229
+ readonly playground: string;
1230
+ } & {
1231
+ readonly response: {
1232
+ readonly url: string;
1233
+ readonly requestedUrl?: string | undefined;
1234
+ readonly originStatusCode?: number | undefined;
1235
+ readonly redirectStatusCode?: number | undefined;
1236
+ readonly headers?: {} | undefined;
1237
+ };
1238
+ } & {
1184
1239
  readonly search: {
1185
- readonly meta?: {
1186
- readonly durationMs: number;
1187
- readonly sources: readonly {
1188
- readonly source: "markdown" | "appendix" | "statejson";
1189
- readonly chunkCount: number;
1190
- readonly batchCount: number;
1191
- readonly ranker: "zeroentropy" | "local_lexical";
1192
- readonly fallback: boolean;
1193
- readonly fallbackReason?: "timeout" | "error" | undefined;
1194
- readonly durationMs: number;
1195
- }[];
1196
- } | undefined;
1197
1240
  readonly query: string;
1198
1241
  readonly snippets: readonly {
1199
- readonly score: number;
1200
- readonly source: "markdown" | "appendix" | "statejson";
1201
1242
  readonly type: "text";
1243
+ readonly source: "appendix" | "markdown" | "statejson";
1202
1244
  readonly text: string;
1245
+ readonly score: number;
1203
1246
  readonly location?: {
1247
+ readonly evidenceId?: number | undefined;
1204
1248
  readonly markdownBlockId?: string | undefined;
1205
1249
  readonly nodeIds?: readonly number[] | undefined;
1206
1250
  readonly stateJsonSourceId?: number | undefined;
1207
1251
  readonly jsonPath?: string | undefined;
1208
1252
  } | undefined;
1209
1253
  }[];
1210
- };
1211
- } & {
1212
- readonly response: {
1213
- readonly url: string;
1214
- readonly requestedUrl?: string | undefined;
1215
- readonly originStatusCode?: number | undefined;
1216
- readonly redirectStatusCode?: number | undefined;
1217
- readonly headers?: {} | undefined;
1254
+ readonly meta?: {
1255
+ readonly durationMs: number;
1256
+ readonly sources: readonly {
1257
+ readonly source: "appendix" | "markdown" | "statejson";
1258
+ readonly chunkCount: number;
1259
+ readonly batchCount: number;
1260
+ readonly ranker: "local_lexical" | "mixedbread" | "zeroentropy";
1261
+ readonly fallback: boolean;
1262
+ readonly fallbackReason?: "error" | "timeout" | undefined;
1263
+ readonly durationMs: number;
1264
+ }[];
1265
+ } | undefined;
1218
1266
  };
1219
1267
  } & {
1220
1268
  readonly snapshotId: string;
1221
- } & {
1222
- readonly durationMs: number;
1223
1269
  }, {}, {}>;
1224
1270
  export declare class FetchSnapshotSearchResult extends FetchSnapshotSearchResult_base {
1225
1271
  }
@@ -1257,22 +1303,25 @@ declare const FetchSnapshotSearchNotFound_base: S.Class<FetchSnapshotSearchNotFo
1257
1303
  }, {}, {}>;
1258
1304
  export declare class FetchSnapshotSearchNotFound extends FetchSnapshotSearchNotFound_base {
1259
1305
  }
1306
+ declare const FetchBatchedParams_base: S.Struct<{
1307
+ 'x-idempotency-key': S.optionalWith<S.filter<S.filter<typeof S.String>>, {
1308
+ nullable: true;
1309
+ }>;
1310
+ }>;
1311
+ export declare class FetchBatchedParams extends FetchBatchedParams_base {
1312
+ }
1260
1313
  declare const FetchBatchedRequest_base: S.Class<FetchBatchedRequest, {
1261
1314
  urls: S.NonEmptyArray<typeof S.String>;
1262
1315
  include: S.optionalWith<S.Struct<{
1263
- html: S.optionalWith<S.Union<[typeof S.Boolean, typeof IncludeHtmlConfig]>, {
1264
- nullable: true;
1265
- }>;
1266
- markdown: S.optionalWith<S.Union<[typeof S.Boolean, typeof IncludeMarkdownConfig]>, {
1316
+ html: S.optionalWith<S.Union<[typeof S.Boolean, S.Record$<typeof S.String, typeof S.Unknown>]>, {
1267
1317
  nullable: true;
1268
1318
  }>;
1269
- screenshot: S.optionalWith<S.Union<[typeof S.Boolean, typeof IncludeScreenshotConfig]>, {
1319
+ markdown: S.optionalWith<S.Union<[typeof S.Boolean, S.Record$<typeof S.String, typeof S.Unknown>]>, {
1270
1320
  nullable: true;
1271
1321
  }>;
1272
- summary: S.optionalWith<S.Union<[typeof S.Boolean, S.Struct<{
1273
- prompt: S.optionalWith<S.filter<typeof S.String>, {
1322
+ screenshot: S.optionalWith<S.Union<[typeof S.Boolean, S.Struct<{
1323
+ fullPage: S.optionalWith<typeof S.Boolean, {
1274
1324
  nullable: true;
1275
- default: () => "You are a helpful assistant that summarizes web page content.\nGiven the markdown content of a web page, provide a clear and concise summary.\nFocus on the main points and key information.\nKeep the summary informative but brief.";
1276
1325
  }>;
1277
1326
  }>]>, {
1278
1327
  nullable: true;
@@ -1324,19 +1373,15 @@ declare const FetchBatchedRequest_base: S.Class<FetchBatchedRequest, {
1324
1373
  }, S.Struct.Encoded<{
1325
1374
  urls: S.NonEmptyArray<typeof S.String>;
1326
1375
  include: S.optionalWith<S.Struct<{
1327
- html: S.optionalWith<S.Union<[typeof S.Boolean, typeof IncludeHtmlConfig]>, {
1328
- nullable: true;
1329
- }>;
1330
- markdown: S.optionalWith<S.Union<[typeof S.Boolean, typeof IncludeMarkdownConfig]>, {
1376
+ html: S.optionalWith<S.Union<[typeof S.Boolean, S.Record$<typeof S.String, typeof S.Unknown>]>, {
1331
1377
  nullable: true;
1332
1378
  }>;
1333
- screenshot: S.optionalWith<S.Union<[typeof S.Boolean, typeof IncludeScreenshotConfig]>, {
1379
+ markdown: S.optionalWith<S.Union<[typeof S.Boolean, S.Record$<typeof S.String, typeof S.Unknown>]>, {
1334
1380
  nullable: true;
1335
1381
  }>;
1336
- summary: S.optionalWith<S.Union<[typeof S.Boolean, S.Struct<{
1337
- prompt: S.optionalWith<S.filter<typeof S.String>, {
1382
+ screenshot: S.optionalWith<S.Union<[typeof S.Boolean, S.Struct<{
1383
+ fullPage: S.optionalWith<typeof S.Boolean, {
1338
1384
  nullable: true;
1339
- default: () => "You are a helpful assistant that summarizes web page content.\nGiven the markdown content of a web page, provide a clear and concise summary.\nFocus on the main points and key information.\nKeep the summary informative but brief.";
1340
1385
  }>;
1341
1386
  }>]>, {
1342
1387
  nullable: true;
@@ -1386,6 +1431,10 @@ declare const FetchBatchedRequest_base: S.Class<FetchBatchedRequest, {
1386
1431
  nullable: true;
1387
1432
  }>;
1388
1433
  }>, never, {
1434
+ readonly browserConfig?: {
1435
+ readonly scrollFullPage: boolean;
1436
+ } | undefined;
1437
+ } & {
1389
1438
  readonly include?: {
1390
1439
  readonly html?: boolean | {
1391
1440
  readonly [x: string]: unknown;
@@ -1396,9 +1445,6 @@ declare const FetchBatchedRequest_base: S.Class<FetchBatchedRequest, {
1396
1445
  readonly screenshot?: boolean | {
1397
1446
  readonly fullPage?: boolean | undefined;
1398
1447
  } | undefined;
1399
- readonly summary?: boolean | {
1400
- readonly prompt: string;
1401
- } | undefined;
1402
1448
  readonly links?: boolean | {
1403
1449
  readonly sameDomainOnly: boolean;
1404
1450
  readonly includePatterns?: readonly string[] | undefined;
@@ -1411,10 +1457,6 @@ declare const FetchBatchedRequest_base: S.Class<FetchBatchedRequest, {
1411
1457
  readonly json: boolean;
1412
1458
  readonly appendix?: boolean | undefined;
1413
1459
  } | undefined;
1414
- } & {
1415
- readonly browserConfig?: {
1416
- readonly scrollFullPage: boolean;
1417
- } | undefined;
1418
1460
  } & {
1419
1461
  readonly urls: readonly [string, ...string[]];
1420
1462
  }, {}, {}>;
@@ -1444,6 +1486,29 @@ declare const FetchBatched403_base: S.Struct<{
1444
1486
  }>;
1445
1487
  export declare class FetchBatched403 extends FetchBatched403_base {
1446
1488
  }
1489
+ declare const BatchedIdempotencyConflictReason_base: S.Literal<["payload_mismatch"]>;
1490
+ export declare class BatchedIdempotencyConflictReason extends BatchedIdempotencyConflictReason_base {
1491
+ }
1492
+ declare const BatchedIdempotencyConflictTag_base: S.Literal<["BatchedIdempotencyConflict"]>;
1493
+ export declare class BatchedIdempotencyConflictTag extends BatchedIdempotencyConflictTag_base {
1494
+ }
1495
+ declare const BatchedIdempotencyConflict_base: S.Class<BatchedIdempotencyConflict, {
1496
+ existingRunId: typeof S.String;
1497
+ reason: typeof BatchedIdempotencyConflictReason;
1498
+ _tag: typeof BatchedIdempotencyConflictTag;
1499
+ }, S.Struct.Encoded<{
1500
+ existingRunId: typeof S.String;
1501
+ reason: typeof BatchedIdempotencyConflictReason;
1502
+ _tag: typeof BatchedIdempotencyConflictTag;
1503
+ }>, never, {
1504
+ readonly _tag: "BatchedIdempotencyConflict";
1505
+ } & {
1506
+ readonly existingRunId: string;
1507
+ } & {
1508
+ readonly reason: "payload_mismatch";
1509
+ }, {}, {}>;
1510
+ export declare class BatchedIdempotencyConflict extends BatchedIdempotencyConflict_base {
1511
+ }
1447
1512
  declare const FetchGetBatchedParams_base: S.Struct<{
1448
1513
  limit: S.optionalWith<typeof S.String, {
1449
1514
  nullable: true;
@@ -1457,12 +1522,15 @@ declare const FetchGetBatchedParams_base: S.Struct<{
1457
1522
  }>;
1458
1523
  export declare class FetchGetBatchedParams extends FetchGetBatchedParams_base {
1459
1524
  }
1460
- declare const BatchedStatusStatus_base: S.Literal<["QUEUED", "RUNNING", "COMPLETED", "FAILED", "CANCELLED"]>;
1525
+ declare const BatchedStatusStatus_base: S.Literal<["QUEUED", "RUNNING", "CANCELLING", "COMPLETED", "FAILED", "CANCELLED"]>;
1461
1526
  export declare class BatchedStatusStatus extends BatchedStatusStatus_base {
1462
1527
  }
1463
- declare const BatchedStatusBatchedStatus_base: S.Literal<["QUEUED", "RUNNING", "COMPLETED", "FAILED", "CANCELLED"]>;
1528
+ declare const BatchedStatusBatchedStatus_base: S.Literal<["QUEUED", "RUNNING", "CANCELLING", "COMPLETED", "FAILED", "CANCELLED"]>;
1464
1529
  export declare class BatchedStatusBatchedStatus extends BatchedStatusBatchedStatus_base {
1465
1530
  }
1531
+ declare const BatchedFetchItemStatus_base: S.Literal<["QUEUED", "RUNNING", "SUCCEEDED", "FAILED", "CANCELLED"]>;
1532
+ export declare class BatchedFetchItemStatus extends BatchedFetchItemStatus_base {
1533
+ }
1466
1534
  declare const IconMeta_base: S.Struct<{
1467
1535
  href: S.filter<typeof S.String>;
1468
1536
  rel: S.filter<typeof S.String>;
@@ -1597,6 +1665,58 @@ declare const RenderEnginesInfo_base: S.Struct<{
1597
1665
  }>;
1598
1666
  export declare class RenderEnginesInfo extends RenderEnginesInfo_base {
1599
1667
  }
1668
+ declare const BatchedFetchItem_base: S.Struct<{
1669
+ status: typeof BatchedFetchItemStatus;
1670
+ data: S.optionalWith<S.Struct<{
1671
+ response: typeof ResponseInfo;
1672
+ meta: S.optionalWith<typeof PageMeta, {
1673
+ nullable: true;
1674
+ }>;
1675
+ json: S.optionalWith<S.Array$<S.Struct<{}>>, {
1676
+ nullable: true;
1677
+ }>;
1678
+ snapshotId: S.optionalWith<typeof NonEmptyString, {
1679
+ nullable: true;
1680
+ }>;
1681
+ html: S.optionalWith<S.filter<typeof S.String>, {
1682
+ nullable: true;
1683
+ }>;
1684
+ markdown: S.optionalWith<S.filter<typeof S.String>, {
1685
+ nullable: true;
1686
+ }>;
1687
+ screenshot: S.optionalWith<S.Struct<{
1688
+ url: typeof S.String;
1689
+ fullPage: typeof S.Boolean;
1690
+ }>, {
1691
+ nullable: true;
1692
+ }>;
1693
+ search: S.optionalWith<typeof FetchSearchResult, {
1694
+ nullable: true;
1695
+ }>;
1696
+ links: S.optionalWith<S.Array$<typeof FetchLink>, {
1697
+ nullable: true;
1698
+ }>;
1699
+ appendix: S.optionalWith<S.filter<typeof S.String>, {
1700
+ nullable: true;
1701
+ }>;
1702
+ renderEngines: S.optionalWith<typeof RenderEnginesInfo, {
1703
+ nullable: true;
1704
+ }>;
1705
+ assets: S.optionalWith<S.Array$<typeof FetchAssetReference>, {
1706
+ nullable: true;
1707
+ }>;
1708
+ degraded: S.optionalWith<typeof FetchDegradedInfo, {
1709
+ nullable: true;
1710
+ }>;
1711
+ }>, {
1712
+ nullable: true;
1713
+ }>;
1714
+ error: S.optionalWith<S.Union<[typeof FetchBlocked, typeof FetchPageTooLarge, typeof FetchNavigationFailed, typeof FetchCaptureTimeout, typeof FetchCapacityTimeout]>, {
1715
+ nullable: true;
1716
+ }>;
1717
+ }>;
1718
+ export declare class BatchedFetchItem extends BatchedFetchItem_base {
1719
+ }
1600
1720
  declare const PaginationMeta_base: S.Struct<{
1601
1721
  total: typeof S.Number;
1602
1722
  limit: typeof S.Number;
@@ -1610,195 +1730,55 @@ declare const BatchedStatus_base: S.Class<BatchedStatus, {
1610
1730
  status: typeof BatchedStatusStatus;
1611
1731
  batchedStatus: typeof BatchedStatusBatchedStatus;
1612
1732
  totalUrls: typeof S.Number;
1613
- results: S.Array$<S.Struct<{
1614
- data: S.Struct<{
1615
- response: typeof ResponseInfo;
1616
- meta: S.optionalWith<typeof PageMeta, {
1617
- nullable: true;
1618
- }>;
1619
- json: S.optionalWith<S.Array$<S.Struct<{}>>, {
1620
- nullable: true;
1621
- }>;
1622
- snapshotId: S.optionalWith<typeof NonEmptyString, {
1623
- nullable: true;
1624
- }>;
1625
- html: S.optionalWith<S.filter<typeof S.String>, {
1626
- nullable: true;
1627
- }>;
1628
- markdown: S.optionalWith<S.filter<typeof S.String>, {
1629
- nullable: true;
1630
- }>;
1631
- screenshot: S.optionalWith<S.Struct<{
1632
- url: typeof S.String;
1633
- fullPage: typeof S.Boolean;
1634
- }>, {
1635
- nullable: true;
1636
- }>;
1637
- summary: S.optionalWith<S.filter<typeof S.String>, {
1638
- nullable: true;
1639
- }>;
1640
- search: S.optionalWith<typeof FetchSearchResult, {
1641
- nullable: true;
1642
- }>;
1643
- links: S.optionalWith<S.Array$<typeof FetchLink>, {
1644
- nullable: true;
1645
- }>;
1646
- appendix: S.optionalWith<S.filter<typeof S.String>, {
1647
- nullable: true;
1648
- }>;
1649
- renderEngines: S.optionalWith<typeof RenderEnginesInfo, {
1650
- nullable: true;
1651
- }>;
1652
- captureTelemetry: S.optionalWith<typeof CaptureTelemetryInfo, {
1653
- nullable: true;
1654
- }>;
1655
- assets: S.optionalWith<S.Array$<typeof FetchAssetReference>, {
1656
- nullable: true;
1657
- }>;
1658
- blocked: S.optionalWith<S.Struct<{
1659
- blockedType: S.optionalWith<typeof S.String, {
1660
- nullable: true;
1661
- }>;
1662
- }>, {
1663
- nullable: true;
1664
- }>;
1665
- }>;
1666
- }>>;
1733
+ results: S.Array$<typeof BatchedFetchItem>;
1667
1734
  pagination: typeof PaginationMeta;
1668
1735
  }, S.Struct.Encoded<{
1669
1736
  id: typeof S.String;
1670
1737
  status: typeof BatchedStatusStatus;
1671
1738
  batchedStatus: typeof BatchedStatusBatchedStatus;
1672
1739
  totalUrls: typeof S.Number;
1673
- results: S.Array$<S.Struct<{
1674
- data: S.Struct<{
1675
- response: typeof ResponseInfo;
1676
- meta: S.optionalWith<typeof PageMeta, {
1677
- nullable: true;
1678
- }>;
1679
- json: S.optionalWith<S.Array$<S.Struct<{}>>, {
1680
- nullable: true;
1681
- }>;
1682
- snapshotId: S.optionalWith<typeof NonEmptyString, {
1683
- nullable: true;
1684
- }>;
1685
- html: S.optionalWith<S.filter<typeof S.String>, {
1686
- nullable: true;
1687
- }>;
1688
- markdown: S.optionalWith<S.filter<typeof S.String>, {
1689
- nullable: true;
1690
- }>;
1691
- screenshot: S.optionalWith<S.Struct<{
1692
- url: typeof S.String;
1693
- fullPage: typeof S.Boolean;
1694
- }>, {
1695
- nullable: true;
1696
- }>;
1697
- summary: S.optionalWith<S.filter<typeof S.String>, {
1698
- nullable: true;
1699
- }>;
1700
- search: S.optionalWith<typeof FetchSearchResult, {
1701
- nullable: true;
1702
- }>;
1703
- links: S.optionalWith<S.Array$<typeof FetchLink>, {
1704
- nullable: true;
1705
- }>;
1706
- appendix: S.optionalWith<S.filter<typeof S.String>, {
1707
- nullable: true;
1708
- }>;
1709
- renderEngines: S.optionalWith<typeof RenderEnginesInfo, {
1710
- nullable: true;
1711
- }>;
1712
- captureTelemetry: S.optionalWith<typeof CaptureTelemetryInfo, {
1713
- nullable: true;
1714
- }>;
1715
- assets: S.optionalWith<S.Array$<typeof FetchAssetReference>, {
1716
- nullable: true;
1717
- }>;
1718
- blocked: S.optionalWith<S.Struct<{
1719
- blockedType: S.optionalWith<typeof S.String, {
1720
- nullable: true;
1721
- }>;
1722
- }>, {
1723
- nullable: true;
1724
- }>;
1725
- }>;
1726
- }>>;
1740
+ results: S.Array$<typeof BatchedFetchItem>;
1727
1741
  pagination: typeof PaginationMeta;
1728
1742
  }>, never, {
1729
- readonly status: "QUEUED" | "RUNNING" | "COMPLETED" | "FAILED" | "CANCELLED";
1743
+ readonly batchedStatus: "CANCELLED" | "CANCELLING" | "COMPLETED" | "FAILED" | "QUEUED" | "RUNNING";
1730
1744
  } & {
1731
1745
  readonly id: string;
1732
- } & {
1733
- readonly batchedStatus: "QUEUED" | "RUNNING" | "COMPLETED" | "FAILED" | "CANCELLED";
1734
- } & {
1735
- readonly totalUrls: number;
1736
1746
  } & {
1737
1747
  readonly pagination: {
1748
+ readonly total: number;
1738
1749
  readonly limit: number;
1739
1750
  readonly offset: number;
1740
- readonly total: number;
1741
1751
  readonly hasMore: boolean;
1742
1752
  };
1743
1753
  } & {
1744
1754
  readonly results: readonly {
1745
- readonly data: {
1746
- readonly search?: {
1747
- readonly meta?: {
1748
- readonly durationMs: number;
1749
- readonly sources: readonly {
1750
- readonly source: "markdown" | "appendix" | "statejson";
1751
- readonly chunkCount: number;
1752
- readonly batchCount: number;
1753
- readonly ranker: "zeroentropy" | "local_lexical";
1754
- readonly fallback: boolean;
1755
- readonly fallbackReason?: "timeout" | "error" | undefined;
1756
- readonly durationMs: number;
1757
- }[];
1758
- } | undefined;
1759
- readonly query: string;
1760
- readonly snippets: readonly {
1761
- readonly score: number;
1762
- readonly source: "markdown" | "appendix" | "statejson";
1763
- readonly type: "text";
1764
- readonly text: string;
1765
- readonly location?: {
1766
- readonly markdownBlockId?: string | undefined;
1767
- readonly nodeIds?: readonly number[] | undefined;
1768
- readonly stateJsonSourceId?: number | undefined;
1769
- readonly jsonPath?: string | undefined;
1770
- } | undefined;
1771
- }[];
1772
- } | undefined;
1773
- readonly html?: string | undefined;
1774
- readonly markdown?: string | undefined;
1775
- readonly screenshot?: {
1776
- readonly url: string;
1777
- readonly fullPage: boolean;
1778
- } | undefined;
1779
- readonly summary?: string | undefined;
1780
- readonly links?: readonly {
1755
+ readonly status: "CANCELLED" | "FAILED" | "QUEUED" | "RUNNING" | "SUCCEEDED";
1756
+ readonly data?: {
1757
+ readonly response: {
1781
1758
  readonly url: string;
1782
- readonly text?: string | undefined;
1783
- }[] | undefined;
1759
+ readonly requestedUrl?: string | undefined;
1760
+ readonly originStatusCode?: number | undefined;
1761
+ readonly redirectStatusCode?: number | undefined;
1762
+ readonly headers?: {} | undefined;
1763
+ };
1784
1764
  readonly meta?: {
1785
- readonly description?: string | undefined;
1786
1765
  readonly title?: string | undefined;
1766
+ readonly description?: string | undefined;
1787
1767
  readonly canonicalUrl?: string | undefined;
1788
1768
  readonly language?: string | undefined;
1789
1769
  readonly charset?: string | undefined;
1790
1770
  readonly favicon?: string | undefined;
1791
1771
  readonly icons?: readonly {
1792
- readonly type?: string | undefined;
1793
1772
  readonly href: string;
1794
1773
  readonly rel: string;
1774
+ readonly type?: string | undefined;
1795
1775
  readonly sizes?: string | undefined;
1796
1776
  }[] | undefined;
1797
1777
  readonly openGraph?: {
1798
- readonly url?: string | undefined;
1799
- readonly description?: string | undefined;
1800
1778
  readonly title?: string | undefined;
1779
+ readonly description?: string | undefined;
1801
1780
  readonly type?: string | undefined;
1781
+ readonly url?: string | undefined;
1802
1782
  readonly siteName?: string | undefined;
1803
1783
  readonly locale?: string | undefined;
1804
1784
  readonly images?: readonly {
@@ -1809,26 +1789,59 @@ declare const BatchedStatus_base: S.Class<BatchedStatus, {
1809
1789
  }[] | undefined;
1810
1790
  } | undefined;
1811
1791
  readonly twitter?: {
1812
- readonly description?: string | undefined;
1813
- readonly title?: string | undefined;
1814
- readonly image?: string | undefined;
1815
1792
  readonly card?: string | undefined;
1816
1793
  readonly site?: string | undefined;
1817
1794
  readonly creator?: string | undefined;
1795
+ readonly title?: string | undefined;
1796
+ readonly description?: string | undefined;
1797
+ readonly image?: string | undefined;
1818
1798
  } | undefined;
1819
1799
  } | undefined;
1820
- readonly response: {
1821
- readonly url: string;
1822
- readonly requestedUrl?: string | undefined;
1823
- readonly originStatusCode?: number | undefined;
1824
- readonly redirectStatusCode?: number | undefined;
1825
- readonly headers?: {} | undefined;
1826
- };
1827
1800
  readonly json?: readonly {}[] | undefined;
1828
- readonly appendix?: string | undefined;
1829
1801
  readonly snapshotId?: string | undefined;
1830
- readonly blocked?: {
1831
- readonly blockedType?: string | undefined;
1802
+ readonly html?: string | undefined;
1803
+ readonly markdown?: string | undefined;
1804
+ readonly screenshot?: {
1805
+ readonly url: string;
1806
+ readonly fullPage: boolean;
1807
+ } | undefined;
1808
+ readonly search?: {
1809
+ readonly query: string;
1810
+ readonly snippets: readonly {
1811
+ readonly type: "text";
1812
+ readonly source: "appendix" | "markdown" | "statejson";
1813
+ readonly text: string;
1814
+ readonly score: number;
1815
+ readonly location?: {
1816
+ readonly evidenceId?: number | undefined;
1817
+ readonly markdownBlockId?: string | undefined;
1818
+ readonly nodeIds?: readonly number[] | undefined;
1819
+ readonly stateJsonSourceId?: number | undefined;
1820
+ readonly jsonPath?: string | undefined;
1821
+ } | undefined;
1822
+ }[];
1823
+ readonly meta?: {
1824
+ readonly durationMs: number;
1825
+ readonly sources: readonly {
1826
+ readonly source: "appendix" | "markdown" | "statejson";
1827
+ readonly chunkCount: number;
1828
+ readonly batchCount: number;
1829
+ readonly ranker: "local_lexical" | "mixedbread" | "zeroentropy";
1830
+ readonly fallback: boolean;
1831
+ readonly fallbackReason?: "error" | "timeout" | undefined;
1832
+ readonly durationMs: number;
1833
+ }[];
1834
+ } | undefined;
1835
+ } | undefined;
1836
+ readonly links?: readonly {
1837
+ readonly url: string;
1838
+ readonly text?: string | undefined;
1839
+ }[] | undefined;
1840
+ readonly appendix?: string | undefined;
1841
+ readonly renderEngines?: {
1842
+ readonly capture?: "rust" | undefined;
1843
+ readonly markdown?: "rust" | undefined;
1844
+ readonly tree?: "rust" | undefined;
1832
1845
  } | undefined;
1833
1846
  readonly assets?: readonly {
1834
1847
  readonly id: string;
@@ -1839,28 +1852,32 @@ declare const BatchedStatus_base: S.Class<BatchedStatus, {
1839
1852
  readonly sha256: string;
1840
1853
  readonly bytes: number;
1841
1854
  }[] | undefined;
1842
- readonly captureTelemetry?: {
1843
- readonly requestedStyleMode?: "compat_full" | "native_default" | undefined;
1844
- readonly selected: "rust";
1845
- readonly actual: "rust";
1846
- readonly actualStyleMode?: "compat_full" | "native_default" | undefined;
1847
- readonly rolloutApplied: boolean;
1848
- readonly preparedSessionHit?: boolean | undefined;
1849
- readonly nativePoolHit?: boolean | undefined;
1850
- readonly nativePoolCapacity?: number | undefined;
1851
- readonly nativePoolProfile?: string | undefined;
1852
- readonly poolHit?: boolean | undefined;
1853
- readonly connectMs?: number | undefined;
1854
- readonly warmConnectionAgeMs?: number | undefined;
1855
- readonly iconBackendDecision?: "cpu" | "remote_gpu" | undefined;
1855
+ readonly degraded?: {
1856
+ readonly reason: "modelInputTooLarge" | "pageTooLarge";
1857
+ readonly skipped: readonly "hfc"[];
1858
+ readonly limitKind: "ast_bytes" | "domsnapshot_bytes" | "hfc_tokens";
1859
+ readonly measuredBytes?: number | undefined;
1860
+ readonly thresholdBytes?: number | undefined;
1861
+ readonly measuredTokens?: number | undefined;
1862
+ readonly thresholdTokens?: number | undefined;
1856
1863
  } | undefined;
1857
- readonly renderEngines?: {
1858
- readonly markdown?: "rust" | undefined;
1859
- readonly capture?: "rust" | undefined;
1860
- readonly tree?: "rust" | undefined;
1861
- } | undefined;
1862
- };
1864
+ } | undefined;
1865
+ readonly error?: FetchCapacityTimeout | FetchCaptureTimeout | FetchNavigationFailed | {
1866
+ readonly url: string;
1867
+ readonly blockedType?: string | undefined;
1868
+ readonly _tag: "FetchBlocked";
1869
+ } | {
1870
+ readonly url: string;
1871
+ readonly limitKind?: "ast_bytes" | "domsnapshot_bytes" | "transfer_bytes" | undefined;
1872
+ readonly limitBytes?: number | undefined;
1873
+ readonly measuredBytes?: number | undefined;
1874
+ readonly _tag: "FetchPageTooLarge";
1875
+ } | undefined;
1863
1876
  }[];
1877
+ } & {
1878
+ readonly status: "CANCELLED" | "CANCELLING" | "COMPLETED" | "FAILED" | "QUEUED" | "RUNNING";
1879
+ } & {
1880
+ readonly totalUrls: number;
1864
1881
  }, {}, {}>;
1865
1882
  export declare class BatchedStatus extends BatchedStatus_base {
1866
1883
  }
@@ -1876,6 +1893,45 @@ export declare class BatchedIncludeUnsupported extends BatchedIncludeUnsupported
1876
1893
  declare const FetchGetBatched400_base: S.Union<[typeof HttpApiDecodeError, typeof BatchedIncludeUnsupported]>;
1877
1894
  export declare class FetchGetBatched400 extends FetchGetBatched400_base {
1878
1895
  }
1896
+ declare const BatchedCancellationStatus_base: S.Literal<["CANCELLING", "CANCELLED"]>;
1897
+ export declare class BatchedCancellationStatus extends BatchedCancellationStatus_base {
1898
+ }
1899
+ declare const BatchedCancellation_base: S.Class<BatchedCancellation, {
1900
+ id: typeof S.String;
1901
+ status: typeof BatchedCancellationStatus;
1902
+ }, S.Struct.Encoded<{
1903
+ id: typeof S.String;
1904
+ status: typeof BatchedCancellationStatus;
1905
+ }>, never, {
1906
+ readonly id: string;
1907
+ } & {
1908
+ readonly status: "CANCELLED" | "CANCELLING";
1909
+ }, {}, {}>;
1910
+ export declare class BatchedCancellation extends BatchedCancellation_base {
1911
+ }
1912
+ declare const BatchedCancellationConflictStatus_base: S.Literal<["COMPLETED", "FAILED"]>;
1913
+ export declare class BatchedCancellationConflictStatus extends BatchedCancellationConflictStatus_base {
1914
+ }
1915
+ declare const BatchedCancellationConflictTag_base: S.Literal<["BatchedCancellationConflict"]>;
1916
+ export declare class BatchedCancellationConflictTag extends BatchedCancellationConflictTag_base {
1917
+ }
1918
+ declare const BatchedCancellationConflict_base: S.Class<BatchedCancellationConflict, {
1919
+ id: typeof S.String;
1920
+ status: typeof BatchedCancellationConflictStatus;
1921
+ _tag: typeof BatchedCancellationConflictTag;
1922
+ }, S.Struct.Encoded<{
1923
+ id: typeof S.String;
1924
+ status: typeof BatchedCancellationConflictStatus;
1925
+ _tag: typeof BatchedCancellationConflictTag;
1926
+ }>, never, {
1927
+ readonly _tag: "BatchedCancellationConflict";
1928
+ } & {
1929
+ readonly id: string;
1930
+ } & {
1931
+ readonly status: "COMPLETED" | "FAILED";
1932
+ }, {}, {}>;
1933
+ export declare class BatchedCancellationConflict extends BatchedCancellationConflict_base {
1934
+ }
1879
1935
  export declare const make: (httpClient: HttpClient.HttpClient, options?: {
1880
1936
  readonly transformClient?: ((client: HttpClient.HttpClient) => Effect.Effect<HttpClient.HttpClient>) | undefined;
1881
1937
  }) => Client;
@@ -1883,14 +1939,18 @@ export interface Client {
1883
1939
  readonly fetchFetch: (options: {
1884
1940
  readonly params: typeof FetchFetchParams.Encoded;
1885
1941
  readonly payload: typeof FetchFetchRequest.Encoded;
1886
- }) => Effect.Effect<void, HttpClientError.HttpClientError | ParseError | typeof FetchFetch400.Type | typeof AuthFailed.Type | typeof FetchFetch403.Type | typeof PayloadTooLarge.Type | typeof TooManyRequests.Type | typeof InternalError.Type | typeof ServiceUnavailable.Type>;
1942
+ }) => Effect.Effect<void, HttpClientError.HttpClientError | ParseError | typeof FetchFetch400.Type | typeof AuthFailed.Type | typeof FetchFetch403.Type | typeof FetchFetch413.Type | typeof TooManyRequests.Type | typeof InternalError.Type | typeof FetchNavigationFailed.Type | typeof ServiceUnavailable.Type | typeof FetchCaptureTimeout.Type | typeof FetchCapacityTimeout.Type>;
1887
1943
  readonly fetchFetchJson: (options: {
1888
1944
  readonly params: typeof FetchFetchJsonParams.Encoded;
1889
1945
  readonly payload: typeof FetchFetchJsonRequest.Encoded;
1890
- }) => Effect.Effect<typeof FetchObjectModeResult.Type, HttpClientError.HttpClientError | ParseError | typeof FetchFetchJson400.Type | typeof AuthFailed.Type | typeof FetchFetchJson403.Type | typeof PayloadTooLarge.Type | typeof TooManyRequests.Type | typeof InternalError.Type | typeof ServiceUnavailable.Type>;
1946
+ }) => Effect.Effect<typeof FetchObjectModeResult.Type, HttpClientError.HttpClientError | ParseError | typeof FetchFetchJson400.Type | typeof AuthFailed.Type | typeof FetchFetchJson403.Type | typeof FetchFetchJson413.Type | typeof TooManyRequests.Type | typeof InternalError.Type | typeof FetchNavigationFailed.Type | typeof ServiceUnavailable.Type | typeof FetchCaptureTimeout.Type | typeof FetchCapacityTimeout.Type>;
1891
1947
  readonly fetchFetchSearch: (options: typeof FetchFetchSearchRequest.Encoded) => Effect.Effect<typeof FetchSnapshotSearchResult.Type, HttpClientError.HttpClientError | ParseError | typeof FetchFetchSearch400.Type | typeof AuthFailed.Type | typeof FetchFetchSearch403.Type | typeof FetchSnapshotSearchNotFound.Type | typeof PayloadTooLarge.Type | typeof TooManyRequests.Type | typeof InternalError.Type | typeof ServiceUnavailable.Type>;
1892
- readonly fetchBatched: (options: typeof FetchBatchedRequest.Encoded) => Effect.Effect<typeof BatchedRun.Type, HttpClientError.HttpClientError | ParseError | typeof FetchBatched400.Type | typeof AuthFailed.Type | typeof FetchBatched403.Type | typeof PayloadTooLarge.Type | typeof TooManyRequests.Type | typeof InternalError.Type | typeof ServiceUnavailable.Type>;
1948
+ readonly fetchBatched: (options: {
1949
+ readonly params: typeof FetchBatchedParams.Encoded;
1950
+ readonly payload: typeof FetchBatchedRequest.Encoded;
1951
+ }) => Effect.Effect<typeof BatchedRun.Type, HttpClientError.HttpClientError | ParseError | typeof FetchBatched400.Type | typeof AuthFailed.Type | typeof FetchBatched403.Type | typeof BatchedIdempotencyConflict.Type | typeof PayloadTooLarge.Type | typeof TooManyRequests.Type | typeof InternalError.Type | typeof ServiceUnavailable.Type>;
1893
1952
  readonly fetchGetBatched: (id: string, options: typeof FetchGetBatchedParams.Encoded) => Effect.Effect<typeof BatchedStatus.Type, HttpClientError.HttpClientError | ParseError | typeof FetchGetBatched400.Type | typeof AuthFailed.Type | typeof PayloadTooLarge.Type | typeof TooManyRequests.Type | typeof InternalError.Type | typeof ServiceUnavailable.Type>;
1953
+ readonly fetchCancelBatched: (id: string) => Effect.Effect<typeof BatchedCancellation.Type, HttpClientError.HttpClientError | ParseError | typeof HttpApiDecodeError.Type | typeof AuthFailed.Type | typeof BatchedCancellationConflict.Type | typeof PayloadTooLarge.Type | typeof TooManyRequests.Type | typeof InternalError.Type | typeof ServiceUnavailable.Type>;
1894
1954
  }
1895
1955
  export {};
1896
1956
  //# sourceMappingURL=Generated.d.ts.map