@bubblelab/bubble-core 0.1.39 → 0.1.40

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 (63) hide show
  1. package/dist/bubble-bundle.d.ts +81 -81
  2. package/dist/bubbles/service-bubble/agi-inc.d.ts +114 -114
  3. package/dist/bubbles/service-bubble/ai-agent.d.ts +70 -70
  4. package/dist/bubbles/service-bubble/ai-agent.d.ts.map +1 -1
  5. package/dist/bubbles/service-bubble/ai-agent.js +5 -0
  6. package/dist/bubbles/service-bubble/ai-agent.js.map +1 -1
  7. package/dist/bubbles/service-bubble/airtable.d.ts +122 -122
  8. package/dist/bubbles/service-bubble/apify/apify.d.ts +12 -12
  9. package/dist/bubbles/service-bubble/ashby/ashby.d.ts +144 -144
  10. package/dist/bubbles/service-bubble/browserbase/browserbase.d.ts +51 -51
  11. package/dist/bubbles/service-bubble/crustdata/crustdata.d.ts +84 -84
  12. package/dist/bubbles/service-bubble/eleven-labs.d.ts +56 -56
  13. package/dist/bubbles/service-bubble/firecrawl.d.ts +835 -835
  14. package/dist/bubbles/service-bubble/followupboss.d.ts +474 -474
  15. package/dist/bubbles/service-bubble/fullenrich/fullenrich.d.ts +275 -275
  16. package/dist/bubbles/service-bubble/github.d.ts +196 -196
  17. package/dist/bubbles/service-bubble/gmail.d.ts +138 -138
  18. package/dist/bubbles/service-bubble/google-calendar.d.ts +136 -136
  19. package/dist/bubbles/service-bubble/google-drive.d.ts +144 -144
  20. package/dist/bubbles/service-bubble/google-sheets/google-sheets.d.ts +68 -68
  21. package/dist/bubbles/service-bubble/hello-world.d.ts +4 -4
  22. package/dist/bubbles/service-bubble/http.d.ts +12 -12
  23. package/dist/bubbles/service-bubble/insforge-db.d.ts +4 -4
  24. package/dist/bubbles/service-bubble/jira/jira.d.ts +59 -59
  25. package/dist/bubbles/service-bubble/notion/notion.d.ts +244 -244
  26. package/dist/bubbles/service-bubble/postgresql.d.ts +4 -4
  27. package/dist/bubbles/service-bubble/resend.d.ts +16 -16
  28. package/dist/bubbles/service-bubble/slack/slack.d.ts +442 -442
  29. package/dist/bubbles/service-bubble/storage.d.ts +60 -60
  30. package/dist/bubbles/service-bubble/telegram.d.ts +414 -414
  31. package/dist/bubbles/tool-bubble/amazon-shopping-tool/amazon-shopping-tool.d.ts +26 -26
  32. package/dist/bubbles/tool-bubble/bubbleflow-validation-tool.d.ts +4 -4
  33. package/dist/bubbles/tool-bubble/chart-js-tool.d.ts +4 -4
  34. package/dist/bubbles/tool-bubble/code-edit-tool.d.ts +4 -4
  35. package/dist/bubbles/tool-bubble/company-enrichment-tool.d.ts +66 -66
  36. package/dist/bubbles/tool-bubble/get-bubble-details-tool.d.ts +4 -4
  37. package/dist/bubbles/tool-bubble/get-trigger-detail-tool.d.ts +4 -4
  38. package/dist/bubbles/tool-bubble/google-maps-tool.d.ts +28 -28
  39. package/dist/bubbles/tool-bubble/instagram-tool.d.ts +16 -16
  40. package/dist/bubbles/tool-bubble/linkedin-tool.d.ts +422 -422
  41. package/dist/bubbles/tool-bubble/list-bubbles-tool.d.ts +8 -8
  42. package/dist/bubbles/tool-bubble/people-search-tool.d.ts +108 -108
  43. package/dist/bubbles/tool-bubble/reddit-scrape-tool.d.ts +26 -26
  44. package/dist/bubbles/tool-bubble/research-agent-tool.d.ts +8 -8
  45. package/dist/bubbles/tool-bubble/sql-query-tool.d.ts +8 -8
  46. package/dist/bubbles/tool-bubble/tiktok-tool.d.ts +24 -24
  47. package/dist/bubbles/tool-bubble/tool-template.d.ts +4 -4
  48. package/dist/bubbles/tool-bubble/twitter-tool.d.ts +113 -113
  49. package/dist/bubbles/tool-bubble/web-crawl-tool.d.ts +4 -4
  50. package/dist/bubbles/tool-bubble/web-extract-tool.d.ts +4 -4
  51. package/dist/bubbles/tool-bubble/web-scrape-tool.d.ts +4 -4
  52. package/dist/bubbles/tool-bubble/web-search-tool.d.ts +12 -12
  53. package/dist/bubbles/tool-bubble/youtube-tool.d.ts +8 -8
  54. package/dist/bubbles/workflow-bubble/database-analyzer.workflow.d.ts +4 -4
  55. package/dist/bubbles/workflow-bubble/generate-document.workflow.d.ts +4 -4
  56. package/dist/bubbles/workflow-bubble/parse-document.workflow.d.ts +4 -4
  57. package/dist/bubbles/workflow-bubble/pdf-form-operations.workflow.d.ts +90 -90
  58. package/dist/bubbles/workflow-bubble/pdf-ocr.workflow.d.ts +8 -8
  59. package/dist/bubbles/workflow-bubble/slack-data-assistant.workflow.d.ts +6 -6
  60. package/dist/bubbles/workflow-bubble/slack-formatter-agent.d.ts +66 -66
  61. package/dist/bubbles/workflow-bubble/slack-notifier.workflow.d.ts +8 -8
  62. package/dist/bubbles.json +1 -1
  63. package/package.json +2 -2
