@bubblelab/bubble-core 0.1.49 → 0.1.51

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 (95) hide show
  1. package/dist/bubble-bundle.d.ts +126 -106
  2. package/dist/bubble-factory.d.ts.map +1 -1
  3. package/dist/bubble-factory.js +4 -0
  4. package/dist/bubble-factory.js.map +1 -1
  5. package/dist/bubbles/service-bubble/agi-inc.d.ts +132 -132
  6. package/dist/bubbles/service-bubble/ai-agent.d.ts +36 -36
  7. package/dist/bubbles/service-bubble/airtable.d.ts +230 -230
  8. package/dist/bubbles/service-bubble/apify/apify.d.ts +38 -38
  9. package/dist/bubbles/service-bubble/ashby/ashby.d.ts +178 -178
  10. package/dist/bubbles/service-bubble/browserbase/browserbase.d.ts +57 -57
  11. package/dist/bubbles/service-bubble/crustdata/crustdata.d.ts +98 -98
  12. package/dist/bubbles/service-bubble/eleven-labs.d.ts +48 -48
  13. package/dist/bubbles/service-bubble/firecrawl.d.ts +292 -292
  14. package/dist/bubbles/service-bubble/followupboss.d.ts +302 -302
  15. package/dist/bubbles/service-bubble/fullenrich/fullenrich.d.ts +28 -28
  16. package/dist/bubbles/service-bubble/fullenrich/fullenrich.d.ts.map +1 -1
  17. package/dist/bubbles/service-bubble/fullenrich/fullenrich.js +8 -4
  18. package/dist/bubbles/service-bubble/fullenrich/fullenrich.js.map +1 -1
  19. package/dist/bubbles/service-bubble/github.d.ts +124 -124
  20. package/dist/bubbles/service-bubble/gmail.d.ts +248 -248
  21. package/dist/bubbles/service-bubble/google-calendar.d.ts +56 -56
  22. package/dist/bubbles/service-bubble/google-drive.d.ts +120 -120
  23. package/dist/bubbles/service-bubble/google-sheets/google-sheets.d.ts +54 -54
  24. package/dist/bubbles/service-bubble/hello-world.d.ts +4 -4
  25. package/dist/bubbles/service-bubble/http.d.ts +12 -12
  26. package/dist/bubbles/service-bubble/insforge-db.d.ts +16 -16
  27. package/dist/bubbles/service-bubble/jira/jira.d.ts +59 -59
  28. package/dist/bubbles/service-bubble/notion/notion.d.ts +212 -212
  29. package/dist/bubbles/service-bubble/postgresql.d.ts +16 -16
  30. package/dist/bubbles/service-bubble/resend.d.ts +16 -16
  31. package/dist/bubbles/service-bubble/slack/slack.d.ts +340 -340
  32. package/dist/bubbles/service-bubble/storage.d.ts +40 -40
  33. package/dist/bubbles/service-bubble/stripe/index.d.ts +4 -0
  34. package/dist/bubbles/service-bubble/stripe/index.d.ts.map +1 -0
  35. package/dist/bubbles/service-bubble/stripe/index.js +4 -0
  36. package/dist/bubbles/service-bubble/stripe/index.js.map +1 -0
  37. package/dist/bubbles/service-bubble/stripe/stripe.d.ts +1178 -0
  38. package/dist/bubbles/service-bubble/stripe/stripe.d.ts.map +1 -0
  39. package/dist/bubbles/service-bubble/stripe/stripe.js +618 -0
  40. package/dist/bubbles/service-bubble/stripe/stripe.js.map +1 -0
  41. package/dist/bubbles/service-bubble/stripe/stripe.schema.d.ts +1326 -0
  42. package/dist/bubbles/service-bubble/stripe/stripe.schema.d.ts.map +1 -0
  43. package/dist/bubbles/service-bubble/stripe/stripe.schema.js +626 -0
  44. package/dist/bubbles/service-bubble/stripe/stripe.schema.js.map +1 -0
  45. package/dist/bubbles/service-bubble/stripe/stripe.utils.d.ts +40 -0
  46. package/dist/bubbles/service-bubble/stripe/stripe.utils.d.ts.map +1 -0
  47. package/dist/bubbles/service-bubble/stripe/stripe.utils.js +111 -0
  48. package/dist/bubbles/service-bubble/stripe/stripe.utils.js.map +1 -0
  49. package/dist/bubbles/service-bubble/telegram.d.ts +114 -114
  50. package/dist/bubbles/tool-bubble/amazon-shopping-tool/amazon-shopping-tool.d.ts +40 -40
  51. package/dist/bubbles/tool-bubble/amazon-shopping-tool/amazon-shopping-tool.schema.d.ts +6 -6
  52. package/dist/bubbles/tool-bubble/bubbleflow-validation-tool.d.ts +8 -8
  53. package/dist/bubbles/tool-bubble/chart-js-tool.d.ts +8 -8
  54. package/dist/bubbles/tool-bubble/code-edit-tool.d.ts +8 -8
  55. package/dist/bubbles/tool-bubble/company-enrichment-tool.d.ts +4 -4
  56. package/dist/bubbles/tool-bubble/get-bubble-details-tool.d.ts +4 -4
  57. package/dist/bubbles/tool-bubble/get-trigger-detail-tool.d.ts +4 -4
  58. package/dist/bubbles/tool-bubble/google-maps-tool.d.ts +8 -8
  59. package/dist/bubbles/tool-bubble/instagram-tool.d.ts +8 -8
  60. package/dist/bubbles/tool-bubble/linkedin-connection-tool/linkedin-connection-tool.d.ts +4 -4
  61. package/dist/bubbles/tool-bubble/linkedin-tool.d.ts +324 -324
  62. package/dist/bubbles/tool-bubble/list-bubbles-tool.d.ts +4 -4
  63. package/dist/bubbles/tool-bubble/people-search-tool.d.ts +4 -4
  64. package/dist/bubbles/tool-bubble/reddit-scrape-tool.d.ts +12 -12
  65. package/dist/bubbles/tool-bubble/research-agent-tool.d.ts +4 -4
  66. package/dist/bubbles/tool-bubble/sql-query-tool.d.ts +8 -8
  67. package/dist/bubbles/tool-bubble/tiktok-tool.d.ts +60 -60
  68. package/dist/bubbles/tool-bubble/tool-template.d.ts +8 -8
  69. package/dist/bubbles/tool-bubble/twitter-tool.d.ts +132 -132
  70. package/dist/bubbles/tool-bubble/web-crawl-tool.d.ts +16 -16
  71. package/dist/bubbles/tool-bubble/web-extract-tool.d.ts +12 -12
  72. package/dist/bubbles/tool-bubble/web-scrape-tool.d.ts +12 -12
  73. package/dist/bubbles/tool-bubble/web-search-tool.d.ts +14 -14
  74. package/dist/bubbles/tool-bubble/youtube-tool.d.ts +28 -28
  75. package/dist/bubbles/workflow-bubble/database-analyzer.workflow.d.ts +4 -4
  76. package/dist/bubbles/workflow-bubble/generate-document.workflow.d.ts +20 -20
  77. package/dist/bubbles/workflow-bubble/parse-document.workflow.d.ts +8 -8
  78. package/dist/bubbles/workflow-bubble/pdf-form-operations.workflow.d.ts +96 -96
  79. package/dist/bubbles/workflow-bubble/pdf-ocr.workflow.d.ts +24 -24
  80. package/dist/bubbles/workflow-bubble/slack-data-assistant.workflow.d.ts +4 -4
  81. package/dist/bubbles/workflow-bubble/slack-formatter-agent.d.ts +16 -16
  82. package/dist/bubbles/workflow-bubble/slack-notifier.workflow.d.ts +4 -4
  83. package/dist/bubbles.json +1806 -2
  84. package/dist/index.d.ts +1 -0
  85. package/dist/index.d.ts.map +1 -1
  86. package/dist/index.js +1 -0
  87. package/dist/index.js.map +1 -1
  88. package/dist/types/base-bubble-class.d.ts.map +1 -1
  89. package/dist/types/base-bubble-class.js +12 -0
  90. package/dist/types/base-bubble-class.js.map +1 -1
  91. package/dist/utils/schema-comparison.d.ts +10 -0
  92. package/dist/utils/schema-comparison.d.ts.map +1 -1
  93. package/dist/utils/schema-comparison.js +215 -0
  94. package/dist/utils/schema-comparison.js.map +1 -1
  95. 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: "json" | "images" | "summary" | "html" | "screenshot" | "markdown" | "rawHtml" | "links" | "attributes" | "changeTracking" | "branding";