@@ -10,9 +10,9 @@ declare const FirecrawlParamsSchema: z.ZodDiscriminatedUnion<"operation", [z.Zod
10
10
  formats: z.ZodDefault<z.ZodArray<z.ZodUnion<[z.ZodEnum<["markdown", "html", "rawHtml", "links", "images", "screenshot", "summary", "changeTracking", "json", "attributes", "branding"]>, z.ZodObject<{
11
11
  type: z.ZodEnum<["markdown", "html", "rawHtml", "links", "images", "screenshot", "summary", "changeTracking", "json", "attributes", "branding"]>;
12
12
  }, "strip", z.ZodTypeAny, {
13
- type: "summary" | "images" | "html" | "json" | "screenshot" | "markdown" | "rawHtml" | "links" | "attributes" | "changeTracking" | "branding";
13
+ type: "images" | "summary" | "html" | "json" | "screenshot" | "markdown" | "rawHtml" | "links" | "attributes" | "changeTracking" | "branding";
14
14
  }, {
15
- type: "summary" | "images" | "html" | "json" | "screenshot" | "markdown" | "rawHtml" | "links" | "attributes" | "changeTracking" | "branding";
15
+ type: "images" | "summary" | "html" | "json" | "screenshot" | "markdown" | "rawHtml" | "links" | "attributes" | "changeTracking" | "branding";
16
16
  }>, z.ZodObject<{
17
17
  type: z.ZodLiteral<"json">;
18
18
  prompt: z.ZodOptional<z.ZodString>;
@@ -35,14 +35,14 @@ declare const FirecrawlParamsSchema: z.ZodDiscriminatedUnion<"operation", [z.Zod
35
35
  type: "changeTracking";
36
36
  modes: ("json" | "git-diff")[];
37
37
  schema?: Record<string, unknown> | undefined;
38
- tag?: string | undefined;
39
38
  prompt?: string | undefined;
39
+ tag?: string | undefined;
40
40
  }, {
41
41
  type: "changeTracking";
42
42
  modes: ("json" | "git-diff")[];
43
43
  schema?: Record<string, unknown> | undefined;
44
- tag?: string | undefined;
45
44
  prompt?: string | undefined;
45
+ tag?: string | undefined;
46
46
  }>, z.ZodObject<{
47
47
  type: z.ZodLiteral<"screenshot">;
48
48
  fullPage: z.ZodOptional<z.ZodBoolean>;
@@ -218,12 +218,12 @@ declare const FirecrawlParamsSchema: z.ZodDiscriminatedUnion<"operation", [z.Zod
218
218
  scale: z.ZodOptional<z.ZodNumber>;
219
219
  }, "strip", z.ZodTypeAny, {
220
220
  type: "pdf";
221
- format?: "Legal" | "A0" | "A1" | "A2" | "A3" | "A4" | "A5" | "A6" | "Letter" | "Tabloid" | "Ledger" | undefined;
221
+ format?: "A0" | "A1" | "A2" | "A3" | "A4" | "A5" | "A6" | "Letter" | "Legal" | "Tabloid" | "Ledger" | undefined;
222
222
  scale?: number | undefined;
223
223
  landscape?: boolean | undefined;
224
224
  }, {
225
225
  type: "pdf";
226
- format?: "Legal" | "A0" | "A1" | "A2" | "A3" | "A4" | "A5" | "A6" | "Letter" | "Tabloid" | "Ledger" | undefined;
226
+ format?: "A0" | "A1" | "A2" | "A3" | "A4" | "A5" | "A6" | "Letter" | "Legal" | "Tabloid" | "Ledger" | undefined;
227
227
  scale?: number | undefined;
228
228
  landscape?: boolean | undefined;
229
229
  }>]>, "many">>;
@@ -231,11 +231,11 @@ declare const FirecrawlParamsSchema: z.ZodDiscriminatedUnion<"operation", [z.Zod
231
231
  country: z.ZodOptional<z.ZodString>;
232
232
  languages: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
233
233
  }, "strip", z.ZodTypeAny, {
234
- languages?: string[] | undefined;
235
234
  country?: string | undefined;
236
- }, {
237
235
  languages?: string[] | undefined;
236
+ }, {
238
237
  country?: string | undefined;
238
+ languages?: string[] | undefined;
239
239
  }>>;
240
240
  skipTlsVerification: z.ZodOptional<z.ZodBoolean>;
241
241
  removeBase64Images: z.ZodOptional<z.ZodBoolean>;
@@ -250,11 +250,11 @@ declare const FirecrawlParamsSchema: z.ZodDiscriminatedUnion<"operation", [z.Zod
250
250
  operation: z.ZodLiteral<"scrape">;
251
251
  url: z.ZodString;
252
252
  }, "strip", z.ZodTypeAny, {
253
- operation: "scrape";
254
253
  url: string;
255
254
  timeout: number;
256
- formats: ("summary" | "images" | "html" | "json" | "screenshot" | "markdown" | "rawHtml" | "links" | "attributes" | "changeTracking" | "branding" | {
257
- type: "summary" | "images" | "html" | "json" | "screenshot" | "markdown" | "rawHtml" | "links" | "attributes" | "changeTracking" | "branding";
255
+ operation: "scrape";
256
+ formats: ("images" | "summary" | "html" | "json" | "screenshot" | "markdown" | "rawHtml" | "links" | "attributes" | "changeTracking" | "branding" | {
257
+ type: "images" | "summary" | "html" | "json" | "screenshot" | "markdown" | "rawHtml" | "links" | "attributes" | "changeTracking" | "branding";
258
258
  } | {
259
259
  type: "json";
260
260
  schema?: any;
@@ -263,8 +263,8 @@ declare const FirecrawlParamsSchema: z.ZodDiscriminatedUnion<"operation", [z.Zod
263
263
  type: "changeTracking";
264
264
  modes: ("json" | "git-diff")[];
265
265
  schema?: Record<string, unknown> | undefined;
266
- tag?: string | undefined;
267
266
  prompt?: string | undefined;
267
+ tag?: string | undefined;
268
268
  } | {
269
269
  type: "screenshot";
270
270
  quality?: number | undefined;
@@ -283,12 +283,8 @@ declare const FirecrawlParamsSchema: z.ZodDiscriminatedUnion<"operation", [z.Zod
283
283
  onlyMainContent: boolean;
284
284
  waitFor: number;
285
285
  maxAge: number;
286
- credentials?: Partial<Record<CredentialType, string>> | undefined;
287
- location?: {
288
- languages?: string[] | undefined;
289
- country?: string | undefined;
290
- } | undefined;
291
286
  maxRetries?: number | undefined;
287
+ credentials?: Partial<Record<CredentialType, string>> | undefined;
292
288
  headers?: Record<string, string> | undefined;
293
289
  includeTags?: string[] | undefined;
294
290
  excludeTags?: string[] | undefined;
@@ -324,11 +320,15 @@ declare const FirecrawlParamsSchema: z.ZodDiscriminatedUnion<"operation", [z.Zod
324
320
  script: string;
325
321
  } | {
326
322
  type: "pdf";
327
- format?: "Legal" | "A0" | "A1" | "A2" | "A3" | "A4" | "A5" | "A6" | "Letter" | "Tabloid" | "Ledger" | undefined;
323
+ format?: "A0" | "A1" | "A2" | "A3" | "A4" | "A5" | "A6" | "Letter" | "Legal" | "Tabloid" | "Ledger" | undefined;
328
324
  scale?: number | undefined;
329
325
  landscape?: boolean | undefined;
330
326
  })[] | undefined;
331
327
  mobile?: boolean | undefined;
328
+ location?: {
329
+ country?: string | undefined;
330
+ languages?: string[] | undefined;
331
+ } | undefined;
332
332
  integration?: string | undefined;
333
333
  parsers?: (string | {
334
334
  type: "pdf";
@@ -343,14 +343,10 @@ declare const FirecrawlParamsSchema: z.ZodDiscriminatedUnion<"operation", [z.Zod
343
343
  storeInCache?: boolean | undefined;
344
344
  backoffFactor?: number | undefined;
345
345
  }, {
346
- operation: "scrape";
347
346
  url: string;
348
- credentials?: Partial<Record<CredentialType, string>> | undefined;
349
- location?: {
350
- languages?: string[] | undefined;
351
- country?: string | undefined;
352
- } | undefined;
347
+ operation: "scrape";
353
348
  maxRetries?: number | undefined;
349
+ credentials?: Partial<Record<CredentialType, string>> | undefined;
354
350
  timeout?: number | undefined;
355
351
  headers?: Record<string, string> | undefined;
356
352
  includeTags?: string[] | undefined;
@@ -387,14 +383,18 @@ declare const FirecrawlParamsSchema: z.ZodDiscriminatedUnion<"operation", [z.Zod
387
383
  script: string;
388
384
  } | {
389
385
  type: "pdf";
390
- format?: "Legal" | "A0" | "A1" | "A2" | "A3" | "A4" | "A5" | "A6" | "Letter" | "Tabloid" | "Ledger" | undefined;
386
+ format?: "A0" | "A1" | "A2" | "A3" | "A4" | "A5" | "A6" | "Letter" | "Legal" | "Tabloid" | "Ledger" | undefined;
391
387
  scale?: number | undefined;
392
388
  landscape?: boolean | undefined;
393
389
  })[] | undefined;
394
390
  mobile?: boolean | undefined;
391
+ location?: {
392
+ country?: string | undefined;
393
+ languages?: string[] | undefined;
394
+ } | undefined;
395
395
  integration?: string | undefined;
396
- formats?: ("summary" | "images" | "html" | "json" | "screenshot" | "markdown" | "rawHtml" | "links" | "attributes" | "changeTracking" | "branding" | {
397
- type: "summary" | "images" | "html" | "json" | "screenshot" | "markdown" | "rawHtml" | "links" | "attributes" | "changeTracking" | "branding";
396
+ formats?: ("images" | "summary" | "html" | "json" | "screenshot" | "markdown" | "rawHtml" | "links" | "attributes" | "changeTracking" | "branding" | {
397
+ type: "images" | "summary" | "html" | "json" | "screenshot" | "markdown" | "rawHtml" | "links" | "attributes" | "changeTracking" | "branding";
398
398
  } | {
399
399
  type: "json";
400
400
  schema?: any;
@@ -403,8 +403,8 @@ declare const FirecrawlParamsSchema: z.ZodDiscriminatedUnion<"operation", [z.Zod
403
403
  type: "changeTracking";
404
404
  modes: ("json" | "git-diff")[];
405
405
  schema?: Record<string, unknown> | undefined;
406
- tag?: string | undefined;
407
406
  prompt?: string | undefined;
407
+ tag?: string | undefined;
408
408
  } | {
409
409
  type: "screenshot";
410
410
  quality?: number | undefined;
@@ -465,9 +465,9 @@ declare const FirecrawlParamsSchema: z.ZodDiscriminatedUnion<"operation", [z.Zod
465
465
  formats: z.ZodDefault<z.ZodArray<z.ZodUnion<[z.ZodEnum<["markdown", "html", "rawHtml", "links", "images", "screenshot", "summary", "changeTracking", "json", "attributes", "branding"]>, z.ZodObject<{
466
466
  type: z.ZodEnum<["markdown", "html", "rawHtml", "links", "images", "screenshot", "summary", "changeTracking", "json", "attributes", "branding"]>;
467
467
  }, "strip", z.ZodTypeAny, {
468
- type: "summary" | "images" | "html" | "json" | "screenshot" | "markdown" | "rawHtml" | "links" | "attributes" | "changeTracking" | "branding";
468
+ type: "images" | "summary" | "html" | "json" | "screenshot" | "markdown" | "rawHtml" | "links" | "attributes" | "changeTracking" | "branding";
469
469
  }, {
470
- type: "summary" | "images" | "html" | "json" | "screenshot" | "markdown" | "rawHtml" | "links" | "attributes" | "changeTracking" | "branding";
470
+ type: "images" | "summary" | "html" | "json" | "screenshot" | "markdown" | "rawHtml" | "links" | "attributes" | "changeTracking" | "branding";
471
471
  }>, z.ZodObject<{
472
472
  type: z.ZodLiteral<"json">;
473
473
  prompt: z.ZodOptional<z.ZodString>;
@@ -490,14 +490,14 @@ declare const FirecrawlParamsSchema: z.ZodDiscriminatedUnion<"operation", [z.Zod
490
490
  type: "changeTracking";
491
491
  modes: ("json" | "git-diff")[];
492
492
  schema?: Record<string, unknown> | undefined;
493
- tag?: string | undefined;
494
493
  prompt?: string | undefined;
494
+ tag?: string | undefined;
495
495
  }, {
496
496
  type: "changeTracking";
497
497
  modes: ("json" | "git-diff")[];
498
498
  schema?: Record<string, unknown> | undefined;
499
- tag?: string | undefined;
500
499
  prompt?: string | undefined;
500
+ tag?: string | undefined;
501
501
  }>, z.ZodObject<{
502
502
  type: z.ZodLiteral<"screenshot">;
503
503
  fullPage: z.ZodOptional<z.ZodBoolean>;
@@ -673,12 +673,12 @@ declare const FirecrawlParamsSchema: z.ZodDiscriminatedUnion<"operation", [z.Zod
673
673
  scale: z.ZodOptional<z.ZodNumber>;
674
674
  }, "strip", z.ZodTypeAny, {
675
675
  type: "pdf";
676
- format?: "Legal" | "A0" | "A1" | "A2" | "A3" | "A4" | "A5" | "A6" | "Letter" | "Tabloid" | "Ledger" | undefined;
676
+ format?: "A0" | "A1" | "A2" | "A3" | "A4" | "A5" | "A6" | "Letter" | "Legal" | "Tabloid" | "Ledger" | undefined;
677
677
  scale?: number | undefined;
678
678
  landscape?: boolean | undefined;
679
679
  }, {
680
680
  type: "pdf";
681
- format?: "Legal" | "A0" | "A1" | "A2" | "A3" | "A4" | "A5" | "A6" | "Letter" | "Tabloid" | "Ledger" | undefined;
681
+ format?: "A0" | "A1" | "A2" | "A3" | "A4" | "A5" | "A6" | "Letter" | "Legal" | "Tabloid" | "Ledger" | undefined;
682
682
  scale?: number | undefined;
683
683
  landscape?: boolean | undefined;
684
684
  }>]>, "many">>;
@@ -686,11 +686,11 @@ declare const FirecrawlParamsSchema: z.ZodDiscriminatedUnion<"operation", [z.Zod
686
686
  country: z.ZodOptional<z.ZodString>;
687
687
  languages: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
688
688
  }, "strip", z.ZodTypeAny, {
689
- languages?: string[] | undefined;
690
689
  country?: string | undefined;
691
- }, {
692
690
  languages?: string[] | undefined;
691
+ }, {
693
692
  country?: string | undefined;
693
+ languages?: string[] | undefined;
694
694
  }>>;
695
695
  skipTlsVerification: z.ZodOptional<z.ZodBoolean>;
696
696
  removeBase64Images: z.ZodOptional<z.ZodBoolean>;
@@ -703,8 +703,8 @@ declare const FirecrawlParamsSchema: z.ZodDiscriminatedUnion<"operation", [z.Zod
703
703
  integration: z.ZodOptional<z.ZodString>;
704
704
  }, "strip", z.ZodTypeAny, {
705
705
  timeout: number;
706
- formats: ("summary" | "images" | "html" | "json" | "screenshot" | "markdown" | "rawHtml" | "links" | "attributes" | "changeTracking" | "branding" | {
707
- type: "summary" | "images" | "html" | "json" | "screenshot" | "markdown" | "rawHtml" | "links" | "attributes" | "changeTracking" | "branding";
706
+ formats: ("images" | "summary" | "html" | "json" | "screenshot" | "markdown" | "rawHtml" | "links" | "attributes" | "changeTracking" | "branding" | {
707
+ type: "images" | "summary" | "html" | "json" | "screenshot" | "markdown" | "rawHtml" | "links" | "attributes" | "changeTracking" | "branding";
708
708
  } | {
709
709
  type: "json";
710
710
  schema?: any;
@@ -713,8 +713,8 @@ declare const FirecrawlParamsSchema: z.ZodDiscriminatedUnion<"operation", [z.Zod
713
713
  type: "changeTracking";
714
714
  modes: ("json" | "git-diff")[];
715
715
  schema?: Record<string, unknown> | undefined;
716
- tag?: string | undefined;
717
716
  prompt?: string | undefined;
717
+ tag?: string | undefined;
718
718
  } | {
719
719
  type: "screenshot";
720
720
  quality?: number | undefined;
@@ -733,10 +733,64 @@ declare const FirecrawlParamsSchema: z.ZodDiscriminatedUnion<"operation", [z.Zod
733
733
  onlyMainContent: boolean;
734
734
  waitFor: number;
735
735
  maxAge: number;
736
+ headers?: Record<string, string> | undefined;
737
+ includeTags?: string[] | undefined;
738
+ excludeTags?: string[] | undefined;
739
+ actions?: ({
740
+ type: "wait";
741
+ selector?: string | undefined;
742
+ milliseconds?: number | undefined;
743
+ } | {
744
+ type: "screenshot";
745
+ quality?: number | undefined;
746
+ fullPage?: boolean | undefined;
747
+ viewport?: {
748
+ width: number;
749
+ height: number;
750
+ } | undefined;
751
+ } | {
752
+ type: "click";
753
+ selector: string;
754
+ } | {
755
+ type: "write";
756
+ text: string;
757
+ } | {
758
+ type: "press";
759
+ key: string;
760
+ } | {
761
+ type: "scroll";
762
+ direction: "up" | "down";
763
+ selector?: string | undefined;
764
+ } | {
765
+ type: "scrape";
766
+ } | {
767
+ type: "executeJavascript";
768
+ script: string;
769
+ } | {
770
+ type: "pdf";
771
+ format?: "A0" | "A1" | "A2" | "A3" | "A4" | "A5" | "A6" | "Letter" | "Legal" | "Tabloid" | "Ledger" | undefined;
772
+ scale?: number | undefined;
773
+ landscape?: boolean | undefined;
774
+ })[] | undefined;
775
+ mobile?: boolean | undefined;
736
776
  location?: {
737
- languages?: string[] | undefined;
738
777
  country?: string | undefined;
778
+ languages?: string[] | undefined;
739
779
  } | undefined;
780
+ integration?: string | undefined;
781
+ parsers?: (string | {
782
+ type: "pdf";
783
+ maxPages?: number | undefined;
784
+ })[] | undefined;
785
+ skipTlsVerification?: boolean | undefined;
786
+ removeBase64Images?: boolean | undefined;
787
+ fastMode?: boolean | undefined;
788
+ useMock?: string | undefined;
789
+ blockAds?: boolean | undefined;
790
+ proxy?: string | undefined;
791
+ storeInCache?: boolean | undefined;
792
+ }, {
793
+ timeout?: number | undefined;
740
794
  headers?: Record<string, string> | undefined;
741
795
  includeTags?: string[] | undefined;
742
796
  excludeTags?: string[] | undefined;
@@ -772,12 +826,45 @@ declare const FirecrawlParamsSchema: z.ZodDiscriminatedUnion<"operation", [z.Zod
772
826
  script: string;
773
827
  } | {
774
828
  type: "pdf";
775
- format?: "Legal" | "A0" | "A1" | "A2" | "A3" | "A4" | "A5" | "A6" | "Letter" | "Tabloid" | "Ledger" | undefined;
829
+ format?: "A0" | "A1" | "A2" | "A3" | "A4" | "A5" | "A6" | "Letter" | "Legal" | "Tabloid" | "Ledger" | undefined;
776
830
  scale?: number | undefined;
777
831
  landscape?: boolean | undefined;
778
832
  })[] | undefined;
779
833
  mobile?: boolean | undefined;
834
+ location?: {
835
+ country?: string | undefined;
836
+ languages?: string[] | undefined;
837
+ } | undefined;
780
838
  integration?: string | undefined;
839
+ formats?: ("images" | "summary" | "html" | "json" | "screenshot" | "markdown" | "rawHtml" | "links" | "attributes" | "changeTracking" | "branding" | {
840
+ type: "images" | "summary" | "html" | "json" | "screenshot" | "markdown" | "rawHtml" | "links" | "attributes" | "changeTracking" | "branding";
841
+ } | {
842
+ type: "json";
843
+ schema?: any;
844
+ prompt?: string | undefined;
845
+ } | {
846
+ type: "changeTracking";
847
+ modes: ("json" | "git-diff")[];
848
+ schema?: Record<string, unknown> | undefined;
849
+ prompt?: string | undefined;
850
+ tag?: string | undefined;
851
+ } | {
852
+ type: "screenshot";
853
+ quality?: number | undefined;
854
+ fullPage?: boolean | undefined;
855
+ viewport?: {
856
+ width: number;
857
+ height: number;
858
+ } | undefined;
859
+ } | {
860
+ type: "attributes";
861
+ selectors: {
862
+ selector: string;
863
+ attribute: string;
864
+ }[];
865
+ })[] | undefined;
866
+ onlyMainContent?: boolean | undefined;
867
+ waitFor?: number | undefined;
781
868
  parsers?: (string | {
782
869
  type: "pdf";
783
870
  maxPages?: number | undefined;
@@ -788,12 +875,136 @@ declare const FirecrawlParamsSchema: z.ZodDiscriminatedUnion<"operation", [z.Zod
788
875
  useMock?: string | undefined;
789
876
  blockAds?: boolean | undefined;
790
877
  proxy?: string | undefined;
878
+ maxAge?: number | undefined;
791
879
  storeInCache?: boolean | undefined;
792
- }, {
880
+ }>>;
881
+ integration: z.ZodOptional<z.ZodString>;
882
+ }, "strip", z.ZodTypeAny, {
883
+ query: string;
884
+ operation: "search";
885
+ maxRetries?: number | undefined;
886
+ credentials?: Partial<Record<CredentialType, string>> | undefined;
887
+ timeout?: number | undefined;
888
+ limit?: number | undefined;
889
+ location?: string | undefined;
890
+ categories?: ("github" | "pdf" | "research" | {
891
+ type: "github" | "pdf" | "research";
892
+ })[] | undefined;
893
+ integration?: string | undefined;
894
+ backoffFactor?: number | undefined;
895
+ sources?: ("images" | "web" | "news" | {
896
+ type: "images" | "web" | "news";
897
+ })[] | undefined;
898
+ tbs?: string | undefined;
899
+ ignoreInvalidURLs?: boolean | undefined;
900
+ scrapeOptions?: {
901
+ timeout: number;
902
+ formats: ("images" | "summary" | "html" | "json" | "screenshot" | "markdown" | "rawHtml" | "links" | "attributes" | "changeTracking" | "branding" | {
903
+ type: "images" | "summary" | "html" | "json" | "screenshot" | "markdown" | "rawHtml" | "links" | "attributes" | "changeTracking" | "branding";
904
+ } | {
905
+ type: "json";
906
+ schema?: any;
907
+ prompt?: string | undefined;
908
+ } | {
909
+ type: "changeTracking";
910
+ modes: ("json" | "git-diff")[];
911
+ schema?: Record<string, unknown> | undefined;
912
+ prompt?: string | undefined;
913
+ tag?: string | undefined;
914
+ } | {
915
+ type: "screenshot";
916
+ quality?: number | undefined;
917
+ fullPage?: boolean | undefined;
918
+ viewport?: {
919
+ width: number;
920
+ height: number;
921
+ } | undefined;
922
+ } | {
923
+ type: "attributes";
924
+ selectors: {
925
+ selector: string;
926
+ attribute: string;
927
+ }[];
928
+ })[];
929
+ onlyMainContent: boolean;
930
+ waitFor: number;
931
+ maxAge: number;
932
+ headers?: Record<string, string> | undefined;
933
+ includeTags?: string[] | undefined;
934
+ excludeTags?: string[] | undefined;
935
+ actions?: ({
936
+ type: "wait";
937
+ selector?: string | undefined;
938
+ milliseconds?: number | undefined;
939
+ } | {
940
+ type: "screenshot";
941
+ quality?: number | undefined;
942
+ fullPage?: boolean | undefined;
943
+ viewport?: {
944
+ width: number;
945
+ height: number;
946
+ } | undefined;
947
+ } | {
948
+ type: "click";
949
+ selector: string;
950
+ } | {
951
+ type: "write";
952
+ text: string;
953
+ } | {
954
+ type: "press";
955
+ key: string;
956
+ } | {
957
+ type: "scroll";
958
+ direction: "up" | "down";
959
+ selector?: string | undefined;
960
+ } | {
961
+ type: "scrape";
962
+ } | {
963
+ type: "executeJavascript";
964
+ script: string;
965
+ } | {
966
+ type: "pdf";
967
+ format?: "A0" | "A1" | "A2" | "A3" | "A4" | "A5" | "A6" | "Letter" | "Legal" | "Tabloid" | "Ledger" | undefined;
968
+ scale?: number | undefined;
969
+ landscape?: boolean | undefined;
970
+ })[] | undefined;
971
+ mobile?: boolean | undefined;
793
972
  location?: {
794
- languages?: string[] | undefined;
795
973
  country?: string | undefined;
974
+ languages?: string[] | undefined;
796
975
  } | undefined;
976
+ integration?: string | undefined;
977
+ parsers?: (string | {
978
+ type: "pdf";
979
+ maxPages?: number | undefined;
980
+ })[] | undefined;
981
+ skipTlsVerification?: boolean | undefined;
982
+ removeBase64Images?: boolean | undefined;
983
+ fastMode?: boolean | undefined;
984
+ useMock?: string | undefined;
985
+ blockAds?: boolean | undefined;
986
+ proxy?: string | undefined;
987
+ storeInCache?: boolean | undefined;
988
+ } | undefined;
989
+ }, {
990
+ query: string;
991
+ operation: "search";
992
+ maxRetries?: number | undefined;
993
+ credentials?: Partial<Record<CredentialType, string>> | undefined;
994
+ timeout?: number | undefined;
995
+ limit?: number | undefined;
996
+ location?: string | undefined;
997
+ categories?: ("github" | "pdf" | "research" | {
998
+ type: "github" | "pdf" | "research";
999
+ })[] | undefined;
1000
+ integration?: string | undefined;
1001
+ backoffFactor?: number | undefined;
1002
+ sources?: ("images" | "web" | "news" | {
1003
+ type: "images" | "web" | "news";
1004
+ })[] | undefined;
1005
+ tbs?: string | undefined;
1006
+ ignoreInvalidURLs?: boolean | undefined;
1007
+ scrapeOptions?: {
797
1008
  timeout?: number | undefined;
798
1009
  headers?: Record<string, string> | undefined;
799
1010
  includeTags?: string[] | undefined;
@@ -830,229 +1041,18 @@ declare const FirecrawlParamsSchema: z.ZodDiscriminatedUnion<"operation", [z.Zod
830
1041
  script: string;
831
1042
  } | {
832
1043
  type: "pdf";
833
- format?: "Legal" | "A0" | "A1" | "A2" | "A3" | "A4" | "A5" | "A6" | "Letter" | "Tabloid" | "Ledger" | undefined;
1044
+ format?: "A0" | "A1" | "A2" | "A3" | "A4" | "A5" | "A6" | "Letter" | "Legal" | "Tabloid" | "Ledger" | undefined;
834
1045
  scale?: number | undefined;
835
1046
  landscape?: boolean | undefined;
836
1047
  })[] | undefined;
837
1048
  mobile?: boolean | undefined;
838
- integration?: string | undefined;
839
- formats?: ("summary" | "images" | "html" | "json" | "screenshot" | "markdown" | "rawHtml" | "links" | "attributes" | "changeTracking" | "branding" | {
840
- type: "summary" | "images" | "html" | "json" | "screenshot" | "markdown" | "rawHtml" | "links" | "attributes" | "changeTracking" | "branding";
841
- } | {
842
- type: "json";
843
- schema?: any;
844
- prompt?: string | undefined;
845
- } | {
846
- type: "changeTracking";
847
- modes: ("json" | "git-diff")[];
848
- schema?: Record<string, unknown> | undefined;
849
- tag?: string | undefined;
850
- prompt?: string | undefined;
851
- } | {
852
- type: "screenshot";
853
- quality?: number | undefined;
854
- fullPage?: boolean | undefined;
855
- viewport?: {
856
- width: number;
857
- height: number;
858
- } | undefined;
859
- } | {
860
- type: "attributes";
861
- selectors: {
862
- selector: string;
863
- attribute: string;
864
- }[];
865
- })[] | undefined;
866
- onlyMainContent?: boolean | undefined;
867
- waitFor?: number | undefined;
868
- parsers?: (string | {
869
- type: "pdf";
870
- maxPages?: number | undefined;
871
- })[] | undefined;
872
- skipTlsVerification?: boolean | undefined;
873
- removeBase64Images?: boolean | undefined;
874
- fastMode?: boolean | undefined;
875
- useMock?: string | undefined;
876
- blockAds?: boolean | undefined;
877
- proxy?: string | undefined;
878
- maxAge?: number | undefined;
879
- storeInCache?: boolean | undefined;
880
- }>>;
881
- integration: z.ZodOptional<z.ZodString>;
882
- }, "strip", z.ZodTypeAny, {
883
- operation: "search";
884
- query: string;
885
- limit?: number | undefined;
886
- credentials?: Partial<Record<CredentialType, string>> | undefined;
887
- location?: string | undefined;
888
- maxRetries?: number | undefined;
889
- timeout?: number | undefined;
890
- categories?: ("github" | "pdf" | "research" | {
891
- type: "github" | "pdf" | "research";
892
- })[] | undefined;
893
- integration?: string | undefined;
894
- backoffFactor?: number | undefined;
895
- sources?: ("images" | "web" | "news" | {
896
- type: "images" | "web" | "news";
897
- })[] | undefined;
898
- tbs?: string | undefined;
899
- ignoreInvalidURLs?: boolean | undefined;
900
- scrapeOptions?: {
901
- timeout: number;
902
- formats: ("summary" | "images" | "html" | "json" | "screenshot" | "markdown" | "rawHtml" | "links" | "attributes" | "changeTracking" | "branding" | {
903
- type: "summary" | "images" | "html" | "json" | "screenshot" | "markdown" | "rawHtml" | "links" | "attributes" | "changeTracking" | "branding";
904
- } | {
905
- type: "json";
906
- schema?: any;
907
- prompt?: string | undefined;
908
- } | {
909
- type: "changeTracking";
910
- modes: ("json" | "git-diff")[];
911
- schema?: Record<string, unknown> | undefined;
912
- tag?: string | undefined;
913
- prompt?: string | undefined;
914
- } | {
915
- type: "screenshot";
916
- quality?: number | undefined;
917
- fullPage?: boolean | undefined;
918
- viewport?: {
919
- width: number;
920
- height: number;
921
- } | undefined;
922
- } | {
923
- type: "attributes";
924
- selectors: {
925
- selector: string;
926
- attribute: string;
927
- }[];
928
- })[];
929
- onlyMainContent: boolean;
930
- waitFor: number;
931
- maxAge: number;
932
1049
  location?: {
933
- languages?: string[] | undefined;
934
1050
  country?: string | undefined;
935
- } | undefined;
936
- headers?: Record<string, string> | undefined;
937
- includeTags?: string[] | undefined;
938
- excludeTags?: string[] | undefined;
939
- actions?: ({
940
- type: "wait";
941
- selector?: string | undefined;
942
- milliseconds?: number | undefined;
943
- } | {
944
- type: "screenshot";
945
- quality?: number | undefined;
946
- fullPage?: boolean | undefined;
947
- viewport?: {
948
- width: number;
949
- height: number;
950
- } | undefined;
951
- } | {
952
- type: "click";
953
- selector: string;
954
- } | {
955
- type: "write";
956
- text: string;
957
- } | {
958
- type: "press";
959
- key: string;
960
- } | {
961
- type: "scroll";
962
- direction: "up" | "down";
963
- selector?: string | undefined;
964
- } | {
965
- type: "scrape";
966
- } | {
967
- type: "executeJavascript";
968
- script: string;
969
- } | {
970
- type: "pdf";
971
- format?: "Legal" | "A0" | "A1" | "A2" | "A3" | "A4" | "A5" | "A6" | "Letter" | "Tabloid" | "Ledger" | undefined;
972
- scale?: number | undefined;
973
- landscape?: boolean | undefined;
974
- })[] | undefined;
975
- mobile?: boolean | undefined;
976
- integration?: string | undefined;
977
- parsers?: (string | {
978
- type: "pdf";
979
- maxPages?: number | undefined;
980
- })[] | undefined;
981
- skipTlsVerification?: boolean | undefined;
982
- removeBase64Images?: boolean | undefined;
983
- fastMode?: boolean | undefined;
984
- useMock?: string | undefined;
985
- blockAds?: boolean | undefined;
986
- proxy?: string | undefined;
987
- storeInCache?: boolean | undefined;
988
- } | undefined;
989
- }, {
990
- operation: "search";
991
- query: string;
992
- limit?: number | undefined;
993
- credentials?: Partial<Record<CredentialType, string>> | undefined;
994
- location?: string | undefined;
995
- maxRetries?: number | undefined;
996
- timeout?: number | undefined;
997
- categories?: ("github" | "pdf" | "research" | {
998
- type: "github" | "pdf" | "research";
999
- })[] | undefined;
1000
- integration?: string | undefined;
1001
- backoffFactor?: number | undefined;
1002
- sources?: ("images" | "web" | "news" | {
1003
- type: "images" | "web" | "news";
1004
- })[] | undefined;
1005
- tbs?: string | undefined;
1006
- ignoreInvalidURLs?: boolean | undefined;
1007
- scrapeOptions?: {
1008
- location?: {
1009
1051
  languages?: string[] | undefined;
1010
- country?: string | undefined;
1011
1052
  } | undefined;
1012
- timeout?: number | undefined;
1013
- headers?: Record<string, string> | undefined;
1014
- includeTags?: string[] | undefined;
1015
- excludeTags?: string[] | undefined;
1016
- actions?: ({
1017
- type: "wait";
1018
- selector?: string | undefined;
1019
- milliseconds?: number | undefined;
1020
- } | {
1021
- type: "screenshot";
1022
- quality?: number | undefined;
1023
- fullPage?: boolean | undefined;
1024
- viewport?: {
1025
- width: number;
1026
- height: number;
1027
- } | undefined;
1028
- } | {
1029
- type: "click";
1030
- selector: string;
1031
- } | {
1032
- type: "write";
1033
- text: string;
1034
- } | {
1035
- type: "press";
1036
- key: string;
1037
- } | {
1038
- type: "scroll";
1039
- direction: "up" | "down";
1040
- selector?: string | undefined;
1041
- } | {
1042
- type: "scrape";
1043
- } | {
1044
- type: "executeJavascript";
1045
- script: string;
1046
- } | {
1047
- type: "pdf";
1048
- format?: "Legal" | "A0" | "A1" | "A2" | "A3" | "A4" | "A5" | "A6" | "Letter" | "Tabloid" | "Ledger" | undefined;
1049
- scale?: number | undefined;
1050
- landscape?: boolean | undefined;
1051
- })[] | undefined;
1052
- mobile?: boolean | undefined;
1053
1053
  integration?: string | undefined;
1054
- formats?: ("summary" | "images" | "html" | "json" | "screenshot" | "markdown" | "rawHtml" | "links" | "attributes" | "changeTracking" | "branding" | {
1055
- type: "summary" | "images" | "html" | "json" | "screenshot" | "markdown" | "rawHtml" | "links" | "attributes" | "changeTracking" | "branding";
1054
+ formats?: ("images" | "summary" | "html" | "json" | "screenshot" | "markdown" | "rawHtml" | "links" | "attributes" | "changeTracking" | "branding" | {
1055
+ type: "images" | "summary" | "html" | "json" | "screenshot" | "markdown" | "rawHtml" | "links" | "attributes" | "changeTracking" | "branding";
1056
1056
  } | {
1057
1057
  type: "json";
1058
1058
  schema?: any;
@@ -1061,8 +1061,8 @@ declare const FirecrawlParamsSchema: z.ZodDiscriminatedUnion<"operation", [z.Zod
1061
1061
  type: "changeTracking";
1062
1062
  modes: ("json" | "git-diff")[];
1063
1063
  schema?: Record<string, unknown> | undefined;
1064
- tag?: string | undefined;
1065
1064
  prompt?: string | undefined;
1065
+ tag?: string | undefined;
1066
1066
  } | {
1067
1067
  type: "screenshot";
1068
1068
  quality?: number | undefined;
@@ -1110,40 +1110,40 @@ declare const FirecrawlParamsSchema: z.ZodDiscriminatedUnion<"operation", [z.Zod
1110
1110
  country: z.ZodOptional<z.ZodString>;
1111
1111
  languages: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1112
1112
  }, "strip", z.ZodTypeAny, {
1113
- languages?: string[] | undefined;
1114
1113
  country?: string | undefined;
1115
- }, {
1116
1114
  languages?: string[] | undefined;
1115
+ }, {
1117
1116
  country?: string | undefined;
1117
+ languages?: string[] | undefined;
1118
1118
  }>>;
1119
1119
  }, "strip", z.ZodTypeAny, {
1120
- operation: "map";
1121
1120
  url: string;
1121
+ operation: "map";
1122
+ maxRetries?: number | undefined;
1123
+ credentials?: Partial<Record<CredentialType, string>> | undefined;
1124
+ timeout?: number | undefined;
1122
1125
  search?: string | undefined;
1123
1126
  limit?: number | undefined;
1124
- credentials?: Partial<Record<CredentialType, string>> | undefined;
1125
1127
  location?: {
1126
- languages?: string[] | undefined;
1127
1128
  country?: string | undefined;
1129
+ languages?: string[] | undefined;
1128
1130
  } | undefined;
1129
- maxRetries?: number | undefined;
1130
- timeout?: number | undefined;
1131
1131
  integration?: string | undefined;
1132
1132
  backoffFactor?: number | undefined;
1133
1133
  sitemap?: "include" | "only" | "skip" | undefined;
1134
1134
  includeSubdomains?: boolean | undefined;
1135
1135
  }, {
1136
- operation: "map";
1137
1136
  url: string;
1137
+ operation: "map";
1138
+ maxRetries?: number | undefined;
1139
+ credentials?: Partial<Record<CredentialType, string>> | undefined;
1140
+ timeout?: number | undefined;
1138
1141
  search?: string | undefined;
1139
1142
  limit?: number | undefined;
1140
- credentials?: Partial<Record<CredentialType, string>> | undefined;
1141
1143
  location?: {
1142
- languages?: string[] | undefined;
1143
1144
  country?: string | undefined;
1145
+ languages?: string[] | undefined;
1144
1146
  } | undefined;
1145
- maxRetries?: number | undefined;
1146
- timeout?: number | undefined;
1147
1147
  integration?: string | undefined;
1148
1148
  backoffFactor?: number | undefined;
1149
1149
  sitemap?: "include" | "only" | "skip" | undefined;
@@ -1187,9 +1187,9 @@ declare const FirecrawlParamsSchema: z.ZodDiscriminatedUnion<"operation", [z.Zod
1187
1187
  formats: z.ZodDefault<z.ZodArray<z.ZodUnion<[z.ZodEnum<["markdown", "html", "rawHtml", "links", "images", "screenshot", "summary", "changeTracking", "json", "attributes", "branding"]>, z.ZodObject<{
1188
1188
  type: z.ZodEnum<["markdown", "html", "rawHtml", "links", "images", "screenshot", "summary", "changeTracking", "json", "attributes", "branding"]>;
1189
1189
  }, "strip", z.ZodTypeAny, {
1190
- type: "summary" | "images" | "html" | "json" | "screenshot" | "markdown" | "rawHtml" | "links" | "attributes" | "changeTracking" | "branding";
1190
+ type: "images" | "summary" | "html" | "json" | "screenshot" | "markdown" | "rawHtml" | "links" | "attributes" | "changeTracking" | "branding";
1191
1191
  }, {
1192
- type: "summary" | "images" | "html" | "json" | "screenshot" | "markdown" | "rawHtml" | "links" | "attributes" | "changeTracking" | "branding";
1192
+ type: "images" | "summary" | "html" | "json" | "screenshot" | "markdown" | "rawHtml" | "links" | "attributes" | "changeTracking" | "branding";
1193
1193
  }>, z.ZodObject<{
1194
1194
  type: z.ZodLiteral<"json">;
1195
1195
  prompt: z.ZodOptional<z.ZodString>;
@@ -1212,14 +1212,14 @@ declare const FirecrawlParamsSchema: z.ZodDiscriminatedUnion<"operation", [z.Zod
1212
1212
  type: "changeTracking";
1213
1213
  modes: ("json" | "git-diff")[];
1214
1214
  schema?: Record<string, unknown> | undefined;
1215
- tag?: string | undefined;
1216
1215
  prompt?: string | undefined;
1216
+ tag?: string | undefined;
1217
1217
  }, {
1218
1218
  type: "changeTracking";
1219
1219
  modes: ("json" | "git-diff")[];
1220
1220
  schema?: Record<string, unknown> | undefined;
1221
- tag?: string | undefined;
1222
1221
  prompt?: string | undefined;
1222
+ tag?: string | undefined;
1223
1223
  }>, z.ZodObject<{
1224
1224
  type: z.ZodLiteral<"screenshot">;
1225
1225
  fullPage: z.ZodOptional<z.ZodBoolean>;
@@ -1395,12 +1395,12 @@ declare const FirecrawlParamsSchema: z.ZodDiscriminatedUnion<"operation", [z.Zod
1395
1395
  scale: z.ZodOptional<z.ZodNumber>;
1396
1396
  }, "strip", z.ZodTypeAny, {
1397
1397
  type: "pdf";
1398
- format?: "Legal" | "A0" | "A1" | "A2" | "A3" | "A4" | "A5" | "A6" | "Letter" | "Tabloid" | "Ledger" | undefined;
1398
+ format?: "A0" | "A1" | "A2" | "A3" | "A4" | "A5" | "A6" | "Letter" | "Legal" | "Tabloid" | "Ledger" | undefined;
1399
1399
  scale?: number | undefined;
1400
1400
  landscape?: boolean | undefined;
1401
1401
  }, {
1402
1402
  type: "pdf";
1403
- format?: "Legal" | "A0" | "A1" | "A2" | "A3" | "A4" | "A5" | "A6" | "Letter" | "Tabloid" | "Ledger" | undefined;
1403
+ format?: "A0" | "A1" | "A2" | "A3" | "A4" | "A5" | "A6" | "Letter" | "Legal" | "Tabloid" | "Ledger" | undefined;
1404
1404
  scale?: number | undefined;
1405
1405
  landscape?: boolean | undefined;
1406
1406
  }>]>, "many">>;
@@ -1408,11 +1408,11 @@ declare const FirecrawlParamsSchema: z.ZodDiscriminatedUnion<"operation", [z.Zod
1408
1408
  country: z.ZodOptional<z.ZodString>;
1409
1409
  languages: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1410
1410
  }, "strip", z.ZodTypeAny, {
1411
- languages?: string[] | undefined;
1412
1411
  country?: string | undefined;
1413
- }, {
1414
1412
  languages?: string[] | undefined;
1413
+ }, {
1415
1414
  country?: string | undefined;
1415
+ languages?: string[] | undefined;
1416
1416
  }>>;
1417
1417
  skipTlsVerification: z.ZodOptional<z.ZodBoolean>;
1418
1418
  removeBase64Images: z.ZodOptional<z.ZodBoolean>;
@@ -1425,8 +1425,8 @@ declare const FirecrawlParamsSchema: z.ZodDiscriminatedUnion<"operation", [z.Zod
1425
1425
  integration: z.ZodOptional<z.ZodString>;
1426
1426
  }, "strip", z.ZodTypeAny, {
1427
1427
  timeout: number;
1428
- formats: ("summary" | "images" | "html" | "json" | "screenshot" | "markdown" | "rawHtml" | "links" | "attributes" | "changeTracking" | "branding" | {
1429
- type: "summary" | "images" | "html" | "json" | "screenshot" | "markdown" | "rawHtml" | "links" | "attributes" | "changeTracking" | "branding";
1428
+ formats: ("images" | "summary" | "html" | "json" | "screenshot" | "markdown" | "rawHtml" | "links" | "attributes" | "changeTracking" | "branding" | {
1429
+ type: "images" | "summary" | "html" | "json" | "screenshot" | "markdown" | "rawHtml" | "links" | "attributes" | "changeTracking" | "branding";
1430
1430
  } | {
1431
1431
  type: "json";
1432
1432
  schema?: any;
@@ -1435,8 +1435,8 @@ declare const FirecrawlParamsSchema: z.ZodDiscriminatedUnion<"operation", [z.Zod
1435
1435
  type: "changeTracking";
1436
1436
  modes: ("json" | "git-diff")[];
1437
1437
  schema?: Record<string, unknown> | undefined;
1438
- tag?: string | undefined;
1439
1438
  prompt?: string | undefined;
1439
+ tag?: string | undefined;
1440
1440
  } | {
1441
1441
  type: "screenshot";
1442
1442
  quality?: number | undefined;
@@ -1455,10 +1455,6 @@ declare const FirecrawlParamsSchema: z.ZodDiscriminatedUnion<"operation", [z.Zod
1455
1455
  onlyMainContent: boolean;
1456
1456
  waitFor: number;
1457
1457
  maxAge: number;
1458
- location?: {
1459
- languages?: string[] | undefined;
1460
- country?: string | undefined;
1461
- } | undefined;
1462
1458
  headers?: Record<string, string> | undefined;
1463
1459
  includeTags?: string[] | undefined;
1464
1460
  excludeTags?: string[] | undefined;
@@ -1494,11 +1490,15 @@ declare const FirecrawlParamsSchema: z.ZodDiscriminatedUnion<"operation", [z.Zod
1494
1490
  script: string;
1495
1491
  } | {
1496
1492
  type: "pdf";
1497
- format?: "Legal" | "A0" | "A1" | "A2" | "A3" | "A4" | "A5" | "A6" | "Letter" | "Tabloid" | "Ledger" | undefined;
1493
+ format?: "A0" | "A1" | "A2" | "A3" | "A4" | "A5" | "A6" | "Letter" | "Legal" | "Tabloid" | "Ledger" | undefined;
1498
1494
  scale?: number | undefined;
1499
1495
  landscape?: boolean | undefined;
1500
1496
  })[] | undefined;
1501
1497
  mobile?: boolean | undefined;
1498
+ location?: {
1499
+ country?: string | undefined;
1500
+ languages?: string[] | undefined;
1501
+ } | undefined;
1502
1502
  integration?: string | undefined;
1503
1503
  parsers?: (string | {
1504
1504
  type: "pdf";
@@ -1512,10 +1512,6 @@ declare const FirecrawlParamsSchema: z.ZodDiscriminatedUnion<"operation", [z.Zod
1512
1512
  proxy?: string | undefined;
1513
1513
  storeInCache?: boolean | undefined;
1514
1514
  }, {
1515
- location?: {
1516
- languages?: string[] | undefined;
1517
- country?: string | undefined;
1518
- } | undefined;
1519
1515
  timeout?: number | undefined;
1520
1516
  headers?: Record<string, string> | undefined;
1521
1517
  includeTags?: string[] | undefined;
@@ -1552,14 +1548,18 @@ declare const FirecrawlParamsSchema: z.ZodDiscriminatedUnion<"operation", [z.Zod
1552
1548
  script: string;
1553
1549
  } | {
1554
1550
  type: "pdf";
1555
- format?: "Legal" | "A0" | "A1" | "A2" | "A3" | "A4" | "A5" | "A6" | "Letter" | "Tabloid" | "Ledger" | undefined;
1551
+ format?: "A0" | "A1" | "A2" | "A3" | "A4" | "A5" | "A6" | "Letter" | "Legal" | "Tabloid" | "Ledger" | undefined;
1556
1552
  scale?: number | undefined;
1557
1553
  landscape?: boolean | undefined;
1558
1554
  })[] | undefined;
1559
1555
  mobile?: boolean | undefined;
1556
+ location?: {
1557
+ country?: string | undefined;
1558
+ languages?: string[] | undefined;
1559
+ } | undefined;
1560
1560
  integration?: string | undefined;
1561
- formats?: ("summary" | "images" | "html" | "json" | "screenshot" | "markdown" | "rawHtml" | "links" | "attributes" | "changeTracking" | "branding" | {
1562
- type: "summary" | "images" | "html" | "json" | "screenshot" | "markdown" | "rawHtml" | "links" | "attributes" | "changeTracking" | "branding";
1561
+ formats?: ("images" | "summary" | "html" | "json" | "screenshot" | "markdown" | "rawHtml" | "links" | "attributes" | "changeTracking" | "branding" | {
1562
+ type: "images" | "summary" | "html" | "json" | "screenshot" | "markdown" | "rawHtml" | "links" | "attributes" | "changeTracking" | "branding";
1563
1563
  } | {
1564
1564
  type: "json";
1565
1565
  schema?: any;
@@ -1568,8 +1568,8 @@ declare const FirecrawlParamsSchema: z.ZodDiscriminatedUnion<"operation", [z.Zod
1568
1568
  type: "changeTracking";
1569
1569
  modes: ("json" | "git-diff")[];
1570
1570
  schema?: Record<string, unknown> | undefined;
1571
- tag?: string | undefined;
1572
1571
  prompt?: string | undefined;
1572
+ tag?: string | undefined;
1573
1573
  } | {
1574
1574
  type: "screenshot";
1575
1575
  quality?: number | undefined;
@@ -1605,14 +1605,14 @@ declare const FirecrawlParamsSchema: z.ZodDiscriminatedUnion<"operation", [z.Zod
1605
1605
  pollInterval: z.ZodOptional<z.ZodNumber>;
1606
1606
  timeout: z.ZodOptional<z.ZodNumber>;
1607
1607
  }, "strip", z.ZodTypeAny, {
1608
- operation: "crawl";
1609
1608
  url: string;
1610
- limit?: number | undefined;
1611
- credentials?: Partial<Record<CredentialType, string>> | undefined;
1609
+ operation: "crawl";
1612
1610
  maxRetries?: number | undefined;
1611
+ credentials?: Partial<Record<CredentialType, string>> | undefined;
1613
1612
  timeout?: number | undefined;
1614
1613
  maxConcurrency?: number | undefined;
1615
1614
  prompt?: string | undefined;
1615
+ limit?: number | undefined;
1616
1616
  webhook?: string | {
1617
1617
  url: string;
1618
1618
  metadata?: Record<string, string> | undefined;
@@ -1623,8 +1623,8 @@ declare const FirecrawlParamsSchema: z.ZodDiscriminatedUnion<"operation", [z.Zod
1623
1623
  backoffFactor?: number | undefined;
1624
1624
  scrapeOptions?: {
1625
1625
  timeout: number;
1626
- formats: ("summary" | "images" | "html" | "json" | "screenshot" | "markdown" | "rawHtml" | "links" | "attributes" | "changeTracking" | "branding" | {
1627
- type: "summary" | "images" | "html" | "json" | "screenshot" | "markdown" | "rawHtml" | "links" | "attributes" | "changeTracking" | "branding";
1626
+ formats: ("images" | "summary" | "html" | "json" | "screenshot" | "markdown" | "rawHtml" | "links" | "attributes" | "changeTracking" | "branding" | {
1627
+ type: "images" | "summary" | "html" | "json" | "screenshot" | "markdown" | "rawHtml" | "links" | "attributes" | "changeTracking" | "branding";
1628
1628
  } | {
1629
1629
  type: "json";
1630
1630
  schema?: any;
@@ -1633,8 +1633,8 @@ declare const FirecrawlParamsSchema: z.ZodDiscriminatedUnion<"operation", [z.Zod
1633
1633
  type: "changeTracking";
1634
1634
  modes: ("json" | "git-diff")[];
1635
1635
  schema?: Record<string, unknown> | undefined;
1636
- tag?: string | undefined;
1637
1636
  prompt?: string | undefined;
1637
+ tag?: string | undefined;
1638
1638
  } | {
1639
1639
  type: "screenshot";
1640
1640
  quality?: number | undefined;
@@ -1653,10 +1653,6 @@ declare const FirecrawlParamsSchema: z.ZodDiscriminatedUnion<"operation", [z.Zod
1653
1653
  onlyMainContent: boolean;
1654
1654
  waitFor: number;
1655
1655
  maxAge: number;
1656
- location?: {
1657
- languages?: string[] | undefined;
1658
- country?: string | undefined;
1659
- } | undefined;
1660
1656
  headers?: Record<string, string> | undefined;
1661
1657
  includeTags?: string[] | undefined;
1662
1658
  excludeTags?: string[] | undefined;
@@ -1692,11 +1688,15 @@ declare const FirecrawlParamsSchema: z.ZodDiscriminatedUnion<"operation", [z.Zod
1692
1688
  script: string;
1693
1689
  } | {
1694
1690
  type: "pdf";
1695
- format?: "Legal" | "A0" | "A1" | "A2" | "A3" | "A4" | "A5" | "A6" | "Letter" | "Tabloid" | "Ledger" | undefined;
1691
+ format?: "A0" | "A1" | "A2" | "A3" | "A4" | "A5" | "A6" | "Letter" | "Legal" | "Tabloid" | "Ledger" | undefined;
1696
1692
  scale?: number | undefined;
1697
1693
  landscape?: boolean | undefined;
1698
1694
  })[] | undefined;
1699
1695
  mobile?: boolean | undefined;
1696
+ location?: {
1697
+ country?: string | undefined;
1698
+ languages?: string[] | undefined;
1699
+ } | undefined;
1700
1700
  integration?: string | undefined;
1701
1701
  parsers?: (string | {
1702
1702
  type: "pdf";
@@ -1722,14 +1722,14 @@ declare const FirecrawlParamsSchema: z.ZodDiscriminatedUnion<"operation", [z.Zod
1722
1722
  zeroDataRetention?: boolean | undefined;
1723
1723
  pollInterval?: number | undefined;
1724
1724
  }, {
1725
- operation: "crawl";
1726
1725
  url: string;
1727
- limit?: number | undefined;
1728
- credentials?: Partial<Record<CredentialType, string>> | undefined;
1726
+ operation: "crawl";
1729
1727
  maxRetries?: number | undefined;
1728
+ credentials?: Partial<Record<CredentialType, string>> | undefined;
1730
1729
  timeout?: number | undefined;
1731
1730
  maxConcurrency?: number | undefined;
1732
1731
  prompt?: string | undefined;
1732
+ limit?: number | undefined;
1733
1733
  webhook?: string | {
1734
1734
  url: string;
1735
1735
  metadata?: Record<string, string> | undefined;
@@ -1739,10 +1739,6 @@ declare const FirecrawlParamsSchema: z.ZodDiscriminatedUnion<"operation", [z.Zod
1739
1739
  integration?: string | undefined;
1740
1740
  backoffFactor?: number | undefined;
1741
1741
  scrapeOptions?: {
1742
- location?: {
1743
- languages?: string[] | undefined;
1744
- country?: string | undefined;
1745
- } | undefined;
1746
1742
  timeout?: number | undefined;
1747
1743
  headers?: Record<string, string> | undefined;
1748
1744
  includeTags?: string[] | undefined;
@@ -1779,14 +1775,18 @@ declare const FirecrawlParamsSchema: z.ZodDiscriminatedUnion<"operation", [z.Zod
1779
1775
  script: string;
1780
1776
  } | {
1781
1777
  type: "pdf";
1782
- format?: "Legal" | "A0" | "A1" | "A2" | "A3" | "A4" | "A5" | "A6" | "Letter" | "Tabloid" | "Ledger" | undefined;
1778
+ format?: "A0" | "A1" | "A2" | "A3" | "A4" | "A5" | "A6" | "Letter" | "Legal" | "Tabloid" | "Ledger" | undefined;
1783
1779
  scale?: number | undefined;
1784
1780
  landscape?: boolean | undefined;
1785
1781
  })[] | undefined;
1786
1782
  mobile?: boolean | undefined;
1783
+ location?: {
1784
+ country?: string | undefined;
1785
+ languages?: string[] | undefined;
1786
+ } | undefined;
1787
1787
  integration?: string | undefined;
1788
- formats?: ("summary" | "images" | "html" | "json" | "screenshot" | "markdown" | "rawHtml" | "links" | "attributes" | "changeTracking" | "branding" | {
1789
- type: "summary" | "images" | "html" | "json" | "screenshot" | "markdown" | "rawHtml" | "links" | "attributes" | "changeTracking" | "branding";
1788
+ formats?: ("images" | "summary" | "html" | "json" | "screenshot" | "markdown" | "rawHtml" | "links" | "attributes" | "changeTracking" | "branding" | {
1789
+ type: "images" | "summary" | "html" | "json" | "screenshot" | "markdown" | "rawHtml" | "links" | "attributes" | "changeTracking" | "branding";
1790
1790
  } | {
1791
1791
  type: "json";
1792
1792
  schema?: any;
@@ -1795,8 +1795,8 @@ declare const FirecrawlParamsSchema: z.ZodDiscriminatedUnion<"operation", [z.Zod
1795
1795
  type: "changeTracking";
1796
1796
  modes: ("json" | "git-diff")[];
1797
1797
  schema?: Record<string, unknown> | undefined;
1798
- tag?: string | undefined;
1799
1798
  prompt?: string | undefined;
1799
+ tag?: string | undefined;
1800
1800
  } | {
1801
1801
  type: "screenshot";
1802
1802
  quality?: number | undefined;
@@ -1855,9 +1855,9 @@ declare const FirecrawlParamsSchema: z.ZodDiscriminatedUnion<"operation", [z.Zod
1855
1855
  formats: z.ZodDefault<z.ZodArray<z.ZodUnion<[z.ZodEnum<["markdown", "html", "rawHtml", "links", "images", "screenshot", "summary", "changeTracking", "json", "attributes", "branding"]>, z.ZodObject<{
1856
1856
  type: z.ZodEnum<["markdown", "html", "rawHtml", "links", "images", "screenshot", "summary", "changeTracking", "json", "attributes", "branding"]>;
1857
1857
  }, "strip", z.ZodTypeAny, {
1858
- type: "summary" | "images" | "html" | "json" | "screenshot" | "markdown" | "rawHtml" | "links" | "attributes" | "changeTracking" | "branding";
1858
+ type: "images" | "summary" | "html" | "json" | "screenshot" | "markdown" | "rawHtml" | "links" | "attributes" | "changeTracking" | "branding";
1859
1859
  }, {
1860
- type: "summary" | "images" | "html" | "json" | "screenshot" | "markdown" | "rawHtml" | "links" | "attributes" | "changeTracking" | "branding";
1860
+ type: "images" | "summary" | "html" | "json" | "screenshot" | "markdown" | "rawHtml" | "links" | "attributes" | "changeTracking" | "branding";
1861
1861
  }>, z.ZodObject<{
1862
1862
  type: z.ZodLiteral<"json">;
1863
1863
  prompt: z.ZodOptional<z.ZodString>;
@@ -1880,14 +1880,14 @@ declare const FirecrawlParamsSchema: z.ZodDiscriminatedUnion<"operation", [z.Zod
1880
1880
  type: "changeTracking";
1881
1881
  modes: ("json" | "git-diff")[];
1882
1882
  schema?: Record<string, unknown> | undefined;
1883
- tag?: string | undefined;
1884
1883
  prompt?: string | undefined;
1884
+ tag?: string | undefined;
1885
1885
  }, {
1886
1886
  type: "changeTracking";
1887
1887
  modes: ("json" | "git-diff")[];
1888
1888
  schema?: Record<string, unknown> | undefined;
1889
- tag?: string | undefined;
1890
1889
  prompt?: string | undefined;
1890
+ tag?: string | undefined;
1891
1891
  }>, z.ZodObject<{
1892
1892
  type: z.ZodLiteral<"screenshot">;
1893
1893
  fullPage: z.ZodOptional<z.ZodBoolean>;
@@ -2063,12 +2063,12 @@ declare const FirecrawlParamsSchema: z.ZodDiscriminatedUnion<"operation", [z.Zod
2063
2063
  scale: z.ZodOptional<z.ZodNumber>;
2064
2064
  }, "strip", z.ZodTypeAny, {
2065
2065
  type: "pdf";
2066
- format?: "Legal" | "A0" | "A1" | "A2" | "A3" | "A4" | "A5" | "A6" | "Letter" | "Tabloid" | "Ledger" | undefined;
2066
+ format?: "A0" | "A1" | "A2" | "A3" | "A4" | "A5" | "A6" | "Letter" | "Legal" | "Tabloid" | "Ledger" | undefined;
2067
2067
  scale?: number | undefined;
2068
2068
  landscape?: boolean | undefined;
2069
2069
  }, {
2070
2070
  type: "pdf";
2071
- format?: "Legal" | "A0" | "A1" | "A2" | "A3" | "A4" | "A5" | "A6" | "Letter" | "Tabloid" | "Ledger" | undefined;
2071
+ format?: "A0" | "A1" | "A2" | "A3" | "A4" | "A5" | "A6" | "Letter" | "Legal" | "Tabloid" | "Ledger" | undefined;
2072
2072
  scale?: number | undefined;
2073
2073
  landscape?: boolean | undefined;
2074
2074
  }>]>, "many">>;
@@ -2076,11 +2076,11 @@ declare const FirecrawlParamsSchema: z.ZodDiscriminatedUnion<"operation", [z.Zod
2076
2076
  country: z.ZodOptional<z.ZodString>;
2077
2077
  languages: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
2078
2078
  }, "strip", z.ZodTypeAny, {
2079
- languages?: string[] | undefined;
2080
2079
  country?: string | undefined;
2081
- }, {
2082
2080
  languages?: string[] | undefined;
2081
+ }, {
2083
2082
  country?: string | undefined;
2083
+ languages?: string[] | undefined;
2084
2084
  }>>;
2085
2085
  skipTlsVerification: z.ZodOptional<z.ZodBoolean>;
2086
2086
  removeBase64Images: z.ZodOptional<z.ZodBoolean>;
@@ -2093,8 +2093,8 @@ declare const FirecrawlParamsSchema: z.ZodDiscriminatedUnion<"operation", [z.Zod
2093
2093
  integration: z.ZodOptional<z.ZodString>;
2094
2094
  }, "strip", z.ZodTypeAny, {
2095
2095
  timeout: number;
2096
- formats: ("summary" | "images" | "html" | "json" | "screenshot" | "markdown" | "rawHtml" | "links" | "attributes" | "changeTracking" | "branding" | {
2097
- type: "summary" | "images" | "html" | "json" | "screenshot" | "markdown" | "rawHtml" | "links" | "attributes" | "changeTracking" | "branding";
2096
+ formats: ("images" | "summary" | "html" | "json" | "screenshot" | "markdown" | "rawHtml" | "links" | "attributes" | "changeTracking" | "branding" | {
2097
+ type: "images" | "summary" | "html" | "json" | "screenshot" | "markdown" | "rawHtml" | "links" | "attributes" | "changeTracking" | "branding";
2098
2098
  } | {
2099
2099
  type: "json";
2100
2100
  schema?: any;
@@ -2103,8 +2103,8 @@ declare const FirecrawlParamsSchema: z.ZodDiscriminatedUnion<"operation", [z.Zod
2103
2103
  type: "changeTracking";
2104
2104
  modes: ("json" | "git-diff")[];
2105
2105
  schema?: Record<string, unknown> | undefined;
2106
- tag?: string | undefined;
2107
2106
  prompt?: string | undefined;
2107
+ tag?: string | undefined;
2108
2108
  } | {
2109
2109
  type: "screenshot";
2110
2110
  quality?: number | undefined;
@@ -2123,10 +2123,64 @@ declare const FirecrawlParamsSchema: z.ZodDiscriminatedUnion<"operation", [z.Zod
2123
2123
  onlyMainContent: boolean;
2124
2124
  waitFor: number;
2125
2125
  maxAge: number;
2126
+ headers?: Record<string, string> | undefined;
2127
+ includeTags?: string[] | undefined;
2128
+ excludeTags?: string[] | undefined;
2129
+ actions?: ({
2130
+ type: "wait";
2131
+ selector?: string | undefined;
2132
+ milliseconds?: number | undefined;
2133
+ } | {
2134
+ type: "screenshot";
2135
+ quality?: number | undefined;
2136
+ fullPage?: boolean | undefined;
2137
+ viewport?: {
2138
+ width: number;
2139
+ height: number;
2140
+ } | undefined;
2141
+ } | {
2142
+ type: "click";
2143
+ selector: string;
2144
+ } | {
2145
+ type: "write";
2146
+ text: string;
2147
+ } | {
2148
+ type: "press";
2149
+ key: string;
2150
+ } | {
2151
+ type: "scroll";
2152
+ direction: "up" | "down";
2153
+ selector?: string | undefined;
2154
+ } | {
2155
+ type: "scrape";
2156
+ } | {
2157
+ type: "executeJavascript";
2158
+ script: string;
2159
+ } | {
2160
+ type: "pdf";
2161
+ format?: "A0" | "A1" | "A2" | "A3" | "A4" | "A5" | "A6" | "Letter" | "Legal" | "Tabloid" | "Ledger" | undefined;
2162
+ scale?: number | undefined;
2163
+ landscape?: boolean | undefined;
2164
+ })[] | undefined;
2165
+ mobile?: boolean | undefined;
2126
2166
  location?: {
2127
- languages?: string[] | undefined;
2128
2167
  country?: string | undefined;
2168
+ languages?: string[] | undefined;
2129
2169
  } | undefined;
2170
+ integration?: string | undefined;
2171
+ parsers?: (string | {
2172
+ type: "pdf";
2173
+ maxPages?: number | undefined;
2174
+ })[] | undefined;
2175
+ skipTlsVerification?: boolean | undefined;
2176
+ removeBase64Images?: boolean | undefined;
2177
+ fastMode?: boolean | undefined;
2178
+ useMock?: string | undefined;
2179
+ blockAds?: boolean | undefined;
2180
+ proxy?: string | undefined;
2181
+ storeInCache?: boolean | undefined;
2182
+ }, {
2183
+ timeout?: number | undefined;
2130
2184
  headers?: Record<string, string> | undefined;
2131
2185
  includeTags?: string[] | undefined;
2132
2186
  excludeTags?: string[] | undefined;
@@ -2162,12 +2216,45 @@ declare const FirecrawlParamsSchema: z.ZodDiscriminatedUnion<"operation", [z.Zod
2162
2216
  script: string;
2163
2217
  } | {
2164
2218
  type: "pdf";
2165
- format?: "Legal" | "A0" | "A1" | "A2" | "A3" | "A4" | "A5" | "A6" | "Letter" | "Tabloid" | "Ledger" | undefined;
2219
+ format?: "A0" | "A1" | "A2" | "A3" | "A4" | "A5" | "A6" | "Letter" | "Legal" | "Tabloid" | "Ledger" | undefined;
2166
2220
  scale?: number | undefined;
2167
2221
  landscape?: boolean | undefined;
2168
2222
  })[] | undefined;
2169
2223
  mobile?: boolean | undefined;
2224
+ location?: {
2225
+ country?: string | undefined;
2226
+ languages?: string[] | undefined;
2227
+ } | undefined;
2170
2228
  integration?: string | undefined;
2229
+ formats?: ("images" | "summary" | "html" | "json" | "screenshot" | "markdown" | "rawHtml" | "links" | "attributes" | "changeTracking" | "branding" | {
2230
+ type: "images" | "summary" | "html" | "json" | "screenshot" | "markdown" | "rawHtml" | "links" | "attributes" | "changeTracking" | "branding";
2231
+ } | {
2232
+ type: "json";
2233
+ schema?: any;
2234
+ prompt?: string | undefined;
2235
+ } | {
2236
+ type: "changeTracking";
2237
+ modes: ("json" | "git-diff")[];
2238
+ schema?: Record<string, unknown> | undefined;
2239
+ prompt?: string | undefined;
2240
+ tag?: string | undefined;
2241
+ } | {
2242
+ type: "screenshot";
2243
+ quality?: number | undefined;
2244
+ fullPage?: boolean | undefined;
2245
+ viewport?: {
2246
+ width: number;
2247
+ height: number;
2248
+ } | undefined;
2249
+ } | {
2250
+ type: "attributes";
2251
+ selectors: {
2252
+ selector: string;
2253
+ attribute: string;
2254
+ }[];
2255
+ })[] | undefined;
2256
+ onlyMainContent?: boolean | undefined;
2257
+ waitFor?: number | undefined;
2171
2258
  parsers?: (string | {
2172
2259
  type: "pdf";
2173
2260
  maxPages?: number | undefined;
@@ -2178,12 +2265,144 @@ declare const FirecrawlParamsSchema: z.ZodDiscriminatedUnion<"operation", [z.Zod
2178
2265
  useMock?: string | undefined;
2179
2266
  blockAds?: boolean | undefined;
2180
2267
  proxy?: string | undefined;
2268
+ maxAge?: number | undefined;
2181
2269
  storeInCache?: boolean | undefined;
2270
+ }>>;
2271
+ ignoreInvalidURLs: z.ZodOptional<z.ZodBoolean>;
2272
+ integration: z.ZodOptional<z.ZodString>;
2273
+ agent: z.ZodOptional<z.ZodObject<{
2274
+ model: z.ZodLiteral<"FIRE-1">;
2275
+ }, "strip", z.ZodTypeAny, {
2276
+ model: "FIRE-1";
2182
2277
  }, {
2278
+ model: "FIRE-1";
2279
+ }>>;
2280
+ pollInterval: z.ZodOptional<z.ZodNumber>;
2281
+ timeout: z.ZodOptional<z.ZodNumber>;
2282
+ }, "strip", z.ZodTypeAny, {
2283
+ operation: "extract";
2284
+ urls: string[];
2285
+ schema?: any;
2286
+ systemPrompt?: string | undefined;
2287
+ maxRetries?: number | undefined;
2288
+ credentials?: Partial<Record<CredentialType, string>> | undefined;
2289
+ agent?: {
2290
+ model: "FIRE-1";
2291
+ } | undefined;
2292
+ timeout?: number | undefined;
2293
+ prompt?: string | undefined;
2294
+ integration?: string | undefined;
2295
+ backoffFactor?: number | undefined;
2296
+ ignoreInvalidURLs?: boolean | undefined;
2297
+ scrapeOptions?: {
2298
+ timeout: number;
2299
+ formats: ("images" | "summary" | "html" | "json" | "screenshot" | "markdown" | "rawHtml" | "links" | "attributes" | "changeTracking" | "branding" | {
2300
+ type: "images" | "summary" | "html" | "json" | "screenshot" | "markdown" | "rawHtml" | "links" | "attributes" | "changeTracking" | "branding";
2301
+ } | {
2302
+ type: "json";
2303
+ schema?: any;
2304
+ prompt?: string | undefined;
2305
+ } | {
2306
+ type: "changeTracking";
2307
+ modes: ("json" | "git-diff")[];
2308
+ schema?: Record<string, unknown> | undefined;
2309
+ prompt?: string | undefined;
2310
+ tag?: string | undefined;
2311
+ } | {
2312
+ type: "screenshot";
2313
+ quality?: number | undefined;
2314
+ fullPage?: boolean | undefined;
2315
+ viewport?: {
2316
+ width: number;
2317
+ height: number;
2318
+ } | undefined;
2319
+ } | {
2320
+ type: "attributes";
2321
+ selectors: {
2322
+ selector: string;
2323
+ attribute: string;
2324
+ }[];
2325
+ })[];
2326
+ onlyMainContent: boolean;
2327
+ waitFor: number;
2328
+ maxAge: number;
2329
+ headers?: Record<string, string> | undefined;
2330
+ includeTags?: string[] | undefined;
2331
+ excludeTags?: string[] | undefined;
2332
+ actions?: ({
2333
+ type: "wait";
2334
+ selector?: string | undefined;
2335
+ milliseconds?: number | undefined;
2336
+ } | {
2337
+ type: "screenshot";
2338
+ quality?: number | undefined;
2339
+ fullPage?: boolean | undefined;
2340
+ viewport?: {
2341
+ width: number;
2342
+ height: number;
2343
+ } | undefined;
2344
+ } | {
2345
+ type: "click";
2346
+ selector: string;
2347
+ } | {
2348
+ type: "write";
2349
+ text: string;
2350
+ } | {
2351
+ type: "press";
2352
+ key: string;
2353
+ } | {
2354
+ type: "scroll";
2355
+ direction: "up" | "down";
2356
+ selector?: string | undefined;
2357
+ } | {
2358
+ type: "scrape";
2359
+ } | {
2360
+ type: "executeJavascript";
2361
+ script: string;
2362
+ } | {
2363
+ type: "pdf";
2364
+ format?: "A0" | "A1" | "A2" | "A3" | "A4" | "A5" | "A6" | "Letter" | "Legal" | "Tabloid" | "Ledger" | undefined;
2365
+ scale?: number | undefined;
2366
+ landscape?: boolean | undefined;
2367
+ })[] | undefined;
2368
+ mobile?: boolean | undefined;
2183
2369
  location?: {
2184
- languages?: string[] | undefined;
2185
2370
  country?: string | undefined;
2371
+ languages?: string[] | undefined;
2186
2372
  } | undefined;
2373
+ integration?: string | undefined;
2374
+ parsers?: (string | {
2375
+ type: "pdf";
2376
+ maxPages?: number | undefined;
2377
+ })[] | undefined;
2378
+ skipTlsVerification?: boolean | undefined;
2379
+ removeBase64Images?: boolean | undefined;
2380
+ fastMode?: boolean | undefined;
2381
+ useMock?: string | undefined;
2382
+ blockAds?: boolean | undefined;
2383
+ proxy?: string | undefined;
2384
+ storeInCache?: boolean | undefined;
2385
+ } | undefined;
2386
+ allowExternalLinks?: boolean | undefined;
2387
+ pollInterval?: number | undefined;
2388
+ enableWebSearch?: boolean | undefined;
2389
+ showSources?: boolean | undefined;
2390
+ }, {
2391
+ operation: "extract";
2392
+ urls: string[];
2393
+ schema?: any;
2394
+ systemPrompt?: string | undefined;
2395
+ maxRetries?: number | undefined;
2396
+ credentials?: Partial<Record<CredentialType, string>> | undefined;
2397
+ agent?: {
2398
+ model: "FIRE-1";
2399
+ } | undefined;
2400
+ timeout?: number | undefined;
2401
+ prompt?: string | undefined;
2402
+ integration?: string | undefined;
2403
+ backoffFactor?: number | undefined;
2404
+ ignoreInvalidURLs?: boolean | undefined;
2405
+ scrapeOptions?: {
2187
2406
  timeout?: number | undefined;
2188
2407
  headers?: Record<string, string> | undefined;
2189
2408
  includeTags?: string[] | undefined;
@@ -2220,237 +2439,18 @@ declare const FirecrawlParamsSchema: z.ZodDiscriminatedUnion<"operation", [z.Zod
2220
2439
  script: string;
2221
2440
  } | {
2222
2441
  type: "pdf";
2223
- format?: "Legal" | "A0" | "A1" | "A2" | "A3" | "A4" | "A5" | "A6" | "Letter" | "Tabloid" | "Ledger" | undefined;
2442
+ format?: "A0" | "A1" | "A2" | "A3" | "A4" | "A5" | "A6" | "Letter" | "Legal" | "Tabloid" | "Ledger" | undefined;
2224
2443
  scale?: number | undefined;
2225
2444
  landscape?: boolean | undefined;
2226
2445
  })[] | undefined;
2227
2446
  mobile?: boolean | undefined;
2228
- integration?: string | undefined;
2229
- formats?: ("summary" | "images" | "html" | "json" | "screenshot" | "markdown" | "rawHtml" | "links" | "attributes" | "changeTracking" | "branding" | {
2230
- type: "summary" | "images" | "html" | "json" | "screenshot" | "markdown" | "rawHtml" | "links" | "attributes" | "changeTracking" | "branding";
2231
- } | {
2232
- type: "json";
2233
- schema?: any;
2234
- prompt?: string | undefined;
2235
- } | {
2236
- type: "changeTracking";
2237
- modes: ("json" | "git-diff")[];
2238
- schema?: Record<string, unknown> | undefined;
2239
- tag?: string | undefined;
2240
- prompt?: string | undefined;
2241
- } | {
2242
- type: "screenshot";
2243
- quality?: number | undefined;
2244
- fullPage?: boolean | undefined;
2245
- viewport?: {
2246
- width: number;
2247
- height: number;
2248
- } | undefined;
2249
- } | {
2250
- type: "attributes";
2251
- selectors: {
2252
- selector: string;
2253
- attribute: string;
2254
- }[];
2255
- })[] | undefined;
2256
- onlyMainContent?: boolean | undefined;
2257
- waitFor?: number | undefined;
2258
- parsers?: (string | {
2259
- type: "pdf";
2260
- maxPages?: number | undefined;
2261
- })[] | undefined;
2262
- skipTlsVerification?: boolean | undefined;
2263
- removeBase64Images?: boolean | undefined;
2264
- fastMode?: boolean | undefined;
2265
- useMock?: string | undefined;
2266
- blockAds?: boolean | undefined;
2267
- proxy?: string | undefined;
2268
- maxAge?: number | undefined;
2269
- storeInCache?: boolean | undefined;
2270
- }>>;
2271
- ignoreInvalidURLs: z.ZodOptional<z.ZodBoolean>;
2272
- integration: z.ZodOptional<z.ZodString>;
2273
- agent: z.ZodOptional<z.ZodObject<{
2274
- model: z.ZodLiteral<"FIRE-1">;
2275
- }, "strip", z.ZodTypeAny, {
2276
- model: "FIRE-1";
2277
- }, {
2278
- model: "FIRE-1";
2279
- }>>;
2280
- pollInterval: z.ZodOptional<z.ZodNumber>;
2281
- timeout: z.ZodOptional<z.ZodNumber>;
2282
- }, "strip", z.ZodTypeAny, {
2283
- operation: "extract";
2284
- urls: string[];
2285
- schema?: any;
2286
- credentials?: Partial<Record<CredentialType, string>> | undefined;
2287
- maxRetries?: number | undefined;
2288
- systemPrompt?: string | undefined;
2289
- agent?: {
2290
- model: "FIRE-1";
2291
- } | undefined;
2292
- timeout?: number | undefined;
2293
- prompt?: string | undefined;
2294
- integration?: string | undefined;
2295
- backoffFactor?: number | undefined;
2296
- ignoreInvalidURLs?: boolean | undefined;
2297
- scrapeOptions?: {
2298
- timeout: number;
2299
- formats: ("summary" | "images" | "html" | "json" | "screenshot" | "markdown" | "rawHtml" | "links" | "attributes" | "changeTracking" | "branding" | {
2300
- type: "summary" | "images" | "html" | "json" | "screenshot" | "markdown" | "rawHtml" | "links" | "attributes" | "changeTracking" | "branding";
2301
- } | {
2302
- type: "json";
2303
- schema?: any;
2304
- prompt?: string | undefined;
2305
- } | {
2306
- type: "changeTracking";
2307
- modes: ("json" | "git-diff")[];
2308
- schema?: Record<string, unknown> | undefined;
2309
- tag?: string | undefined;
2310
- prompt?: string | undefined;
2311
- } | {
2312
- type: "screenshot";
2313
- quality?: number | undefined;
2314
- fullPage?: boolean | undefined;
2315
- viewport?: {
2316
- width: number;
2317
- height: number;
2318
- } | undefined;
2319
- } | {
2320
- type: "attributes";
2321
- selectors: {
2322
- selector: string;
2323
- attribute: string;
2324
- }[];
2325
- })[];
2326
- onlyMainContent: boolean;
2327
- waitFor: number;
2328
- maxAge: number;
2329
2447
  location?: {
2330
- languages?: string[] | undefined;
2331
2448
  country?: string | undefined;
2332
- } | undefined;
2333
- headers?: Record<string, string> | undefined;
2334
- includeTags?: string[] | undefined;
2335
- excludeTags?: string[] | undefined;
2336
- actions?: ({
2337
- type: "wait";
2338
- selector?: string | undefined;
2339
- milliseconds?: number | undefined;
2340
- } | {
2341
- type: "screenshot";
2342
- quality?: number | undefined;
2343
- fullPage?: boolean | undefined;
2344
- viewport?: {
2345
- width: number;
2346
- height: number;
2347
- } | undefined;
2348
- } | {
2349
- type: "click";
2350
- selector: string;
2351
- } | {
2352
- type: "write";
2353
- text: string;
2354
- } | {
2355
- type: "press";
2356
- key: string;
2357
- } | {
2358
- type: "scroll";
2359
- direction: "up" | "down";
2360
- selector?: string | undefined;
2361
- } | {
2362
- type: "scrape";
2363
- } | {
2364
- type: "executeJavascript";
2365
- script: string;
2366
- } | {
2367
- type: "pdf";
2368
- format?: "Legal" | "A0" | "A1" | "A2" | "A3" | "A4" | "A5" | "A6" | "Letter" | "Tabloid" | "Ledger" | undefined;
2369
- scale?: number | undefined;
2370
- landscape?: boolean | undefined;
2371
- })[] | undefined;
2372
- mobile?: boolean | undefined;
2373
- integration?: string | undefined;
2374
- parsers?: (string | {
2375
- type: "pdf";
2376
- maxPages?: number | undefined;
2377
- })[] | undefined;
2378
- skipTlsVerification?: boolean | undefined;
2379
- removeBase64Images?: boolean | undefined;
2380
- fastMode?: boolean | undefined;
2381
- useMock?: string | undefined;
2382
- blockAds?: boolean | undefined;
2383
- proxy?: string | undefined;
2384
- storeInCache?: boolean | undefined;
2385
- } | undefined;
2386
- allowExternalLinks?: boolean | undefined;
2387
- pollInterval?: number | undefined;
2388
- enableWebSearch?: boolean | undefined;
2389
- showSources?: boolean | undefined;
2390
- }, {
2391
- operation: "extract";
2392
- urls: string[];
2393
- schema?: any;
2394
- credentials?: Partial<Record<CredentialType, string>> | undefined;
2395
- maxRetries?: number | undefined;
2396
- systemPrompt?: string | undefined;
2397
- agent?: {
2398
- model: "FIRE-1";
2399
- } | undefined;
2400
- timeout?: number | undefined;
2401
- prompt?: string | undefined;
2402
- integration?: string | undefined;
2403
- backoffFactor?: number | undefined;
2404
- ignoreInvalidURLs?: boolean | undefined;
2405
- scrapeOptions?: {
2406
- location?: {
2407
2449
  languages?: string[] | undefined;
2408
- country?: string | undefined;
2409
2450
  } | undefined;
2410
- timeout?: number | undefined;
2411
- headers?: Record<string, string> | undefined;
2412
- includeTags?: string[] | undefined;
2413
- excludeTags?: string[] | undefined;
2414
- actions?: ({
2415
- type: "wait";
2416
- selector?: string | undefined;
2417
- milliseconds?: number | undefined;
2418
- } | {
2419
- type: "screenshot";
2420
- quality?: number | undefined;
2421
- fullPage?: boolean | undefined;
2422
- viewport?: {
2423
- width: number;
2424
- height: number;
2425
- } | undefined;
2426
- } | {
2427
- type: "click";
2428
- selector: string;
2429
- } | {
2430
- type: "write";
2431
- text: string;
2432
- } | {
2433
- type: "press";
2434
- key: string;
2435
- } | {
2436
- type: "scroll";
2437
- direction: "up" | "down";
2438
- selector?: string | undefined;
2439
- } | {
2440
- type: "scrape";
2441
- } | {
2442
- type: "executeJavascript";
2443
- script: string;
2444
- } | {
2445
- type: "pdf";
2446
- format?: "Legal" | "A0" | "A1" | "A2" | "A3" | "A4" | "A5" | "A6" | "Letter" | "Tabloid" | "Ledger" | undefined;
2447
- scale?: number | undefined;
2448
- landscape?: boolean | undefined;
2449
- })[] | undefined;
2450
- mobile?: boolean | undefined;
2451
2451
  integration?: string | undefined;
2452
- formats?: ("summary" | "images" | "html" | "json" | "screenshot" | "markdown" | "rawHtml" | "links" | "attributes" | "changeTracking" | "branding" | {
2453
- type: "summary" | "images" | "html" | "json" | "screenshot" | "markdown" | "rawHtml" | "links" | "attributes" | "changeTracking" | "branding";
2452
+ formats?: ("images" | "summary" | "html" | "json" | "screenshot" | "markdown" | "rawHtml" | "links" | "attributes" | "changeTracking" | "branding" | {
2453
+ type: "images" | "summary" | "html" | "json" | "screenshot" | "markdown" | "rawHtml" | "links" | "attributes" | "changeTracking" | "branding";
2454
2454
  } | {
2455
2455
  type: "json";
2456
2456
  schema?: any;
@@ -2459,8 +2459,8 @@ declare const FirecrawlParamsSchema: z.ZodDiscriminatedUnion<"operation", [z.Zod
2459
2459
  type: "changeTracking";
2460
2460
  modes: ("json" | "git-diff")[];
2461
2461
  schema?: Record<string, unknown> | undefined;
2462
- tag?: string | undefined;
2463
2462
  prompt?: string | undefined;
2463
+ tag?: string | undefined;
2464
2464
  } | {
2465
2465
  type: "screenshot";
2466
2466
  quality?: number | undefined;
@@ -3951,11 +3951,11 @@ declare const FirecrawlResultSchema: z.ZodDiscriminatedUnion<"operation", [z.Zod
3951
3951
  } & {
3952
3952
  operation: z.ZodLiteral<"scrape">;
3953
3953
  }, "strip", z.ZodTypeAny, {
3954
- operation: "scrape";
3955
- success: boolean;
3956
3954
  error: string;
3957
- summary?: string | undefined;
3955
+ success: boolean;
3956
+ operation: "scrape";
3958
3957
  images?: string[] | undefined;
3958
+ summary?: string | undefined;
3959
3959
  metadata?: z.objectOutputType<{
3960
3960
  title: z.ZodOptional<z.ZodString>;
3961
3961
  description: z.ZodOptional<z.ZodString>;
@@ -4447,11 +4447,11 @@ declare const FirecrawlResultSchema: z.ZodDiscriminatedUnion<"operation", [z.Zod
4447
4447
  }>>;
4448
4448
  }, z.ZodUnknown, "strip"> | undefined;
4449
4449
  }, {
4450
- operation: "scrape";
4451
- success: boolean;
4452
4450
  error: string;
4453
- summary?: string | undefined;
4451
+ success: boolean;
4452
+ operation: "scrape";
4454
4453
  images?: string[] | undefined;
4454
+ summary?: string | undefined;
4455
4455
  metadata?: z.objectInputType<{
4456
4456
  title: z.ZodOptional<z.ZodString>;
4457
4457
  description: z.ZodOptional<z.ZodString>;
@@ -6412,8 +6412,8 @@ declare const FirecrawlResultSchema: z.ZodDiscriminatedUnion<"operation", [z.Zod
6412
6412
  }>>;
6413
6413
  }, z.ZodUnknown, "strip">>>;
6414
6414
  }, "strip", z.ZodTypeAny, {
6415
- summary?: string | undefined;
6416
6415
  images?: string[] | undefined;
6416
+ summary?: string | undefined;
6417
6417
  metadata?: z.objectOutputType<{
6418
6418
  title: z.ZodOptional<z.ZodString>;
6419
6419
  description: z.ZodOptional<z.ZodString>;
@@ -6905,8 +6905,8 @@ declare const FirecrawlResultSchema: z.ZodDiscriminatedUnion<"operation", [z.Zod
6905
6905
  }>>;
6906
6906
  }, z.ZodUnknown, "strip"> | undefined;
6907
6907
  }, {
6908
- summary?: string | undefined;
6909
6908
  images?: string[] | undefined;
6909
+ summary?: string | undefined;
6910
6910
  metadata?: z.objectInputType<{
6911
6911
  title: z.ZodOptional<z.ZodString>;
6912
6912
  description: z.ZodOptional<z.ZodString>;
@@ -7410,18 +7410,18 @@ declare const FirecrawlResultSchema: z.ZodDiscriminatedUnion<"operation", [z.Zod
7410
7410
  title?: string | undefined;
7411
7411
  date?: string | undefined;
7412
7412
  url?: string | undefined;
7413
- position?: number | undefined;
7414
7413
  snippet?: string | undefined;
7415
7414
  category?: string | undefined;
7416
7415
  imageUrl?: string | undefined;
7416
+ position?: number | undefined;
7417
7417
  }, {
7418
7418
  title?: string | undefined;
7419
7419
  date?: string | undefined;
7420
7420
  url?: string | undefined;
7421
- position?: number | undefined;
7422
7421
  snippet?: string | undefined;
7423
7422
  category?: string | undefined;
7424
7423
  imageUrl?: string | undefined;
7424
+ position?: number | undefined;
7425
7425
  }>, z.ZodObject<{
7426
7426
  markdown: z.ZodOptional<z.ZodString>;
7427
7427
  html: z.ZodOptional<z.ZodString>;
@@ -8872,8 +8872,8 @@ declare const FirecrawlResultSchema: z.ZodDiscriminatedUnion<"operation", [z.Zod
8872
8872
  }>>;
8873
8873
  }, z.ZodUnknown, "strip">>>;
8874
8874
  }, "strip", z.ZodTypeAny, {
8875
- summary?: string | undefined;
8876
8875
  images?: string[] | undefined;
8876
+ summary?: string | undefined;
8877
8877
  metadata?: z.objectOutputType<{
8878
8878
  title: z.ZodOptional<z.ZodString>;
8879
8879
  description: z.ZodOptional<z.ZodString>;
@@ -9365,8 +9365,8 @@ declare const FirecrawlResultSchema: z.ZodDiscriminatedUnion<"operation", [z.Zod
9365
9365
  }>>;
9366
9366
  }, z.ZodUnknown, "strip"> | undefined;
9367
9367
  }, {
9368
- summary?: string | undefined;
9369
9368
  images?: string[] | undefined;
9369
+ summary?: string | undefined;
9370
9370
  metadata?: z.objectInputType<{
9371
9371
  title: z.ZodOptional<z.ZodString>;
9372
9372
  description: z.ZodOptional<z.ZodString>;
@@ -9868,15 +9868,15 @@ declare const FirecrawlResultSchema: z.ZodDiscriminatedUnion<"operation", [z.Zod
9868
9868
  }, "strip", z.ZodTypeAny, {
9869
9869
  title?: string | undefined;
9870
9870
  url?: string | undefined;
9871
- position?: number | undefined;
9872
9871
  imageUrl?: string | undefined;
9872
+ position?: number | undefined;
9873
9873
  imageWidth?: number | undefined;
9874
9874
  imageHeight?: number | undefined;
9875
9875
  }, {
9876
9876
  title?: string | undefined;
9877
9877
  url?: string | undefined;
9878
- position?: number | undefined;
9879
9878
  imageUrl?: string | undefined;
9879
+ position?: number | undefined;
9880
9880
  imageWidth?: number | undefined;
9881
9881
  imageHeight?: number | undefined;
9882
9882
  }>, z.ZodObject<{
@@ -11329,8 +11329,8 @@ declare const FirecrawlResultSchema: z.ZodDiscriminatedUnion<"operation", [z.Zod
11329
11329
  }>>;
11330
11330
  }, z.ZodUnknown, "strip">>>;
11331
11331
  }, "strip", z.ZodTypeAny, {
11332
- summary?: string | undefined;
11333
11332
  images?: string[] | undefined;
11333
+ summary?: string | undefined;
11334
11334
  metadata?: z.objectOutputType<{
11335
11335
  title: z.ZodOptional<z.ZodString>;
11336
11336
  description: z.ZodOptional<z.ZodString>;
@@ -11822,8 +11822,8 @@ declare const FirecrawlResultSchema: z.ZodDiscriminatedUnion<"operation", [z.Zod
11822
11822
  }>>;
11823
11823
  }, z.ZodUnknown, "strip"> | undefined;
11824
11824
  }, {
11825
- summary?: string | undefined;
11826
11825
  images?: string[] | undefined;
11826
+ summary?: string | undefined;
11827
11827
  metadata?: z.objectInputType<{
11828
11828
  title: z.ZodOptional<z.ZodString>;
11829
11829
  description: z.ZodOptional<z.ZodString>;
@@ -12317,12 +12317,12 @@ declare const FirecrawlResultSchema: z.ZodDiscriminatedUnion<"operation", [z.Zod
12317
12317
  }>]>, "many">>;
12318
12318
  other: z.ZodOptional<z.ZodArray<z.ZodUnknown, "many">>;
12319
12319
  }, "strip", z.ZodTypeAny, {
12320
- operation: "search";
12321
- success: boolean;
12322
12320
  error: string;
12321
+ success: boolean;
12322
+ operation: "search";
12323
12323
  images?: ({
12324
- summary?: string | undefined;
12325
12324
  images?: string[] | undefined;
12325
+ summary?: string | undefined;
12326
12326
  metadata?: z.objectOutputType<{
12327
12327
  title: z.ZodOptional<z.ZodString>;
12328
12328
  description: z.ZodOptional<z.ZodString>;
@@ -12816,14 +12816,14 @@ declare const FirecrawlResultSchema: z.ZodDiscriminatedUnion<"operation", [z.Zod
12816
12816
  } | {
12817
12817
  title?: string | undefined;
12818
12818
  url?: string | undefined;
12819
- position?: number | undefined;
12820
12819
  imageUrl?: string | undefined;
12820
+ position?: number | undefined;
12821
12821
  imageWidth?: number | undefined;
12822
12822
  imageHeight?: number | undefined;
12823
12823
  })[] | undefined;
12824
12824
  web?: ({
12825
- summary?: string | undefined;
12826
12825
  images?: string[] | undefined;
12826
+ summary?: string | undefined;
12827
12827
  metadata?: z.objectOutputType<{
12828
12828
  title: z.ZodOptional<z.ZodString>;
12829
12829
  description: z.ZodOptional<z.ZodString>;
@@ -13321,8 +13321,8 @@ declare const FirecrawlResultSchema: z.ZodDiscriminatedUnion<"operation", [z.Zod
13321
13321
  category?: string | undefined;
13322
13322
  })[] | undefined;
13323
13323
  news?: ({
13324
- summary?: string | undefined;
13325
13324
  images?: string[] | undefined;
13325
+ summary?: string | undefined;
13326
13326
  metadata?: z.objectOutputType<{
13327
13327
  title: z.ZodOptional<z.ZodString>;
13328
13328
  description: z.ZodOptional<z.ZodString>;
@@ -13817,19 +13817,19 @@ declare const FirecrawlResultSchema: z.ZodDiscriminatedUnion<"operation", [z.Zod
13817
13817
  title?: string | undefined;
13818
13818
  date?: string | undefined;
13819
13819
  url?: string | undefined;
13820
- position?: number | undefined;
13821
13820
  snippet?: string | undefined;
13822
13821
  category?: string | undefined;
13823
13822
  imageUrl?: string | undefined;
13823
+ position?: number | undefined;
13824
13824
  })[] | undefined;
13825
13825
  other?: unknown[] | undefined;
13826
13826
  }, {
13827
- operation: "search";
13828
- success: boolean;
13829
13827
  error: string;
13828
+ success: boolean;
13829
+ operation: "search";
13830
13830
  images?: ({
13831
- summary?: string | undefined;
13832
13831
  images?: string[] | undefined;
13832
+ summary?: string | undefined;
13833
13833
  metadata?: z.objectInputType<{
13834
13834
  title: z.ZodOptional<z.ZodString>;
13835
13835
  description: z.ZodOptional<z.ZodString>;
@@ -14323,14 +14323,14 @@ declare const FirecrawlResultSchema: z.ZodDiscriminatedUnion<"operation", [z.Zod
14323
14323
  } | {
14324
14324
  title?: string | undefined;
14325
14325
  url?: string | undefined;
14326
- position?: number | undefined;
14327
14326
  imageUrl?: string | undefined;
14327
+ position?: number | undefined;
14328
14328
  imageWidth?: number | undefined;
14329
14329
  imageHeight?: number | undefined;
14330
14330
  })[] | undefined;
14331
14331
  web?: ({
14332
- summary?: string | undefined;
14333
14332
  images?: string[] | undefined;
14333
+ summary?: string | undefined;
14334
14334
  metadata?: z.objectInputType<{
14335
14335
  title: z.ZodOptional<z.ZodString>;
14336
14336
  description: z.ZodOptional<z.ZodString>;
@@ -14828,8 +14828,8 @@ declare const FirecrawlResultSchema: z.ZodDiscriminatedUnion<"operation", [z.Zod
14828
14828
  category?: string | undefined;
14829
14829
  })[] | undefined;
14830
14830
  news?: ({
14831
- summary?: string | undefined;
14832
14831
  images?: string[] | undefined;
14832
+ summary?: string | undefined;
14833
14833
  metadata?: z.objectInputType<{
14834
14834
  title: z.ZodOptional<z.ZodString>;
14835
14835
  description: z.ZodOptional<z.ZodString>;
@@ -15324,10 +15324,10 @@ declare const FirecrawlResultSchema: z.ZodDiscriminatedUnion<"operation", [z.Zod
15324
15324
  title?: string | undefined;
15325
15325
  date?: string | undefined;
15326
15326
  url?: string | undefined;
15327
- position?: number | undefined;
15328
15327
  snippet?: string | undefined;
15329
15328
  category?: string | undefined;
15330
15329
  imageUrl?: string | undefined;
15330
+ position?: number | undefined;
15331
15331
  })[] | undefined;
15332
15332
  other?: unknown[] | undefined;
15333
15333
  }>, z.ZodObject<{
@@ -15352,9 +15352,9 @@ declare const FirecrawlResultSchema: z.ZodDiscriminatedUnion<"operation", [z.Zod
15352
15352
  category?: string | undefined;
15353
15353
  }>, "many">;
15354
15354
  }, "strip", z.ZodTypeAny, {
15355
- operation: "map";
15356
- success: boolean;
15357
15355
  error: string;
15356
+ success: boolean;
15357
+ operation: "map";
15358
15358
  links: {
15359
15359
  url: string;
15360
15360
  description?: string | undefined;
@@ -15362,9 +15362,9 @@ declare const FirecrawlResultSchema: z.ZodDiscriminatedUnion<"operation", [z.Zod
15362
15362
  category?: string | undefined;
15363
15363
  }[];
15364
15364
  }, {
15365
- operation: "map";
15366
- success: boolean;
15367
15365
  error: string;
15366
+ success: boolean;
15367
+ operation: "map";
15368
15368
  links: {
15369
15369
  url: string;
15370
15370
  description?: string | undefined;
@@ -16831,8 +16831,8 @@ declare const FirecrawlResultSchema: z.ZodDiscriminatedUnion<"operation", [z.Zod
16831
16831
  }>>;
16832
16832
  }, z.ZodUnknown, "strip">>>;
16833
16833
  }, "strip", z.ZodTypeAny, {
16834
- summary?: string | undefined;
16835
16834
  images?: string[] | undefined;
16835
+ summary?: string | undefined;
16836
16836
  metadata?: z.objectOutputType<{
16837
16837
  title: z.ZodOptional<z.ZodString>;
16838
16838
  description: z.ZodOptional<z.ZodString>;
@@ -17324,8 +17324,8 @@ declare const FirecrawlResultSchema: z.ZodDiscriminatedUnion<"operation", [z.Zod
17324
17324
  }>>;
17325
17325
  }, z.ZodUnknown, "strip"> | undefined;
17326
17326
  }, {
17327
- summary?: string | undefined;
17328
17327
  images?: string[] | undefined;
17328
+ summary?: string | undefined;
17329
17329
  metadata?: z.objectInputType<{
17330
17330
  title: z.ZodOptional<z.ZodString>;
17331
17331
  description: z.ZodOptional<z.ZodString>;
@@ -17818,13 +17818,9 @@ declare const FirecrawlResultSchema: z.ZodDiscriminatedUnion<"operation", [z.Zod
17818
17818
  }, z.ZodUnknown, "strip"> | undefined;
17819
17819
  }>, "many">;
17820
17820
  }, "strip", z.ZodTypeAny, {
17821
- operation: "crawl";
17822
- status: "failed" | "completed" | "scraping" | "cancelled";
17823
- success: boolean;
17824
- error: string;
17825
17821
  data: {
17826
- summary?: string | undefined;
17827
17822
  images?: string[] | undefined;
17823
+ summary?: string | undefined;
17828
17824
  metadata?: z.objectOutputType<{
17829
17825
  title: z.ZodOptional<z.ZodString>;
17830
17826
  description: z.ZodOptional<z.ZodString>;
@@ -18316,18 +18312,18 @@ declare const FirecrawlResultSchema: z.ZodDiscriminatedUnion<"operation", [z.Zod
18316
18312
  }>>;
18317
18313
  }, z.ZodUnknown, "strip"> | undefined;
18318
18314
  }[];
18315
+ status: "failed" | "completed" | "scraping" | "cancelled";
18316
+ error: string;
18317
+ success: boolean;
18318
+ operation: "crawl";
18319
18319
  completed: number;
18320
18320
  total: number;
18321
18321
  creditsUsed?: number | undefined;
18322
18322
  expiresAt?: string | undefined;
18323
18323
  }, {
18324
- operation: "crawl";
18325
- status: "failed" | "completed" | "scraping" | "cancelled";
18326
- success: boolean;
18327
- error: string;
18328
18324
  data: {
18329
- summary?: string | undefined;
18330
18325
  images?: string[] | undefined;
18326
+ summary?: string | undefined;
18331
18327
  metadata?: z.objectInputType<{
18332
18328
  title: z.ZodOptional<z.ZodString>;
18333
18329
  description: z.ZodOptional<z.ZodString>;
@@ -18819,6 +18815,10 @@ declare const FirecrawlResultSchema: z.ZodDiscriminatedUnion<"operation", [z.Zod
18819
18815
  }>>;
18820
18816
  }, z.ZodUnknown, "strip"> | undefined;
18821
18817
  }[];
18818
+ status: "failed" | "completed" | "scraping" | "cancelled";
18819
+ error: string;
18820
+ success: boolean;
18821
+ operation: "crawl";
18822
18822
  completed: number;
18823
18823
  total: number;
18824
18824
  creditsUsed?: number | undefined;
@@ -18835,22 +18835,22 @@ declare const FirecrawlResultSchema: z.ZodDiscriminatedUnion<"operation", [z.Zod
18835
18835
  sources: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
18836
18836
  expiresAt: z.ZodOptional<z.ZodString>;
18837
18837
  }, "strip", z.ZodTypeAny, {
18838
- operation: "extract";
18839
- success: boolean;
18840
18838
  error: string;
18839
+ success: boolean;
18840
+ operation: "extract";
18841
+ data?: unknown;
18841
18842
  status?: "failed" | "completed" | "cancelled" | "processing" | undefined;
18842
18843
  id?: string | undefined;
18843
- data?: unknown;
18844
18844
  warning?: string | undefined;
18845
18845
  sources?: Record<string, unknown> | undefined;
18846
18846
  expiresAt?: string | undefined;
18847
18847
  }, {
18848
- operation: "extract";
18849
- success: boolean;
18850
18848
  error: string;
18849
+ success: boolean;
18850
+ operation: "extract";
18851
+ data?: unknown;
18851
18852
  status?: "failed" | "completed" | "cancelled" | "processing" | undefined;
18852
18853
  id?: string | undefined;
18853
- data?: unknown;
18854
18854
  warning?: string | undefined;
18855
18855
  sources?: Record<string, unknown> | undefined;
18856
18856
  expiresAt?: string | undefined;
@@ -18876,9 +18876,9 @@ export declare class FirecrawlBubble<T extends FirecrawlParams = FirecrawlParams
18876
18876
  formats: z.ZodDefault<z.ZodArray<z.ZodUnion<[z.ZodEnum<["markdown", "html", "rawHtml", "links", "images", "screenshot", "summary", "changeTracking", "json", "attributes", "branding"]>, z.ZodObject<{
18877
18877
  type: z.ZodEnum<["markdown", "html", "rawHtml", "links", "images", "screenshot", "summary", "changeTracking", "json", "attributes", "branding"]>;
18878
18878
  }, "strip", z.ZodTypeAny, {
18879
- type: "summary" | "images" | "html" | "json" | "screenshot" | "markdown" | "rawHtml" | "links" | "attributes" | "changeTracking" | "branding";
18879
+ type: "images" | "summary" | "html" | "json" | "screenshot" | "markdown" | "rawHtml" | "links" | "attributes" | "changeTracking" | "branding";
18880
18880
  }, {
18881
- type: "summary" | "images" | "html" | "json" | "screenshot" | "markdown" | "rawHtml" | "links" | "attributes" | "changeTracking" | "branding";
18881
+ type: "images" | "summary" | "html" | "json" | "screenshot" | "markdown" | "rawHtml" | "links" | "attributes" | "changeTracking" | "branding";
18882
18882
  }>, z.ZodObject<{
18883
18883
  type: z.ZodLiteral<"json">;
18884
18884
  prompt: z.ZodOptional<z.ZodString>;
@@ -18901,14 +18901,14 @@ export declare class FirecrawlBubble<T extends FirecrawlParams = FirecrawlParams
18901
18901
  type: "changeTracking";
18902
18902
  modes: ("json" | "git-diff")[];
18903
18903
  schema?: Record<string, unknown> | undefined;
18904
- tag?: string | undefined;
18905
18904
  prompt?: string | undefined;
18905
+ tag?: string | undefined;
18906
18906
  }, {
18907
18907
  type: "changeTracking";
18908
18908
  modes: ("json" | "git-diff")[];
18909
18909
  schema?: Record<string, unknown> | undefined;
18910
- tag?: string | undefined;
18911
18910
  prompt?: string | undefined;
18911
+ tag?: string | undefined;
18912
18912
  }>, z.ZodObject<{
18913
18913
  type: z.ZodLiteral<"screenshot">;
18914
18914
  fullPage: z.ZodOptional<z.ZodBoolean>;
@@ -19084,12 +19084,12 @@ export declare class FirecrawlBubble<T extends FirecrawlParams = FirecrawlParams
19084
19084
  scale: z.ZodOptional<z.ZodNumber>;
19085
19085
  }, "strip", z.ZodTypeAny, {
19086
19086
  type: "pdf";
19087
- format?: "Legal" | "A0" | "A1" | "A2" | "A3" | "A4" | "A5" | "A6" | "Letter" | "Tabloid" | "Ledger" | undefined;
19087
+ format?: "A0" | "A1" | "A2" | "A3" | "A4" | "A5" | "A6" | "Letter" | "Legal" | "Tabloid" | "Ledger" | undefined;
19088
19088
  scale?: number | undefined;
19089
19089
  landscape?: boolean | undefined;
19090
19090
  }, {
19091
19091
  type: "pdf";
19092
- format?: "Legal" | "A0" | "A1" | "A2" | "A3" | "A4" | "A5" | "A6" | "Letter" | "Tabloid" | "Ledger" | undefined;
19092
+ format?: "A0" | "A1" | "A2" | "A3" | "A4" | "A5" | "A6" | "Letter" | "Legal" | "Tabloid" | "Ledger" | undefined;
19093
19093
  scale?: number | undefined;
19094
19094
  landscape?: boolean | undefined;
19095
19095
  }>]>, "many">>;
@@ -19097,11 +19097,11 @@ export declare class FirecrawlBubble<T extends FirecrawlParams = FirecrawlParams
19097
19097
  country: z.ZodOptional<z.ZodString>;
19098
19098
  languages: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
19099
19099
  }, "strip", z.ZodTypeAny, {
19100
- languages?: string[] | undefined;
19101
19100
  country?: string | undefined;
19102
- }, {
19103
19101
  languages?: string[] | undefined;
19102
+ }, {
19104
19103
  country?: string | undefined;
19104
+ languages?: string[] | undefined;
19105
19105
  }>>;
19106
19106
  skipTlsVerification: z.ZodOptional<z.ZodBoolean>;
19107
19107
  removeBase64Images: z.ZodOptional<z.ZodBoolean>;
@@ -19116,11 +19116,11 @@ export declare class FirecrawlBubble<T extends FirecrawlParams = FirecrawlParams
19116
19116
  operation: z.ZodLiteral<"scrape">;
19117
19117
  url: z.ZodString;
19118
19118
  }, "strip", z.ZodTypeAny, {
19119
- operation: "scrape";
19120
19119
  url: string;
19121
19120
  timeout: number;
19122
- formats: ("summary" | "images" | "html" | "json" | "screenshot" | "markdown" | "rawHtml" | "links" | "attributes" | "changeTracking" | "branding" | {
19123
- type: "summary" | "images" | "html" | "json" | "screenshot" | "markdown" | "rawHtml" | "links" | "attributes" | "changeTracking" | "branding";
19121
+ operation: "scrape";
19122
+ formats: ("images" | "summary" | "html" | "json" | "screenshot" | "markdown" | "rawHtml" | "links" | "attributes" | "changeTracking" | "branding" | {
19123
+ type: "images" | "summary" | "html" | "json" | "screenshot" | "markdown" | "rawHtml" | "links" | "attributes" | "changeTracking" | "branding";
19124
19124
  } | {
19125
19125
  type: "json";
19126
19126
  schema?: any;
@@ -19129,8 +19129,8 @@ export declare class FirecrawlBubble<T extends FirecrawlParams = FirecrawlParams
19129
19129
  type: "changeTracking";
19130
19130
  modes: ("json" | "git-diff")[];
19131
19131
  schema?: Record<string, unknown> | undefined;
19132
- tag?: string | undefined;
19133
19132
  prompt?: string | undefined;
19133
+ tag?: string | undefined;
19134
19134
  } | {
19135
19135
  type: "screenshot";
19136
19136
  quality?: number | undefined;
@@ -19149,12 +19149,8 @@ export declare class FirecrawlBubble<T extends FirecrawlParams = FirecrawlParams
19149
19149
  onlyMainContent: boolean;
19150
19150
  waitFor: number;
19151
19151
  maxAge: number;
19152
- credentials?: Partial<Record<CredentialType, string>> | undefined;
19153
- location?: {
19154
- languages?: string[] | undefined;
19155
- country?: string | undefined;
19156
- } | undefined;
19157
19152
  maxRetries?: number | undefined;
19153
+ credentials?: Partial<Record<CredentialType, string>> | undefined;
19158
19154
  headers?: Record<string, string> | undefined;
19159
19155
  includeTags?: string[] | undefined;
19160
19156
  excludeTags?: string[] | undefined;
@@ -19190,11 +19186,15 @@ export declare class FirecrawlBubble<T extends FirecrawlParams = FirecrawlParams
19190
19186
  script: string;
19191
19187
  } | {
19192
19188
  type: "pdf";
19193
- format?: "Legal" | "A0" | "A1" | "A2" | "A3" | "A4" | "A5" | "A6" | "Letter" | "Tabloid" | "Ledger" | undefined;
19189
+ format?: "A0" | "A1" | "A2" | "A3" | "A4" | "A5" | "A6" | "Letter" | "Legal" | "Tabloid" | "Ledger" | undefined;
19194
19190
  scale?: number | undefined;
19195
19191
  landscape?: boolean | undefined;
19196
19192
  })[] | undefined;
19197
19193
  mobile?: boolean | undefined;
19194
+ location?: {
19195
+ country?: string | undefined;
19196
+ languages?: string[] | undefined;
19197
+ } | undefined;
19198
19198
  integration?: string | undefined;
19199
19199
  parsers?: (string | {
19200
19200
  type: "pdf";
@@ -19209,14 +19209,10 @@ export declare class FirecrawlBubble<T extends FirecrawlParams = FirecrawlParams
19209
19209
  storeInCache?: boolean | undefined;
19210
19210
  backoffFactor?: number | undefined;
19211
19211
  }, {
19212
- operation: "scrape";
19213
19212
  url: string;
19214
- credentials?: Partial<Record<CredentialType, string>> | undefined;
19215
- location?: {
19216
- languages?: string[] | undefined;
19217
- country?: string | undefined;
19218
- } | undefined;
19213
+ operation: "scrape";
19219
19214
  maxRetries?: number | undefined;
19215
+ credentials?: Partial<Record<CredentialType, string>> | undefined;
19220
19216
  timeout?: number | undefined;
19221
19217
  headers?: Record<string, string> | undefined;
19222
19218
  includeTags?: string[] | undefined;
@@ -19253,14 +19249,18 @@ export declare class FirecrawlBubble<T extends FirecrawlParams = FirecrawlParams
19253
19249
  script: string;
19254
19250
  } | {
19255
19251
  type: "pdf";
19256
- format?: "Legal" | "A0" | "A1" | "A2" | "A3" | "A4" | "A5" | "A6" | "Letter" | "Tabloid" | "Ledger" | undefined;
19252
+ format?: "A0" | "A1" | "A2" | "A3" | "A4" | "A5" | "A6" | "Letter" | "Legal" | "Tabloid" | "Ledger" | undefined;
19257
19253
  scale?: number | undefined;
19258
19254
  landscape?: boolean | undefined;
19259
19255
  })[] | undefined;
19260
19256
  mobile?: boolean | undefined;
19257
+ location?: {
19258
+ country?: string | undefined;
19259
+ languages?: string[] | undefined;
19260
+ } | undefined;
19261
19261
  integration?: string | undefined;
19262
- formats?: ("summary" | "images" | "html" | "json" | "screenshot" | "markdown" | "rawHtml" | "links" | "attributes" | "changeTracking" | "branding" | {
19263
- type: "summary" | "images" | "html" | "json" | "screenshot" | "markdown" | "rawHtml" | "links" | "attributes" | "changeTracking" | "branding";
19262
+ formats?: ("images" | "summary" | "html" | "json" | "screenshot" | "markdown" | "rawHtml" | "links" | "attributes" | "changeTracking" | "branding" | {
19263
+ type: "images" | "summary" | "html" | "json" | "screenshot" | "markdown" | "rawHtml" | "links" | "attributes" | "changeTracking" | "branding";
19264
19264
  } | {
19265
19265
  type: "json";
19266
19266
  schema?: any;
@@ -19269,8 +19269,8 @@ export declare class FirecrawlBubble<T extends FirecrawlParams = FirecrawlParams
19269
19269
  type: "changeTracking";
19270
19270
  modes: ("json" | "git-diff")[];
19271
19271
  schema?: Record<string, unknown> | undefined;
19272
- tag?: string | undefined;
19273
19272
  prompt?: string | undefined;
19273
+ tag?: string | undefined;
19274
19274
  } | {
19275
19275
  type: "screenshot";
19276
19276
  quality?: number | undefined;
@@ -19331,9 +19331,9 @@ export declare class FirecrawlBubble<T extends FirecrawlParams = FirecrawlParams
19331
19331
  formats: z.ZodDefault<z.ZodArray<z.ZodUnion<[z.ZodEnum<["markdown", "html", "rawHtml", "links", "images", "screenshot", "summary", "changeTracking", "json", "attributes", "branding"]>, z.ZodObject<{
19332
19332
  type: z.ZodEnum<["markdown", "html", "rawHtml", "links", "images", "screenshot", "summary", "changeTracking", "json", "attributes", "branding"]>;
19333
19333
  }, "strip", z.ZodTypeAny, {
19334
- type: "summary" | "images" | "html" | "json" | "screenshot" | "markdown" | "rawHtml" | "links" | "attributes" | "changeTracking" | "branding";
19334
+ type: "images" | "summary" | "html" | "json" | "screenshot" | "markdown" | "rawHtml" | "links" | "attributes" | "changeTracking" | "branding";
19335
19335
  }, {
19336
- type: "summary" | "images" | "html" | "json" | "screenshot" | "markdown" | "rawHtml" | "links" | "attributes" | "changeTracking" | "branding";
19336
+ type: "images" | "summary" | "html" | "json" | "screenshot" | "markdown" | "rawHtml" | "links" | "attributes" | "changeTracking" | "branding";
19337
19337
  }>, z.ZodObject<{
19338
19338
  type: z.ZodLiteral<"json">;
19339
19339
  prompt: z.ZodOptional<z.ZodString>;
@@ -19356,14 +19356,14 @@ export declare class FirecrawlBubble<T extends FirecrawlParams = FirecrawlParams
19356
19356
  type: "changeTracking";
19357
19357
  modes: ("json" | "git-diff")[];
19358
19358
  schema?: Record<string, unknown> | undefined;
19359
- tag?: string | undefined;
19360
19359
  prompt?: string | undefined;
19360
+ tag?: string | undefined;
19361
19361
  }, {
19362
19362
  type: "changeTracking";
19363
19363
  modes: ("json" | "git-diff")[];
19364
19364
  schema?: Record<string, unknown> | undefined;
19365
- tag?: string | undefined;
19366
19365
  prompt?: string | undefined;
19366
+ tag?: string | undefined;
19367
19367
  }>, z.ZodObject<{
19368
19368
  type: z.ZodLiteral<"screenshot">;
19369
19369
  fullPage: z.ZodOptional<z.ZodBoolean>;
@@ -19539,12 +19539,12 @@ export declare class FirecrawlBubble<T extends FirecrawlParams = FirecrawlParams
19539
19539
  scale: z.ZodOptional<z.ZodNumber>;
19540
19540
  }, "strip", z.ZodTypeAny, {
19541
19541
  type: "pdf";
19542
- format?: "Legal" | "A0" | "A1" | "A2" | "A3" | "A4" | "A5" | "A6" | "Letter" | "Tabloid" | "Ledger" | undefined;
19542
+ format?: "A0" | "A1" | "A2" | "A3" | "A4" | "A5" | "A6" | "Letter" | "Legal" | "Tabloid" | "Ledger" | undefined;
19543
19543
  scale?: number | undefined;
19544
19544
  landscape?: boolean | undefined;
19545
19545
  }, {
19546
19546
  type: "pdf";
19547
- format?: "Legal" | "A0" | "A1" | "A2" | "A3" | "A4" | "A5" | "A6" | "Letter" | "Tabloid" | "Ledger" | undefined;
19547
+ format?: "A0" | "A1" | "A2" | "A3" | "A4" | "A5" | "A6" | "Letter" | "Legal" | "Tabloid" | "Ledger" | undefined;
19548
19548
  scale?: number | undefined;
19549
19549
  landscape?: boolean | undefined;
19550
19550
  }>]>, "many">>;
@@ -19552,11 +19552,11 @@ export declare class FirecrawlBubble<T extends FirecrawlParams = FirecrawlParams
19552
19552
  country: z.ZodOptional<z.ZodString>;
19553
19553
  languages: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
19554
19554
  }, "strip", z.ZodTypeAny, {
19555
- languages?: string[] | undefined;
19556
19555
  country?: string | undefined;
19557
- }, {
19558
19556
  languages?: string[] | undefined;
19557
+ }, {
19559
19558
  country?: string | undefined;
19559
+ languages?: string[] | undefined;
19560
19560
  }>>;
19561
19561
  skipTlsVerification: z.ZodOptional<z.ZodBoolean>;
19562
19562
  removeBase64Images: z.ZodOptional<z.ZodBoolean>;
@@ -19569,8 +19569,8 @@ export declare class FirecrawlBubble<T extends FirecrawlParams = FirecrawlParams
19569
19569
  integration: z.ZodOptional<z.ZodString>;
19570
19570
  }, "strip", z.ZodTypeAny, {
19571
19571
  timeout: number;
19572
- formats: ("summary" | "images" | "html" | "json" | "screenshot" | "markdown" | "rawHtml" | "links" | "attributes" | "changeTracking" | "branding" | {
19573
- type: "summary" | "images" | "html" | "json" | "screenshot" | "markdown" | "rawHtml" | "links" | "attributes" | "changeTracking" | "branding";
19572
+ formats: ("images" | "summary" | "html" | "json" | "screenshot" | "markdown" | "rawHtml" | "links" | "attributes" | "changeTracking" | "branding" | {
19573
+ type: "images" | "summary" | "html" | "json" | "screenshot" | "markdown" | "rawHtml" | "links" | "attributes" | "changeTracking" | "branding";
19574
19574
  } | {
19575
19575
  type: "json";
19576
19576
  schema?: any;
@@ -19579,8 +19579,8 @@ export declare class FirecrawlBubble<T extends FirecrawlParams = FirecrawlParams
19579
19579
  type: "changeTracking";
19580
19580
  modes: ("json" | "git-diff")[];
19581
19581
  schema?: Record<string, unknown> | undefined;
19582
- tag?: string | undefined;
19583
19582
  prompt?: string | undefined;
19583
+ tag?: string | undefined;
19584
19584
  } | {
19585
19585
  type: "screenshot";
19586
19586
  quality?: number | undefined;
@@ -19599,10 +19599,6 @@ export declare class FirecrawlBubble<T extends FirecrawlParams = FirecrawlParams
19599
19599
  onlyMainContent: boolean;
19600
19600
  waitFor: number;
19601
19601
  maxAge: number;
19602
- location?: {
19603
- languages?: string[] | undefined;
19604
- country?: string | undefined;
19605
- } | undefined;
19606
19602
  headers?: Record<string, string> | undefined;
19607
19603
  includeTags?: string[] | undefined;
19608
19604
  excludeTags?: string[] | undefined;
@@ -19638,11 +19634,15 @@ export declare class FirecrawlBubble<T extends FirecrawlParams = FirecrawlParams
19638
19634
  script: string;
19639
19635
  } | {
19640
19636
  type: "pdf";
19641
- format?: "Legal" | "A0" | "A1" | "A2" | "A3" | "A4" | "A5" | "A6" | "Letter" | "Tabloid" | "Ledger" | undefined;
19637
+ format?: "A0" | "A1" | "A2" | "A3" | "A4" | "A5" | "A6" | "Letter" | "Legal" | "Tabloid" | "Ledger" | undefined;
19642
19638
  scale?: number | undefined;
19643
19639
  landscape?: boolean | undefined;
19644
19640
  })[] | undefined;
19645
19641
  mobile?: boolean | undefined;
19642
+ location?: {
19643
+ country?: string | undefined;
19644
+ languages?: string[] | undefined;
19645
+ } | undefined;
19646
19646
  integration?: string | undefined;
19647
19647
  parsers?: (string | {
19648
19648
  type: "pdf";
@@ -19656,10 +19656,6 @@ export declare class FirecrawlBubble<T extends FirecrawlParams = FirecrawlParams
19656
19656
  proxy?: string | undefined;
19657
19657
  storeInCache?: boolean | undefined;
19658
19658
  }, {
19659
- location?: {
19660
- languages?: string[] | undefined;
19661
- country?: string | undefined;
19662
- } | undefined;
19663
19659
  timeout?: number | undefined;
19664
19660
  headers?: Record<string, string> | undefined;
19665
19661
  includeTags?: string[] | undefined;
@@ -19696,14 +19692,18 @@ export declare class FirecrawlBubble<T extends FirecrawlParams = FirecrawlParams
19696
19692
  script: string;
19697
19693
  } | {
19698
19694
  type: "pdf";
19699
- format?: "Legal" | "A0" | "A1" | "A2" | "A3" | "A4" | "A5" | "A6" | "Letter" | "Tabloid" | "Ledger" | undefined;
19695
+ format?: "A0" | "A1" | "A2" | "A3" | "A4" | "A5" | "A6" | "Letter" | "Legal" | "Tabloid" | "Ledger" | undefined;
19700
19696
  scale?: number | undefined;
19701
19697
  landscape?: boolean | undefined;
19702
19698
  })[] | undefined;
19703
19699
  mobile?: boolean | undefined;
19700
+ location?: {
19701
+ country?: string | undefined;
19702
+ languages?: string[] | undefined;
19703
+ } | undefined;
19704
19704
  integration?: string | undefined;
19705
- formats?: ("summary" | "images" | "html" | "json" | "screenshot" | "markdown" | "rawHtml" | "links" | "attributes" | "changeTracking" | "branding" | {
19706
- type: "summary" | "images" | "html" | "json" | "screenshot" | "markdown" | "rawHtml" | "links" | "attributes" | "changeTracking" | "branding";
19705
+ formats?: ("images" | "summary" | "html" | "json" | "screenshot" | "markdown" | "rawHtml" | "links" | "attributes" | "changeTracking" | "branding" | {
19706
+ type: "images" | "summary" | "html" | "json" | "screenshot" | "markdown" | "rawHtml" | "links" | "attributes" | "changeTracking" | "branding";
19707
19707
  } | {
19708
19708
  type: "json";
19709
19709
  schema?: any;
@@ -19712,8 +19712,8 @@ export declare class FirecrawlBubble<T extends FirecrawlParams = FirecrawlParams
19712
19712
  type: "changeTracking";
19713
19713
  modes: ("json" | "git-diff")[];
19714
19714
  schema?: Record<string, unknown> | undefined;
19715
- tag?: string | undefined;
19716
19715
  prompt?: string | undefined;
19716
+ tag?: string | undefined;
19717
19717
  } | {
19718
19718
  type: "screenshot";
19719
19719
  quality?: number | undefined;
@@ -19746,13 +19746,13 @@ export declare class FirecrawlBubble<T extends FirecrawlParams = FirecrawlParams
19746
19746
  }>>;
19747
19747
  integration: z.ZodOptional<z.ZodString>;
19748
19748
  }, "strip", z.ZodTypeAny, {
19749
- operation: "search";
19750
19749
  query: string;
19751
- limit?: number | undefined;
19752
- credentials?: Partial<Record<CredentialType, string>> | undefined;
19753
- location?: string | undefined;
19750
+ operation: "search";
19754
19751
  maxRetries?: number | undefined;
19752
+ credentials?: Partial<Record<CredentialType, string>> | undefined;
19755
19753
  timeout?: number | undefined;
19754
+ limit?: number | undefined;
19755
+ location?: string | undefined;
19756
19756
  categories?: ("github" | "pdf" | "research" | {
19757
19757
  type: "github" | "pdf" | "research";
19758
19758
  })[] | undefined;
@@ -19765,8 +19765,8 @@ export declare class FirecrawlBubble<T extends FirecrawlParams = FirecrawlParams
19765
19765
  ignoreInvalidURLs?: boolean | undefined;
19766
19766
  scrapeOptions?: {
19767
19767
  timeout: number;
19768
- formats: ("summary" | "images" | "html" | "json" | "screenshot" | "markdown" | "rawHtml" | "links" | "attributes" | "changeTracking" | "branding" | {
19769
- type: "summary" | "images" | "html" | "json" | "screenshot" | "markdown" | "rawHtml" | "links" | "attributes" | "changeTracking" | "branding";
19768
+ formats: ("images" | "summary" | "html" | "json" | "screenshot" | "markdown" | "rawHtml" | "links" | "attributes" | "changeTracking" | "branding" | {
19769
+ type: "images" | "summary" | "html" | "json" | "screenshot" | "markdown" | "rawHtml" | "links" | "attributes" | "changeTracking" | "branding";
19770
19770
  } | {
19771
19771
  type: "json";
19772
19772
  schema?: any;
@@ -19775,8 +19775,8 @@ export declare class FirecrawlBubble<T extends FirecrawlParams = FirecrawlParams
19775
19775
  type: "changeTracking";
19776
19776
  modes: ("json" | "git-diff")[];
19777
19777
  schema?: Record<string, unknown> | undefined;
19778
- tag?: string | undefined;
19779
19778
  prompt?: string | undefined;
19779
+ tag?: string | undefined;
19780
19780
  } | {
19781
19781
  type: "screenshot";
19782
19782
  quality?: number | undefined;
@@ -19795,10 +19795,6 @@ export declare class FirecrawlBubble<T extends FirecrawlParams = FirecrawlParams
19795
19795
  onlyMainContent: boolean;
19796
19796
  waitFor: number;
19797
19797
  maxAge: number;
19798
- location?: {
19799
- languages?: string[] | undefined;
19800
- country?: string | undefined;
19801
- } | undefined;
19802
19798
  headers?: Record<string, string> | undefined;
19803
19799
  includeTags?: string[] | undefined;
19804
19800
  excludeTags?: string[] | undefined;
@@ -19834,11 +19830,15 @@ export declare class FirecrawlBubble<T extends FirecrawlParams = FirecrawlParams
19834
19830
  script: string;
19835
19831
  } | {
19836
19832
  type: "pdf";
19837
- format?: "Legal" | "A0" | "A1" | "A2" | "A3" | "A4" | "A5" | "A6" | "Letter" | "Tabloid" | "Ledger" | undefined;
19833
+ format?: "A0" | "A1" | "A2" | "A3" | "A4" | "A5" | "A6" | "Letter" | "Legal" | "Tabloid" | "Ledger" | undefined;
19838
19834
  scale?: number | undefined;
19839
19835
  landscape?: boolean | undefined;
19840
19836
  })[] | undefined;
19841
19837
  mobile?: boolean | undefined;
19838
+ location?: {
19839
+ country?: string | undefined;
19840
+ languages?: string[] | undefined;
19841
+ } | undefined;
19842
19842
  integration?: string | undefined;
19843
19843
  parsers?: (string | {
19844
19844
  type: "pdf";
@@ -19853,13 +19853,13 @@ export declare class FirecrawlBubble<T extends FirecrawlParams = FirecrawlParams
19853
19853
  storeInCache?: boolean | undefined;
19854
19854
  } | undefined;
19855
19855
  }, {
19856
- operation: "search";
19857
19856
  query: string;
19858
- limit?: number | undefined;
19859
- credentials?: Partial<Record<CredentialType, string>> | undefined;
19860
- location?: string | undefined;
19857
+ operation: "search";
19861
19858
  maxRetries?: number | undefined;
19859
+ credentials?: Partial<Record<CredentialType, string>> | undefined;
19862
19860
  timeout?: number | undefined;
19861
+ limit?: number | undefined;
19862
+ location?: string | undefined;
19863
19863
  categories?: ("github" | "pdf" | "research" | {
19864
19864
  type: "github" | "pdf" | "research";
19865
19865
  })[] | undefined;
@@ -19871,10 +19871,6 @@ export declare class FirecrawlBubble<T extends FirecrawlParams = FirecrawlParams
19871
19871
  tbs?: string | undefined;
19872
19872
  ignoreInvalidURLs?: boolean | undefined;
19873
19873
  scrapeOptions?: {
19874
- location?: {
19875
- languages?: string[] | undefined;
19876
- country?: string | undefined;
19877
- } | undefined;
19878
19874
  timeout?: number | undefined;
19879
19875
  headers?: Record<string, string> | undefined;
19880
19876
  includeTags?: string[] | undefined;
@@ -19911,14 +19907,18 @@ export declare class FirecrawlBubble<T extends FirecrawlParams = FirecrawlParams
19911
19907
  script: string;
19912
19908
  } | {
19913
19909
  type: "pdf";
19914
- format?: "Legal" | "A0" | "A1" | "A2" | "A3" | "A4" | "A5" | "A6" | "Letter" | "Tabloid" | "Ledger" | undefined;
19910
+ format?: "A0" | "A1" | "A2" | "A3" | "A4" | "A5" | "A6" | "Letter" | "Legal" | "Tabloid" | "Ledger" | undefined;
19915
19911
  scale?: number | undefined;
19916
19912
  landscape?: boolean | undefined;
19917
19913
  })[] | undefined;
19918
19914
  mobile?: boolean | undefined;
19915
+ location?: {
19916
+ country?: string | undefined;
19917
+ languages?: string[] | undefined;
19918
+ } | undefined;
19919
19919
  integration?: string | undefined;
19920
- formats?: ("summary" | "images" | "html" | "json" | "screenshot" | "markdown" | "rawHtml" | "links" | "attributes" | "changeTracking" | "branding" | {
19921
- type: "summary" | "images" | "html" | "json" | "screenshot" | "markdown" | "rawHtml" | "links" | "attributes" | "changeTracking" | "branding";
19920
+ formats?: ("images" | "summary" | "html" | "json" | "screenshot" | "markdown" | "rawHtml" | "links" | "attributes" | "changeTracking" | "branding" | {
19921
+ type: "images" | "summary" | "html" | "json" | "screenshot" | "markdown" | "rawHtml" | "links" | "attributes" | "changeTracking" | "branding";
19922
19922
  } | {
19923
19923
  type: "json";
19924
19924
  schema?: any;
@@ -19927,8 +19927,8 @@ export declare class FirecrawlBubble<T extends FirecrawlParams = FirecrawlParams
19927
19927
  type: "changeTracking";
19928
19928
  modes: ("json" | "git-diff")[];
19929
19929
  schema?: Record<string, unknown> | undefined;
19930
- tag?: string | undefined;
19931
19930
  prompt?: string | undefined;
19931
+ tag?: string | undefined;
19932
19932
  } | {
19933
19933
  type: "screenshot";
19934
19934
  quality?: number | undefined;
@@ -19976,40 +19976,40 @@ export declare class FirecrawlBubble<T extends FirecrawlParams = FirecrawlParams
19976
19976
  country: z.ZodOptional<z.ZodString>;
19977
19977
  languages: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
19978
19978
  }, "strip", z.ZodTypeAny, {
19979
- languages?: string[] | undefined;
19980
19979
  country?: string | undefined;
19981
- }, {
19982
19980
  languages?: string[] | undefined;
19981
+ }, {
19983
19982
  country?: string | undefined;
19983
+ languages?: string[] | undefined;
19984
19984
  }>>;
19985
19985
  }, "strip", z.ZodTypeAny, {
19986
- operation: "map";
19987
19986
  url: string;
19987
+ operation: "map";
19988
+ maxRetries?: number | undefined;
19989
+ credentials?: Partial<Record<CredentialType, string>> | undefined;
19990
+ timeout?: number | undefined;
19988
19991
  search?: string | undefined;
19989
19992
  limit?: number | undefined;
19990
- credentials?: Partial<Record<CredentialType, string>> | undefined;
19991
19993
  location?: {
19992
- languages?: string[] | undefined;
19993
19994
  country?: string | undefined;
19995
+ languages?: string[] | undefined;
19994
19996
  } | undefined;
19995
- maxRetries?: number | undefined;
19996
- timeout?: number | undefined;
19997
19997
  integration?: string | undefined;
19998
19998
  backoffFactor?: number | undefined;
19999
19999
  sitemap?: "include" | "only" | "skip" | undefined;
20000
20000
  includeSubdomains?: boolean | undefined;
20001
20001
  }, {
20002
- operation: "map";
20003
20002
  url: string;
20003
+ operation: "map";
20004
+ maxRetries?: number | undefined;
20005
+ credentials?: Partial<Record<CredentialType, string>> | undefined;
20006
+ timeout?: number | undefined;
20004
20007
  search?: string | undefined;
20005
20008
  limit?: number | undefined;
20006
- credentials?: Partial<Record<CredentialType, string>> | undefined;
20007
20009
  location?: {
20008
- languages?: string[] | undefined;
20009
20010
  country?: string | undefined;
20011
+ languages?: string[] | undefined;
20010
20012
  } | undefined;
20011
- maxRetries?: number | undefined;
20012
- timeout?: number | undefined;
20013
20013
  integration?: string | undefined;
20014
20014
  backoffFactor?: number | undefined;
20015
20015
  sitemap?: "include" | "only" | "skip" | undefined;
@@ -20053,9 +20053,9 @@ export declare class FirecrawlBubble<T extends FirecrawlParams = FirecrawlParams
20053
20053
  formats: z.ZodDefault<z.ZodArray<z.ZodUnion<[z.ZodEnum<["markdown", "html", "rawHtml", "links", "images", "screenshot", "summary", "changeTracking", "json", "attributes", "branding"]>, z.ZodObject<{
20054
20054
  type: z.ZodEnum<["markdown", "html", "rawHtml", "links", "images", "screenshot", "summary", "changeTracking", "json", "attributes", "branding"]>;
20055
20055
  }, "strip", z.ZodTypeAny, {
20056
- type: "summary" | "images" | "html" | "json" | "screenshot" | "markdown" | "rawHtml" | "links" | "attributes" | "changeTracking" | "branding";
20056
+ type: "images" | "summary" | "html" | "json" | "screenshot" | "markdown" | "rawHtml" | "links" | "attributes" | "changeTracking" | "branding";
20057
20057
  }, {
20058
- type: "summary" | "images" | "html" | "json" | "screenshot" | "markdown" | "rawHtml" | "links" | "attributes" | "changeTracking" | "branding";
20058
+ type: "images" | "summary" | "html" | "json" | "screenshot" | "markdown" | "rawHtml" | "links" | "attributes" | "changeTracking" | "branding";
20059
20059
  }>, z.ZodObject<{
20060
20060
  type: z.ZodLiteral<"json">;
20061
20061
  prompt: z.ZodOptional<z.ZodString>;
@@ -20078,14 +20078,14 @@ export declare class FirecrawlBubble<T extends FirecrawlParams = FirecrawlParams
20078
20078
  type: "changeTracking";
20079
20079
  modes: ("json" | "git-diff")[];
20080
20080
  schema?: Record<string, unknown> | undefined;
20081
- tag?: string | undefined;
20082
20081
  prompt?: string | undefined;
20082
+ tag?: string | undefined;
20083
20083
  }, {
20084
20084
  type: "changeTracking";
20085
20085
  modes: ("json" | "git-diff")[];
20086
20086
  schema?: Record<string, unknown> | undefined;
20087
- tag?: string | undefined;
20088
20087
  prompt?: string | undefined;
20088
+ tag?: string | undefined;
20089
20089
  }>, z.ZodObject<{
20090
20090
  type: z.ZodLiteral<"screenshot">;
20091
20091
  fullPage: z.ZodOptional<z.ZodBoolean>;
@@ -20261,12 +20261,12 @@ export declare class FirecrawlBubble<T extends FirecrawlParams = FirecrawlParams
20261
20261
  scale: z.ZodOptional<z.ZodNumber>;
20262
20262
  }, "strip", z.ZodTypeAny, {
20263
20263
  type: "pdf";
20264
- format?: "Legal" | "A0" | "A1" | "A2" | "A3" | "A4" | "A5" | "A6" | "Letter" | "Tabloid" | "Ledger" | undefined;
20264
+ format?: "A0" | "A1" | "A2" | "A3" | "A4" | "A5" | "A6" | "Letter" | "Legal" | "Tabloid" | "Ledger" | undefined;
20265
20265
  scale?: number | undefined;
20266
20266
  landscape?: boolean | undefined;
20267
20267
  }, {
20268
20268
  type: "pdf";
20269
- format?: "Legal" | "A0" | "A1" | "A2" | "A3" | "A4" | "A5" | "A6" | "Letter" | "Tabloid" | "Ledger" | undefined;
20269
+ format?: "A0" | "A1" | "A2" | "A3" | "A4" | "A5" | "A6" | "Letter" | "Legal" | "Tabloid" | "Ledger" | undefined;
20270
20270
  scale?: number | undefined;
20271
20271
  landscape?: boolean | undefined;
20272
20272
  }>]>, "many">>;
@@ -20274,11 +20274,11 @@ export declare class FirecrawlBubble<T extends FirecrawlParams = FirecrawlParams
20274
20274
  country: z.ZodOptional<z.ZodString>;
20275
20275
  languages: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
20276
20276
  }, "strip", z.ZodTypeAny, {
20277
- languages?: string[] | undefined;
20278
20277
  country?: string | undefined;
20279
- }, {
20280
20278
  languages?: string[] | undefined;
20279
+ }, {
20281
20280
  country?: string | undefined;
20281
+ languages?: string[] | undefined;
20282
20282
  }>>;
20283
20283
  skipTlsVerification: z.ZodOptional<z.ZodBoolean>;
20284
20284
  removeBase64Images: z.ZodOptional<z.ZodBoolean>;
@@ -20291,8 +20291,8 @@ export declare class FirecrawlBubble<T extends FirecrawlParams = FirecrawlParams
20291
20291
  integration: z.ZodOptional<z.ZodString>;
20292
20292
  }, "strip", z.ZodTypeAny, {
20293
20293
  timeout: number;
20294
- formats: ("summary" | "images" | "html" | "json" | "screenshot" | "markdown" | "rawHtml" | "links" | "attributes" | "changeTracking" | "branding" | {
20295
- type: "summary" | "images" | "html" | "json" | "screenshot" | "markdown" | "rawHtml" | "links" | "attributes" | "changeTracking" | "branding";
20294
+ formats: ("images" | "summary" | "html" | "json" | "screenshot" | "markdown" | "rawHtml" | "links" | "attributes" | "changeTracking" | "branding" | {
20295
+ type: "images" | "summary" | "html" | "json" | "screenshot" | "markdown" | "rawHtml" | "links" | "attributes" | "changeTracking" | "branding";
20296
20296
  } | {
20297
20297
  type: "json";
20298
20298
  schema?: any;
@@ -20301,8 +20301,8 @@ export declare class FirecrawlBubble<T extends FirecrawlParams = FirecrawlParams
20301
20301
  type: "changeTracking";
20302
20302
  modes: ("json" | "git-diff")[];
20303
20303
  schema?: Record<string, unknown> | undefined;
20304
- tag?: string | undefined;
20305
20304
  prompt?: string | undefined;
20305
+ tag?: string | undefined;
20306
20306
  } | {
20307
20307
  type: "screenshot";
20308
20308
  quality?: number | undefined;
@@ -20321,10 +20321,6 @@ export declare class FirecrawlBubble<T extends FirecrawlParams = FirecrawlParams
20321
20321
  onlyMainContent: boolean;
20322
20322
  waitFor: number;
20323
20323
  maxAge: number;
20324
- location?: {
20325
- languages?: string[] | undefined;
20326
- country?: string | undefined;
20327
- } | undefined;
20328
20324
  headers?: Record<string, string> | undefined;
20329
20325
  includeTags?: string[] | undefined;
20330
20326
  excludeTags?: string[] | undefined;
@@ -20360,11 +20356,15 @@ export declare class FirecrawlBubble<T extends FirecrawlParams = FirecrawlParams
20360
20356
  script: string;
20361
20357
  } | {
20362
20358
  type: "pdf";
20363
- format?: "Legal" | "A0" | "A1" | "A2" | "A3" | "A4" | "A5" | "A6" | "Letter" | "Tabloid" | "Ledger" | undefined;
20359
+ format?: "A0" | "A1" | "A2" | "A3" | "A4" | "A5" | "A6" | "Letter" | "Legal" | "Tabloid" | "Ledger" | undefined;
20364
20360
  scale?: number | undefined;
20365
20361
  landscape?: boolean | undefined;
20366
20362
  })[] | undefined;
20367
20363
  mobile?: boolean | undefined;
20364
+ location?: {
20365
+ country?: string | undefined;
20366
+ languages?: string[] | undefined;
20367
+ } | undefined;
20368
20368
  integration?: string | undefined;
20369
20369
  parsers?: (string | {
20370
20370
  type: "pdf";
@@ -20378,10 +20378,6 @@ export declare class FirecrawlBubble<T extends FirecrawlParams = FirecrawlParams
20378
20378
  proxy?: string | undefined;
20379
20379
  storeInCache?: boolean | undefined;
20380
20380
  }, {
20381
- location?: {
20382
- languages?: string[] | undefined;
20383
- country?: string | undefined;
20384
- } | undefined;
20385
20381
  timeout?: number | undefined;
20386
20382
  headers?: Record<string, string> | undefined;
20387
20383
  includeTags?: string[] | undefined;
@@ -20418,14 +20414,18 @@ export declare class FirecrawlBubble<T extends FirecrawlParams = FirecrawlParams
20418
20414
  script: string;
20419
20415
  } | {
20420
20416
  type: "pdf";
20421
- format?: "Legal" | "A0" | "A1" | "A2" | "A3" | "A4" | "A5" | "A6" | "Letter" | "Tabloid" | "Ledger" | undefined;
20417
+ format?: "A0" | "A1" | "A2" | "A3" | "A4" | "A5" | "A6" | "Letter" | "Legal" | "Tabloid" | "Ledger" | undefined;
20422
20418
  scale?: number | undefined;
20423
20419
  landscape?: boolean | undefined;
20424
20420
  })[] | undefined;
20425
20421
  mobile?: boolean | undefined;
20422
+ location?: {
20423
+ country?: string | undefined;
20424
+ languages?: string[] | undefined;
20425
+ } | undefined;
20426
20426
  integration?: string | undefined;
20427
- formats?: ("summary" | "images" | "html" | "json" | "screenshot" | "markdown" | "rawHtml" | "links" | "attributes" | "changeTracking" | "branding" | {
20428
- type: "summary" | "images" | "html" | "json" | "screenshot" | "markdown" | "rawHtml" | "links" | "attributes" | "changeTracking" | "branding";
20427
+ formats?: ("images" | "summary" | "html" | "json" | "screenshot" | "markdown" | "rawHtml" | "links" | "attributes" | "changeTracking" | "branding" | {
20428
+ type: "images" | "summary" | "html" | "json" | "screenshot" | "markdown" | "rawHtml" | "links" | "attributes" | "changeTracking" | "branding";
20429
20429
  } | {
20430
20430
  type: "json";
20431
20431
  schema?: any;
@@ -20434,8 +20434,8 @@ export declare class FirecrawlBubble<T extends FirecrawlParams = FirecrawlParams
20434
20434
  type: "changeTracking";
20435
20435
  modes: ("json" | "git-diff")[];
20436
20436
  schema?: Record<string, unknown> | undefined;
20437
- tag?: string | undefined;
20438
20437
  prompt?: string | undefined;
20438
+ tag?: string | undefined;
20439
20439
  } | {
20440
20440
  type: "screenshot";
20441
20441
  quality?: number | undefined;
@@ -20471,14 +20471,14 @@ export declare class FirecrawlBubble<T extends FirecrawlParams = FirecrawlParams
20471
20471
  pollInterval: z.ZodOptional<z.ZodNumber>;
20472
20472
  timeout: z.ZodOptional<z.ZodNumber>;
20473
20473
  }, "strip", z.ZodTypeAny, {
20474
- operation: "crawl";
20475
20474
  url: string;
20476
- limit?: number | undefined;
20477
- credentials?: Partial<Record<CredentialType, string>> | undefined;
20475
+ operation: "crawl";
20478
20476
  maxRetries?: number | undefined;
20477
+ credentials?: Partial<Record<CredentialType, string>> | undefined;
20479
20478
  timeout?: number | undefined;
20480
20479
  maxConcurrency?: number | undefined;
20481
20480
  prompt?: string | undefined;
20481
+ limit?: number | undefined;
20482
20482
  webhook?: string | {
20483
20483
  url: string;
20484
20484
  metadata?: Record<string, string> | undefined;
@@ -20489,8 +20489,8 @@ export declare class FirecrawlBubble<T extends FirecrawlParams = FirecrawlParams
20489
20489
  backoffFactor?: number | undefined;
20490
20490
  scrapeOptions?: {
20491
20491
  timeout: number;
20492
- formats: ("summary" | "images" | "html" | "json" | "screenshot" | "markdown" | "rawHtml" | "links" | "attributes" | "changeTracking" | "branding" | {
20493
- type: "summary" | "images" | "html" | "json" | "screenshot" | "markdown" | "rawHtml" | "links" | "attributes" | "changeTracking" | "branding";
20492
+ formats: ("images" | "summary" | "html" | "json" | "screenshot" | "markdown" | "rawHtml" | "links" | "attributes" | "changeTracking" | "branding" | {
20493
+ type: "images" | "summary" | "html" | "json" | "screenshot" | "markdown" | "rawHtml" | "links" | "attributes" | "changeTracking" | "branding";
20494
20494
  } | {
20495
20495
  type: "json";
20496
20496
  schema?: any;
@@ -20499,8 +20499,8 @@ export declare class FirecrawlBubble<T extends FirecrawlParams = FirecrawlParams
20499
20499
  type: "changeTracking";
20500
20500
  modes: ("json" | "git-diff")[];
20501
20501
  schema?: Record<string, unknown> | undefined;
20502
- tag?: string | undefined;
20503
20502
  prompt?: string | undefined;
20503
+ tag?: string | undefined;
20504
20504
  } | {
20505
20505
  type: "screenshot";
20506
20506
  quality?: number | undefined;
@@ -20519,10 +20519,6 @@ export declare class FirecrawlBubble<T extends FirecrawlParams = FirecrawlParams
20519
20519
  onlyMainContent: boolean;
20520
20520
  waitFor: number;
20521
20521
  maxAge: number;
20522
- location?: {
20523
- languages?: string[] | undefined;
20524
- country?: string | undefined;
20525
- } | undefined;
20526
20522
  headers?: Record<string, string> | undefined;
20527
20523
  includeTags?: string[] | undefined;
20528
20524
  excludeTags?: string[] | undefined;
@@ -20558,11 +20554,15 @@ export declare class FirecrawlBubble<T extends FirecrawlParams = FirecrawlParams
20558
20554
  script: string;
20559
20555
  } | {
20560
20556
  type: "pdf";
20561
- format?: "Legal" | "A0" | "A1" | "A2" | "A3" | "A4" | "A5" | "A6" | "Letter" | "Tabloid" | "Ledger" | undefined;
20557
+ format?: "A0" | "A1" | "A2" | "A3" | "A4" | "A5" | "A6" | "Letter" | "Legal" | "Tabloid" | "Ledger" | undefined;
20562
20558
  scale?: number | undefined;
20563
20559
  landscape?: boolean | undefined;
20564
20560
  })[] | undefined;
20565
20561
  mobile?: boolean | undefined;
20562
+ location?: {
20563
+ country?: string | undefined;
20564
+ languages?: string[] | undefined;
20565
+ } | undefined;
20566
20566
  integration?: string | undefined;
20567
20567
  parsers?: (string | {
20568
20568
  type: "pdf";
@@ -20588,14 +20588,14 @@ export declare class FirecrawlBubble<T extends FirecrawlParams = FirecrawlParams
20588
20588
  zeroDataRetention?: boolean | undefined;
20589
20589
  pollInterval?: number | undefined;
20590
20590
  }, {
20591
- operation: "crawl";
20592
20591
  url: string;
20593
- limit?: number | undefined;
20594
- credentials?: Partial<Record<CredentialType, string>> | undefined;
20592
+ operation: "crawl";
20595
20593
  maxRetries?: number | undefined;
20594
+ credentials?: Partial<Record<CredentialType, string>> | undefined;
20596
20595
  timeout?: number | undefined;
20597
20596
  maxConcurrency?: number | undefined;
20598
20597
  prompt?: string | undefined;
20598
+ limit?: number | undefined;
20599
20599
  webhook?: string | {
20600
20600
  url: string;
20601
20601
  metadata?: Record<string, string> | undefined;
@@ -20605,10 +20605,6 @@ export declare class FirecrawlBubble<T extends FirecrawlParams = FirecrawlParams
20605
20605
  integration?: string | undefined;
20606
20606
  backoffFactor?: number | undefined;
20607
20607
  scrapeOptions?: {
20608
- location?: {
20609
- languages?: string[] | undefined;
20610
- country?: string | undefined;
20611
- } | undefined;
20612
20608
  timeout?: number | undefined;
20613
20609
  headers?: Record<string, string> | undefined;
20614
20610
  includeTags?: string[] | undefined;
@@ -20645,14 +20641,18 @@ export declare class FirecrawlBubble<T extends FirecrawlParams = FirecrawlParams
20645
20641
  script: string;
20646
20642
  } | {
20647
20643
  type: "pdf";
20648
- format?: "Legal" | "A0" | "A1" | "A2" | "A3" | "A4" | "A5" | "A6" | "Letter" | "Tabloid" | "Ledger" | undefined;
20644
+ format?: "A0" | "A1" | "A2" | "A3" | "A4" | "A5" | "A6" | "Letter" | "Legal" | "Tabloid" | "Ledger" | undefined;
20649
20645
  scale?: number | undefined;
20650
20646
  landscape?: boolean | undefined;
20651
20647
  })[] | undefined;
20652
20648
  mobile?: boolean | undefined;
20649
+ location?: {
20650
+ country?: string | undefined;
20651
+ languages?: string[] | undefined;
20652
+ } | undefined;
20653
20653
  integration?: string | undefined;
20654
- formats?: ("summary" | "images" | "html" | "json" | "screenshot" | "markdown" | "rawHtml" | "links" | "attributes" | "changeTracking" | "branding" | {
20655
- type: "summary" | "images" | "html" | "json" | "screenshot" | "markdown" | "rawHtml" | "links" | "attributes" | "changeTracking" | "branding";
20654
+ formats?: ("images" | "summary" | "html" | "json" | "screenshot" | "markdown" | "rawHtml" | "links" | "attributes" | "changeTracking" | "branding" | {
20655
+ type: "images" | "summary" | "html" | "json" | "screenshot" | "markdown" | "rawHtml" | "links" | "attributes" | "changeTracking" | "branding";
20656
20656
  } | {
20657
20657
  type: "json";
20658
20658
  schema?: any;
@@ -20661,8 +20661,8 @@ export declare class FirecrawlBubble<T extends FirecrawlParams = FirecrawlParams
20661
20661
  type: "changeTracking";
20662
20662
  modes: ("json" | "git-diff")[];
20663
20663
  schema?: Record<string, unknown> | undefined;
20664
- tag?: string | undefined;
20665
20664
  prompt?: string | undefined;
20665
+ tag?: string | undefined;
20666
20666
  } | {
20667
20667
  type: "screenshot";
20668
20668
  quality?: number | undefined;
@@ -20721,9 +20721,9 @@ export declare class FirecrawlBubble<T extends FirecrawlParams = FirecrawlParams
20721
20721
  formats: z.ZodDefault<z.ZodArray<z.ZodUnion<[z.ZodEnum<["markdown", "html", "rawHtml", "links", "images", "screenshot", "summary", "changeTracking", "json", "attributes", "branding"]>, z.ZodObject<{
20722
20722
  type: z.ZodEnum<["markdown", "html", "rawHtml", "links", "images", "screenshot", "summary", "changeTracking", "json", "attributes", "branding"]>;
20723
20723
  }, "strip", z.ZodTypeAny, {
20724
- type: "summary" | "images" | "html" | "json" | "screenshot" | "markdown" | "rawHtml" | "links" | "attributes" | "changeTracking" | "branding";
20724
+ type: "images" | "summary" | "html" | "json" | "screenshot" | "markdown" | "rawHtml" | "links" | "attributes" | "changeTracking" | "branding";
20725
20725
  }, {
20726
- type: "summary" | "images" | "html" | "json" | "screenshot" | "markdown" | "rawHtml" | "links" | "attributes" | "changeTracking" | "branding";
20726
+ type: "images" | "summary" | "html" | "json" | "screenshot" | "markdown" | "rawHtml" | "links" | "attributes" | "changeTracking" | "branding";
20727
20727
  }>, z.ZodObject<{
20728
20728
  type: z.ZodLiteral<"json">;
20729
20729
  prompt: z.ZodOptional<z.ZodString>;
@@ -20746,14 +20746,14 @@ export declare class FirecrawlBubble<T extends FirecrawlParams = FirecrawlParams
20746
20746
  type: "changeTracking";
20747
20747
  modes: ("json" | "git-diff")[];
20748
20748
  schema?: Record<string, unknown> | undefined;
20749
- tag?: string | undefined;
20750
20749
  prompt?: string | undefined;
20750
+ tag?: string | undefined;
20751
20751
  }, {
20752
20752
  type: "changeTracking";
20753
20753
  modes: ("json" | "git-diff")[];
20754
20754
  schema?: Record<string, unknown> | undefined;
20755
- tag?: string | undefined;
20756
20755
  prompt?: string | undefined;
20756
+ tag?: string | undefined;
20757
20757
  }>, z.ZodObject<{
20758
20758
  type: z.ZodLiteral<"screenshot">;
20759
20759
  fullPage: z.ZodOptional<z.ZodBoolean>;
@@ -20929,12 +20929,12 @@ export declare class FirecrawlBubble<T extends FirecrawlParams = FirecrawlParams
20929
20929
  scale: z.ZodOptional<z.ZodNumber>;
20930
20930
  }, "strip", z.ZodTypeAny, {
20931
20931
  type: "pdf";
20932
- format?: "Legal" | "A0" | "A1" | "A2" | "A3" | "A4" | "A5" | "A6" | "Letter" | "Tabloid" | "Ledger" | undefined;
20932
+ format?: "A0" | "A1" | "A2" | "A3" | "A4" | "A5" | "A6" | "Letter" | "Legal" | "Tabloid" | "Ledger" | undefined;
20933
20933
  scale?: number | undefined;
20934
20934
  landscape?: boolean | undefined;
20935
20935
  }, {
20936
20936
  type: "pdf";
20937
- format?: "Legal" | "A0" | "A1" | "A2" | "A3" | "A4" | "A5" | "A6" | "Letter" | "Tabloid" | "Ledger" | undefined;
20937
+ format?: "A0" | "A1" | "A2" | "A3" | "A4" | "A5" | "A6" | "Letter" | "Legal" | "Tabloid" | "Ledger" | undefined;
20938
20938
  scale?: number | undefined;
20939
20939
  landscape?: boolean | undefined;
20940
20940
  }>]>, "many">>;
@@ -20942,11 +20942,11 @@ export declare class FirecrawlBubble<T extends FirecrawlParams = FirecrawlParams
20942
20942
  country: z.ZodOptional<z.ZodString>;
20943
20943
  languages: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
20944
20944
  }, "strip", z.ZodTypeAny, {
20945
- languages?: string[] | undefined;
20946
20945
  country?: string | undefined;
20947
- }, {
20948
20946
  languages?: string[] | undefined;
20947
+ }, {
20949
20948
  country?: string | undefined;
20949
+ languages?: string[] | undefined;
20950
20950
  }>>;
20951
20951
  skipTlsVerification: z.ZodOptional<z.ZodBoolean>;
20952
20952
  removeBase64Images: z.ZodOptional<z.ZodBoolean>;
@@ -20959,8 +20959,8 @@ export declare class FirecrawlBubble<T extends FirecrawlParams = FirecrawlParams
20959
20959
  integration: z.ZodOptional<z.ZodString>;
20960
20960
  }, "strip", z.ZodTypeAny, {
20961
20961
  timeout: number;
20962
- formats: ("summary" | "images" | "html" | "json" | "screenshot" | "markdown" | "rawHtml" | "links" | "attributes" | "changeTracking" | "branding" | {
20963
- type: "summary" | "images" | "html" | "json" | "screenshot" | "markdown" | "rawHtml" | "links" | "attributes" | "changeTracking" | "branding";
20962
+ formats: ("images" | "summary" | "html" | "json" | "screenshot" | "markdown" | "rawHtml" | "links" | "attributes" | "changeTracking" | "branding" | {
20963
+ type: "images" | "summary" | "html" | "json" | "screenshot" | "markdown" | "rawHtml" | "links" | "attributes" | "changeTracking" | "branding";
20964
20964
  } | {
20965
20965
  type: "json";
20966
20966
  schema?: any;
@@ -20969,8 +20969,8 @@ export declare class FirecrawlBubble<T extends FirecrawlParams = FirecrawlParams
20969
20969
  type: "changeTracking";
20970
20970
  modes: ("json" | "git-diff")[];
20971
20971
  schema?: Record<string, unknown> | undefined;
20972
- tag?: string | undefined;
20973
20972
  prompt?: string | undefined;
20973
+ tag?: string | undefined;
20974
20974
  } | {
20975
20975
  type: "screenshot";
20976
20976
  quality?: number | undefined;
@@ -20989,10 +20989,6 @@ export declare class FirecrawlBubble<T extends FirecrawlParams = FirecrawlParams
20989
20989
  onlyMainContent: boolean;
20990
20990
  waitFor: number;
20991
20991
  maxAge: number;
20992
- location?: {
20993
- languages?: string[] | undefined;
20994
- country?: string | undefined;
20995
- } | undefined;
20996
20992
  headers?: Record<string, string> | undefined;
20997
20993
  includeTags?: string[] | undefined;
20998
20994
  excludeTags?: string[] | undefined;
@@ -21028,11 +21024,15 @@ export declare class FirecrawlBubble<T extends FirecrawlParams = FirecrawlParams
21028
21024
  script: string;
21029
21025
  } | {
21030
21026
  type: "pdf";
21031
- format?: "Legal" | "A0" | "A1" | "A2" | "A3" | "A4" | "A5" | "A6" | "Letter" | "Tabloid" | "Ledger" | undefined;
21027
+ format?: "A0" | "A1" | "A2" | "A3" | "A4" | "A5" | "A6" | "Letter" | "Legal" | "Tabloid" | "Ledger" | undefined;
21032
21028
  scale?: number | undefined;
21033
21029
  landscape?: boolean | undefined;
21034
21030
  })[] | undefined;
21035
21031
  mobile?: boolean | undefined;
21032
+ location?: {
21033
+ country?: string | undefined;
21034
+ languages?: string[] | undefined;
21035
+ } | undefined;
21036
21036
  integration?: string | undefined;
21037
21037
  parsers?: (string | {
21038
21038
  type: "pdf";
@@ -21046,10 +21046,6 @@ export declare class FirecrawlBubble<T extends FirecrawlParams = FirecrawlParams
21046
21046
  proxy?: string | undefined;
21047
21047
  storeInCache?: boolean | undefined;
21048
21048
  }, {
21049
- location?: {
21050
- languages?: string[] | undefined;
21051
- country?: string | undefined;
21052
- } | undefined;
21053
21049
  timeout?: number | undefined;
21054
21050
  headers?: Record<string, string> | undefined;
21055
21051
  includeTags?: string[] | undefined;
@@ -21086,14 +21082,18 @@ export declare class FirecrawlBubble<T extends FirecrawlParams = FirecrawlParams
21086
21082
  script: string;
21087
21083
  } | {
21088
21084
  type: "pdf";
21089
- format?: "Legal" | "A0" | "A1" | "A2" | "A3" | "A4" | "A5" | "A6" | "Letter" | "Tabloid" | "Ledger" | undefined;
21085
+ format?: "A0" | "A1" | "A2" | "A3" | "A4" | "A5" | "A6" | "Letter" | "Legal" | "Tabloid" | "Ledger" | undefined;
21090
21086
  scale?: number | undefined;
21091
21087
  landscape?: boolean | undefined;
21092
21088
  })[] | undefined;
21093
21089
  mobile?: boolean | undefined;
21090
+ location?: {
21091
+ country?: string | undefined;
21092
+ languages?: string[] | undefined;
21093
+ } | undefined;
21094
21094
  integration?: string | undefined;
21095
- formats?: ("summary" | "images" | "html" | "json" | "screenshot" | "markdown" | "rawHtml" | "links" | "attributes" | "changeTracking" | "branding" | {
21096
- type: "summary" | "images" | "html" | "json" | "screenshot" | "markdown" | "rawHtml" | "links" | "attributes" | "changeTracking" | "branding";
21095
+ formats?: ("images" | "summary" | "html" | "json" | "screenshot" | "markdown" | "rawHtml" | "links" | "attributes" | "changeTracking" | "branding" | {
21096
+ type: "images" | "summary" | "html" | "json" | "screenshot" | "markdown" | "rawHtml" | "links" | "attributes" | "changeTracking" | "branding";
21097
21097
  } | {
21098
21098
  type: "json";
21099
21099
  schema?: any;
@@ -21102,8 +21102,8 @@ export declare class FirecrawlBubble<T extends FirecrawlParams = FirecrawlParams
21102
21102
  type: "changeTracking";
21103
21103
  modes: ("json" | "git-diff")[];
21104
21104
  schema?: Record<string, unknown> | undefined;
21105
- tag?: string | undefined;
21106
21105
  prompt?: string | undefined;
21106
+ tag?: string | undefined;
21107
21107
  } | {
21108
21108
  type: "screenshot";
21109
21109
  quality?: number | undefined;
@@ -21149,9 +21149,9 @@ export declare class FirecrawlBubble<T extends FirecrawlParams = FirecrawlParams
21149
21149
  operation: "extract";
21150
21150
  urls: string[];
21151
21151
  schema?: any;
21152
- credentials?: Partial<Record<CredentialType, string>> | undefined;
21153
- maxRetries?: number | undefined;
21154
21152
  systemPrompt?: string | undefined;
21153
+ maxRetries?: number | undefined;
21154
+ credentials?: Partial<Record<CredentialType, string>> | undefined;
21155
21155
  agent?: {
21156
21156
  model: "FIRE-1";
21157
21157
  } | undefined;
@@ -21162,8 +21162,8 @@ export declare class FirecrawlBubble<T extends FirecrawlParams = FirecrawlParams
21162
21162
  ignoreInvalidURLs?: boolean | undefined;
21163
21163
  scrapeOptions?: {
21164
21164
  timeout: number;
21165
- formats: ("summary" | "images" | "html" | "json" | "screenshot" | "markdown" | "rawHtml" | "links" | "attributes" | "changeTracking" | "branding" | {
21166
- type: "summary" | "images" | "html" | "json" | "screenshot" | "markdown" | "rawHtml" | "links" | "attributes" | "changeTracking" | "branding";
21165
+ formats: ("images" | "summary" | "html" | "json" | "screenshot" | "markdown" | "rawHtml" | "links" | "attributes" | "changeTracking" | "branding" | {
21166
+ type: "images" | "summary" | "html" | "json" | "screenshot" | "markdown" | "rawHtml" | "links" | "attributes" | "changeTracking" | "branding";
21167
21167
  } | {
21168
21168
  type: "json";
21169
21169
  schema?: any;
@@ -21172,8 +21172,8 @@ export declare class FirecrawlBubble<T extends FirecrawlParams = FirecrawlParams
21172
21172
  type: "changeTracking";
21173
21173
  modes: ("json" | "git-diff")[];
21174
21174
  schema?: Record<string, unknown> | undefined;
21175
- tag?: string | undefined;
21176
21175
  prompt?: string | undefined;
21176
+ tag?: string | undefined;
21177
21177
  } | {
21178
21178
  type: "screenshot";
21179
21179
  quality?: number | undefined;
@@ -21192,10 +21192,6 @@ export declare class FirecrawlBubble<T extends FirecrawlParams = FirecrawlParams
21192
21192
  onlyMainContent: boolean;
21193
21193
  waitFor: number;
21194
21194
  maxAge: number;
21195
- location?: {
21196
- languages?: string[] | undefined;
21197
- country?: string | undefined;
21198
- } | undefined;
21199
21195
  headers?: Record<string, string> | undefined;
21200
21196
  includeTags?: string[] | undefined;
21201
21197
  excludeTags?: string[] | undefined;
@@ -21231,11 +21227,15 @@ export declare class FirecrawlBubble<T extends FirecrawlParams = FirecrawlParams
21231
21227
  script: string;
21232
21228
  } | {
21233
21229
  type: "pdf";
21234
- format?: "Legal" | "A0" | "A1" | "A2" | "A3" | "A4" | "A5" | "A6" | "Letter" | "Tabloid" | "Ledger" | undefined;
21230
+ format?: "A0" | "A1" | "A2" | "A3" | "A4" | "A5" | "A6" | "Letter" | "Legal" | "Tabloid" | "Ledger" | undefined;
21235
21231
  scale?: number | undefined;
21236
21232
  landscape?: boolean | undefined;
21237
21233
  })[] | undefined;
21238
21234
  mobile?: boolean | undefined;
21235
+ location?: {
21236
+ country?: string | undefined;
21237
+ languages?: string[] | undefined;
21238
+ } | undefined;
21239
21239
  integration?: string | undefined;
21240
21240
  parsers?: (string | {
21241
21241
  type: "pdf";
@@ -21257,9 +21257,9 @@ export declare class FirecrawlBubble<T extends FirecrawlParams = FirecrawlParams
21257
21257
  operation: "extract";
21258
21258
  urls: string[];
21259
21259
  schema?: any;
21260
- credentials?: Partial<Record<CredentialType, string>> | undefined;
21261
- maxRetries?: number | undefined;
21262
21260
  systemPrompt?: string | undefined;
21261
+ maxRetries?: number | undefined;
21262
+ credentials?: Partial<Record<CredentialType, string>> | undefined;
21263
21263
  agent?: {
21264
21264
  model: "FIRE-1";
21265
21265
  } | undefined;
@@ -21269,10 +21269,6 @@ export declare class FirecrawlBubble<T extends FirecrawlParams = FirecrawlParams
21269
21269
  backoffFactor?: number | undefined;
21270
21270
  ignoreInvalidURLs?: boolean | undefined;
21271
21271
  scrapeOptions?: {
21272
- location?: {
21273
- languages?: string[] | undefined;
21274
- country?: string | undefined;
21275
- } | undefined;
21276
21272
  timeout?: number | undefined;
21277
21273
  headers?: Record<string, string> | undefined;
21278
21274
  includeTags?: string[] | undefined;
@@ -21309,14 +21305,18 @@ export declare class FirecrawlBubble<T extends FirecrawlParams = FirecrawlParams
21309
21305
  script: string;
21310
21306
  } | {
21311
21307
  type: "pdf";
21312
- format?: "Legal" | "A0" | "A1" | "A2" | "A3" | "A4" | "A5" | "A6" | "Letter" | "Tabloid" | "Ledger" | undefined;
21308
+ format?: "A0" | "A1" | "A2" | "A3" | "A4" | "A5" | "A6" | "Letter" | "Legal" | "Tabloid" | "Ledger" | undefined;
21313
21309
  scale?: number | undefined;
21314
21310
  landscape?: boolean | undefined;
21315
21311
  })[] | undefined;
21316
21312
  mobile?: boolean | undefined;
21313
+ location?: {
21314
+ country?: string | undefined;
21315
+ languages?: string[] | undefined;
21316
+ } | undefined;
21317
21317
  integration?: string | undefined;
21318
- formats?: ("summary" | "images" | "html" | "json" | "screenshot" | "markdown" | "rawHtml" | "links" | "attributes" | "changeTracking" | "branding" | {
21319
- type: "summary" | "images" | "html" | "json" | "screenshot" | "markdown" | "rawHtml" | "links" | "attributes" | "changeTracking" | "branding";
21318
+ formats?: ("images" | "summary" | "html" | "json" | "screenshot" | "markdown" | "rawHtml" | "links" | "attributes" | "changeTracking" | "branding" | {
21319
+ type: "images" | "summary" | "html" | "json" | "screenshot" | "markdown" | "rawHtml" | "links" | "attributes" | "changeTracking" | "branding";
21320
21320
  } | {
21321
21321
  type: "json";
21322
21322
  schema?: any;
@@ -21325,8 +21325,8 @@ export declare class FirecrawlBubble<T extends FirecrawlParams = FirecrawlParams
21325
21325
  type: "changeTracking";
21326
21326
  modes: ("json" | "git-diff")[];
21327
21327
  schema?: Record<string, unknown> | undefined;
21328
- tag?: string | undefined;
21329
21328
  prompt?: string | undefined;
21329
+ tag?: string | undefined;
21330
21330
  } | {
21331
21331
  type: "screenshot";
21332
21332
  quality?: number | undefined;
@@ -22817,11 +22817,11 @@ export declare class FirecrawlBubble<T extends FirecrawlParams = FirecrawlParams
22817
22817
  } & {
22818
22818
  operation: z.ZodLiteral<"scrape">;
22819
22819
  }, "strip", z.ZodTypeAny, {
22820
- operation: "scrape";
22821
- success: boolean;
22822
22820
  error: string;
22823
- summary?: string | undefined;
22821
+ success: boolean;
22822
+ operation: "scrape";
22824
22823
  images?: string[] | undefined;
22824
+ summary?: string | undefined;
22825
22825
  metadata?: z.objectOutputType<{
22826
22826
  title: z.ZodOptional<z.ZodString>;
22827
22827
  description: z.ZodOptional<z.ZodString>;
@@ -23313,11 +23313,11 @@ export declare class FirecrawlBubble<T extends FirecrawlParams = FirecrawlParams
23313
23313
  }>>;
23314
23314
  }, z.ZodUnknown, "strip"> | undefined;
23315
23315
  }, {
23316
- operation: "scrape";
23317
- success: boolean;
23318
23316
  error: string;
23319
- summary?: string | undefined;
23317
+ success: boolean;
23318
+ operation: "scrape";
23320
23319
  images?: string[] | undefined;
23320
+ summary?: string | undefined;
23321
23321
  metadata?: z.objectInputType<{
23322
23322
  title: z.ZodOptional<z.ZodString>;
23323
23323
  description: z.ZodOptional<z.ZodString>;
@@ -25278,8 +25278,8 @@ export declare class FirecrawlBubble<T extends FirecrawlParams = FirecrawlParams
25278
25278
  }>>;
25279
25279
  }, z.ZodUnknown, "strip">>>;
25280
25280
  }, "strip", z.ZodTypeAny, {
25281
- summary?: string | undefined;
25282
25281
  images?: string[] | undefined;
25282
+ summary?: string | undefined;
25283
25283
  metadata?: z.objectOutputType<{
25284
25284
  title: z.ZodOptional<z.ZodString>;
25285
25285
  description: z.ZodOptional<z.ZodString>;
@@ -25771,8 +25771,8 @@ export declare class FirecrawlBubble<T extends FirecrawlParams = FirecrawlParams
25771
25771
  }>>;
25772
25772
  }, z.ZodUnknown, "strip"> | undefined;
25773
25773
  }, {
25774
- summary?: string | undefined;
25775
25774
  images?: string[] | undefined;
25775
+ summary?: string | undefined;
25776
25776
  metadata?: z.objectInputType<{
25777
25777
  title: z.ZodOptional<z.ZodString>;
25778
25778
  description: z.ZodOptional<z.ZodString>;
@@ -26276,18 +26276,18 @@ export declare class FirecrawlBubble<T extends FirecrawlParams = FirecrawlParams
26276
26276
  title?: string | undefined;
26277
26277
  date?: string | undefined;
26278
26278
  url?: string | undefined;
26279
- position?: number | undefined;
26280
26279
  snippet?: string | undefined;
26281
26280
  category?: string | undefined;
26282
26281
  imageUrl?: string | undefined;
26282
+ position?: number | undefined;
26283
26283
  }, {
26284
26284
  title?: string | undefined;
26285
26285
  date?: string | undefined;
26286
26286
  url?: string | undefined;
26287
- position?: number | undefined;
26288
26287
  snippet?: string | undefined;
26289
26288
  category?: string | undefined;
26290
26289
  imageUrl?: string | undefined;
26290
+ position?: number | undefined;
26291
26291
  }>, z.ZodObject<{
26292
26292
  markdown: z.ZodOptional<z.ZodString>;
26293
26293
  html: z.ZodOptional<z.ZodString>;
@@ -27738,8 +27738,8 @@ export declare class FirecrawlBubble<T extends FirecrawlParams = FirecrawlParams
27738
27738
  }>>;
27739
27739
  }, z.ZodUnknown, "strip">>>;
27740
27740
  }, "strip", z.ZodTypeAny, {
27741
- summary?: string | undefined;
27742
27741
  images?: string[] | undefined;
27742
+ summary?: string | undefined;
27743
27743
  metadata?: z.objectOutputType<{
27744
27744
  title: z.ZodOptional<z.ZodString>;
27745
27745
  description: z.ZodOptional<z.ZodString>;
@@ -28231,8 +28231,8 @@ export declare class FirecrawlBubble<T extends FirecrawlParams = FirecrawlParams
28231
28231
  }>>;
28232
28232
  }, z.ZodUnknown, "strip"> | undefined;
28233
28233
  }, {
28234
- summary?: string | undefined;
28235
28234
  images?: string[] | undefined;
28235
+ summary?: string | undefined;
28236
28236
  metadata?: z.objectInputType<{
28237
28237
  title: z.ZodOptional<z.ZodString>;
28238
28238
  description: z.ZodOptional<z.ZodString>;
@@ -28734,15 +28734,15 @@ export declare class FirecrawlBubble<T extends FirecrawlParams = FirecrawlParams
28734
28734
  }, "strip", z.ZodTypeAny, {
28735
28735
  title?: string | undefined;
28736
28736
  url?: string | undefined;
28737
- position?: number | undefined;
28738
28737
  imageUrl?: string | undefined;
28738
+ position?: number | undefined;
28739
28739
  imageWidth?: number | undefined;
28740
28740
  imageHeight?: number | undefined;
28741
28741
  }, {
28742
28742
  title?: string | undefined;
28743
28743
  url?: string | undefined;
28744
- position?: number | undefined;
28745
28744
  imageUrl?: string | undefined;
28745
+ position?: number | undefined;
28746
28746
  imageWidth?: number | undefined;
28747
28747
  imageHeight?: number | undefined;
28748
28748
  }>, z.ZodObject<{
@@ -30195,8 +30195,8 @@ export declare class FirecrawlBubble<T extends FirecrawlParams = FirecrawlParams
30195
30195
  }>>;
30196
30196
  }, z.ZodUnknown, "strip">>>;
30197
30197
  }, "strip", z.ZodTypeAny, {
30198
- summary?: string | undefined;
30199
30198
  images?: string[] | undefined;
30199
+ summary?: string | undefined;
30200
30200
  metadata?: z.objectOutputType<{
30201
30201
  title: z.ZodOptional<z.ZodString>;
30202
30202
  description: z.ZodOptional<z.ZodString>;
@@ -30688,8 +30688,8 @@ export declare class FirecrawlBubble<T extends FirecrawlParams = FirecrawlParams
30688
30688
  }>>;
30689
30689
  }, z.ZodUnknown, "strip"> | undefined;
30690
30690
  }, {
30691
- summary?: string | undefined;
30692
30691
  images?: string[] | undefined;
30692
+ summary?: string | undefined;
30693
30693
  metadata?: z.objectInputType<{
30694
30694
  title: z.ZodOptional<z.ZodString>;
30695
30695
  description: z.ZodOptional<z.ZodString>;
@@ -31183,12 +31183,12 @@ export declare class FirecrawlBubble<T extends FirecrawlParams = FirecrawlParams
31183
31183
  }>]>, "many">>;
31184
31184
  other: z.ZodOptional<z.ZodArray<z.ZodUnknown, "many">>;
31185
31185
  }, "strip", z.ZodTypeAny, {
31186
- operation: "search";
31187
- success: boolean;
31188
31186
  error: string;
31187
+ success: boolean;
31188
+ operation: "search";
31189
31189
  images?: ({
31190
- summary?: string | undefined;
31191
31190
  images?: string[] | undefined;
31191
+ summary?: string | undefined;
31192
31192
  metadata?: z.objectOutputType<{
31193
31193
  title: z.ZodOptional<z.ZodString>;
31194
31194
  description: z.ZodOptional<z.ZodString>;
@@ -31682,14 +31682,14 @@ export declare class FirecrawlBubble<T extends FirecrawlParams = FirecrawlParams
31682
31682
  } | {
31683
31683
  title?: string | undefined;
31684
31684
  url?: string | undefined;
31685
- position?: number | undefined;
31686
31685
  imageUrl?: string | undefined;
31686
+ position?: number | undefined;
31687
31687
  imageWidth?: number | undefined;
31688
31688
  imageHeight?: number | undefined;
31689
31689
  })[] | undefined;
31690
31690
  web?: ({
31691
- summary?: string | undefined;
31692
31691
  images?: string[] | undefined;
31692
+ summary?: string | undefined;
31693
31693
  metadata?: z.objectOutputType<{
31694
31694
  title: z.ZodOptional<z.ZodString>;
31695
31695
  description: z.ZodOptional<z.ZodString>;
@@ -32187,8 +32187,8 @@ export declare class FirecrawlBubble<T extends FirecrawlParams = FirecrawlParams
32187
32187
  category?: string | undefined;
32188
32188
  })[] | undefined;
32189
32189
  news?: ({
32190
- summary?: string | undefined;
32191
32190
  images?: string[] | undefined;
32191
+ summary?: string | undefined;
32192
32192
  metadata?: z.objectOutputType<{
32193
32193
  title: z.ZodOptional<z.ZodString>;
32194
32194
  description: z.ZodOptional<z.ZodString>;
@@ -32683,19 +32683,19 @@ export declare class FirecrawlBubble<T extends FirecrawlParams = FirecrawlParams
32683
32683
  title?: string | undefined;
32684
32684
  date?: string | undefined;
32685
32685
  url?: string | undefined;
32686
- position?: number | undefined;
32687
32686
  snippet?: string | undefined;
32688
32687
  category?: string | undefined;
32689
32688
  imageUrl?: string | undefined;
32689
+ position?: number | undefined;
32690
32690
  })[] | undefined;
32691
32691
  other?: unknown[] | undefined;
32692
32692
  }, {
32693
- operation: "search";
32694
- success: boolean;
32695
32693
  error: string;
32694
+ success: boolean;
32695
+ operation: "search";
32696
32696
  images?: ({
32697
- summary?: string | undefined;
32698
32697
  images?: string[] | undefined;
32698
+ summary?: string | undefined;
32699
32699
  metadata?: z.objectInputType<{
32700
32700
  title: z.ZodOptional<z.ZodString>;
32701
32701
  description: z.ZodOptional<z.ZodString>;
@@ -33189,14 +33189,14 @@ export declare class FirecrawlBubble<T extends FirecrawlParams = FirecrawlParams
33189
33189
  } | {
33190
33190
  title?: string | undefined;
33191
33191
  url?: string | undefined;
33192
- position?: number | undefined;
33193
33192
  imageUrl?: string | undefined;
33193
+ position?: number | undefined;
33194
33194
  imageWidth?: number | undefined;
33195
33195
  imageHeight?: number | undefined;
33196
33196
  })[] | undefined;
33197
33197
  web?: ({
33198
- summary?: string | undefined;
33199
33198
  images?: string[] | undefined;
33199
+ summary?: string | undefined;
33200
33200
  metadata?: z.objectInputType<{
33201
33201
  title: z.ZodOptional<z.ZodString>;
33202
33202
  description: z.ZodOptional<z.ZodString>;
@@ -33694,8 +33694,8 @@ export declare class FirecrawlBubble<T extends FirecrawlParams = FirecrawlParams
33694
33694
  category?: string | undefined;
33695
33695
  })[] | undefined;
33696
33696
  news?: ({
33697
- summary?: string | undefined;
33698
33697
  images?: string[] | undefined;
33698
+ summary?: string | undefined;
33699
33699
  metadata?: z.objectInputType<{
33700
33700
  title: z.ZodOptional<z.ZodString>;
33701
33701
  description: z.ZodOptional<z.ZodString>;
@@ -34190,10 +34190,10 @@ export declare class FirecrawlBubble<T extends FirecrawlParams = FirecrawlParams
34190
34190
  title?: string | undefined;
34191
34191
  date?: string | undefined;
34192
34192
  url?: string | undefined;
34193
- position?: number | undefined;
34194
34193
  snippet?: string | undefined;
34195
34194
  category?: string | undefined;
34196
34195
  imageUrl?: string | undefined;
34196
+ position?: number | undefined;
34197
34197
  })[] | undefined;
34198
34198
  other?: unknown[] | undefined;
34199
34199
  }>, z.ZodObject<{
@@ -34218,9 +34218,9 @@ export declare class FirecrawlBubble<T extends FirecrawlParams = FirecrawlParams
34218
34218
  category?: string | undefined;
34219
34219
  }>, "many">;
34220
34220
  }, "strip", z.ZodTypeAny, {
34221
- operation: "map";
34222
- success: boolean;
34223
34221
  error: string;
34222
+ success: boolean;
34223
+ operation: "map";
34224
34224
  links: {
34225
34225
  url: string;
34226
34226
  description?: string | undefined;
@@ -34228,9 +34228,9 @@ export declare class FirecrawlBubble<T extends FirecrawlParams = FirecrawlParams
34228
34228
  category?: string | undefined;
34229
34229
  }[];
34230
34230
  }, {
34231
- operation: "map";
34232
- success: boolean;
34233
34231
  error: string;
34232
+ success: boolean;
34233
+ operation: "map";
34234
34234
  links: {
34235
34235
  url: string;
34236
34236
  description?: string | undefined;
@@ -35697,8 +35697,8 @@ export declare class FirecrawlBubble<T extends FirecrawlParams = FirecrawlParams
35697
35697
  }>>;
35698
35698
  }, z.ZodUnknown, "strip">>>;
35699
35699
  }, "strip", z.ZodTypeAny, {
35700
- summary?: string | undefined;
35701
35700
  images?: string[] | undefined;
35701
+ summary?: string | undefined;
35702
35702
  metadata?: z.objectOutputType<{
35703
35703
  title: z.ZodOptional<z.ZodString>;
35704
35704
  description: z.ZodOptional<z.ZodString>;
@@ -36190,8 +36190,8 @@ export declare class FirecrawlBubble<T extends FirecrawlParams = FirecrawlParams
36190
36190
  }>>;
36191
36191
  }, z.ZodUnknown, "strip"> | undefined;
36192
36192
  }, {
36193
- summary?: string | undefined;
36194
36193
  images?: string[] | undefined;
36194
+ summary?: string | undefined;
36195
36195
  metadata?: z.objectInputType<{
36196
36196
  title: z.ZodOptional<z.ZodString>;
36197
36197
  description: z.ZodOptional<z.ZodString>;
@@ -36684,13 +36684,9 @@ export declare class FirecrawlBubble<T extends FirecrawlParams = FirecrawlParams
36684
36684
  }, z.ZodUnknown, "strip"> | undefined;
36685
36685
  }>, "many">;
36686
36686
  }, "strip", z.ZodTypeAny, {
36687
- operation: "crawl";
36688
- status: "failed" | "completed" | "scraping" | "cancelled";
36689
- success: boolean;
36690
- error: string;
36691
36687
  data: {
36692
- summary?: string | undefined;
36693
36688
  images?: string[] | undefined;
36689
+ summary?: string | undefined;
36694
36690
  metadata?: z.objectOutputType<{
36695
36691
  title: z.ZodOptional<z.ZodString>;
36696
36692
  description: z.ZodOptional<z.ZodString>;
@@ -37182,18 +37178,18 @@ export declare class FirecrawlBubble<T extends FirecrawlParams = FirecrawlParams
37182
37178
  }>>;
37183
37179
  }, z.ZodUnknown, "strip"> | undefined;
37184
37180
  }[];
37181
+ status: "failed" | "completed" | "scraping" | "cancelled";
37182
+ error: string;
37183
+ success: boolean;
37184
+ operation: "crawl";
37185
37185
  completed: number;
37186
37186
  total: number;
37187
37187
  creditsUsed?: number | undefined;
37188
37188
  expiresAt?: string | undefined;
37189
37189
  }, {
37190
- operation: "crawl";
37191
- status: "failed" | "completed" | "scraping" | "cancelled";
37192
- success: boolean;
37193
- error: string;
37194
37190
  data: {
37195
- summary?: string | undefined;
37196
37191
  images?: string[] | undefined;
37192
+ summary?: string | undefined;
37197
37193
  metadata?: z.objectInputType<{
37198
37194
  title: z.ZodOptional<z.ZodString>;
37199
37195
  description: z.ZodOptional<z.ZodString>;
@@ -37685,6 +37681,10 @@ export declare class FirecrawlBubble<T extends FirecrawlParams = FirecrawlParams
37685
37681
  }>>;
37686
37682
  }, z.ZodUnknown, "strip"> | undefined;
37687
37683
  }[];
37684
+ status: "failed" | "completed" | "scraping" | "cancelled";
37685
+ error: string;
37686
+ success: boolean;
37687
+ operation: "crawl";
37688
37688
  completed: number;
37689
37689
  total: number;
37690
37690
  creditsUsed?: number | undefined;
@@ -37701,22 +37701,22 @@ export declare class FirecrawlBubble<T extends FirecrawlParams = FirecrawlParams
37701
37701
  sources: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
37702
37702
  expiresAt: z.ZodOptional<z.ZodString>;
37703
37703
  }, "strip", z.ZodTypeAny, {
37704
- operation: "extract";
37705
- success: boolean;
37706
37704
  error: string;
37705
+ success: boolean;
37706
+ operation: "extract";
37707
+ data?: unknown;
37707
37708
  status?: "failed" | "completed" | "cancelled" | "processing" | undefined;
37708
37709
  id?: string | undefined;
37709
- data?: unknown;
37710
37710
  warning?: string | undefined;
37711
37711
  sources?: Record<string, unknown> | undefined;
37712
37712
  expiresAt?: string | undefined;
37713
37713
  }, {
37714
- operation: "extract";
37715
- success: boolean;
37716
37714
  error: string;
37715
+ success: boolean;
37716
+ operation: "extract";
37717
+ data?: unknown;
37717
37718
  status?: "failed" | "completed" | "cancelled" | "processing" | undefined;
37718
37719
  id?: string | undefined;
37719
- data?: unknown;
37720
37720
  warning?: string | undefined;
37721
37721
  sources?: Record<string, unknown> | undefined;
37722
37722
  expiresAt?: string | undefined;