13
+ type: "images" | "summary" | "html" | "json" | "screenshot" | "markdown" | "rawHtml" | "links" | "attributes" | "changeTracking" | "branding";
14
14
  }, {
15
- type: "json" | "images" | "summary" | "html" | "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>;
@@ -179,11 +179,11 @@ declare const FirecrawlParamsSchema: z.ZodDiscriminatedUnion<"operation", [z.Zod
179
179
  type: z.ZodLiteral<"press">;
180
180
  key: z.ZodString;
181
181
  }, "strip", z.ZodTypeAny, {
182
- type: "press";
183
182
  key: string;
184
- }, {
185
183
  type: "press";
184
+ }, {
186
185
  key: string;
186
+ type: "press";
187
187
  }>, z.ZodObject<{
188
188
  type: z.ZodLiteral<"scroll">;
189
189
  direction: z.ZodEnum<["up", "down"]>;
@@ -206,11 +206,11 @@ declare const FirecrawlParamsSchema: z.ZodDiscriminatedUnion<"operation", [z.Zod
206
206
  type: z.ZodLiteral<"executeJavascript">;
207
207
  script: z.ZodString;
208
208
  }, "strip", z.ZodTypeAny, {
209
- script: string;
210
209
  type: "executeJavascript";
211
- }, {
212
210
  script: string;
211
+ }, {
213
212
  type: "executeJavascript";
213
+ script: string;
214
214
  }>, z.ZodObject<{
215
215
  type: z.ZodLiteral<"pdf">;
216
216
  format: z.ZodOptional<z.ZodEnum<["A0", "A1", "A2", "A3", "A4", "A5", "A6", "Letter", "Legal", "Tabloid", "Ledger"]>>;
@@ -251,10 +251,10 @@ declare const FirecrawlParamsSchema: z.ZodDiscriminatedUnion<"operation", [z.Zod
251
251
  url: z.ZodString;
252
252
  }, "strip", z.ZodTypeAny, {
253
253
  url: string;
254
- timeout: number;
255
254
  operation: "scrape";
256
- formats: ("json" | "images" | "summary" | "html" | "screenshot" | "markdown" | "rawHtml" | "links" | "attributes" | "changeTracking" | "branding" | {
257
- type: "json" | "images" | "summary" | "html" | "screenshot" | "markdown" | "rawHtml" | "links" | "attributes" | "changeTracking" | "branding";
255
+ timeout: number;
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;
@@ -307,8 +307,8 @@ declare const FirecrawlParamsSchema: z.ZodDiscriminatedUnion<"operation", [z.Zod
307
307
  type: "write";
308
308
  text: string;
309
309
  } | {
310
- type: "press";
311
310
  key: string;
311
+ type: "press";
312
312
  } | {
313
313
  type: "scroll";
314
314
  direction: "up" | "down";
@@ -316,8 +316,8 @@ declare const FirecrawlParamsSchema: z.ZodDiscriminatedUnion<"operation", [z.Zod
316
316
  } | {
317
317
  type: "scrape";
318
318
  } | {
319
- script: string;
320
319
  type: "executeJavascript";
320
+ script: string;
321
321
  } | {
322
322
  type: "pdf";
323
323
  format?: "A0" | "A1" | "A2" | "A3" | "A4" | "A5" | "A6" | "Letter" | "Legal" | "Tabloid" | "Ledger" | undefined;
@@ -346,8 +346,8 @@ declare const FirecrawlParamsSchema: z.ZodDiscriminatedUnion<"operation", [z.Zod
346
346
  url: string;
347
347
  operation: "scrape";
348
348
  credentials?: Partial<Record<CredentialType, string>> | undefined;
349
- timeout?: number | undefined;
350
349
  maxRetries?: number | undefined;
350
+ timeout?: number | undefined;
351
351
  headers?: Record<string, string> | undefined;
352
352
  includeTags?: string[] | undefined;
353
353
  excludeTags?: string[] | undefined;
@@ -370,8 +370,8 @@ declare const FirecrawlParamsSchema: z.ZodDiscriminatedUnion<"operation", [z.Zod
370
370
  type: "write";
371
371
  text: string;
372
372
  } | {
373
- type: "press";
374
373
  key: string;
374
+ type: "press";
375
375
  } | {
376
376
  type: "scroll";
377
377
  direction: "up" | "down";
@@ -379,8 +379,8 @@ declare const FirecrawlParamsSchema: z.ZodDiscriminatedUnion<"operation", [z.Zod
379
379
  } | {
380
380
  type: "scrape";
381
381
  } | {
382
- script: string;
383
382
  type: "executeJavascript";
383
+ script: string;
384
384
  } | {
385
385
  type: "pdf";
386
386
  format?: "A0" | "A1" | "A2" | "A3" | "A4" | "A5" | "A6" | "Letter" | "Legal" | "Tabloid" | "Ledger" | undefined;
@@ -393,8 +393,8 @@ declare const FirecrawlParamsSchema: z.ZodDiscriminatedUnion<"operation", [z.Zod
393
393
  languages?: string[] | undefined;
394
394
  } | undefined;
395
395
  integration?: string | undefined;
396
- formats?: ("json" | "images" | "summary" | "html" | "screenshot" | "markdown" | "rawHtml" | "links" | "attributes" | "changeTracking" | "branding" | {
397
- type: "json" | "images" | "summary" | "html" | "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;
@@ -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: "json" | "images" | "summary" | "html" | "screenshot" | "markdown" | "rawHtml" | "links" | "attributes" | "changeTracking" | "branding";
468
+ type: "images" | "summary" | "html" | "json" | "screenshot" | "markdown" | "rawHtml" | "links" | "attributes" | "changeTracking" | "branding";
469
469
  }, {
470
- type: "json" | "images" | "summary" | "html" | "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>;
@@ -634,11 +634,11 @@ declare const FirecrawlParamsSchema: z.ZodDiscriminatedUnion<"operation", [z.Zod
634
634
  type: z.ZodLiteral<"press">;
635
635
  key: z.ZodString;
636
636
  }, "strip", z.ZodTypeAny, {
637
- type: "press";
638
637
  key: string;
639
- }, {
640
638
  type: "press";
639
+ }, {
641
640
  key: string;
641
+ type: "press";
642
642
  }>, z.ZodObject<{
643
643
  type: z.ZodLiteral<"scroll">;
644
644
  direction: z.ZodEnum<["up", "down"]>;
@@ -661,11 +661,11 @@ declare const FirecrawlParamsSchema: z.ZodDiscriminatedUnion<"operation", [z.Zod
661
661
  type: z.ZodLiteral<"executeJavascript">;
662
662
  script: z.ZodString;
663
663
  }, "strip", z.ZodTypeAny, {
664
- script: string;
665
664
  type: "executeJavascript";
666
- }, {
667
665
  script: string;
666
+ }, {
668
667
  type: "executeJavascript";
668
+ script: string;
669
669
  }>, z.ZodObject<{
670
670
  type: z.ZodLiteral<"pdf">;
671
671
  format: z.ZodOptional<z.ZodEnum<["A0", "A1", "A2", "A3", "A4", "A5", "A6", "Letter", "Legal", "Tabloid", "Ledger"]>>;
@@ -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: ("json" | "images" | "summary" | "html" | "screenshot" | "markdown" | "rawHtml" | "links" | "attributes" | "changeTracking" | "branding" | {
707
- type: "json" | "images" | "summary" | "html" | "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;
@@ -755,8 +755,8 @@ declare const FirecrawlParamsSchema: z.ZodDiscriminatedUnion<"operation", [z.Zod
755
755
  type: "write";
756
756
  text: string;
757
757
  } | {
758
- type: "press";
759
758
  key: string;
759
+ type: "press";
760
760
  } | {
761
761
  type: "scroll";
762
762
  direction: "up" | "down";
@@ -764,8 +764,8 @@ declare const FirecrawlParamsSchema: z.ZodDiscriminatedUnion<"operation", [z.Zod
764
764
  } | {
765
765
  type: "scrape";
766
766
  } | {
767
- script: string;
768
767
  type: "executeJavascript";
768
+ script: string;
769
769
  } | {
770
770
  type: "pdf";
771
771
  format?: "A0" | "A1" | "A2" | "A3" | "A4" | "A5" | "A6" | "Letter" | "Legal" | "Tabloid" | "Ledger" | undefined;
@@ -813,8 +813,8 @@ declare const FirecrawlParamsSchema: z.ZodDiscriminatedUnion<"operation", [z.Zod
813
813
  type: "write";
814
814
  text: string;
815
815
  } | {
816
- type: "press";
817
816
  key: string;
817
+ type: "press";
818
818
  } | {
819
819
  type: "scroll";
820
820
  direction: "up" | "down";
@@ -822,8 +822,8 @@ declare const FirecrawlParamsSchema: z.ZodDiscriminatedUnion<"operation", [z.Zod
822
822
  } | {
823
823
  type: "scrape";
824
824
  } | {
825
- script: string;
826
825
  type: "executeJavascript";
826
+ script: string;
827
827
  } | {
828
828
  type: "pdf";
829
829
  format?: "A0" | "A1" | "A2" | "A3" | "A4" | "A5" | "A6" | "Letter" | "Legal" | "Tabloid" | "Ledger" | undefined;
@@ -836,8 +836,8 @@ declare const FirecrawlParamsSchema: z.ZodDiscriminatedUnion<"operation", [z.Zod
836
836
  languages?: string[] | undefined;
837
837
  } | undefined;
838
838
  integration?: string | undefined;
839
- formats?: ("json" | "images" | "summary" | "html" | "screenshot" | "markdown" | "rawHtml" | "links" | "attributes" | "changeTracking" | "branding" | {
840
- type: "json" | "images" | "summary" | "html" | "screenshot" | "markdown" | "rawHtml" | "links" | "attributes" | "changeTracking" | "branding";
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
841
  } | {
842
842
  type: "json";
843
843
  schema?: any;
@@ -880,12 +880,12 @@ declare const FirecrawlParamsSchema: z.ZodDiscriminatedUnion<"operation", [z.Zod
880
880
  }>>;
881
881
  integration: z.ZodOptional<z.ZodString>;
882
882
  }, "strip", z.ZodTypeAny, {
883
- query: string;
884
883
  operation: "search";
884
+ query: string;
885
885
  credentials?: Partial<Record<CredentialType, string>> | undefined;
886
- timeout?: number | undefined;
887
- maxRetries?: number | undefined;
888
886
  limit?: number | undefined;
887
+ maxRetries?: number | undefined;
888
+ timeout?: number | undefined;
889
889
  location?: string | undefined;
890
890
  categories?: ("github" | "pdf" | "research" | {
891
891
  type: "github" | "pdf" | "research";
@@ -899,8 +899,8 @@ declare const FirecrawlParamsSchema: z.ZodDiscriminatedUnion<"operation", [z.Zod
899
899
  ignoreInvalidURLs?: boolean | undefined;
900
900
  scrapeOptions?: {
901
901
  timeout: number;
902
- formats: ("json" | "images" | "summary" | "html" | "screenshot" | "markdown" | "rawHtml" | "links" | "attributes" | "changeTracking" | "branding" | {
903
- type: "json" | "images" | "summary" | "html" | "screenshot" | "markdown" | "rawHtml" | "links" | "attributes" | "changeTracking" | "branding";
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
904
  } | {
905
905
  type: "json";
906
906
  schema?: any;
@@ -951,8 +951,8 @@ declare const FirecrawlParamsSchema: z.ZodDiscriminatedUnion<"operation", [z.Zod
951
951
  type: "write";
952
952
  text: string;
953
953
  } | {
954
- type: "press";
955
954
  key: string;
955
+ type: "press";
956
956
  } | {
957
957
  type: "scroll";
958
958
  direction: "up" | "down";
@@ -960,8 +960,8 @@ declare const FirecrawlParamsSchema: z.ZodDiscriminatedUnion<"operation", [z.Zod
960
960
  } | {
961
961
  type: "scrape";
962
962
  } | {
963
- script: string;
964
963
  type: "executeJavascript";
964
+ script: string;
965
965
  } | {
966
966
  type: "pdf";
967
967
  format?: "A0" | "A1" | "A2" | "A3" | "A4" | "A5" | "A6" | "Letter" | "Legal" | "Tabloid" | "Ledger" | undefined;
@@ -987,12 +987,12 @@ declare const FirecrawlParamsSchema: z.ZodDiscriminatedUnion<"operation", [z.Zod
987
987
  storeInCache?: boolean | undefined;
988
988
  } | undefined;
989
989
  }, {
990
- query: string;
991
990
  operation: "search";
991
+ query: string;
992
992
  credentials?: Partial<Record<CredentialType, string>> | undefined;
993
- timeout?: number | undefined;
994
- maxRetries?: number | undefined;
995
993
  limit?: number | undefined;
994
+ maxRetries?: number | undefined;
995
+ timeout?: number | undefined;
996
996
  location?: string | undefined;
997
997
  categories?: ("github" | "pdf" | "research" | {
998
998
  type: "github" | "pdf" | "research";
@@ -1028,8 +1028,8 @@ declare const FirecrawlParamsSchema: z.ZodDiscriminatedUnion<"operation", [z.Zod
1028
1028
  type: "write";
1029
1029
  text: string;
1030
1030
  } | {
1031
- type: "press";
1032
1031
  key: string;
1032
+ type: "press";
1033
1033
  } | {
1034
1034
  type: "scroll";
1035
1035
  direction: "up" | "down";
@@ -1037,8 +1037,8 @@ declare const FirecrawlParamsSchema: z.ZodDiscriminatedUnion<"operation", [z.Zod
1037
1037
  } | {
1038
1038
  type: "scrape";
1039
1039
  } | {
1040
- script: string;
1041
1040
  type: "executeJavascript";
1041
+ script: string;
1042
1042
  } | {
1043
1043
  type: "pdf";
1044
1044
  format?: "A0" | "A1" | "A2" | "A3" | "A4" | "A5" | "A6" | "Letter" | "Legal" | "Tabloid" | "Ledger" | undefined;
@@ -1051,8 +1051,8 @@ declare const FirecrawlParamsSchema: z.ZodDiscriminatedUnion<"operation", [z.Zod
1051
1051
  languages?: string[] | undefined;
1052
1052
  } | undefined;
1053
1053
  integration?: string | undefined;
1054
- formats?: ("json" | "images" | "summary" | "html" | "screenshot" | "markdown" | "rawHtml" | "links" | "attributes" | "changeTracking" | "branding" | {
1055
- type: "json" | "images" | "summary" | "html" | "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;
@@ -1119,11 +1119,11 @@ declare const FirecrawlParamsSchema: z.ZodDiscriminatedUnion<"operation", [z.Zod
1119
1119
  }, "strip", z.ZodTypeAny, {
1120
1120
  url: string;
1121
1121
  operation: "map";
1122
- credentials?: Partial<Record<CredentialType, string>> | undefined;
1123
- timeout?: number | undefined;
1124
1122
  search?: string | undefined;
1125
- maxRetries?: number | undefined;
1123
+ credentials?: Partial<Record<CredentialType, string>> | undefined;
1126
1124
  limit?: number | undefined;
1125
+ maxRetries?: number | undefined;
1126
+ timeout?: number | undefined;
1127
1127
  location?: {
1128
1128
  country?: string | undefined;
1129
1129
  languages?: string[] | undefined;
@@ -1135,11 +1135,11 @@ declare const FirecrawlParamsSchema: z.ZodDiscriminatedUnion<"operation", [z.Zod
1135
1135
  }, {
1136
1136
  url: string;
1137
1137
  operation: "map";
1138
- credentials?: Partial<Record<CredentialType, string>> | undefined;
1139
- timeout?: number | undefined;
1140
1138
  search?: string | undefined;
1141
- maxRetries?: number | undefined;
1139
+ credentials?: Partial<Record<CredentialType, string>> | undefined;
1142
1140
  limit?: number | undefined;
1141
+ maxRetries?: number | undefined;
1142
+ timeout?: number | undefined;
1143
1143
  location?: {
1144
1144
  country?: string | undefined;
1145
1145
  languages?: string[] | 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: "json" | "images" | "summary" | "html" | "screenshot" | "markdown" | "rawHtml" | "links" | "attributes" | "changeTracking" | "branding";
1190
+ type: "images" | "summary" | "html" | "json" | "screenshot" | "markdown" | "rawHtml" | "links" | "attributes" | "changeTracking" | "branding";
1191
1191
  }, {
1192
- type: "json" | "images" | "summary" | "html" | "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>;
@@ -1356,11 +1356,11 @@ declare const FirecrawlParamsSchema: z.ZodDiscriminatedUnion<"operation", [z.Zod
1356
1356
  type: z.ZodLiteral<"press">;
1357
1357
  key: z.ZodString;
1358
1358
  }, "strip", z.ZodTypeAny, {
1359
- type: "press";
1360
1359
  key: string;
1361
- }, {
1362
1360
  type: "press";
1361
+ }, {
1363
1362
  key: string;
1363
+ type: "press";
1364
1364
  }>, z.ZodObject<{
1365
1365
  type: z.ZodLiteral<"scroll">;
1366
1366
  direction: z.ZodEnum<["up", "down"]>;
@@ -1383,11 +1383,11 @@ declare const FirecrawlParamsSchema: z.ZodDiscriminatedUnion<"operation", [z.Zod
1383
1383
  type: z.ZodLiteral<"executeJavascript">;
1384
1384
  script: z.ZodString;
1385
1385
  }, "strip", z.ZodTypeAny, {
1386
- script: string;
1387
1386
  type: "executeJavascript";
1388
- }, {
1389
1387
  script: string;
1388
+ }, {
1390
1389
  type: "executeJavascript";
1390
+ script: string;
1391
1391
  }>, z.ZodObject<{
1392
1392
  type: z.ZodLiteral<"pdf">;
1393
1393
  format: z.ZodOptional<z.ZodEnum<["A0", "A1", "A2", "A3", "A4", "A5", "A6", "Letter", "Legal", "Tabloid", "Ledger"]>>;
@@ -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: ("json" | "images" | "summary" | "html" | "screenshot" | "markdown" | "rawHtml" | "links" | "attributes" | "changeTracking" | "branding" | {
1429
- type: "json" | "images" | "summary" | "html" | "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;
@@ -1477,8 +1477,8 @@ declare const FirecrawlParamsSchema: z.ZodDiscriminatedUnion<"operation", [z.Zod
1477
1477
  type: "write";
1478
1478
  text: string;
1479
1479
  } | {
1480
- type: "press";
1481
1480
  key: string;
1481
+ type: "press";
1482
1482
  } | {
1483
1483
  type: "scroll";
1484
1484
  direction: "up" | "down";
@@ -1486,8 +1486,8 @@ declare const FirecrawlParamsSchema: z.ZodDiscriminatedUnion<"operation", [z.Zod
1486
1486
  } | {
1487
1487
  type: "scrape";
1488
1488
  } | {
1489
- script: string;
1490
1489
  type: "executeJavascript";
1490
+ script: string;
1491
1491
  } | {
1492
1492
  type: "pdf";
1493
1493
  format?: "A0" | "A1" | "A2" | "A3" | "A4" | "A5" | "A6" | "Letter" | "Legal" | "Tabloid" | "Ledger" | undefined;
@@ -1535,8 +1535,8 @@ declare const FirecrawlParamsSchema: z.ZodDiscriminatedUnion<"operation", [z.Zod
1535
1535
  type: "write";
1536
1536
  text: string;
1537
1537
  } | {
1538
- type: "press";
1539
1538
  key: string;
1539
+ type: "press";
1540
1540
  } | {
1541
1541
  type: "scroll";
1542
1542
  direction: "up" | "down";
@@ -1544,8 +1544,8 @@ declare const FirecrawlParamsSchema: z.ZodDiscriminatedUnion<"operation", [z.Zod
1544
1544
  } | {
1545
1545
  type: "scrape";
1546
1546
  } | {
1547
- script: string;
1548
1547
  type: "executeJavascript";
1548
+ script: string;
1549
1549
  } | {
1550
1550
  type: "pdf";
1551
1551
  format?: "A0" | "A1" | "A2" | "A3" | "A4" | "A5" | "A6" | "Letter" | "Legal" | "Tabloid" | "Ledger" | undefined;
@@ -1558,8 +1558,8 @@ declare const FirecrawlParamsSchema: z.ZodDiscriminatedUnion<"operation", [z.Zod
1558
1558
  languages?: string[] | undefined;
1559
1559
  } | undefined;
1560
1560
  integration?: string | undefined;
1561
- formats?: ("json" | "images" | "summary" | "html" | "screenshot" | "markdown" | "rawHtml" | "links" | "attributes" | "changeTracking" | "branding" | {
1562
- type: "json" | "images" | "summary" | "html" | "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;
@@ -1608,11 +1608,11 @@ declare const FirecrawlParamsSchema: z.ZodDiscriminatedUnion<"operation", [z.Zod
1608
1608
  url: string;
1609
1609
  operation: "crawl";
1610
1610
  credentials?: Partial<Record<CredentialType, string>> | undefined;
1611
- maxConcurrency?: number | undefined;
1612
- timeout?: number | undefined;
1611
+ limit?: number | undefined;
1613
1612
  maxRetries?: number | undefined;
1613
+ timeout?: number | undefined;
1614
+ maxConcurrency?: number | undefined;
1614
1615
  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: ("json" | "images" | "summary" | "html" | "screenshot" | "markdown" | "rawHtml" | "links" | "attributes" | "changeTracking" | "branding" | {
1627
- type: "json" | "images" | "summary" | "html" | "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;
@@ -1675,8 +1675,8 @@ declare const FirecrawlParamsSchema: z.ZodDiscriminatedUnion<"operation", [z.Zod
1675
1675
  type: "write";
1676
1676
  text: string;
1677
1677
  } | {
1678
- type: "press";
1679
1678
  key: string;
1679
+ type: "press";
1680
1680
  } | {
1681
1681
  type: "scroll";
1682
1682
  direction: "up" | "down";
@@ -1684,8 +1684,8 @@ declare const FirecrawlParamsSchema: z.ZodDiscriminatedUnion<"operation", [z.Zod
1684
1684
  } | {
1685
1685
  type: "scrape";
1686
1686
  } | {
1687
- script: string;
1688
1687
  type: "executeJavascript";
1688
+ script: string;
1689
1689
  } | {
1690
1690
  type: "pdf";
1691
1691
  format?: "A0" | "A1" | "A2" | "A3" | "A4" | "A5" | "A6" | "Letter" | "Legal" | "Tabloid" | "Ledger" | undefined;
@@ -1725,11 +1725,11 @@ declare const FirecrawlParamsSchema: z.ZodDiscriminatedUnion<"operation", [z.Zod
1725
1725
  url: string;
1726
1726
  operation: "crawl";
1727
1727
  credentials?: Partial<Record<CredentialType, string>> | undefined;
1728
- maxConcurrency?: number | undefined;
1729
- timeout?: number | undefined;
1728
+ limit?: number | undefined;
1730
1729
  maxRetries?: number | undefined;
1730
+ timeout?: number | undefined;
1731
+ maxConcurrency?: number | undefined;
1731
1732
  prompt?: string | undefined;
1732
- limit?: number | undefined;
1733
1733
  webhook?: string | {
1734
1734
  url: string;
1735
1735
  metadata?: Record<string, string> | undefined;
@@ -1762,8 +1762,8 @@ declare const FirecrawlParamsSchema: z.ZodDiscriminatedUnion<"operation", [z.Zod
1762
1762
  type: "write";
1763
1763
  text: string;
1764
1764
  } | {
1765
- type: "press";
1766
1765
  key: string;
1766
+ type: "press";
1767
1767
  } | {
1768
1768
  type: "scroll";
1769
1769
  direction: "up" | "down";
@@ -1771,8 +1771,8 @@ declare const FirecrawlParamsSchema: z.ZodDiscriminatedUnion<"operation", [z.Zod
1771
1771
  } | {
1772
1772
  type: "scrape";
1773
1773
  } | {
1774
- script: string;
1775
1774
  type: "executeJavascript";
1775
+ script: string;
1776
1776
  } | {
1777
1777
  type: "pdf";
1778
1778
  format?: "A0" | "A1" | "A2" | "A3" | "A4" | "A5" | "A6" | "Letter" | "Legal" | "Tabloid" | "Ledger" | undefined;
@@ -1785,8 +1785,8 @@ declare const FirecrawlParamsSchema: z.ZodDiscriminatedUnion<"operation", [z.Zod
1785
1785
  languages?: string[] | undefined;
1786
1786
  } | undefined;
1787
1787
  integration?: string | undefined;
1788
- formats?: ("json" | "images" | "summary" | "html" | "screenshot" | "markdown" | "rawHtml" | "links" | "attributes" | "changeTracking" | "branding" | {
1789
- type: "json" | "images" | "summary" | "html" | "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;
@@ -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: "json" | "images" | "summary" | "html" | "screenshot" | "markdown" | "rawHtml" | "links" | "attributes" | "changeTracking" | "branding";
1858
+ type: "images" | "summary" | "html" | "json" | "screenshot" | "markdown" | "rawHtml" | "links" | "attributes" | "changeTracking" | "branding";
1859
1859
  }, {
1860
- type: "json" | "images" | "summary" | "html" | "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>;
@@ -2024,11 +2024,11 @@ declare const FirecrawlParamsSchema: z.ZodDiscriminatedUnion<"operation", [z.Zod
2024
2024
  type: z.ZodLiteral<"press">;
2025
2025
  key: z.ZodString;
2026
2026
  }, "strip", z.ZodTypeAny, {
2027
- type: "press";
2028
2027
  key: string;
2029
- }, {
2030
2028
  type: "press";
2029
+ }, {
2031
2030
  key: string;
2031
+ type: "press";
2032
2032
  }>, z.ZodObject<{
2033
2033
  type: z.ZodLiteral<"scroll">;
2034
2034
  direction: z.ZodEnum<["up", "down"]>;
@@ -2051,11 +2051,11 @@ declare const FirecrawlParamsSchema: z.ZodDiscriminatedUnion<"operation", [z.Zod
2051
2051
  type: z.ZodLiteral<"executeJavascript">;
2052
2052
  script: z.ZodString;
2053
2053
  }, "strip", z.ZodTypeAny, {
2054
- script: string;
2055
2054
  type: "executeJavascript";
2056
- }, {
2057
2055
  script: string;
2056
+ }, {
2058
2057
  type: "executeJavascript";
2058
+ script: string;
2059
2059
  }>, z.ZodObject<{
2060
2060
  type: z.ZodLiteral<"pdf">;
2061
2061
  format: z.ZodOptional<z.ZodEnum<["A0", "A1", "A2", "A3", "A4", "A5", "A6", "Letter", "Legal", "Tabloid", "Ledger"]>>;
@@ -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: ("json" | "images" | "summary" | "html" | "screenshot" | "markdown" | "rawHtml" | "links" | "attributes" | "changeTracking" | "branding" | {
2097
- type: "json" | "images" | "summary" | "html" | "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;
@@ -2145,8 +2145,8 @@ declare const FirecrawlParamsSchema: z.ZodDiscriminatedUnion<"operation", [z.Zod
2145
2145
  type: "write";
2146
2146
  text: string;
2147
2147
  } | {
2148
- type: "press";
2149
2148
  key: string;
2149
+ type: "press";
2150
2150
  } | {
2151
2151
  type: "scroll";
2152
2152
  direction: "up" | "down";
@@ -2154,8 +2154,8 @@ declare const FirecrawlParamsSchema: z.ZodDiscriminatedUnion<"operation", [z.Zod
2154
2154
  } | {
2155
2155
  type: "scrape";
2156
2156
  } | {
2157
- script: string;
2158
2157
  type: "executeJavascript";
2158
+ script: string;
2159
2159
  } | {
2160
2160
  type: "pdf";
2161
2161
  format?: "A0" | "A1" | "A2" | "A3" | "A4" | "A5" | "A6" | "Letter" | "Legal" | "Tabloid" | "Ledger" | undefined;
@@ -2203,8 +2203,8 @@ declare const FirecrawlParamsSchema: z.ZodDiscriminatedUnion<"operation", [z.Zod
2203
2203
  type: "write";
2204
2204
  text: string;
2205
2205
  } | {
2206
- type: "press";
2207
2206
  key: string;
2207
+ type: "press";
2208
2208
  } | {
2209
2209
  type: "scroll";
2210
2210
  direction: "up" | "down";
@@ -2212,8 +2212,8 @@ declare const FirecrawlParamsSchema: z.ZodDiscriminatedUnion<"operation", [z.Zod
2212
2212
  } | {
2213
2213
  type: "scrape";
2214
2214
  } | {
2215
- script: string;
2216
2215
  type: "executeJavascript";
2216
+ script: string;
2217
2217
  } | {
2218
2218
  type: "pdf";
2219
2219
  format?: "A0" | "A1" | "A2" | "A3" | "A4" | "A5" | "A6" | "Letter" | "Legal" | "Tabloid" | "Ledger" | undefined;
@@ -2226,8 +2226,8 @@ declare const FirecrawlParamsSchema: z.ZodDiscriminatedUnion<"operation", [z.Zod
2226
2226
  languages?: string[] | undefined;
2227
2227
  } | undefined;
2228
2228
  integration?: string | undefined;
2229
- formats?: ("json" | "images" | "summary" | "html" | "screenshot" | "markdown" | "rawHtml" | "links" | "attributes" | "changeTracking" | "branding" | {
2230
- type: "json" | "images" | "summary" | "html" | "screenshot" | "markdown" | "rawHtml" | "links" | "attributes" | "changeTracking" | "branding";
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
2231
  } | {
2232
2232
  type: "json";
2233
2233
  schema?: any;
@@ -2282,22 +2282,22 @@ declare const FirecrawlParamsSchema: z.ZodDiscriminatedUnion<"operation", [z.Zod
2282
2282
  }, "strip", z.ZodTypeAny, {
2283
2283
  operation: "extract";
2284
2284
  urls: string[];
2285
- credentials?: Partial<Record<CredentialType, string>> | undefined;
2286
2285
  schema?: any;
2287
- timeout?: number | undefined;
2286
+ credentials?: Partial<Record<CredentialType, string>> | undefined;
2288
2287
  maxRetries?: number | undefined;
2289
2288
  systemPrompt?: string | undefined;
2290
2289
  agent?: {
2291
2290
  model: "FIRE-1";
2292
2291
  } | undefined;
2292
+ timeout?: number | undefined;
2293
2293
  prompt?: string | undefined;
2294
2294
  integration?: string | undefined;
2295
2295
  backoffFactor?: number | undefined;
2296
2296
  ignoreInvalidURLs?: boolean | undefined;
2297
2297
  scrapeOptions?: {
2298
2298
  timeout: number;
2299
- formats: ("json" | "images" | "summary" | "html" | "screenshot" | "markdown" | "rawHtml" | "links" | "attributes" | "changeTracking" | "branding" | {
2300
- type: "json" | "images" | "summary" | "html" | "screenshot" | "markdown" | "rawHtml" | "links" | "attributes" | "changeTracking" | "branding";
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
2301
  } | {
2302
2302
  type: "json";
2303
2303
  schema?: any;
@@ -2348,8 +2348,8 @@ declare const FirecrawlParamsSchema: z.ZodDiscriminatedUnion<"operation", [z.Zod
2348
2348
  type: "write";
2349
2349
  text: string;
2350
2350
  } | {
2351
- type: "press";
2352
2351
  key: string;
2352
+ type: "press";
2353
2353
  } | {
2354
2354
  type: "scroll";
2355
2355
  direction: "up" | "down";
@@ -2357,8 +2357,8 @@ declare const FirecrawlParamsSchema: z.ZodDiscriminatedUnion<"operation", [z.Zod
2357
2357
  } | {
2358
2358
  type: "scrape";
2359
2359
  } | {
2360
- script: string;
2361
2360
  type: "executeJavascript";
2361
+ script: string;
2362
2362
  } | {
2363
2363
  type: "pdf";
2364
2364
  format?: "A0" | "A1" | "A2" | "A3" | "A4" | "A5" | "A6" | "Letter" | "Legal" | "Tabloid" | "Ledger" | undefined;
@@ -2390,14 +2390,14 @@ declare const FirecrawlParamsSchema: z.ZodDiscriminatedUnion<"operation", [z.Zod
2390
2390
  }, {
2391
2391
  operation: "extract";
2392
2392
  urls: string[];
2393
- credentials?: Partial<Record<CredentialType, string>> | undefined;
2394
2393
  schema?: any;
2395
- timeout?: number | undefined;
2394
+ credentials?: Partial<Record<CredentialType, string>> | undefined;
2396
2395
  maxRetries?: number | undefined;
2397
2396
  systemPrompt?: string | undefined;
2398
2397
  agent?: {
2399
2398
  model: "FIRE-1";
2400
2399
  } | undefined;
2400
+ timeout?: number | undefined;
2401
2401
  prompt?: string | undefined;
2402
2402
  integration?: string | undefined;
2403
2403
  backoffFactor?: number | undefined;
@@ -2426,8 +2426,8 @@ declare const FirecrawlParamsSchema: z.ZodDiscriminatedUnion<"operation", [z.Zod
2426
2426
  type: "write";
2427
2427
  text: string;
2428
2428
  } | {
2429
- type: "press";
2430
2429
  key: string;
2430
+ type: "press";
2431
2431
  } | {
2432
2432
  type: "scroll";
2433
2433
  direction: "up" | "down";
@@ -2435,8 +2435,8 @@ declare const FirecrawlParamsSchema: z.ZodDiscriminatedUnion<"operation", [z.Zod
2435
2435
  } | {
2436
2436
  type: "scrape";
2437
2437
  } | {
2438
- script: string;
2439
2438
  type: "executeJavascript";
2439
+ script: string;
2440
2440
  } | {
2441
2441
  type: "pdf";
2442
2442
  format?: "A0" | "A1" | "A2" | "A3" | "A4" | "A5" | "A6" | "Letter" | "Legal" | "Tabloid" | "Ledger" | undefined;
@@ -2449,8 +2449,8 @@ declare const FirecrawlParamsSchema: z.ZodDiscriminatedUnion<"operation", [z.Zod
2449
2449
  languages?: string[] | undefined;
2450
2450
  } | undefined;
2451
2451
  integration?: string | undefined;
2452
- formats?: ("json" | "images" | "summary" | "html" | "screenshot" | "markdown" | "rawHtml" | "links" | "attributes" | "changeTracking" | "branding" | {
2453
- type: "json" | "images" | "summary" | "html" | "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;
@@ -3951,10 +3951,9 @@ declare const FirecrawlResultSchema: z.ZodDiscriminatedUnion<"operation", [z.Zod
3951
3951
  } & {
3952
3952
  operation: z.ZodLiteral<"scrape">;
3953
3953
  }, "strip", z.ZodTypeAny, {
3954
- error: string;
3955
- success: boolean;
3956
3954
  operation: "scrape";
3957
- json?: unknown;
3955
+ success: boolean;
3956
+ error: string;
3958
3957
  metadata?: z.objectOutputType<{
3959
3958
  title: z.ZodOptional<z.ZodString>;
3960
3959
  description: z.ZodOptional<z.ZodString>;
@@ -4001,6 +4000,7 @@ declare const FirecrawlResultSchema: z.ZodDiscriminatedUnion<"operation", [z.Zod
4001
4000
  images?: string[] | undefined;
4002
4001
  summary?: string | undefined;
4003
4002
  html?: string | undefined;
4003
+ json?: unknown;
4004
4004
  actions?: Record<string, unknown> | undefined;
4005
4005
  screenshot?: string | undefined;
4006
4006
  warning?: string | undefined;
@@ -4447,10 +4447,9 @@ declare const FirecrawlResultSchema: z.ZodDiscriminatedUnion<"operation", [z.Zod
4447
4447
  }>>;
4448
4448
  }, z.ZodUnknown, "strip"> | undefined;
4449
4449
  }, {
4450
- error: string;
4451
- success: boolean;
4452
4450
  operation: "scrape";
4453
- json?: unknown;
4451
+ success: boolean;
4452
+ error: string;
4454
4453
  metadata?: z.objectInputType<{
4455
4454
  title: z.ZodOptional<z.ZodString>;
4456
4455
  description: z.ZodOptional<z.ZodString>;
@@ -4497,6 +4496,7 @@ declare const FirecrawlResultSchema: z.ZodDiscriminatedUnion<"operation", [z.Zod
4497
4496
  images?: string[] | undefined;
4498
4497
  summary?: string | undefined;
4499
4498
  html?: string | undefined;
4499
+ json?: unknown;
4500
4500
  actions?: Record<string, unknown> | undefined;
4501
4501
  screenshot?: string | undefined;
4502
4502
  warning?: string | undefined;
@@ -6412,7 +6412,6 @@ declare const FirecrawlResultSchema: z.ZodDiscriminatedUnion<"operation", [z.Zod
6412
6412
  }>>;
6413
6413
  }, z.ZodUnknown, "strip">>>;
6414
6414
  }, "strip", z.ZodTypeAny, {
6415
- json?: unknown;
6416
6415
  metadata?: z.objectOutputType<{
6417
6416
  title: z.ZodOptional<z.ZodString>;
6418
6417
  description: z.ZodOptional<z.ZodString>;
@@ -6459,6 +6458,7 @@ declare const FirecrawlResultSchema: z.ZodDiscriminatedUnion<"operation", [z.Zod
6459
6458
  images?: string[] | undefined;
6460
6459
  summary?: string | undefined;
6461
6460
  html?: string | undefined;
6461
+ json?: unknown;
6462
6462
  actions?: Record<string, unknown> | undefined;
6463
6463
  screenshot?: string | undefined;
6464
6464
  warning?: string | undefined;
@@ -6905,7 +6905,6 @@ declare const FirecrawlResultSchema: z.ZodDiscriminatedUnion<"operation", [z.Zod
6905
6905
  }>>;
6906
6906
  }, z.ZodUnknown, "strip"> | undefined;
6907
6907
  }, {
6908
- json?: unknown;
6909
6908
  metadata?: z.objectInputType<{
6910
6909
  title: z.ZodOptional<z.ZodString>;
6911
6910
  description: z.ZodOptional<z.ZodString>;
@@ -6952,6 +6951,7 @@ declare const FirecrawlResultSchema: z.ZodDiscriminatedUnion<"operation", [z.Zod
6952
6951
  images?: string[] | undefined;
6953
6952
  summary?: string | undefined;
6954
6953
  html?: string | undefined;
6954
+ json?: unknown;
6955
6955
  actions?: Record<string, unknown> | undefined;
6956
6956
  screenshot?: string | undefined;
6957
6957
  warning?: string | undefined;
@@ -8872,7 +8872,6 @@ declare const FirecrawlResultSchema: z.ZodDiscriminatedUnion<"operation", [z.Zod
8872
8872
  }>>;
8873
8873
  }, z.ZodUnknown, "strip">>>;
8874
8874
  }, "strip", z.ZodTypeAny, {
8875
- json?: unknown;
8876
8875
  metadata?: z.objectOutputType<{
8877
8876
  title: z.ZodOptional<z.ZodString>;
8878
8877
  description: z.ZodOptional<z.ZodString>;
@@ -8919,6 +8918,7 @@ declare const FirecrawlResultSchema: z.ZodDiscriminatedUnion<"operation", [z.Zod
8919
8918
  images?: string[] | undefined;
8920
8919
  summary?: string | undefined;
8921
8920
  html?: string | undefined;
8921
+ json?: unknown;
8922
8922
  actions?: Record<string, unknown> | undefined;
8923
8923
  screenshot?: string | undefined;
8924
8924
  warning?: string | undefined;
@@ -9365,7 +9365,6 @@ declare const FirecrawlResultSchema: z.ZodDiscriminatedUnion<"operation", [z.Zod
9365
9365
  }>>;
9366
9366
  }, z.ZodUnknown, "strip"> | undefined;
9367
9367
  }, {
9368
- json?: unknown;
9369
9368
  metadata?: z.objectInputType<{
9370
9369
  title: z.ZodOptional<z.ZodString>;
9371
9370
  description: z.ZodOptional<z.ZodString>;
@@ -9412,6 +9411,7 @@ declare const FirecrawlResultSchema: z.ZodDiscriminatedUnion<"operation", [z.Zod
9412
9411
  images?: string[] | undefined;
9413
9412
  summary?: string | undefined;
9414
9413
  html?: string | undefined;
9414
+ json?: unknown;
9415
9415
  actions?: Record<string, unknown> | undefined;
9416
9416
  screenshot?: string | undefined;
9417
9417
  warning?: string | undefined;
@@ -11329,7 +11329,6 @@ declare const FirecrawlResultSchema: z.ZodDiscriminatedUnion<"operation", [z.Zod
11329
11329
  }>>;
11330
11330
  }, z.ZodUnknown, "strip">>>;
11331
11331
  }, "strip", z.ZodTypeAny, {
11332
- json?: unknown;
11333
11332
  metadata?: z.objectOutputType<{
11334
11333
  title: z.ZodOptional<z.ZodString>;
11335
11334
  description: z.ZodOptional<z.ZodString>;
@@ -11376,6 +11375,7 @@ declare const FirecrawlResultSchema: z.ZodDiscriminatedUnion<"operation", [z.Zod
11376
11375
  images?: string[] | undefined;
11377
11376
  summary?: string | undefined;
11378
11377
  html?: string | undefined;
11378
+ json?: unknown;
11379
11379
  actions?: Record<string, unknown> | undefined;
11380
11380
  screenshot?: string | undefined;
11381
11381
  warning?: string | undefined;
@@ -11822,7 +11822,6 @@ declare const FirecrawlResultSchema: z.ZodDiscriminatedUnion<"operation", [z.Zod
11822
11822
  }>>;
11823
11823
  }, z.ZodUnknown, "strip"> | undefined;
11824
11824
  }, {
11825
- json?: unknown;
11826
11825
  metadata?: z.objectInputType<{
11827
11826
  title: z.ZodOptional<z.ZodString>;
11828
11827
  description: z.ZodOptional<z.ZodString>;
@@ -11869,6 +11868,7 @@ declare const FirecrawlResultSchema: z.ZodDiscriminatedUnion<"operation", [z.Zod
11869
11868
  images?: string[] | undefined;
11870
11869
  summary?: string | undefined;
11871
11870
  html?: string | undefined;
11871
+ json?: unknown;
11872
11872
  actions?: Record<string, unknown> | undefined;
11873
11873
  screenshot?: string | undefined;
11874
11874
  warning?: string | undefined;
@@ -12317,11 +12317,10 @@ 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
- error: string;
12321
- success: boolean;
12322
12320
  operation: "search";
12321
+ success: boolean;
12322
+ error: string;
12323
12323
  images?: ({
12324
- json?: unknown;
12325
12324
  metadata?: z.objectOutputType<{
12326
12325
  title: z.ZodOptional<z.ZodString>;
12327
12326
  description: z.ZodOptional<z.ZodString>;
@@ -12368,6 +12367,7 @@ declare const FirecrawlResultSchema: z.ZodDiscriminatedUnion<"operation", [z.Zod
12368
12367
  images?: string[] | undefined;
12369
12368
  summary?: string | undefined;
12370
12369
  html?: string | undefined;
12370
+ json?: unknown;
12371
12371
  actions?: Record<string, unknown> | undefined;
12372
12372
  screenshot?: string | undefined;
12373
12373
  warning?: string | undefined;
@@ -12822,7 +12822,6 @@ declare const FirecrawlResultSchema: z.ZodDiscriminatedUnion<"operation", [z.Zod
12822
12822
  imageHeight?: number | undefined;
12823
12823
  })[] | undefined;
12824
12824
  web?: ({
12825
- json?: unknown;
12826
12825
  metadata?: z.objectOutputType<{
12827
12826
  title: z.ZodOptional<z.ZodString>;
12828
12827
  description: z.ZodOptional<z.ZodString>;
@@ -12869,6 +12868,7 @@ declare const FirecrawlResultSchema: z.ZodDiscriminatedUnion<"operation", [z.Zod
12869
12868
  images?: string[] | undefined;
12870
12869
  summary?: string | undefined;
12871
12870
  html?: string | undefined;
12871
+ json?: unknown;
12872
12872
  actions?: Record<string, unknown> | undefined;
12873
12873
  screenshot?: string | undefined;
12874
12874
  warning?: string | undefined;
@@ -13321,7 +13321,6 @@ declare const FirecrawlResultSchema: z.ZodDiscriminatedUnion<"operation", [z.Zod
13321
13321
  category?: string | undefined;
13322
13322
  })[] | undefined;
13323
13323
  news?: ({
13324
- json?: unknown;
13325
13324
  metadata?: z.objectOutputType<{
13326
13325
  title: z.ZodOptional<z.ZodString>;
13327
13326
  description: z.ZodOptional<z.ZodString>;
@@ -13368,6 +13367,7 @@ declare const FirecrawlResultSchema: z.ZodDiscriminatedUnion<"operation", [z.Zod
13368
13367
  images?: string[] | undefined;
13369
13368
  summary?: string | undefined;
13370
13369
  html?: string | undefined;
13370
+ json?: unknown;
13371
13371
  actions?: Record<string, unknown> | undefined;
13372
13372
  screenshot?: string | undefined;
13373
13373
  warning?: string | undefined;
@@ -13824,11 +13824,10 @@ declare const FirecrawlResultSchema: z.ZodDiscriminatedUnion<"operation", [z.Zod
13824
13824
  })[] | undefined;
13825
13825
  other?: unknown[] | undefined;
13826
13826
  }, {
13827
- error: string;
13828
- success: boolean;
13829
13827
  operation: "search";
13828
+ success: boolean;
13829
+ error: string;
13830
13830
  images?: ({
13831
- json?: unknown;
13832
13831
  metadata?: z.objectInputType<{
13833
13832
  title: z.ZodOptional<z.ZodString>;
13834
13833
  description: z.ZodOptional<z.ZodString>;
@@ -13875,6 +13874,7 @@ declare const FirecrawlResultSchema: z.ZodDiscriminatedUnion<"operation", [z.Zod
13875
13874
  images?: string[] | undefined;
13876
13875
  summary?: string | undefined;
13877
13876
  html?: string | undefined;
13877
+ json?: unknown;
13878
13878
  actions?: Record<string, unknown> | undefined;
13879
13879
  screenshot?: string | undefined;
13880
13880
  warning?: string | undefined;
@@ -14329,7 +14329,6 @@ declare const FirecrawlResultSchema: z.ZodDiscriminatedUnion<"operation", [z.Zod
14329
14329
  imageHeight?: number | undefined;
14330
14330
  })[] | undefined;
14331
14331
  web?: ({
14332
- json?: unknown;
14333
14332
  metadata?: z.objectInputType<{
14334
14333
  title: z.ZodOptional<z.ZodString>;
14335
14334
  description: z.ZodOptional<z.ZodString>;
@@ -14376,6 +14375,7 @@ declare const FirecrawlResultSchema: z.ZodDiscriminatedUnion<"operation", [z.Zod
14376
14375
  images?: string[] | undefined;
14377
14376
  summary?: string | undefined;
14378
14377
  html?: string | undefined;
14378
+ json?: unknown;
14379
14379
  actions?: Record<string, unknown> | undefined;
14380
14380
  screenshot?: string | undefined;
14381
14381
  warning?: string | undefined;
@@ -14828,7 +14828,6 @@ declare const FirecrawlResultSchema: z.ZodDiscriminatedUnion<"operation", [z.Zod
14828
14828
  category?: string | undefined;
14829
14829
  })[] | undefined;
14830
14830
  news?: ({
14831
- json?: unknown;
14832
14831
  metadata?: z.objectInputType<{
14833
14832
  title: z.ZodOptional<z.ZodString>;
14834
14833
  description: z.ZodOptional<z.ZodString>;
@@ -14875,6 +14874,7 @@ declare const FirecrawlResultSchema: z.ZodDiscriminatedUnion<"operation", [z.Zod
14875
14874
  images?: string[] | undefined;
14876
14875
  summary?: string | undefined;
14877
14876
  html?: string | undefined;
14877
+ json?: unknown;
14878
14878
  actions?: Record<string, unknown> | undefined;
14879
14879
  screenshot?: string | undefined;
14880
14880
  warning?: string | undefined;
@@ -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
- error: string;
15356
- success: boolean;
15357
15355
  operation: "map";
15356
+ success: boolean;
15357
+ error: string;
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
- error: string;
15366
- success: boolean;
15367
15365
  operation: "map";
15366
+ success: boolean;
15367
+ error: string;
15368
15368
  links: {
15369
15369
  url: string;
15370
15370
  description?: string | undefined;
@@ -16831,7 +16831,6 @@ declare const FirecrawlResultSchema: z.ZodDiscriminatedUnion<"operation", [z.Zod
16831
16831
  }>>;
16832
16832
  }, z.ZodUnknown, "strip">>>;
16833
16833
  }, "strip", z.ZodTypeAny, {
16834
- json?: unknown;
16835
16834
  metadata?: z.objectOutputType<{
16836
16835
  title: z.ZodOptional<z.ZodString>;
16837
16836
  description: z.ZodOptional<z.ZodString>;
@@ -16878,6 +16877,7 @@ declare const FirecrawlResultSchema: z.ZodDiscriminatedUnion<"operation", [z.Zod
16878
16877
  images?: string[] | undefined;
16879
16878
  summary?: string | undefined;
16880
16879
  html?: string | undefined;
16880
+ json?: unknown;
16881
16881
  actions?: Record<string, unknown> | undefined;
16882
16882
  screenshot?: string | undefined;
16883
16883
  warning?: string | undefined;
@@ -17324,7 +17324,6 @@ declare const FirecrawlResultSchema: z.ZodDiscriminatedUnion<"operation", [z.Zod
17324
17324
  }>>;
17325
17325
  }, z.ZodUnknown, "strip"> | undefined;
17326
17326
  }, {
17327
- json?: unknown;
17328
17327
  metadata?: z.objectInputType<{
17329
17328
  title: z.ZodOptional<z.ZodString>;
17330
17329
  description: z.ZodOptional<z.ZodString>;
@@ -17371,6 +17370,7 @@ declare const FirecrawlResultSchema: z.ZodDiscriminatedUnion<"operation", [z.Zod
17371
17370
  images?: string[] | undefined;
17372
17371
  summary?: string | undefined;
17373
17372
  html?: string | undefined;
17373
+ json?: unknown;
17374
17374
  actions?: Record<string, unknown> | undefined;
17375
17375
  screenshot?: string | undefined;
17376
17376
  warning?: string | undefined;
@@ -17819,10 +17819,11 @@ declare const FirecrawlResultSchema: z.ZodDiscriminatedUnion<"operation", [z.Zod
17819
17819
  }>, "many">;
17820
17820
  }, "strip", z.ZodTypeAny, {
17821
17821
  status: "failed" | "completed" | "scraping" | "cancelled";
17822
- error: string;
17822
+ total: number;
17823
+ operation: "crawl";
17823
17824
  success: boolean;
17825
+ error: string;
17824
17826
  data: {
17825
- json?: unknown;
17826
17827
  metadata?: z.objectOutputType<{
17827
17828
  title: z.ZodOptional<z.ZodString>;
17828
17829
  description: z.ZodOptional<z.ZodString>;
@@ -17869,6 +17870,7 @@ declare const FirecrawlResultSchema: z.ZodDiscriminatedUnion<"operation", [z.Zod
17869
17870
  images?: string[] | undefined;
17870
17871
  summary?: string | undefined;
17871
17872
  html?: string | undefined;
17873
+ json?: unknown;
17872
17874
  actions?: Record<string, unknown> | undefined;
17873
17875
  screenshot?: string | undefined;
17874
17876
  warning?: string | undefined;
@@ -18315,17 +18317,16 @@ declare const FirecrawlResultSchema: z.ZodDiscriminatedUnion<"operation", [z.Zod
18315
18317
  }>>;
18316
18318
  }, z.ZodUnknown, "strip"> | undefined;
18317
18319
  }[];
18318
- operation: "crawl";
18319
18320
  completed: number;
18320
- total: number;
18321
18321
  creditsUsed?: number | undefined;
18322
18322
  expiresAt?: string | undefined;
18323
18323
  }, {
18324
18324
  status: "failed" | "completed" | "scraping" | "cancelled";
18325
- error: string;
18325
+ total: number;
18326
+ operation: "crawl";
18326
18327
  success: boolean;
18328
+ error: string;
18327
18329
  data: {
18328
- json?: unknown;
18329
18330
  metadata?: z.objectInputType<{
18330
18331
  title: z.ZodOptional<z.ZodString>;
18331
18332
  description: z.ZodOptional<z.ZodString>;
@@ -18372,6 +18373,7 @@ declare const FirecrawlResultSchema: z.ZodDiscriminatedUnion<"operation", [z.Zod
18372
18373
  images?: string[] | undefined;
18373
18374
  summary?: string | undefined;
18374
18375
  html?: string | undefined;
18376
+ json?: unknown;
18375
18377
  actions?: Record<string, unknown> | undefined;
18376
18378
  screenshot?: string | undefined;
18377
18379
  warning?: string | undefined;
@@ -18818,9 +18820,7 @@ declare const FirecrawlResultSchema: z.ZodDiscriminatedUnion<"operation", [z.Zod
18818
18820
  }>>;
18819
18821
  }, z.ZodUnknown, "strip"> | undefined;
18820
18822
  }[];
18821
- operation: "crawl";
18822
18823
  completed: number;
18823
- total: number;
18824
18824
  creditsUsed?: number | undefined;
18825
18825
  expiresAt?: string | undefined;
18826
18826
  }>, z.ZodObject<{
@@ -18835,20 +18835,20 @@ 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
- error: string;
18839
- success: boolean;
18840
18838
  operation: "extract";
18841
- status?: "failed" | "completed" | "cancelled" | "processing" | undefined;
18839
+ success: boolean;
18840
+ error: string;
18841
+ status?: "processing" | "failed" | "completed" | "cancelled" | undefined;
18842
18842
  id?: string | undefined;
18843
18843
  data?: unknown;
18844
18844
  warning?: string | undefined;
18845
18845
  sources?: Record<string, unknown> | undefined;
18846
18846
  expiresAt?: string | undefined;
18847
18847
  }, {
18848
- error: string;
18849
- success: boolean;
18850
18848
  operation: "extract";
18851
- status?: "failed" | "completed" | "cancelled" | "processing" | undefined;
18849
+ success: boolean;
18850
+ error: string;
18851
+ status?: "processing" | "failed" | "completed" | "cancelled" | undefined;
18852
18852
  id?: string | undefined;
18853
18853
  data?: unknown;
18854
18854
  warning?: 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: "json" | "images" | "summary" | "html" | "screenshot" | "markdown" | "rawHtml" | "links" | "attributes" | "changeTracking" | "branding";
18879
+ type: "images" | "summary" | "html" | "json" | "screenshot" | "markdown" | "rawHtml" | "links" | "attributes" | "changeTracking" | "branding";
18880
18880
  }, {
18881
- type: "json" | "images" | "summary" | "html" | "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>;
@@ -19045,11 +19045,11 @@ export declare class FirecrawlBubble<T extends FirecrawlParams = FirecrawlParams
19045
19045
  type: z.ZodLiteral<"press">;
19046
19046
  key: z.ZodString;
19047
19047
  }, "strip", z.ZodTypeAny, {
19048
- type: "press";
19049
19048
  key: string;
19050
- }, {
19051
19049
  type: "press";
19050
+ }, {
19052
19051
  key: string;
19052
+ type: "press";
19053
19053
  }>, z.ZodObject<{
19054
19054
  type: z.ZodLiteral<"scroll">;
19055
19055
  direction: z.ZodEnum<["up", "down"]>;
@@ -19072,11 +19072,11 @@ export declare class FirecrawlBubble<T extends FirecrawlParams = FirecrawlParams
19072
19072
  type: z.ZodLiteral<"executeJavascript">;
19073
19073
  script: z.ZodString;
19074
19074
  }, "strip", z.ZodTypeAny, {
19075
- script: string;
19076
19075
  type: "executeJavascript";
19077
- }, {
19078
19076
  script: string;
19077
+ }, {
19079
19078
  type: "executeJavascript";
19079
+ script: string;
19080
19080
  }>, z.ZodObject<{
19081
19081
  type: z.ZodLiteral<"pdf">;
19082
19082
  format: z.ZodOptional<z.ZodEnum<["A0", "A1", "A2", "A3", "A4", "A5", "A6", "Letter", "Legal", "Tabloid", "Ledger"]>>;
@@ -19117,10 +19117,10 @@ export declare class FirecrawlBubble<T extends FirecrawlParams = FirecrawlParams
19117
19117
  url: z.ZodString;
19118
19118
  }, "strip", z.ZodTypeAny, {
19119
19119
  url: string;
19120
- timeout: number;
19121
19120
  operation: "scrape";
19122
- formats: ("json" | "images" | "summary" | "html" | "screenshot" | "markdown" | "rawHtml" | "links" | "attributes" | "changeTracking" | "branding" | {
19123
- type: "json" | "images" | "summary" | "html" | "screenshot" | "markdown" | "rawHtml" | "links" | "attributes" | "changeTracking" | "branding";
19121
+ timeout: number;
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;
@@ -19173,8 +19173,8 @@ export declare class FirecrawlBubble<T extends FirecrawlParams = FirecrawlParams
19173
19173
  type: "write";
19174
19174
  text: string;
19175
19175
  } | {
19176
- type: "press";
19177
19176
  key: string;
19177
+ type: "press";
19178
19178
  } | {
19179
19179
  type: "scroll";
19180
19180
  direction: "up" | "down";
@@ -19182,8 +19182,8 @@ export declare class FirecrawlBubble<T extends FirecrawlParams = FirecrawlParams
19182
19182
  } | {
19183
19183
  type: "scrape";
19184
19184
  } | {
19185
- script: string;
19186
19185
  type: "executeJavascript";
19186
+ script: string;
19187
19187
  } | {
19188
19188
  type: "pdf";
19189
19189
  format?: "A0" | "A1" | "A2" | "A3" | "A4" | "A5" | "A6" | "Letter" | "Legal" | "Tabloid" | "Ledger" | undefined;
@@ -19212,8 +19212,8 @@ export declare class FirecrawlBubble<T extends FirecrawlParams = FirecrawlParams
19212
19212
  url: string;
19213
19213
  operation: "scrape";
19214
19214
  credentials?: Partial<Record<CredentialType, string>> | undefined;
19215
- timeout?: number | undefined;
19216
19215
  maxRetries?: number | undefined;
19216
+ timeout?: number | undefined;
19217
19217
  headers?: Record<string, string> | undefined;
19218
19218
  includeTags?: string[] | undefined;
19219
19219
  excludeTags?: string[] | undefined;
@@ -19236,8 +19236,8 @@ export declare class FirecrawlBubble<T extends FirecrawlParams = FirecrawlParams
19236
19236
  type: "write";
19237
19237
  text: string;
19238
19238
  } | {
19239
- type: "press";
19240
19239
  key: string;
19240
+ type: "press";
19241
19241
  } | {
19242
19242
  type: "scroll";
19243
19243
  direction: "up" | "down";
@@ -19245,8 +19245,8 @@ export declare class FirecrawlBubble<T extends FirecrawlParams = FirecrawlParams
19245
19245
  } | {
19246
19246
  type: "scrape";
19247
19247
  } | {
19248
- script: string;
19249
19248
  type: "executeJavascript";
19249
+ script: string;
19250
19250
  } | {
19251
19251
  type: "pdf";
19252
19252
  format?: "A0" | "A1" | "A2" | "A3" | "A4" | "A5" | "A6" | "Letter" | "Legal" | "Tabloid" | "Ledger" | undefined;
@@ -19259,8 +19259,8 @@ export declare class FirecrawlBubble<T extends FirecrawlParams = FirecrawlParams
19259
19259
  languages?: string[] | undefined;
19260
19260
  } | undefined;
19261
19261
  integration?: string | undefined;
19262
- formats?: ("json" | "images" | "summary" | "html" | "screenshot" | "markdown" | "rawHtml" | "links" | "attributes" | "changeTracking" | "branding" | {
19263
- type: "json" | "images" | "summary" | "html" | "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;
@@ -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: "json" | "images" | "summary" | "html" | "screenshot" | "markdown" | "rawHtml" | "links" | "attributes" | "changeTracking" | "branding";
19334
+ type: "images" | "summary" | "html" | "json" | "screenshot" | "markdown" | "rawHtml" | "links" | "attributes" | "changeTracking" | "branding";
19335
19335
  }, {
19336
- type: "json" | "images" | "summary" | "html" | "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>;
@@ -19500,11 +19500,11 @@ export declare class FirecrawlBubble<T extends FirecrawlParams = FirecrawlParams
19500
19500
  type: z.ZodLiteral<"press">;
19501
19501
  key: z.ZodString;
19502
19502
  }, "strip", z.ZodTypeAny, {
19503
- type: "press";
19504
19503
  key: string;
19505
- }, {
19506
19504
  type: "press";
19505
+ }, {
19507
19506
  key: string;
19507
+ type: "press";
19508
19508
  }>, z.ZodObject<{
19509
19509
  type: z.ZodLiteral<"scroll">;
19510
19510
  direction: z.ZodEnum<["up", "down"]>;
@@ -19527,11 +19527,11 @@ export declare class FirecrawlBubble<T extends FirecrawlParams = FirecrawlParams
19527
19527
  type: z.ZodLiteral<"executeJavascript">;
19528
19528
  script: z.ZodString;
19529
19529
  }, "strip", z.ZodTypeAny, {
19530
- script: string;
19531
19530
  type: "executeJavascript";
19532
- }, {
19533
19531
  script: string;
19532
+ }, {
19534
19533
  type: "executeJavascript";
19534
+ script: string;
19535
19535
  }>, z.ZodObject<{
19536
19536
  type: z.ZodLiteral<"pdf">;
19537
19537
  format: z.ZodOptional<z.ZodEnum<["A0", "A1", "A2", "A3", "A4", "A5", "A6", "Letter", "Legal", "Tabloid", "Ledger"]>>;
@@ -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: ("json" | "images" | "summary" | "html" | "screenshot" | "markdown" | "rawHtml" | "links" | "attributes" | "changeTracking" | "branding" | {
19573
- type: "json" | "images" | "summary" | "html" | "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;
@@ -19621,8 +19621,8 @@ export declare class FirecrawlBubble<T extends FirecrawlParams = FirecrawlParams
19621
19621
  type: "write";
19622
19622
  text: string;
19623
19623
  } | {
19624
- type: "press";
19625
19624
  key: string;
19625
+ type: "press";
19626
19626
  } | {
19627
19627
  type: "scroll";
19628
19628
  direction: "up" | "down";
@@ -19630,8 +19630,8 @@ export declare class FirecrawlBubble<T extends FirecrawlParams = FirecrawlParams
19630
19630
  } | {
19631
19631
  type: "scrape";
19632
19632
  } | {
19633
- script: string;
19634
19633
  type: "executeJavascript";
19634
+ script: string;
19635
19635
  } | {
19636
19636
  type: "pdf";
19637
19637
  format?: "A0" | "A1" | "A2" | "A3" | "A4" | "A5" | "A6" | "Letter" | "Legal" | "Tabloid" | "Ledger" | undefined;
@@ -19679,8 +19679,8 @@ export declare class FirecrawlBubble<T extends FirecrawlParams = FirecrawlParams
19679
19679
  type: "write";
19680
19680
  text: string;
19681
19681
  } | {
19682
- type: "press";
19683
19682
  key: string;
19683
+ type: "press";
19684
19684
  } | {
19685
19685
  type: "scroll";
19686
19686
  direction: "up" | "down";
@@ -19688,8 +19688,8 @@ export declare class FirecrawlBubble<T extends FirecrawlParams = FirecrawlParams
19688
19688
  } | {
19689
19689
  type: "scrape";
19690
19690
  } | {
19691
- script: string;
19692
19691
  type: "executeJavascript";
19692
+ script: string;
19693
19693
  } | {
19694
19694
  type: "pdf";
19695
19695
  format?: "A0" | "A1" | "A2" | "A3" | "A4" | "A5" | "A6" | "Letter" | "Legal" | "Tabloid" | "Ledger" | undefined;
@@ -19702,8 +19702,8 @@ export declare class FirecrawlBubble<T extends FirecrawlParams = FirecrawlParams
19702
19702
  languages?: string[] | undefined;
19703
19703
  } | undefined;
19704
19704
  integration?: string | undefined;
19705
- formats?: ("json" | "images" | "summary" | "html" | "screenshot" | "markdown" | "rawHtml" | "links" | "attributes" | "changeTracking" | "branding" | {
19706
- type: "json" | "images" | "summary" | "html" | "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;
@@ -19746,12 +19746,12 @@ export declare class FirecrawlBubble<T extends FirecrawlParams = FirecrawlParams
19746
19746
  }>>;
19747
19747
  integration: z.ZodOptional<z.ZodString>;
19748
19748
  }, "strip", z.ZodTypeAny, {
19749
- query: string;
19750
19749
  operation: "search";
19750
+ query: string;
19751
19751
  credentials?: Partial<Record<CredentialType, string>> | undefined;
19752
- timeout?: number | undefined;
19753
- maxRetries?: number | undefined;
19754
19752
  limit?: number | undefined;
19753
+ maxRetries?: number | undefined;
19754
+ timeout?: number | undefined;
19755
19755
  location?: string | undefined;
19756
19756
  categories?: ("github" | "pdf" | "research" | {
19757
19757
  type: "github" | "pdf" | "research";
@@ -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: ("json" | "images" | "summary" | "html" | "screenshot" | "markdown" | "rawHtml" | "links" | "attributes" | "changeTracking" | "branding" | {
19769
- type: "json" | "images" | "summary" | "html" | "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;
@@ -19817,8 +19817,8 @@ export declare class FirecrawlBubble<T extends FirecrawlParams = FirecrawlParams
19817
19817
  type: "write";
19818
19818
  text: string;
19819
19819
  } | {
19820
- type: "press";
19821
19820
  key: string;
19821
+ type: "press";
19822
19822
  } | {
19823
19823
  type: "scroll";
19824
19824
  direction: "up" | "down";
@@ -19826,8 +19826,8 @@ export declare class FirecrawlBubble<T extends FirecrawlParams = FirecrawlParams
19826
19826
  } | {
19827
19827
  type: "scrape";
19828
19828
  } | {
19829
- script: string;
19830
19829
  type: "executeJavascript";
19830
+ script: string;
19831
19831
  } | {
19832
19832
  type: "pdf";
19833
19833
  format?: "A0" | "A1" | "A2" | "A3" | "A4" | "A5" | "A6" | "Letter" | "Legal" | "Tabloid" | "Ledger" | undefined;
@@ -19853,12 +19853,12 @@ export declare class FirecrawlBubble<T extends FirecrawlParams = FirecrawlParams
19853
19853
  storeInCache?: boolean | undefined;
19854
19854
  } | undefined;
19855
19855
  }, {
19856
- query: string;
19857
19856
  operation: "search";
19857
+ query: string;
19858
19858
  credentials?: Partial<Record<CredentialType, string>> | undefined;
19859
- timeout?: number | undefined;
19860
- maxRetries?: number | undefined;
19861
19859
  limit?: number | undefined;
19860
+ maxRetries?: number | undefined;
19861
+ timeout?: number | undefined;
19862
19862
  location?: string | undefined;
19863
19863
  categories?: ("github" | "pdf" | "research" | {
19864
19864
  type: "github" | "pdf" | "research";
@@ -19894,8 +19894,8 @@ export declare class FirecrawlBubble<T extends FirecrawlParams = FirecrawlParams
19894
19894
  type: "write";
19895
19895
  text: string;
19896
19896
  } | {
19897
- type: "press";
19898
19897
  key: string;
19898
+ type: "press";
19899
19899
  } | {
19900
19900
  type: "scroll";
19901
19901
  direction: "up" | "down";
@@ -19903,8 +19903,8 @@ export declare class FirecrawlBubble<T extends FirecrawlParams = FirecrawlParams
19903
19903
  } | {
19904
19904
  type: "scrape";
19905
19905
  } | {
19906
- script: string;
19907
19906
  type: "executeJavascript";
19907
+ script: string;
19908
19908
  } | {
19909
19909
  type: "pdf";
19910
19910
  format?: "A0" | "A1" | "A2" | "A3" | "A4" | "A5" | "A6" | "Letter" | "Legal" | "Tabloid" | "Ledger" | undefined;
@@ -19917,8 +19917,8 @@ export declare class FirecrawlBubble<T extends FirecrawlParams = FirecrawlParams
19917
19917
  languages?: string[] | undefined;
19918
19918
  } | undefined;
19919
19919
  integration?: string | undefined;
19920
- formats?: ("json" | "images" | "summary" | "html" | "screenshot" | "markdown" | "rawHtml" | "links" | "attributes" | "changeTracking" | "branding" | {
19921
- type: "json" | "images" | "summary" | "html" | "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;
@@ -19985,11 +19985,11 @@ export declare class FirecrawlBubble<T extends FirecrawlParams = FirecrawlParams
19985
19985
  }, "strip", z.ZodTypeAny, {
19986
19986
  url: string;
19987
19987
  operation: "map";
19988
- credentials?: Partial<Record<CredentialType, string>> | undefined;
19989
- timeout?: number | undefined;
19990
19988
  search?: string | undefined;
19991
- maxRetries?: number | undefined;
19989
+ credentials?: Partial<Record<CredentialType, string>> | undefined;
19992
19990
  limit?: number | undefined;
19991
+ maxRetries?: number | undefined;
19992
+ timeout?: number | undefined;
19993
19993
  location?: {
19994
19994
  country?: string | undefined;
19995
19995
  languages?: string[] | undefined;
@@ -20001,11 +20001,11 @@ export declare class FirecrawlBubble<T extends FirecrawlParams = FirecrawlParams
20001
20001
  }, {
20002
20002
  url: string;
20003
20003
  operation: "map";
20004
- credentials?: Partial<Record<CredentialType, string>> | undefined;
20005
- timeout?: number | undefined;
20006
20004
  search?: string | undefined;
20007
- maxRetries?: number | undefined;
20005
+ credentials?: Partial<Record<CredentialType, string>> | undefined;
20008
20006
  limit?: number | undefined;
20007
+ maxRetries?: number | undefined;
20008
+ timeout?: number | undefined;
20009
20009
  location?: {
20010
20010
  country?: string | undefined;
20011
20011
  languages?: string[] | 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: "json" | "images" | "summary" | "html" | "screenshot" | "markdown" | "rawHtml" | "links" | "attributes" | "changeTracking" | "branding";
20056
+ type: "images" | "summary" | "html" | "json" | "screenshot" | "markdown" | "rawHtml" | "links" | "attributes" | "changeTracking" | "branding";
20057
20057
  }, {
20058
- type: "json" | "images" | "summary" | "html" | "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>;
@@ -20222,11 +20222,11 @@ export declare class FirecrawlBubble<T extends FirecrawlParams = FirecrawlParams
20222
20222
  type: z.ZodLiteral<"press">;
20223
20223
  key: z.ZodString;
20224
20224
  }, "strip", z.ZodTypeAny, {
20225
- type: "press";
20226
20225
  key: string;
20227
- }, {
20228
20226
  type: "press";
20227
+ }, {
20229
20228
  key: string;
20229
+ type: "press";
20230
20230
  }>, z.ZodObject<{
20231
20231
  type: z.ZodLiteral<"scroll">;
20232
20232
  direction: z.ZodEnum<["up", "down"]>;
@@ -20249,11 +20249,11 @@ export declare class FirecrawlBubble<T extends FirecrawlParams = FirecrawlParams
20249
20249
  type: z.ZodLiteral<"executeJavascript">;
20250
20250
  script: z.ZodString;
20251
20251
  }, "strip", z.ZodTypeAny, {
20252
- script: string;
20253
20252
  type: "executeJavascript";
20254
- }, {
20255
20253
  script: string;
20254
+ }, {
20256
20255
  type: "executeJavascript";
20256
+ script: string;
20257
20257
  }>, z.ZodObject<{
20258
20258
  type: z.ZodLiteral<"pdf">;
20259
20259
  format: z.ZodOptional<z.ZodEnum<["A0", "A1", "A2", "A3", "A4", "A5", "A6", "Letter", "Legal", "Tabloid", "Ledger"]>>;
@@ -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: ("json" | "images" | "summary" | "html" | "screenshot" | "markdown" | "rawHtml" | "links" | "attributes" | "changeTracking" | "branding" | {
20295
- type: "json" | "images" | "summary" | "html" | "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;
@@ -20343,8 +20343,8 @@ export declare class FirecrawlBubble<T extends FirecrawlParams = FirecrawlParams
20343
20343
  type: "write";
20344
20344
  text: string;
20345
20345
  } | {
20346
- type: "press";
20347
20346
  key: string;
20347
+ type: "press";
20348
20348
  } | {
20349
20349
  type: "scroll";
20350
20350
  direction: "up" | "down";
@@ -20352,8 +20352,8 @@ export declare class FirecrawlBubble<T extends FirecrawlParams = FirecrawlParams
20352
20352
  } | {
20353
20353
  type: "scrape";
20354
20354
  } | {
20355
- script: string;
20356
20355
  type: "executeJavascript";
20356
+ script: string;
20357
20357
  } | {
20358
20358
  type: "pdf";
20359
20359
  format?: "A0" | "A1" | "A2" | "A3" | "A4" | "A5" | "A6" | "Letter" | "Legal" | "Tabloid" | "Ledger" | undefined;
@@ -20401,8 +20401,8 @@ export declare class FirecrawlBubble<T extends FirecrawlParams = FirecrawlParams
20401
20401
  type: "write";
20402
20402
  text: string;
20403
20403
  } | {
20404
- type: "press";
20405
20404
  key: string;
20405
+ type: "press";
20406
20406
  } | {
20407
20407
  type: "scroll";
20408
20408
  direction: "up" | "down";
@@ -20410,8 +20410,8 @@ export declare class FirecrawlBubble<T extends FirecrawlParams = FirecrawlParams
20410
20410
  } | {
20411
20411
  type: "scrape";
20412
20412
  } | {
20413
- script: string;
20414
20413
  type: "executeJavascript";
20414
+ script: string;
20415
20415
  } | {
20416
20416
  type: "pdf";
20417
20417
  format?: "A0" | "A1" | "A2" | "A3" | "A4" | "A5" | "A6" | "Letter" | "Legal" | "Tabloid" | "Ledger" | undefined;
@@ -20424,8 +20424,8 @@ export declare class FirecrawlBubble<T extends FirecrawlParams = FirecrawlParams
20424
20424
  languages?: string[] | undefined;
20425
20425
  } | undefined;
20426
20426
  integration?: string | undefined;
20427
- formats?: ("json" | "images" | "summary" | "html" | "screenshot" | "markdown" | "rawHtml" | "links" | "attributes" | "changeTracking" | "branding" | {
20428
- type: "json" | "images" | "summary" | "html" | "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;
@@ -20474,11 +20474,11 @@ export declare class FirecrawlBubble<T extends FirecrawlParams = FirecrawlParams
20474
20474
  url: string;
20475
20475
  operation: "crawl";
20476
20476
  credentials?: Partial<Record<CredentialType, string>> | undefined;
20477
- maxConcurrency?: number | undefined;
20478
- timeout?: number | undefined;
20477
+ limit?: number | undefined;
20479
20478
  maxRetries?: number | undefined;
20479
+ timeout?: number | undefined;
20480
+ maxConcurrency?: number | undefined;
20480
20481
  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: ("json" | "images" | "summary" | "html" | "screenshot" | "markdown" | "rawHtml" | "links" | "attributes" | "changeTracking" | "branding" | {
20493
- type: "json" | "images" | "summary" | "html" | "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;
@@ -20541,8 +20541,8 @@ export declare class FirecrawlBubble<T extends FirecrawlParams = FirecrawlParams
20541
20541
  type: "write";
20542
20542
  text: string;
20543
20543
  } | {
20544
- type: "press";
20545
20544
  key: string;
20545
+ type: "press";
20546
20546
  } | {
20547
20547
  type: "scroll";
20548
20548
  direction: "up" | "down";
@@ -20550,8 +20550,8 @@ export declare class FirecrawlBubble<T extends FirecrawlParams = FirecrawlParams
20550
20550
  } | {
20551
20551
  type: "scrape";
20552
20552
  } | {
20553
- script: string;
20554
20553
  type: "executeJavascript";
20554
+ script: string;
20555
20555
  } | {
20556
20556
  type: "pdf";
20557
20557
  format?: "A0" | "A1" | "A2" | "A3" | "A4" | "A5" | "A6" | "Letter" | "Legal" | "Tabloid" | "Ledger" | undefined;
@@ -20591,11 +20591,11 @@ export declare class FirecrawlBubble<T extends FirecrawlParams = FirecrawlParams
20591
20591
  url: string;
20592
20592
  operation: "crawl";
20593
20593
  credentials?: Partial<Record<CredentialType, string>> | undefined;
20594
- maxConcurrency?: number | undefined;
20595
- timeout?: number | undefined;
20594
+ limit?: number | undefined;
20596
20595
  maxRetries?: number | undefined;
20596
+ timeout?: number | undefined;
20597
+ maxConcurrency?: number | undefined;
20597
20598
  prompt?: string | undefined;
20598
- limit?: number | undefined;
20599
20599
  webhook?: string | {
20600
20600
  url: string;
20601
20601
  metadata?: Record<string, string> | undefined;
@@ -20628,8 +20628,8 @@ export declare class FirecrawlBubble<T extends FirecrawlParams = FirecrawlParams
20628
20628
  type: "write";
20629
20629
  text: string;
20630
20630
  } | {
20631
- type: "press";
20632
20631
  key: string;
20632
+ type: "press";
20633
20633
  } | {
20634
20634
  type: "scroll";
20635
20635
  direction: "up" | "down";
@@ -20637,8 +20637,8 @@ export declare class FirecrawlBubble<T extends FirecrawlParams = FirecrawlParams
20637
20637
  } | {
20638
20638
  type: "scrape";
20639
20639
  } | {
20640
- script: string;
20641
20640
  type: "executeJavascript";
20641
+ script: string;
20642
20642
  } | {
20643
20643
  type: "pdf";
20644
20644
  format?: "A0" | "A1" | "A2" | "A3" | "A4" | "A5" | "A6" | "Letter" | "Legal" | "Tabloid" | "Ledger" | undefined;
@@ -20651,8 +20651,8 @@ export declare class FirecrawlBubble<T extends FirecrawlParams = FirecrawlParams
20651
20651
  languages?: string[] | undefined;
20652
20652
  } | undefined;
20653
20653
  integration?: string | undefined;
20654
- formats?: ("json" | "images" | "summary" | "html" | "screenshot" | "markdown" | "rawHtml" | "links" | "attributes" | "changeTracking" | "branding" | {
20655
- type: "json" | "images" | "summary" | "html" | "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;
@@ -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: "json" | "images" | "summary" | "html" | "screenshot" | "markdown" | "rawHtml" | "links" | "attributes" | "changeTracking" | "branding";
20724
+ type: "images" | "summary" | "html" | "json" | "screenshot" | "markdown" | "rawHtml" | "links" | "attributes" | "changeTracking" | "branding";
20725
20725
  }, {
20726
- type: "json" | "images" | "summary" | "html" | "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>;
@@ -20890,11 +20890,11 @@ export declare class FirecrawlBubble<T extends FirecrawlParams = FirecrawlParams
20890
20890
  type: z.ZodLiteral<"press">;
20891
20891
  key: z.ZodString;
20892
20892
  }, "strip", z.ZodTypeAny, {
20893
- type: "press";
20894
20893
  key: string;
20895
- }, {
20896
20894
  type: "press";
20895
+ }, {
20897
20896
  key: string;
20897
+ type: "press";
20898
20898
  }>, z.ZodObject<{
20899
20899
  type: z.ZodLiteral<"scroll">;
20900
20900
  direction: z.ZodEnum<["up", "down"]>;
@@ -20917,11 +20917,11 @@ export declare class FirecrawlBubble<T extends FirecrawlParams = FirecrawlParams
20917
20917
  type: z.ZodLiteral<"executeJavascript">;
20918
20918
  script: z.ZodString;
20919
20919
  }, "strip", z.ZodTypeAny, {
20920
- script: string;
20921
20920
  type: "executeJavascript";
20922
- }, {
20923
20921
  script: string;
20922
+ }, {
20924
20923
  type: "executeJavascript";
20924
+ script: string;
20925
20925
  }>, z.ZodObject<{
20926
20926
  type: z.ZodLiteral<"pdf">;
20927
20927
  format: z.ZodOptional<z.ZodEnum<["A0", "A1", "A2", "A3", "A4", "A5", "A6", "Letter", "Legal", "Tabloid", "Ledger"]>>;
@@ -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: ("json" | "images" | "summary" | "html" | "screenshot" | "markdown" | "rawHtml" | "links" | "attributes" | "changeTracking" | "branding" | {
20963
- type: "json" | "images" | "summary" | "html" | "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;
@@ -21011,8 +21011,8 @@ export declare class FirecrawlBubble<T extends FirecrawlParams = FirecrawlParams
21011
21011
  type: "write";
21012
21012
  text: string;
21013
21013
  } | {
21014
- type: "press";
21015
21014
  key: string;
21015
+ type: "press";
21016
21016
  } | {
21017
21017
  type: "scroll";
21018
21018
  direction: "up" | "down";
@@ -21020,8 +21020,8 @@ export declare class FirecrawlBubble<T extends FirecrawlParams = FirecrawlParams
21020
21020
  } | {
21021
21021
  type: "scrape";
21022
21022
  } | {
21023
- script: string;
21024
21023
  type: "executeJavascript";
21024
+ script: string;
21025
21025
  } | {
21026
21026
  type: "pdf";
21027
21027
  format?: "A0" | "A1" | "A2" | "A3" | "A4" | "A5" | "A6" | "Letter" | "Legal" | "Tabloid" | "Ledger" | undefined;
@@ -21069,8 +21069,8 @@ export declare class FirecrawlBubble<T extends FirecrawlParams = FirecrawlParams
21069
21069
  type: "write";
21070
21070
  text: string;
21071
21071
  } | {
21072
- type: "press";
21073
21072
  key: string;
21073
+ type: "press";
21074
21074
  } | {
21075
21075
  type: "scroll";
21076
21076
  direction: "up" | "down";
@@ -21078,8 +21078,8 @@ export declare class FirecrawlBubble<T extends FirecrawlParams = FirecrawlParams
21078
21078
  } | {
21079
21079
  type: "scrape";
21080
21080
  } | {
21081
- script: string;
21082
21081
  type: "executeJavascript";
21082
+ script: string;
21083
21083
  } | {
21084
21084
  type: "pdf";
21085
21085
  format?: "A0" | "A1" | "A2" | "A3" | "A4" | "A5" | "A6" | "Letter" | "Legal" | "Tabloid" | "Ledger" | undefined;
@@ -21092,8 +21092,8 @@ export declare class FirecrawlBubble<T extends FirecrawlParams = FirecrawlParams
21092
21092
  languages?: string[] | undefined;
21093
21093
  } | undefined;
21094
21094
  integration?: string | undefined;
21095
- formats?: ("json" | "images" | "summary" | "html" | "screenshot" | "markdown" | "rawHtml" | "links" | "attributes" | "changeTracking" | "branding" | {
21096
- type: "json" | "images" | "summary" | "html" | "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;
@@ -21148,22 +21148,22 @@ export declare class FirecrawlBubble<T extends FirecrawlParams = FirecrawlParams
21148
21148
  }, "strip", z.ZodTypeAny, {
21149
21149
  operation: "extract";
21150
21150
  urls: string[];
21151
- credentials?: Partial<Record<CredentialType, string>> | undefined;
21152
21151
  schema?: any;
21153
- timeout?: number | undefined;
21152
+ credentials?: Partial<Record<CredentialType, string>> | undefined;
21154
21153
  maxRetries?: number | undefined;
21155
21154
  systemPrompt?: string | undefined;
21156
21155
  agent?: {
21157
21156
  model: "FIRE-1";
21158
21157
  } | undefined;
21158
+ timeout?: number | undefined;
21159
21159
  prompt?: string | undefined;
21160
21160
  integration?: string | undefined;
21161
21161
  backoffFactor?: number | undefined;
21162
21162
  ignoreInvalidURLs?: boolean | undefined;
21163
21163
  scrapeOptions?: {
21164
21164
  timeout: number;
21165
- formats: ("json" | "images" | "summary" | "html" | "screenshot" | "markdown" | "rawHtml" | "links" | "attributes" | "changeTracking" | "branding" | {
21166
- type: "json" | "images" | "summary" | "html" | "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;
@@ -21214,8 +21214,8 @@ export declare class FirecrawlBubble<T extends FirecrawlParams = FirecrawlParams
21214
21214
  type: "write";
21215
21215
  text: string;
21216
21216
  } | {
21217
- type: "press";
21218
21217
  key: string;
21218
+ type: "press";
21219
21219
  } | {
21220
21220
  type: "scroll";
21221
21221
  direction: "up" | "down";
@@ -21223,8 +21223,8 @@ export declare class FirecrawlBubble<T extends FirecrawlParams = FirecrawlParams
21223
21223
  } | {
21224
21224
  type: "scrape";
21225
21225
  } | {
21226
- script: string;
21227
21226
  type: "executeJavascript";
21227
+ script: string;
21228
21228
  } | {
21229
21229
  type: "pdf";
21230
21230
  format?: "A0" | "A1" | "A2" | "A3" | "A4" | "A5" | "A6" | "Letter" | "Legal" | "Tabloid" | "Ledger" | undefined;
@@ -21256,14 +21256,14 @@ export declare class FirecrawlBubble<T extends FirecrawlParams = FirecrawlParams
21256
21256
  }, {
21257
21257
  operation: "extract";
21258
21258
  urls: string[];
21259
- credentials?: Partial<Record<CredentialType, string>> | undefined;
21260
21259
  schema?: any;
21261
- timeout?: number | undefined;
21260
+ credentials?: Partial<Record<CredentialType, string>> | undefined;
21262
21261
  maxRetries?: number | undefined;
21263
21262
  systemPrompt?: string | undefined;
21264
21263
  agent?: {
21265
21264
  model: "FIRE-1";
21266
21265
  } | undefined;
21266
+ timeout?: number | undefined;
21267
21267
  prompt?: string | undefined;
21268
21268
  integration?: string | undefined;
21269
21269
  backoffFactor?: number | undefined;
@@ -21292,8 +21292,8 @@ export declare class FirecrawlBubble<T extends FirecrawlParams = FirecrawlParams
21292
21292
  type: "write";
21293
21293
  text: string;
21294
21294
  } | {
21295
- type: "press";
21296
21295
  key: string;
21296
+ type: "press";
21297
21297
  } | {
21298
21298
  type: "scroll";
21299
21299
  direction: "up" | "down";
@@ -21301,8 +21301,8 @@ export declare class FirecrawlBubble<T extends FirecrawlParams = FirecrawlParams
21301
21301
  } | {
21302
21302
  type: "scrape";
21303
21303
  } | {
21304
- script: string;
21305
21304
  type: "executeJavascript";
21305
+ script: string;
21306
21306
  } | {
21307
21307
  type: "pdf";
21308
21308
  format?: "A0" | "A1" | "A2" | "A3" | "A4" | "A5" | "A6" | "Letter" | "Legal" | "Tabloid" | "Ledger" | undefined;
@@ -21315,8 +21315,8 @@ export declare class FirecrawlBubble<T extends FirecrawlParams = FirecrawlParams
21315
21315
  languages?: string[] | undefined;
21316
21316
  } | undefined;
21317
21317
  integration?: string | undefined;
21318
- formats?: ("json" | "images" | "summary" | "html" | "screenshot" | "markdown" | "rawHtml" | "links" | "attributes" | "changeTracking" | "branding" | {
21319
- type: "json" | "images" | "summary" | "html" | "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;
@@ -22817,10 +22817,9 @@ export declare class FirecrawlBubble<T extends FirecrawlParams = FirecrawlParams
22817
22817
  } & {
22818
22818
  operation: z.ZodLiteral<"scrape">;
22819
22819
  }, "strip", z.ZodTypeAny, {
22820
- error: string;
22821
- success: boolean;
22822
22820
  operation: "scrape";
22823
- json?: unknown;
22821
+ success: boolean;
22822
+ error: string;
22824
22823
  metadata?: z.objectOutputType<{
22825
22824
  title: z.ZodOptional<z.ZodString>;
22826
22825
  description: z.ZodOptional<z.ZodString>;
@@ -22867,6 +22866,7 @@ export declare class FirecrawlBubble<T extends FirecrawlParams = FirecrawlParams
22867
22866
  images?: string[] | undefined;
22868
22867
  summary?: string | undefined;
22869
22868
  html?: string | undefined;
22869
+ json?: unknown;
22870
22870
  actions?: Record<string, unknown> | undefined;
22871
22871
  screenshot?: string | undefined;
22872
22872
  warning?: string | undefined;
@@ -23313,10 +23313,9 @@ export declare class FirecrawlBubble<T extends FirecrawlParams = FirecrawlParams
23313
23313
  }>>;
23314
23314
  }, z.ZodUnknown, "strip"> | undefined;
23315
23315
  }, {
23316
- error: string;
23317
- success: boolean;
23318
23316
  operation: "scrape";
23319
- json?: unknown;
23317
+ success: boolean;
23318
+ error: string;
23320
23319
  metadata?: z.objectInputType<{
23321
23320
  title: z.ZodOptional<z.ZodString>;
23322
23321
  description: z.ZodOptional<z.ZodString>;
@@ -23363,6 +23362,7 @@ export declare class FirecrawlBubble<T extends FirecrawlParams = FirecrawlParams
23363
23362
  images?: string[] | undefined;
23364
23363
  summary?: string | undefined;
23365
23364
  html?: string | undefined;
23365
+ json?: unknown;
23366
23366
  actions?: Record<string, unknown> | undefined;
23367
23367
  screenshot?: string | undefined;
23368
23368
  warning?: string | undefined;
@@ -25278,7 +25278,6 @@ export declare class FirecrawlBubble<T extends FirecrawlParams = FirecrawlParams
25278
25278
  }>>;
25279
25279
  }, z.ZodUnknown, "strip">>>;
25280
25280
  }, "strip", z.ZodTypeAny, {
25281
- json?: unknown;
25282
25281
  metadata?: z.objectOutputType<{
25283
25282
  title: z.ZodOptional<z.ZodString>;
25284
25283
  description: z.ZodOptional<z.ZodString>;
@@ -25325,6 +25324,7 @@ export declare class FirecrawlBubble<T extends FirecrawlParams = FirecrawlParams
25325
25324
  images?: string[] | undefined;
25326
25325
  summary?: string | undefined;
25327
25326
  html?: string | undefined;
25327
+ json?: unknown;
25328
25328
  actions?: Record<string, unknown> | undefined;
25329
25329
  screenshot?: string | undefined;
25330
25330
  warning?: string | undefined;
@@ -25771,7 +25771,6 @@ export declare class FirecrawlBubble<T extends FirecrawlParams = FirecrawlParams
25771
25771
  }>>;
25772
25772
  }, z.ZodUnknown, "strip"> | undefined;
25773
25773
  }, {
25774
- json?: unknown;
25775
25774
  metadata?: z.objectInputType<{
25776
25775
  title: z.ZodOptional<z.ZodString>;
25777
25776
  description: z.ZodOptional<z.ZodString>;
@@ -25818,6 +25817,7 @@ export declare class FirecrawlBubble<T extends FirecrawlParams = FirecrawlParams
25818
25817
  images?: string[] | undefined;
25819
25818
  summary?: string | undefined;
25820
25819
  html?: string | undefined;
25820
+ json?: unknown;
25821
25821
  actions?: Record<string, unknown> | undefined;
25822
25822
  screenshot?: string | undefined;
25823
25823
  warning?: string | undefined;
@@ -27738,7 +27738,6 @@ export declare class FirecrawlBubble<T extends FirecrawlParams = FirecrawlParams
27738
27738
  }>>;
27739
27739
  }, z.ZodUnknown, "strip">>>;
27740
27740
  }, "strip", z.ZodTypeAny, {
27741
- json?: unknown;
27742
27741
  metadata?: z.objectOutputType<{
27743
27742
  title: z.ZodOptional<z.ZodString>;
27744
27743
  description: z.ZodOptional<z.ZodString>;
@@ -27785,6 +27784,7 @@ export declare class FirecrawlBubble<T extends FirecrawlParams = FirecrawlParams
27785
27784
  images?: string[] | undefined;
27786
27785
  summary?: string | undefined;
27787
27786
  html?: string | undefined;
27787
+ json?: unknown;
27788
27788
  actions?: Record<string, unknown> | undefined;
27789
27789
  screenshot?: string | undefined;
27790
27790
  warning?: string | undefined;
@@ -28231,7 +28231,6 @@ export declare class FirecrawlBubble<T extends FirecrawlParams = FirecrawlParams
28231
28231
  }>>;
28232
28232
  }, z.ZodUnknown, "strip"> | undefined;
28233
28233
  }, {
28234
- json?: unknown;
28235
28234
  metadata?: z.objectInputType<{
28236
28235
  title: z.ZodOptional<z.ZodString>;
28237
28236
  description: z.ZodOptional<z.ZodString>;
@@ -28278,6 +28277,7 @@ export declare class FirecrawlBubble<T extends FirecrawlParams = FirecrawlParams
28278
28277
  images?: string[] | undefined;
28279
28278
  summary?: string | undefined;
28280
28279
  html?: string | undefined;
28280
+ json?: unknown;
28281
28281
  actions?: Record<string, unknown> | undefined;
28282
28282
  screenshot?: string | undefined;
28283
28283
  warning?: string | undefined;
@@ -30195,7 +30195,6 @@ export declare class FirecrawlBubble<T extends FirecrawlParams = FirecrawlParams
30195
30195
  }>>;
30196
30196
  }, z.ZodUnknown, "strip">>>;
30197
30197
  }, "strip", z.ZodTypeAny, {
30198
- json?: unknown;
30199
30198
  metadata?: z.objectOutputType<{
30200
30199
  title: z.ZodOptional<z.ZodString>;
30201
30200
  description: z.ZodOptional<z.ZodString>;
@@ -30242,6 +30241,7 @@ export declare class FirecrawlBubble<T extends FirecrawlParams = FirecrawlParams
30242
30241
  images?: string[] | undefined;
30243
30242
  summary?: string | undefined;
30244
30243
  html?: string | undefined;
30244
+ json?: unknown;
30245
30245
  actions?: Record<string, unknown> | undefined;
30246
30246
  screenshot?: string | undefined;
30247
30247
  warning?: string | undefined;
@@ -30688,7 +30688,6 @@ export declare class FirecrawlBubble<T extends FirecrawlParams = FirecrawlParams
30688
30688
  }>>;
30689
30689
  }, z.ZodUnknown, "strip"> | undefined;
30690
30690
  }, {
30691
- json?: unknown;
30692
30691
  metadata?: z.objectInputType<{
30693
30692
  title: z.ZodOptional<z.ZodString>;
30694
30693
  description: z.ZodOptional<z.ZodString>;
@@ -30735,6 +30734,7 @@ export declare class FirecrawlBubble<T extends FirecrawlParams = FirecrawlParams
30735
30734
  images?: string[] | undefined;
30736
30735
  summary?: string | undefined;
30737
30736
  html?: string | undefined;
30737
+ json?: unknown;
30738
30738
  actions?: Record<string, unknown> | undefined;
30739
30739
  screenshot?: string | undefined;
30740
30740
  warning?: string | undefined;
@@ -31183,11 +31183,10 @@ 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
- error: string;
31187
- success: boolean;
31188
31186
  operation: "search";
31187
+ success: boolean;
31188
+ error: string;
31189
31189
  images?: ({
31190
- json?: unknown;
31191
31190
  metadata?: z.objectOutputType<{
31192
31191
  title: z.ZodOptional<z.ZodString>;
31193
31192
  description: z.ZodOptional<z.ZodString>;
@@ -31234,6 +31233,7 @@ export declare class FirecrawlBubble<T extends FirecrawlParams = FirecrawlParams
31234
31233
  images?: string[] | undefined;
31235
31234
  summary?: string | undefined;
31236
31235
  html?: string | undefined;
31236
+ json?: unknown;
31237
31237
  actions?: Record<string, unknown> | undefined;
31238
31238
  screenshot?: string | undefined;
31239
31239
  warning?: string | undefined;
@@ -31688,7 +31688,6 @@ export declare class FirecrawlBubble<T extends FirecrawlParams = FirecrawlParams
31688
31688
  imageHeight?: number | undefined;
31689
31689
  })[] | undefined;
31690
31690
  web?: ({
31691
- json?: unknown;
31692
31691
  metadata?: z.objectOutputType<{
31693
31692
  title: z.ZodOptional<z.ZodString>;
31694
31693
  description: z.ZodOptional<z.ZodString>;
@@ -31735,6 +31734,7 @@ export declare class FirecrawlBubble<T extends FirecrawlParams = FirecrawlParams
31735
31734
  images?: string[] | undefined;
31736
31735
  summary?: string | undefined;
31737
31736
  html?: string | undefined;
31737
+ json?: unknown;
31738
31738
  actions?: Record<string, unknown> | undefined;
31739
31739
  screenshot?: string | undefined;
31740
31740
  warning?: string | undefined;
@@ -32187,7 +32187,6 @@ export declare class FirecrawlBubble<T extends FirecrawlParams = FirecrawlParams
32187
32187
  category?: string | undefined;
32188
32188
  })[] | undefined;
32189
32189
  news?: ({
32190
- json?: unknown;
32191
32190
  metadata?: z.objectOutputType<{
32192
32191
  title: z.ZodOptional<z.ZodString>;
32193
32192
  description: z.ZodOptional<z.ZodString>;
@@ -32234,6 +32233,7 @@ export declare class FirecrawlBubble<T extends FirecrawlParams = FirecrawlParams
32234
32233
  images?: string[] | undefined;
32235
32234
  summary?: string | undefined;
32236
32235
  html?: string | undefined;
32236
+ json?: unknown;
32237
32237
  actions?: Record<string, unknown> | undefined;
32238
32238
  screenshot?: string | undefined;
32239
32239
  warning?: string | undefined;
@@ -32690,11 +32690,10 @@ export declare class FirecrawlBubble<T extends FirecrawlParams = FirecrawlParams
32690
32690
  })[] | undefined;
32691
32691
  other?: unknown[] | undefined;
32692
32692
  }, {
32693
- error: string;
32694
- success: boolean;
32695
32693
  operation: "search";
32694
+ success: boolean;
32695
+ error: string;
32696
32696
  images?: ({
32697
- json?: unknown;
32698
32697
  metadata?: z.objectInputType<{
32699
32698
  title: z.ZodOptional<z.ZodString>;
32700
32699
  description: z.ZodOptional<z.ZodString>;
@@ -32741,6 +32740,7 @@ export declare class FirecrawlBubble<T extends FirecrawlParams = FirecrawlParams
32741
32740
  images?: string[] | undefined;
32742
32741
  summary?: string | undefined;
32743
32742
  html?: string | undefined;
32743
+ json?: unknown;
32744
32744
  actions?: Record<string, unknown> | undefined;
32745
32745
  screenshot?: string | undefined;
32746
32746
  warning?: string | undefined;
@@ -33195,7 +33195,6 @@ export declare class FirecrawlBubble<T extends FirecrawlParams = FirecrawlParams
33195
33195
  imageHeight?: number | undefined;
33196
33196
  })[] | undefined;
33197
33197
  web?: ({
33198
- json?: unknown;
33199
33198
  metadata?: z.objectInputType<{
33200
33199
  title: z.ZodOptional<z.ZodString>;
33201
33200
  description: z.ZodOptional<z.ZodString>;
@@ -33242,6 +33241,7 @@ export declare class FirecrawlBubble<T extends FirecrawlParams = FirecrawlParams
33242
33241
  images?: string[] | undefined;
33243
33242
  summary?: string | undefined;
33244
33243
  html?: string | undefined;
33244
+ json?: unknown;
33245
33245
  actions?: Record<string, unknown> | undefined;
33246
33246
  screenshot?: string | undefined;
33247
33247
  warning?: string | undefined;
@@ -33694,7 +33694,6 @@ export declare class FirecrawlBubble<T extends FirecrawlParams = FirecrawlParams
33694
33694
  category?: string | undefined;
33695
33695
  })[] | undefined;
33696
33696
  news?: ({
33697
- json?: unknown;
33698
33697
  metadata?: z.objectInputType<{
33699
33698
  title: z.ZodOptional<z.ZodString>;
33700
33699
  description: z.ZodOptional<z.ZodString>;
@@ -33741,6 +33740,7 @@ export declare class FirecrawlBubble<T extends FirecrawlParams = FirecrawlParams
33741
33740
  images?: string[] | undefined;
33742
33741
  summary?: string | undefined;
33743
33742
  html?: string | undefined;
33743
+ json?: unknown;
33744
33744
  actions?: Record<string, unknown> | undefined;
33745
33745
  screenshot?: string | undefined;
33746
33746
  warning?: string | undefined;
@@ -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
- error: string;
34222
- success: boolean;
34223
34221
  operation: "map";
34222
+ success: boolean;
34223
+ error: string;
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
- error: string;
34232
- success: boolean;
34233
34231
  operation: "map";
34232
+ success: boolean;
34233
+ error: string;
34234
34234
  links: {
34235
34235
  url: string;
34236
34236
  description?: string | undefined;
@@ -35697,7 +35697,6 @@ export declare class FirecrawlBubble<T extends FirecrawlParams = FirecrawlParams
35697
35697
  }>>;
35698
35698
  }, z.ZodUnknown, "strip">>>;
35699
35699
  }, "strip", z.ZodTypeAny, {
35700
- json?: unknown;
35701
35700
  metadata?: z.objectOutputType<{
35702
35701
  title: z.ZodOptional<z.ZodString>;
35703
35702
  description: z.ZodOptional<z.ZodString>;
@@ -35744,6 +35743,7 @@ export declare class FirecrawlBubble<T extends FirecrawlParams = FirecrawlParams
35744
35743
  images?: string[] | undefined;
35745
35744
  summary?: string | undefined;
35746
35745
  html?: string | undefined;
35746
+ json?: unknown;
35747
35747
  actions?: Record<string, unknown> | undefined;
35748
35748
  screenshot?: string | undefined;
35749
35749
  warning?: string | undefined;
@@ -36190,7 +36190,6 @@ export declare class FirecrawlBubble<T extends FirecrawlParams = FirecrawlParams
36190
36190
  }>>;
36191
36191
  }, z.ZodUnknown, "strip"> | undefined;
36192
36192
  }, {
36193
- json?: unknown;
36194
36193
  metadata?: z.objectInputType<{
36195
36194
  title: z.ZodOptional<z.ZodString>;
36196
36195
  description: z.ZodOptional<z.ZodString>;
@@ -36237,6 +36236,7 @@ export declare class FirecrawlBubble<T extends FirecrawlParams = FirecrawlParams
36237
36236
  images?: string[] | undefined;
36238
36237
  summary?: string | undefined;
36239
36238
  html?: string | undefined;
36239
+ json?: unknown;
36240
36240
  actions?: Record<string, unknown> | undefined;
36241
36241
  screenshot?: string | undefined;
36242
36242
  warning?: string | undefined;
@@ -36685,10 +36685,11 @@ export declare class FirecrawlBubble<T extends FirecrawlParams = FirecrawlParams
36685
36685
  }>, "many">;
36686
36686
  }, "strip", z.ZodTypeAny, {
36687
36687
  status: "failed" | "completed" | "scraping" | "cancelled";
36688
- error: string;
36688
+ total: number;
36689
+ operation: "crawl";
36689
36690
  success: boolean;
36691
+ error: string;
36690
36692
  data: {
36691
- json?: unknown;
36692
36693
  metadata?: z.objectOutputType<{
36693
36694
  title: z.ZodOptional<z.ZodString>;
36694
36695
  description: z.ZodOptional<z.ZodString>;
@@ -36735,6 +36736,7 @@ export declare class FirecrawlBubble<T extends FirecrawlParams = FirecrawlParams
36735
36736
  images?: string[] | undefined;
36736
36737
  summary?: string | undefined;
36737
36738
  html?: string | undefined;
36739
+ json?: unknown;
36738
36740
  actions?: Record<string, unknown> | undefined;
36739
36741
  screenshot?: string | undefined;
36740
36742
  warning?: string | undefined;
@@ -37181,17 +37183,16 @@ export declare class FirecrawlBubble<T extends FirecrawlParams = FirecrawlParams
37181
37183
  }>>;
37182
37184
  }, z.ZodUnknown, "strip"> | undefined;
37183
37185
  }[];
37184
- operation: "crawl";
37185
37186
  completed: number;
37186
- total: number;
37187
37187
  creditsUsed?: number | undefined;
37188
37188
  expiresAt?: string | undefined;
37189
37189
  }, {
37190
37190
  status: "failed" | "completed" | "scraping" | "cancelled";
37191
- error: string;
37191
+ total: number;
37192
+ operation: "crawl";
37192
37193
  success: boolean;
37194
+ error: string;
37193
37195
  data: {
37194
- json?: unknown;
37195
37196
  metadata?: z.objectInputType<{
37196
37197
  title: z.ZodOptional<z.ZodString>;
37197
37198
  description: z.ZodOptional<z.ZodString>;
@@ -37238,6 +37239,7 @@ export declare class FirecrawlBubble<T extends FirecrawlParams = FirecrawlParams
37238
37239
  images?: string[] | undefined;
37239
37240
  summary?: string | undefined;
37240
37241
  html?: string | undefined;
37242
+ json?: unknown;
37241
37243
  actions?: Record<string, unknown> | undefined;
37242
37244
  screenshot?: string | undefined;
37243
37245
  warning?: string | undefined;
@@ -37684,9 +37686,7 @@ export declare class FirecrawlBubble<T extends FirecrawlParams = FirecrawlParams
37684
37686
  }>>;
37685
37687
  }, z.ZodUnknown, "strip"> | undefined;
37686
37688
  }[];
37687
- operation: "crawl";
37688
37689
  completed: number;
37689
- total: number;
37690
37690
  creditsUsed?: number | undefined;
37691
37691
  expiresAt?: string | undefined;
37692
37692
  }>, z.ZodObject<{
@@ -37701,20 +37701,20 @@ 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
- error: string;
37705
- success: boolean;
37706
37704
  operation: "extract";
37707
- status?: "failed" | "completed" | "cancelled" | "processing" | undefined;
37705
+ success: boolean;
37706
+ error: string;
37707
+ status?: "processing" | "failed" | "completed" | "cancelled" | undefined;
37708
37708
  id?: string | undefined;
37709
37709
  data?: unknown;
37710
37710
  warning?: string | undefined;
37711
37711
  sources?: Record<string, unknown> | undefined;
37712
37712
  expiresAt?: string | undefined;
37713
37713
  }, {
37714
- error: string;
37715
- success: boolean;
37716
37714
  operation: "extract";
37717
- status?: "failed" | "completed" | "cancelled" | "processing" | undefined;
37715
+ success: boolean;
37716
+ error: string;
37717
+ status?: "processing" | "failed" | "completed" | "cancelled" | undefined;
37718
37718
  id?: string | undefined;
37719
37719
  data?: unknown;
37720
37720
  warning?: string | undefined;