@bubblelab/bubble-core 0.1.212 → 0.1.213

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 +150 -150
  2. package/dist/bubbles/service-bubble/agi-inc.d.ts +112 -112
  3. package/dist/bubbles/service-bubble/ai-agent.d.ts +72 -72
  4. package/dist/bubbles/service-bubble/ai-agent.d.ts.map +1 -1
  5. package/dist/bubbles/service-bubble/ai-agent.js +192 -25
  6. package/dist/bubbles/service-bubble/ai-agent.js.map +1 -1
  7. package/dist/bubbles/service-bubble/airtable.d.ts +158 -158
  8. package/dist/bubbles/service-bubble/apify/apify.d.ts +26 -26
  9. package/dist/bubbles/service-bubble/ashby/ashby.d.ts +90 -90
  10. package/dist/bubbles/service-bubble/ashby/ashby.schema.d.ts +70 -70
  11. package/dist/bubbles/service-bubble/assembled/assembled.d.ts +55 -55
  12. package/dist/bubbles/service-bubble/assembled/assembled.schema.d.ts +24 -24
  13. package/dist/bubbles/service-bubble/attio/attio.d.ts +66 -66
  14. package/dist/bubbles/service-bubble/attio/attio.schema.d.ts +2 -2
  15. package/dist/bubbles/service-bubble/browserbase/browserbase.d.ts +58 -58
  16. package/dist/bubbles/service-bubble/browserbase/browserbase.schema.d.ts +12 -12
  17. package/dist/bubbles/service-bubble/confluence/confluence.d.ts +43 -43
  18. package/dist/bubbles/service-bubble/confluence/confluence.schema.d.ts +4 -4
  19. package/dist/bubbles/service-bubble/crustdata/crustdata.d.ts +94 -94
  20. package/dist/bubbles/service-bubble/crustdata/crustdata.schema.d.ts +158 -158
  21. package/dist/bubbles/service-bubble/eleven-labs.d.ts +48 -48
  22. package/dist/bubbles/service-bubble/firecrawl.d.ts +284 -284
  23. package/dist/bubbles/service-bubble/followupboss.d.ts +260 -260
  24. package/dist/bubbles/service-bubble/fullenrich/fullenrich.d.ts +44 -44
  25. package/dist/bubbles/service-bubble/fullenrich/fullenrich.schema.d.ts +124 -124
  26. package/dist/bubbles/service-bubble/github.d.ts +102 -102
  27. package/dist/bubbles/service-bubble/gmail.d.ts +238 -238
  28. package/dist/bubbles/service-bubble/google-calendar.d.ts +132 -132
  29. package/dist/bubbles/service-bubble/google-drive.d.ts +146 -146
  30. package/dist/bubbles/service-bubble/google-sheets/google-sheets.d.ts +52 -52
  31. package/dist/bubbles/service-bubble/google-sheets/google-sheets.schema.d.ts +26 -26
  32. package/dist/bubbles/service-bubble/hello-world.d.ts +4 -4
  33. package/dist/bubbles/service-bubble/http.d.ts +10 -10
  34. package/dist/bubbles/service-bubble/hubspot/hubspot.d.ts +20 -20
  35. package/dist/bubbles/service-bubble/insforge-db.d.ts +12 -12
  36. package/dist/bubbles/service-bubble/jira/jira.d.ts +62 -62
  37. package/dist/bubbles/service-bubble/jira/jira.schema.d.ts +31 -31
  38. package/dist/bubbles/service-bubble/linear/linear.d.ts +44 -44
  39. package/dist/bubbles/service-bubble/linear/linear.schema.d.ts +15 -15
  40. package/dist/bubbles/service-bubble/notion/notion.d.ts +184 -184
  41. package/dist/bubbles/service-bubble/postgresql.d.ts +12 -12
  42. package/dist/bubbles/service-bubble/posthog/posthog.d.ts +33 -33
  43. package/dist/bubbles/service-bubble/posthog/posthog.schema.d.ts +30 -30
  44. package/dist/bubbles/service-bubble/resend.d.ts +24 -24
  45. package/dist/bubbles/service-bubble/s3/s3.d.ts +44 -44
  46. package/dist/bubbles/service-bubble/s3/s3.schema.d.ts +14 -14
  47. package/dist/bubbles/service-bubble/sendsafely/sendsafely.d.ts +18 -18
  48. package/dist/bubbles/service-bubble/sendsafely/sendsafely.schema.d.ts +6 -6
  49. package/dist/bubbles/service-bubble/slack/slack.d.ts +224 -224
  50. package/dist/bubbles/service-bubble/storage.d.ts +88 -88
  51. package/dist/bubbles/service-bubble/stripe/stripe.d.ts +123 -123
  52. package/dist/bubbles/service-bubble/stripe/stripe.schema.d.ts +87 -87
  53. package/dist/bubbles/service-bubble/telegram.d.ts +120 -120
  54. package/dist/bubbles/tool-bubble/amazon-shopping-tool/amazon-shopping-tool.d.ts +28 -28
  55. package/dist/bubbles/tool-bubble/amazon-shopping-tool/amazon-shopping-tool.schema.d.ts +5 -5
  56. package/dist/bubbles/tool-bubble/browser-tools/linkedin-accept-invitations/tool.d.ts +4 -4
  57. package/dist/bubbles/tool-bubble/browser-tools/linkedin-connection/tool.d.ts +4 -4
  58. package/dist/bubbles/tool-bubble/browser-tools/linkedin-received-invitations/tool.d.ts +4 -4
  59. package/dist/bubbles/tool-bubble/browser-tools/linkedin-sent-invitations/tool.d.ts +4 -4
  60. package/dist/bubbles/tool-bubble/bubbleflow-validation-tool.d.ts +4 -4
  61. package/dist/bubbles/tool-bubble/chart-js-tool.d.ts +8 -8
  62. package/dist/bubbles/tool-bubble/code-edit-tool.d.ts +4 -4
  63. package/dist/bubbles/tool-bubble/company-enrichment-tool.d.ts +4 -4
  64. package/dist/bubbles/tool-bubble/get-bubble-details-tool.d.ts +4 -4
  65. package/dist/bubbles/tool-bubble/get-trigger-detail-tool.d.ts +4 -4
  66. package/dist/bubbles/tool-bubble/google-maps-tool.d.ts +8 -8
  67. package/dist/bubbles/tool-bubble/instagram-tool.d.ts +8 -8
  68. package/dist/bubbles/tool-bubble/linkedin-tool.d.ts +345 -345
  69. package/dist/bubbles/tool-bubble/list-airtable-bases-tool.d.ts +4 -4
  70. package/dist/bubbles/tool-bubble/list-airtable-tables-tool.d.ts +4 -4
  71. package/dist/bubbles/tool-bubble/list-bubbles-tool.d.ts +4 -4
  72. package/dist/bubbles/tool-bubble/list-capabilities-tool.d.ts +4 -4
  73. package/dist/bubbles/tool-bubble/people-search-tool.d.ts +4 -4
  74. package/dist/bubbles/tool-bubble/reddit-scrape-tool.d.ts +4 -4
  75. package/dist/bubbles/tool-bubble/research-agent-tool.d.ts +4 -4
  76. package/dist/bubbles/tool-bubble/sql-query-tool.d.ts +8 -8
  77. package/dist/bubbles/tool-bubble/tiktok-tool.d.ts +60 -60
  78. package/dist/bubbles/tool-bubble/tool-template.d.ts +4 -4
  79. package/dist/bubbles/tool-bubble/twitter-tool.d.ts +132 -132
  80. package/dist/bubbles/tool-bubble/web-crawl-tool.d.ts +8 -8
  81. package/dist/bubbles/tool-bubble/web-extract-tool.d.ts +8 -8
  82. package/dist/bubbles/tool-bubble/web-scrape-tool.d.ts +8 -8
  83. package/dist/bubbles/tool-bubble/web-search-tool.d.ts +8 -8
  84. package/dist/bubbles/tool-bubble/yc-scraper-tool.d.ts +12 -12
  85. package/dist/bubbles/tool-bubble/youtube-tool.d.ts +28 -28
  86. package/dist/bubbles/workflow-bubble/database-analyzer.workflow.d.ts +4 -4
  87. package/dist/bubbles/workflow-bubble/generate-document.workflow.d.ts +16 -16
  88. package/dist/bubbles/workflow-bubble/parse-document.workflow.d.ts +8 -8
  89. package/dist/bubbles/workflow-bubble/pdf-form-operations.workflow.d.ts +58 -58
  90. package/dist/bubbles/workflow-bubble/pdf-ocr.workflow.d.ts +8 -8
  91. package/dist/bubbles/workflow-bubble/slack-data-assistant.workflow.d.ts +4 -4
  92. package/dist/bubbles/workflow-bubble/slack-formatter-agent.d.ts +12 -12
  93. package/dist/bubbles/workflow-bubble/slack-notifier.workflow.d.ts +4 -4
  94. package/dist/bubbles.json +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: "images" | "summary" | "html" | "json" | "screenshot" | "markdown" | "rawHtml" | "links" | "attributes" | "changeTracking" | "branding";
13
+ type: "json" | "images" | "summary" | "html" | "screenshot" | "markdown" | "rawHtml" | "links" | "attributes" | "changeTracking" | "branding";
14
14
  }, {
15
- type: "images" | "summary" | "html" | "json" | "screenshot" | "markdown" | "rawHtml" | "links" | "attributes" | "changeTracking" | "branding";
15
+ type: "json" | "images" | "summary" | "html" | "screenshot" | "markdown" | "rawHtml" | "links" | "attributes" | "changeTracking" | "branding";
16
16
  }>, z.ZodObject<{
17
17
  type: z.ZodLiteral<"json">;
18
18
  prompt: z.ZodOptional<z.ZodString>;
@@ -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
- type: "executeJavascript";
210
209
  script: string;
211
- }, {
212
210
  type: "executeJavascript";
211
+ }, {
213
212
  script: string;
213
+ type: "executeJavascript";
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"]>>;
@@ -250,11 +250,11 @@ declare const FirecrawlParamsSchema: z.ZodDiscriminatedUnion<"operation", [z.Zod
250
250
  operation: z.ZodLiteral<"scrape">;
251
251
  url: z.ZodString;
252
252
  }, "strip", z.ZodTypeAny, {
253
- operation: "scrape";
254
- url: string;
255
253
  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";
254
+ url: string;
255
+ 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";
258
258
  } | {
259
259
  type: "json";
260
260
  schema?: any;
@@ -284,7 +284,6 @@ declare const FirecrawlParamsSchema: z.ZodDiscriminatedUnion<"operation", [z.Zod
284
284
  waitFor: number;
285
285
  maxAge: number;
286
286
  credentials?: Partial<Record<CredentialType, string>> | undefined;
287
- mobile?: boolean | undefined;
288
287
  maxRetries?: number | undefined;
289
288
  headers?: Record<string, string> | undefined;
290
289
  includeTags?: string[] | undefined;
@@ -317,14 +316,15 @@ declare const FirecrawlParamsSchema: z.ZodDiscriminatedUnion<"operation", [z.Zod
317
316
  } | {
318
317
  type: "scrape";
319
318
  } | {
320
- type: "executeJavascript";
321
319
  script: string;
320
+ type: "executeJavascript";
322
321
  } | {
323
322
  type: "pdf";
324
323
  format?: "A0" | "A1" | "A2" | "A3" | "A4" | "A5" | "A6" | "Letter" | "Legal" | "Tabloid" | "Ledger" | undefined;
325
324
  scale?: number | undefined;
326
325
  landscape?: boolean | undefined;
327
326
  })[] | undefined;
327
+ mobile?: boolean | undefined;
328
328
  location?: {
329
329
  country?: string | undefined;
330
330
  languages?: string[] | undefined;
@@ -343,12 +343,11 @@ declare const FirecrawlParamsSchema: z.ZodDiscriminatedUnion<"operation", [z.Zod
343
343
  storeInCache?: boolean | undefined;
344
344
  backoffFactor?: number | undefined;
345
345
  }, {
346
- operation: "scrape";
347
346
  url: string;
347
+ operation: "scrape";
348
348
  credentials?: Partial<Record<CredentialType, string>> | undefined;
349
- mobile?: boolean | undefined;
350
- maxRetries?: number | undefined;
351
349
  timeout?: number | undefined;
350
+ maxRetries?: number | undefined;
352
351
  headers?: Record<string, string> | undefined;
353
352
  includeTags?: string[] | undefined;
354
353
  excludeTags?: string[] | undefined;
@@ -380,21 +379,22 @@ declare const FirecrawlParamsSchema: z.ZodDiscriminatedUnion<"operation", [z.Zod
380
379
  } | {
381
380
  type: "scrape";
382
381
  } | {
383
- type: "executeJavascript";
384
382
  script: string;
383
+ type: "executeJavascript";
385
384
  } | {
386
385
  type: "pdf";
387
386
  format?: "A0" | "A1" | "A2" | "A3" | "A4" | "A5" | "A6" | "Letter" | "Legal" | "Tabloid" | "Ledger" | undefined;
388
387
  scale?: number | undefined;
389
388
  landscape?: boolean | undefined;
390
389
  })[] | undefined;
390
+ mobile?: boolean | undefined;
391
391
  location?: {
392
392
  country?: string | undefined;
393
393
  languages?: string[] | undefined;
394
394
  } | undefined;
395
395
  integration?: string | undefined;
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";
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";
398
398
  } | {
399
399
  type: "json";
400
400
  schema?: any;
@@ -452,9 +452,9 @@ declare const FirecrawlParamsSchema: z.ZodDiscriminatedUnion<"operation", [z.Zod
452
452
  categories: z.ZodOptional<z.ZodArray<z.ZodUnion<[z.ZodEnum<["github", "research", "pdf"]>, z.ZodObject<{
453
453
  type: z.ZodEnum<["github", "research", "pdf"]>;
454
454
  }, "strip", z.ZodTypeAny, {
455
- type: "pdf" | "github" | "research";
455
+ type: "github" | "pdf" | "research";
456
456
  }, {
457
- type: "pdf" | "github" | "research";
457
+ type: "github" | "pdf" | "research";
458
458
  }>]>, "many">>;
459
459
  limit: z.ZodOptional<z.ZodNumber>;
460
460
  tbs: z.ZodOptional<z.ZodString>;
@@ -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: "images" | "summary" | "html" | "json" | "screenshot" | "markdown" | "rawHtml" | "links" | "attributes" | "changeTracking" | "branding";
468
+ type: "json" | "images" | "summary" | "html" | "screenshot" | "markdown" | "rawHtml" | "links" | "attributes" | "changeTracking" | "branding";
469
469
  }, {
470
- type: "images" | "summary" | "html" | "json" | "screenshot" | "markdown" | "rawHtml" | "links" | "attributes" | "changeTracking" | "branding";
470
+ type: "json" | "images" | "summary" | "html" | "screenshot" | "markdown" | "rawHtml" | "links" | "attributes" | "changeTracking" | "branding";
471
471
  }>, z.ZodObject<{
472
472
  type: z.ZodLiteral<"json">;
473
473
  prompt: z.ZodOptional<z.ZodString>;
@@ -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
- type: "executeJavascript";
665
664
  script: string;
666
- }, {
667
665
  type: "executeJavascript";
666
+ }, {
668
667
  script: string;
668
+ type: "executeJavascript";
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: ("images" | "summary" | "html" | "json" | "screenshot" | "markdown" | "rawHtml" | "links" | "attributes" | "changeTracking" | "branding" | {
707
- type: "images" | "summary" | "html" | "json" | "screenshot" | "markdown" | "rawHtml" | "links" | "attributes" | "changeTracking" | "branding";
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";
708
708
  } | {
709
709
  type: "json";
710
710
  schema?: any;
@@ -733,7 +733,6 @@ declare const FirecrawlParamsSchema: z.ZodDiscriminatedUnion<"operation", [z.Zod
733
733
  onlyMainContent: boolean;
734
734
  waitFor: number;
735
735
  maxAge: number;
736
- mobile?: boolean | undefined;
737
736
  headers?: Record<string, string> | undefined;
738
737
  includeTags?: string[] | undefined;
739
738
  excludeTags?: string[] | undefined;
@@ -765,14 +764,15 @@ declare const FirecrawlParamsSchema: z.ZodDiscriminatedUnion<"operation", [z.Zod
765
764
  } | {
766
765
  type: "scrape";
767
766
  } | {
768
- type: "executeJavascript";
769
767
  script: string;
768
+ type: "executeJavascript";
770
769
  } | {
771
770
  type: "pdf";
772
771
  format?: "A0" | "A1" | "A2" | "A3" | "A4" | "A5" | "A6" | "Letter" | "Legal" | "Tabloid" | "Ledger" | undefined;
773
772
  scale?: number | undefined;
774
773
  landscape?: boolean | undefined;
775
774
  })[] | undefined;
775
+ mobile?: boolean | undefined;
776
776
  location?: {
777
777
  country?: string | undefined;
778
778
  languages?: string[] | undefined;
@@ -790,7 +790,6 @@ declare const FirecrawlParamsSchema: z.ZodDiscriminatedUnion<"operation", [z.Zod
790
790
  proxy?: string | undefined;
791
791
  storeInCache?: boolean | undefined;
792
792
  }, {
793
- mobile?: boolean | undefined;
794
793
  timeout?: number | undefined;
795
794
  headers?: Record<string, string> | undefined;
796
795
  includeTags?: string[] | undefined;
@@ -823,21 +822,22 @@ declare const FirecrawlParamsSchema: z.ZodDiscriminatedUnion<"operation", [z.Zod
823
822
  } | {
824
823
  type: "scrape";
825
824
  } | {
826
- type: "executeJavascript";
827
825
  script: string;
826
+ type: "executeJavascript";
828
827
  } | {
829
828
  type: "pdf";
830
829
  format?: "A0" | "A1" | "A2" | "A3" | "A4" | "A5" | "A6" | "Letter" | "Legal" | "Tabloid" | "Ledger" | undefined;
831
830
  scale?: number | undefined;
832
831
  landscape?: boolean | undefined;
833
832
  })[] | undefined;
833
+ mobile?: boolean | undefined;
834
834
  location?: {
835
835
  country?: string | undefined;
836
836
  languages?: string[] | undefined;
837
837
  } | undefined;
838
838
  integration?: string | undefined;
839
- formats?: ("images" | "summary" | "html" | "json" | "screenshot" | "markdown" | "rawHtml" | "links" | "attributes" | "changeTracking" | "branding" | {
840
- type: "images" | "summary" | "html" | "json" | "screenshot" | "markdown" | "rawHtml" | "links" | "attributes" | "changeTracking" | "branding";
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";
841
841
  } | {
842
842
  type: "json";
843
843
  schema?: any;
@@ -880,15 +880,15 @@ declare const FirecrawlParamsSchema: z.ZodDiscriminatedUnion<"operation", [z.Zod
880
880
  }>>;
881
881
  integration: z.ZodOptional<z.ZodString>;
882
882
  }, "strip", z.ZodTypeAny, {
883
- operation: "search";
884
883
  query: string;
884
+ operation: "search";
885
885
  credentials?: Partial<Record<CredentialType, string>> | undefined;
886
- maxRetries?: number | undefined;
887
886
  timeout?: number | undefined;
887
+ maxRetries?: number | undefined;
888
888
  limit?: number | undefined;
889
889
  location?: string | undefined;
890
- categories?: ("pdf" | "github" | "research" | {
891
- type: "pdf" | "github" | "research";
890
+ categories?: ("github" | "pdf" | "research" | {
891
+ type: "github" | "pdf" | "research";
892
892
  })[] | undefined;
893
893
  integration?: string | undefined;
894
894
  backoffFactor?: number | undefined;
@@ -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: ("images" | "summary" | "html" | "json" | "screenshot" | "markdown" | "rawHtml" | "links" | "attributes" | "changeTracking" | "branding" | {
903
- type: "images" | "summary" | "html" | "json" | "screenshot" | "markdown" | "rawHtml" | "links" | "attributes" | "changeTracking" | "branding";
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";
904
904
  } | {
905
905
  type: "json";
906
906
  schema?: any;
@@ -929,7 +929,6 @@ declare const FirecrawlParamsSchema: z.ZodDiscriminatedUnion<"operation", [z.Zod
929
929
  onlyMainContent: boolean;
930
930
  waitFor: number;
931
931
  maxAge: number;
932
- mobile?: boolean | undefined;
933
932
  headers?: Record<string, string> | undefined;
934
933
  includeTags?: string[] | undefined;
935
934
  excludeTags?: string[] | undefined;
@@ -961,14 +960,15 @@ declare const FirecrawlParamsSchema: z.ZodDiscriminatedUnion<"operation", [z.Zod
961
960
  } | {
962
961
  type: "scrape";
963
962
  } | {
964
- type: "executeJavascript";
965
963
  script: string;
964
+ type: "executeJavascript";
966
965
  } | {
967
966
  type: "pdf";
968
967
  format?: "A0" | "A1" | "A2" | "A3" | "A4" | "A5" | "A6" | "Letter" | "Legal" | "Tabloid" | "Ledger" | undefined;
969
968
  scale?: number | undefined;
970
969
  landscape?: boolean | undefined;
971
970
  })[] | undefined;
971
+ mobile?: boolean | undefined;
972
972
  location?: {
973
973
  country?: string | undefined;
974
974
  languages?: string[] | undefined;
@@ -987,15 +987,15 @@ declare const FirecrawlParamsSchema: z.ZodDiscriminatedUnion<"operation", [z.Zod
987
987
  storeInCache?: boolean | undefined;
988
988
  } | undefined;
989
989
  }, {
990
- operation: "search";
991
990
  query: string;
991
+ operation: "search";
992
992
  credentials?: Partial<Record<CredentialType, string>> | undefined;
993
- maxRetries?: number | undefined;
994
993
  timeout?: number | undefined;
994
+ maxRetries?: number | undefined;
995
995
  limit?: number | undefined;
996
996
  location?: string | undefined;
997
- categories?: ("pdf" | "github" | "research" | {
998
- type: "pdf" | "github" | "research";
997
+ categories?: ("github" | "pdf" | "research" | {
998
+ type: "github" | "pdf" | "research";
999
999
  })[] | undefined;
1000
1000
  integration?: string | undefined;
1001
1001
  backoffFactor?: number | undefined;
@@ -1005,7 +1005,6 @@ declare const FirecrawlParamsSchema: z.ZodDiscriminatedUnion<"operation", [z.Zod
1005
1005
  tbs?: string | undefined;
1006
1006
  ignoreInvalidURLs?: boolean | undefined;
1007
1007
  scrapeOptions?: {
1008
- mobile?: boolean | undefined;
1009
1008
  timeout?: number | undefined;
1010
1009
  headers?: Record<string, string> | undefined;
1011
1010
  includeTags?: string[] | undefined;
@@ -1038,21 +1037,22 @@ declare const FirecrawlParamsSchema: z.ZodDiscriminatedUnion<"operation", [z.Zod
1038
1037
  } | {
1039
1038
  type: "scrape";
1040
1039
  } | {
1041
- type: "executeJavascript";
1042
1040
  script: string;
1041
+ type: "executeJavascript";
1043
1042
  } | {
1044
1043
  type: "pdf";
1045
1044
  format?: "A0" | "A1" | "A2" | "A3" | "A4" | "A5" | "A6" | "Letter" | "Legal" | "Tabloid" | "Ledger" | undefined;
1046
1045
  scale?: number | undefined;
1047
1046
  landscape?: boolean | undefined;
1048
1047
  })[] | undefined;
1048
+ mobile?: boolean | undefined;
1049
1049
  location?: {
1050
1050
  country?: string | undefined;
1051
1051
  languages?: string[] | undefined;
1052
1052
  } | undefined;
1053
1053
  integration?: string | undefined;
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";
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";
1056
1056
  } | {
1057
1057
  type: "json";
1058
1058
  schema?: any;
@@ -1117,12 +1117,12 @@ declare const FirecrawlParamsSchema: z.ZodDiscriminatedUnion<"operation", [z.Zod
1117
1117
  languages?: string[] | undefined;
1118
1118
  }>>;
1119
1119
  }, "strip", z.ZodTypeAny, {
1120
- operation: "map";
1121
1120
  url: string;
1122
- search?: string | undefined;
1121
+ operation: "map";
1123
1122
  credentials?: Partial<Record<CredentialType, string>> | undefined;
1124
- maxRetries?: number | undefined;
1125
1123
  timeout?: number | undefined;
1124
+ search?: string | undefined;
1125
+ maxRetries?: number | undefined;
1126
1126
  limit?: number | undefined;
1127
1127
  location?: {
1128
1128
  country?: string | undefined;
@@ -1133,12 +1133,12 @@ declare const FirecrawlParamsSchema: z.ZodDiscriminatedUnion<"operation", [z.Zod
1133
1133
  sitemap?: "include" | "only" | "skip" | undefined;
1134
1134
  includeSubdomains?: boolean | undefined;
1135
1135
  }, {
1136
- operation: "map";
1137
1136
  url: string;
1138
- search?: string | undefined;
1137
+ operation: "map";
1139
1138
  credentials?: Partial<Record<CredentialType, string>> | undefined;
1140
- maxRetries?: number | undefined;
1141
1139
  timeout?: number | undefined;
1140
+ search?: string | undefined;
1141
+ maxRetries?: number | undefined;
1142
1142
  limit?: number | undefined;
1143
1143
  location?: {
1144
1144
  country?: 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: "images" | "summary" | "html" | "json" | "screenshot" | "markdown" | "rawHtml" | "links" | "attributes" | "changeTracking" | "branding";
1190
+ type: "json" | "images" | "summary" | "html" | "screenshot" | "markdown" | "rawHtml" | "links" | "attributes" | "changeTracking" | "branding";
1191
1191
  }, {
1192
- type: "images" | "summary" | "html" | "json" | "screenshot" | "markdown" | "rawHtml" | "links" | "attributes" | "changeTracking" | "branding";
1192
+ type: "json" | "images" | "summary" | "html" | "screenshot" | "markdown" | "rawHtml" | "links" | "attributes" | "changeTracking" | "branding";
1193
1193
  }>, z.ZodObject<{
1194
1194
  type: z.ZodLiteral<"json">;
1195
1195
  prompt: z.ZodOptional<z.ZodString>;
@@ -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
- type: "executeJavascript";
1387
1386
  script: string;
1388
- }, {
1389
1387
  type: "executeJavascript";
1388
+ }, {
1390
1389
  script: string;
1390
+ type: "executeJavascript";
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: ("images" | "summary" | "html" | "json" | "screenshot" | "markdown" | "rawHtml" | "links" | "attributes" | "changeTracking" | "branding" | {
1429
- type: "images" | "summary" | "html" | "json" | "screenshot" | "markdown" | "rawHtml" | "links" | "attributes" | "changeTracking" | "branding";
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";
1430
1430
  } | {
1431
1431
  type: "json";
1432
1432
  schema?: any;
@@ -1455,7 +1455,6 @@ declare const FirecrawlParamsSchema: z.ZodDiscriminatedUnion<"operation", [z.Zod
1455
1455
  onlyMainContent: boolean;
1456
1456
  waitFor: number;
1457
1457
  maxAge: number;
1458
- mobile?: boolean | undefined;
1459
1458
  headers?: Record<string, string> | undefined;
1460
1459
  includeTags?: string[] | undefined;
1461
1460
  excludeTags?: string[] | undefined;
@@ -1487,14 +1486,15 @@ declare const FirecrawlParamsSchema: z.ZodDiscriminatedUnion<"operation", [z.Zod
1487
1486
  } | {
1488
1487
  type: "scrape";
1489
1488
  } | {
1490
- type: "executeJavascript";
1491
1489
  script: string;
1490
+ type: "executeJavascript";
1492
1491
  } | {
1493
1492
  type: "pdf";
1494
1493
  format?: "A0" | "A1" | "A2" | "A3" | "A4" | "A5" | "A6" | "Letter" | "Legal" | "Tabloid" | "Ledger" | undefined;
1495
1494
  scale?: number | undefined;
1496
1495
  landscape?: boolean | undefined;
1497
1496
  })[] | undefined;
1497
+ mobile?: boolean | undefined;
1498
1498
  location?: {
1499
1499
  country?: string | undefined;
1500
1500
  languages?: string[] | undefined;
@@ -1512,7 +1512,6 @@ declare const FirecrawlParamsSchema: z.ZodDiscriminatedUnion<"operation", [z.Zod
1512
1512
  proxy?: string | undefined;
1513
1513
  storeInCache?: boolean | undefined;
1514
1514
  }, {
1515
- mobile?: boolean | undefined;
1516
1515
  timeout?: number | undefined;
1517
1516
  headers?: Record<string, string> | undefined;
1518
1517
  includeTags?: string[] | undefined;
@@ -1545,21 +1544,22 @@ declare const FirecrawlParamsSchema: z.ZodDiscriminatedUnion<"operation", [z.Zod
1545
1544
  } | {
1546
1545
  type: "scrape";
1547
1546
  } | {
1548
- type: "executeJavascript";
1549
1547
  script: string;
1548
+ type: "executeJavascript";
1550
1549
  } | {
1551
1550
  type: "pdf";
1552
1551
  format?: "A0" | "A1" | "A2" | "A3" | "A4" | "A5" | "A6" | "Letter" | "Legal" | "Tabloid" | "Ledger" | undefined;
1553
1552
  scale?: number | undefined;
1554
1553
  landscape?: boolean | undefined;
1555
1554
  })[] | undefined;
1555
+ mobile?: boolean | undefined;
1556
1556
  location?: {
1557
1557
  country?: string | undefined;
1558
1558
  languages?: string[] | undefined;
1559
1559
  } | undefined;
1560
1560
  integration?: string | undefined;
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";
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";
1563
1563
  } | {
1564
1564
  type: "json";
1565
1565
  schema?: any;
@@ -1605,12 +1605,12 @@ declare const FirecrawlParamsSchema: z.ZodDiscriminatedUnion<"operation", [z.Zod
1605
1605
  pollInterval: z.ZodOptional<z.ZodNumber>;
1606
1606
  timeout: z.ZodOptional<z.ZodNumber>;
1607
1607
  }, "strip", z.ZodTypeAny, {
1608
- operation: "crawl";
1609
1608
  url: string;
1609
+ operation: "crawl";
1610
1610
  credentials?: Partial<Record<CredentialType, string>> | undefined;
1611
- maxRetries?: number | undefined;
1612
- timeout?: number | undefined;
1613
1611
  maxConcurrency?: number | undefined;
1612
+ timeout?: number | undefined;
1613
+ maxRetries?: number | undefined;
1614
1614
  prompt?: string | undefined;
1615
1615
  limit?: number | undefined;
1616
1616
  webhook?: string | {
@@ -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: ("images" | "summary" | "html" | "json" | "screenshot" | "markdown" | "rawHtml" | "links" | "attributes" | "changeTracking" | "branding" | {
1627
- type: "images" | "summary" | "html" | "json" | "screenshot" | "markdown" | "rawHtml" | "links" | "attributes" | "changeTracking" | "branding";
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";
1628
1628
  } | {
1629
1629
  type: "json";
1630
1630
  schema?: any;
@@ -1653,7 +1653,6 @@ declare const FirecrawlParamsSchema: z.ZodDiscriminatedUnion<"operation", [z.Zod
1653
1653
  onlyMainContent: boolean;
1654
1654
  waitFor: number;
1655
1655
  maxAge: number;
1656
- mobile?: boolean | undefined;
1657
1656
  headers?: Record<string, string> | undefined;
1658
1657
  includeTags?: string[] | undefined;
1659
1658
  excludeTags?: string[] | undefined;
@@ -1685,14 +1684,15 @@ declare const FirecrawlParamsSchema: z.ZodDiscriminatedUnion<"operation", [z.Zod
1685
1684
  } | {
1686
1685
  type: "scrape";
1687
1686
  } | {
1688
- type: "executeJavascript";
1689
1687
  script: string;
1688
+ type: "executeJavascript";
1690
1689
  } | {
1691
1690
  type: "pdf";
1692
1691
  format?: "A0" | "A1" | "A2" | "A3" | "A4" | "A5" | "A6" | "Letter" | "Legal" | "Tabloid" | "Ledger" | undefined;
1693
1692
  scale?: number | undefined;
1694
1693
  landscape?: boolean | undefined;
1695
1694
  })[] | undefined;
1695
+ mobile?: boolean | undefined;
1696
1696
  location?: {
1697
1697
  country?: string | undefined;
1698
1698
  languages?: string[] | undefined;
@@ -1722,12 +1722,12 @@ declare const FirecrawlParamsSchema: z.ZodDiscriminatedUnion<"operation", [z.Zod
1722
1722
  zeroDataRetention?: boolean | undefined;
1723
1723
  pollInterval?: number | undefined;
1724
1724
  }, {
1725
- operation: "crawl";
1726
1725
  url: string;
1726
+ operation: "crawl";
1727
1727
  credentials?: Partial<Record<CredentialType, string>> | undefined;
1728
- maxRetries?: number | undefined;
1729
- timeout?: number | undefined;
1730
1728
  maxConcurrency?: number | undefined;
1729
+ timeout?: number | undefined;
1730
+ maxRetries?: number | undefined;
1731
1731
  prompt?: string | undefined;
1732
1732
  limit?: number | undefined;
1733
1733
  webhook?: string | {
@@ -1739,7 +1739,6 @@ declare const FirecrawlParamsSchema: z.ZodDiscriminatedUnion<"operation", [z.Zod
1739
1739
  integration?: string | undefined;
1740
1740
  backoffFactor?: number | undefined;
1741
1741
  scrapeOptions?: {
1742
- mobile?: boolean | undefined;
1743
1742
  timeout?: number | undefined;
1744
1743
  headers?: Record<string, string> | undefined;
1745
1744
  includeTags?: string[] | undefined;
@@ -1772,21 +1771,22 @@ declare const FirecrawlParamsSchema: z.ZodDiscriminatedUnion<"operation", [z.Zod
1772
1771
  } | {
1773
1772
  type: "scrape";
1774
1773
  } | {
1775
- type: "executeJavascript";
1776
1774
  script: string;
1775
+ type: "executeJavascript";
1777
1776
  } | {
1778
1777
  type: "pdf";
1779
1778
  format?: "A0" | "A1" | "A2" | "A3" | "A4" | "A5" | "A6" | "Letter" | "Legal" | "Tabloid" | "Ledger" | undefined;
1780
1779
  scale?: number | undefined;
1781
1780
  landscape?: boolean | undefined;
1782
1781
  })[] | undefined;
1782
+ mobile?: boolean | undefined;
1783
1783
  location?: {
1784
1784
  country?: string | undefined;
1785
1785
  languages?: string[] | undefined;
1786
1786
  } | undefined;
1787
1787
  integration?: string | undefined;
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";
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";
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: "images" | "summary" | "html" | "json" | "screenshot" | "markdown" | "rawHtml" | "links" | "attributes" | "changeTracking" | "branding";
1858
+ type: "json" | "images" | "summary" | "html" | "screenshot" | "markdown" | "rawHtml" | "links" | "attributes" | "changeTracking" | "branding";
1859
1859
  }, {
1860
- type: "images" | "summary" | "html" | "json" | "screenshot" | "markdown" | "rawHtml" | "links" | "attributes" | "changeTracking" | "branding";
1860
+ type: "json" | "images" | "summary" | "html" | "screenshot" | "markdown" | "rawHtml" | "links" | "attributes" | "changeTracking" | "branding";
1861
1861
  }>, z.ZodObject<{
1862
1862
  type: z.ZodLiteral<"json">;
1863
1863
  prompt: z.ZodOptional<z.ZodString>;
@@ -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
- type: "executeJavascript";
2055
2054
  script: string;
2056
- }, {
2057
2055
  type: "executeJavascript";
2056
+ }, {
2058
2057
  script: string;
2058
+ type: "executeJavascript";
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: ("images" | "summary" | "html" | "json" | "screenshot" | "markdown" | "rawHtml" | "links" | "attributes" | "changeTracking" | "branding" | {
2097
- type: "images" | "summary" | "html" | "json" | "screenshot" | "markdown" | "rawHtml" | "links" | "attributes" | "changeTracking" | "branding";
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";
2098
2098
  } | {
2099
2099
  type: "json";
2100
2100
  schema?: any;
@@ -2123,7 +2123,6 @@ declare const FirecrawlParamsSchema: z.ZodDiscriminatedUnion<"operation", [z.Zod
2123
2123
  onlyMainContent: boolean;
2124
2124
  waitFor: number;
2125
2125
  maxAge: number;
2126
- mobile?: boolean | undefined;
2127
2126
  headers?: Record<string, string> | undefined;
2128
2127
  includeTags?: string[] | undefined;
2129
2128
  excludeTags?: string[] | undefined;
@@ -2155,14 +2154,15 @@ declare const FirecrawlParamsSchema: z.ZodDiscriminatedUnion<"operation", [z.Zod
2155
2154
  } | {
2156
2155
  type: "scrape";
2157
2156
  } | {
2158
- type: "executeJavascript";
2159
2157
  script: string;
2158
+ type: "executeJavascript";
2160
2159
  } | {
2161
2160
  type: "pdf";
2162
2161
  format?: "A0" | "A1" | "A2" | "A3" | "A4" | "A5" | "A6" | "Letter" | "Legal" | "Tabloid" | "Ledger" | undefined;
2163
2162
  scale?: number | undefined;
2164
2163
  landscape?: boolean | undefined;
2165
2164
  })[] | undefined;
2165
+ mobile?: boolean | undefined;
2166
2166
  location?: {
2167
2167
  country?: string | undefined;
2168
2168
  languages?: string[] | undefined;
@@ -2180,7 +2180,6 @@ declare const FirecrawlParamsSchema: z.ZodDiscriminatedUnion<"operation", [z.Zod
2180
2180
  proxy?: string | undefined;
2181
2181
  storeInCache?: boolean | undefined;
2182
2182
  }, {
2183
- mobile?: boolean | undefined;
2184
2183
  timeout?: number | undefined;
2185
2184
  headers?: Record<string, string> | undefined;
2186
2185
  includeTags?: string[] | undefined;
@@ -2213,21 +2212,22 @@ declare const FirecrawlParamsSchema: z.ZodDiscriminatedUnion<"operation", [z.Zod
2213
2212
  } | {
2214
2213
  type: "scrape";
2215
2214
  } | {
2216
- type: "executeJavascript";
2217
2215
  script: string;
2216
+ type: "executeJavascript";
2218
2217
  } | {
2219
2218
  type: "pdf";
2220
2219
  format?: "A0" | "A1" | "A2" | "A3" | "A4" | "A5" | "A6" | "Letter" | "Legal" | "Tabloid" | "Ledger" | undefined;
2221
2220
  scale?: number | undefined;
2222
2221
  landscape?: boolean | undefined;
2223
2222
  })[] | undefined;
2223
+ mobile?: boolean | undefined;
2224
2224
  location?: {
2225
2225
  country?: string | undefined;
2226
2226
  languages?: string[] | undefined;
2227
2227
  } | undefined;
2228
2228
  integration?: string | undefined;
2229
- formats?: ("images" | "summary" | "html" | "json" | "screenshot" | "markdown" | "rawHtml" | "links" | "attributes" | "changeTracking" | "branding" | {
2230
- type: "images" | "summary" | "html" | "json" | "screenshot" | "markdown" | "rawHtml" | "links" | "attributes" | "changeTracking" | "branding";
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";
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
- schema?: any;
2286
2285
  credentials?: Partial<Record<CredentialType, string>> | undefined;
2286
+ timeout?: number | undefined;
2287
+ schema?: any;
2287
2288
  systemPrompt?: string | undefined;
2288
2289
  maxRetries?: number | undefined;
2289
2290
  agent?: {
2290
2291
  model: "FIRE-1";
2291
2292
  } | 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: ("images" | "summary" | "html" | "json" | "screenshot" | "markdown" | "rawHtml" | "links" | "attributes" | "changeTracking" | "branding" | {
2300
- type: "images" | "summary" | "html" | "json" | "screenshot" | "markdown" | "rawHtml" | "links" | "attributes" | "changeTracking" | "branding";
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";
2301
2301
  } | {
2302
2302
  type: "json";
2303
2303
  schema?: any;
@@ -2326,7 +2326,6 @@ declare const FirecrawlParamsSchema: z.ZodDiscriminatedUnion<"operation", [z.Zod
2326
2326
  onlyMainContent: boolean;
2327
2327
  waitFor: number;
2328
2328
  maxAge: number;
2329
- mobile?: boolean | undefined;
2330
2329
  headers?: Record<string, string> | undefined;
2331
2330
  includeTags?: string[] | undefined;
2332
2331
  excludeTags?: string[] | undefined;
@@ -2358,14 +2357,15 @@ declare const FirecrawlParamsSchema: z.ZodDiscriminatedUnion<"operation", [z.Zod
2358
2357
  } | {
2359
2358
  type: "scrape";
2360
2359
  } | {
2361
- type: "executeJavascript";
2362
2360
  script: string;
2361
+ type: "executeJavascript";
2363
2362
  } | {
2364
2363
  type: "pdf";
2365
2364
  format?: "A0" | "A1" | "A2" | "A3" | "A4" | "A5" | "A6" | "Letter" | "Legal" | "Tabloid" | "Ledger" | undefined;
2366
2365
  scale?: number | undefined;
2367
2366
  landscape?: boolean | undefined;
2368
2367
  })[] | undefined;
2368
+ mobile?: boolean | undefined;
2369
2369
  location?: {
2370
2370
  country?: string | undefined;
2371
2371
  languages?: string[] | undefined;
@@ -2390,20 +2390,19 @@ declare const FirecrawlParamsSchema: z.ZodDiscriminatedUnion<"operation", [z.Zod
2390
2390
  }, {
2391
2391
  operation: "extract";
2392
2392
  urls: string[];
2393
- schema?: any;
2394
2393
  credentials?: Partial<Record<CredentialType, string>> | undefined;
2394
+ timeout?: number | undefined;
2395
+ schema?: any;
2395
2396
  systemPrompt?: string | undefined;
2396
2397
  maxRetries?: number | undefined;
2397
2398
  agent?: {
2398
2399
  model: "FIRE-1";
2399
2400
  } | undefined;
2400
- timeout?: number | undefined;
2401
2401
  prompt?: string | undefined;
2402
2402
  integration?: string | undefined;
2403
2403
  backoffFactor?: number | undefined;
2404
2404
  ignoreInvalidURLs?: boolean | undefined;
2405
2405
  scrapeOptions?: {
2406
- mobile?: boolean | undefined;
2407
2406
  timeout?: number | undefined;
2408
2407
  headers?: Record<string, string> | undefined;
2409
2408
  includeTags?: string[] | undefined;
@@ -2436,21 +2435,22 @@ declare const FirecrawlParamsSchema: z.ZodDiscriminatedUnion<"operation", [z.Zod
2436
2435
  } | {
2437
2436
  type: "scrape";
2438
2437
  } | {
2439
- type: "executeJavascript";
2440
2438
  script: string;
2439
+ type: "executeJavascript";
2441
2440
  } | {
2442
2441
  type: "pdf";
2443
2442
  format?: "A0" | "A1" | "A2" | "A3" | "A4" | "A5" | "A6" | "Letter" | "Legal" | "Tabloid" | "Ledger" | undefined;
2444
2443
  scale?: number | undefined;
2445
2444
  landscape?: boolean | undefined;
2446
2445
  })[] | undefined;
2446
+ mobile?: boolean | undefined;
2447
2447
  location?: {
2448
2448
  country?: string | undefined;
2449
2449
  languages?: string[] | undefined;
2450
2450
  } | undefined;
2451
2451
  integration?: string | undefined;
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";
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";
2454
2454
  } | {
2455
2455
  type: "json";
2456
2456
  schema?: any;
@@ -3951,9 +3951,10 @@ declare const FirecrawlResultSchema: z.ZodDiscriminatedUnion<"operation", [z.Zod
3951
3951
  } & {
3952
3952
  operation: z.ZodLiteral<"scrape">;
3953
3953
  }, "strip", z.ZodTypeAny, {
3954
- operation: "scrape";
3955
- success: boolean;
3956
3954
  error: string;
3955
+ success: boolean;
3956
+ operation: "scrape";
3957
+ json?: unknown;
3957
3958
  metadata?: z.objectOutputType<{
3958
3959
  title: z.ZodOptional<z.ZodString>;
3959
3960
  description: z.ZodOptional<z.ZodString>;
@@ -4000,7 +4001,6 @@ declare const FirecrawlResultSchema: z.ZodDiscriminatedUnion<"operation", [z.Zod
4000
4001
  images?: string[] | undefined;
4001
4002
  summary?: string | undefined;
4002
4003
  html?: string | undefined;
4003
- json?: unknown;
4004
4004
  actions?: Record<string, unknown> | undefined;
4005
4005
  screenshot?: string | undefined;
4006
4006
  warning?: string | undefined;
@@ -4447,9 +4447,10 @@ declare const FirecrawlResultSchema: z.ZodDiscriminatedUnion<"operation", [z.Zod
4447
4447
  }>>;
4448
4448
  }, z.ZodUnknown, "strip"> | undefined;
4449
4449
  }, {
4450
- operation: "scrape";
4451
- success: boolean;
4452
4450
  error: string;
4451
+ success: boolean;
4452
+ operation: "scrape";
4453
+ json?: unknown;
4453
4454
  metadata?: z.objectInputType<{
4454
4455
  title: z.ZodOptional<z.ZodString>;
4455
4456
  description: z.ZodOptional<z.ZodString>;
@@ -4496,7 +4497,6 @@ declare const FirecrawlResultSchema: z.ZodDiscriminatedUnion<"operation", [z.Zod
4496
4497
  images?: string[] | undefined;
4497
4498
  summary?: string | undefined;
4498
4499
  html?: string | undefined;
4499
- json?: unknown;
4500
4500
  actions?: Record<string, unknown> | undefined;
4501
4501
  screenshot?: string | undefined;
4502
4502
  warning?: string | undefined;
@@ -6412,6 +6412,7 @@ declare const FirecrawlResultSchema: z.ZodDiscriminatedUnion<"operation", [z.Zod
6412
6412
  }>>;
6413
6413
  }, z.ZodUnknown, "strip">>>;
6414
6414
  }, "strip", z.ZodTypeAny, {
6415
+ json?: unknown;
6415
6416
  metadata?: z.objectOutputType<{
6416
6417
  title: z.ZodOptional<z.ZodString>;
6417
6418
  description: z.ZodOptional<z.ZodString>;
@@ -6458,7 +6459,6 @@ declare const FirecrawlResultSchema: z.ZodDiscriminatedUnion<"operation", [z.Zod
6458
6459
  images?: string[] | undefined;
6459
6460
  summary?: string | undefined;
6460
6461
  html?: string | undefined;
6461
- json?: unknown;
6462
6462
  actions?: Record<string, unknown> | undefined;
6463
6463
  screenshot?: string | undefined;
6464
6464
  warning?: string | undefined;
@@ -6905,6 +6905,7 @@ declare const FirecrawlResultSchema: z.ZodDiscriminatedUnion<"operation", [z.Zod
6905
6905
  }>>;
6906
6906
  }, z.ZodUnknown, "strip"> | undefined;
6907
6907
  }, {
6908
+ json?: unknown;
6908
6909
  metadata?: z.objectInputType<{
6909
6910
  title: z.ZodOptional<z.ZodString>;
6910
6911
  description: z.ZodOptional<z.ZodString>;
@@ -6951,7 +6952,6 @@ declare const FirecrawlResultSchema: z.ZodDiscriminatedUnion<"operation", [z.Zod
6951
6952
  images?: string[] | undefined;
6952
6953
  summary?: string | undefined;
6953
6954
  html?: string | undefined;
6954
- json?: unknown;
6955
6955
  actions?: Record<string, unknown> | undefined;
6956
6956
  screenshot?: string | undefined;
6957
6957
  warning?: string | undefined;
@@ -8872,6 +8872,7 @@ declare const FirecrawlResultSchema: z.ZodDiscriminatedUnion<"operation", [z.Zod
8872
8872
  }>>;
8873
8873
  }, z.ZodUnknown, "strip">>>;
8874
8874
  }, "strip", z.ZodTypeAny, {
8875
+ json?: unknown;
8875
8876
  metadata?: z.objectOutputType<{
8876
8877
  title: z.ZodOptional<z.ZodString>;
8877
8878
  description: z.ZodOptional<z.ZodString>;
@@ -8918,7 +8919,6 @@ declare const FirecrawlResultSchema: z.ZodDiscriminatedUnion<"operation", [z.Zod
8918
8919
  images?: string[] | undefined;
8919
8920
  summary?: string | undefined;
8920
8921
  html?: string | undefined;
8921
- json?: unknown;
8922
8922
  actions?: Record<string, unknown> | undefined;
8923
8923
  screenshot?: string | undefined;
8924
8924
  warning?: string | undefined;
@@ -9365,6 +9365,7 @@ declare const FirecrawlResultSchema: z.ZodDiscriminatedUnion<"operation", [z.Zod
9365
9365
  }>>;
9366
9366
  }, z.ZodUnknown, "strip"> | undefined;
9367
9367
  }, {
9368
+ json?: unknown;
9368
9369
  metadata?: z.objectInputType<{
9369
9370
  title: z.ZodOptional<z.ZodString>;
9370
9371
  description: z.ZodOptional<z.ZodString>;
@@ -9411,7 +9412,6 @@ declare const FirecrawlResultSchema: z.ZodDiscriminatedUnion<"operation", [z.Zod
9411
9412
  images?: string[] | undefined;
9412
9413
  summary?: string | undefined;
9413
9414
  html?: string | undefined;
9414
- json?: unknown;
9415
9415
  actions?: Record<string, unknown> | undefined;
9416
9416
  screenshot?: string | undefined;
9417
9417
  warning?: string | undefined;
@@ -11329,6 +11329,7 @@ declare const FirecrawlResultSchema: z.ZodDiscriminatedUnion<"operation", [z.Zod
11329
11329
  }>>;
11330
11330
  }, z.ZodUnknown, "strip">>>;
11331
11331
  }, "strip", z.ZodTypeAny, {
11332
+ json?: unknown;
11332
11333
  metadata?: z.objectOutputType<{
11333
11334
  title: z.ZodOptional<z.ZodString>;
11334
11335
  description: z.ZodOptional<z.ZodString>;
@@ -11375,7 +11376,6 @@ declare const FirecrawlResultSchema: z.ZodDiscriminatedUnion<"operation", [z.Zod
11375
11376
  images?: string[] | undefined;
11376
11377
  summary?: string | undefined;
11377
11378
  html?: string | undefined;
11378
- json?: unknown;
11379
11379
  actions?: Record<string, unknown> | undefined;
11380
11380
  screenshot?: string | undefined;
11381
11381
  warning?: string | undefined;
@@ -11822,6 +11822,7 @@ declare const FirecrawlResultSchema: z.ZodDiscriminatedUnion<"operation", [z.Zod
11822
11822
  }>>;
11823
11823
  }, z.ZodUnknown, "strip"> | undefined;
11824
11824
  }, {
11825
+ json?: unknown;
11825
11826
  metadata?: z.objectInputType<{
11826
11827
  title: z.ZodOptional<z.ZodString>;
11827
11828
  description: z.ZodOptional<z.ZodString>;
@@ -11868,7 +11869,6 @@ declare const FirecrawlResultSchema: z.ZodDiscriminatedUnion<"operation", [z.Zod
11868
11869
  images?: string[] | undefined;
11869
11870
  summary?: string | undefined;
11870
11871
  html?: string | undefined;
11871
- json?: unknown;
11872
11872
  actions?: Record<string, unknown> | undefined;
11873
11873
  screenshot?: string | undefined;
11874
11874
  warning?: string | undefined;
@@ -12317,10 +12317,11 @@ declare const FirecrawlResultSchema: z.ZodDiscriminatedUnion<"operation", [z.Zod
12317
12317
  }>]>, "many">>;
12318
12318
  other: z.ZodOptional<z.ZodArray<z.ZodUnknown, "many">>;
12319
12319
  }, "strip", z.ZodTypeAny, {
12320
- operation: "search";
12321
- success: boolean;
12322
12320
  error: string;
12321
+ success: boolean;
12322
+ operation: "search";
12323
12323
  images?: ({
12324
+ json?: unknown;
12324
12325
  metadata?: z.objectOutputType<{
12325
12326
  title: z.ZodOptional<z.ZodString>;
12326
12327
  description: z.ZodOptional<z.ZodString>;
@@ -12367,7 +12368,6 @@ declare const FirecrawlResultSchema: z.ZodDiscriminatedUnion<"operation", [z.Zod
12367
12368
  images?: string[] | undefined;
12368
12369
  summary?: string | undefined;
12369
12370
  html?: string | undefined;
12370
- json?: unknown;
12371
12371
  actions?: Record<string, unknown> | undefined;
12372
12372
  screenshot?: string | undefined;
12373
12373
  warning?: string | undefined;
@@ -12822,6 +12822,7 @@ declare const FirecrawlResultSchema: z.ZodDiscriminatedUnion<"operation", [z.Zod
12822
12822
  imageHeight?: number | undefined;
12823
12823
  })[] | undefined;
12824
12824
  web?: ({
12825
+ json?: unknown;
12825
12826
  metadata?: z.objectOutputType<{
12826
12827
  title: z.ZodOptional<z.ZodString>;
12827
12828
  description: z.ZodOptional<z.ZodString>;
@@ -12868,7 +12869,6 @@ declare const FirecrawlResultSchema: z.ZodDiscriminatedUnion<"operation", [z.Zod
12868
12869
  images?: string[] | undefined;
12869
12870
  summary?: string | undefined;
12870
12871
  html?: string | undefined;
12871
- json?: unknown;
12872
12872
  actions?: Record<string, unknown> | undefined;
12873
12873
  screenshot?: string | undefined;
12874
12874
  warning?: string | undefined;
@@ -13321,6 +13321,7 @@ declare const FirecrawlResultSchema: z.ZodDiscriminatedUnion<"operation", [z.Zod
13321
13321
  category?: string | undefined;
13322
13322
  })[] | undefined;
13323
13323
  news?: ({
13324
+ json?: unknown;
13324
13325
  metadata?: z.objectOutputType<{
13325
13326
  title: z.ZodOptional<z.ZodString>;
13326
13327
  description: z.ZodOptional<z.ZodString>;
@@ -13367,7 +13368,6 @@ declare const FirecrawlResultSchema: z.ZodDiscriminatedUnion<"operation", [z.Zod
13367
13368
  images?: string[] | undefined;
13368
13369
  summary?: string | undefined;
13369
13370
  html?: string | undefined;
13370
- json?: unknown;
13371
13371
  actions?: Record<string, unknown> | undefined;
13372
13372
  screenshot?: string | undefined;
13373
13373
  warning?: string | undefined;
@@ -13824,10 +13824,11 @@ declare const FirecrawlResultSchema: z.ZodDiscriminatedUnion<"operation", [z.Zod
13824
13824
  })[] | undefined;
13825
13825
  other?: unknown[] | undefined;
13826
13826
  }, {
13827
- operation: "search";
13828
- success: boolean;
13829
13827
  error: string;
13828
+ success: boolean;
13829
+ operation: "search";
13830
13830
  images?: ({
13831
+ json?: unknown;
13831
13832
  metadata?: z.objectInputType<{
13832
13833
  title: z.ZodOptional<z.ZodString>;
13833
13834
  description: z.ZodOptional<z.ZodString>;
@@ -13874,7 +13875,6 @@ declare const FirecrawlResultSchema: z.ZodDiscriminatedUnion<"operation", [z.Zod
13874
13875
  images?: string[] | undefined;
13875
13876
  summary?: string | undefined;
13876
13877
  html?: string | undefined;
13877
- json?: unknown;
13878
13878
  actions?: Record<string, unknown> | undefined;
13879
13879
  screenshot?: string | undefined;
13880
13880
  warning?: string | undefined;
@@ -14329,6 +14329,7 @@ declare const FirecrawlResultSchema: z.ZodDiscriminatedUnion<"operation", [z.Zod
14329
14329
  imageHeight?: number | undefined;
14330
14330
  })[] | undefined;
14331
14331
  web?: ({
14332
+ json?: unknown;
14332
14333
  metadata?: z.objectInputType<{
14333
14334
  title: z.ZodOptional<z.ZodString>;
14334
14335
  description: z.ZodOptional<z.ZodString>;
@@ -14375,7 +14376,6 @@ declare const FirecrawlResultSchema: z.ZodDiscriminatedUnion<"operation", [z.Zod
14375
14376
  images?: string[] | undefined;
14376
14377
  summary?: string | undefined;
14377
14378
  html?: string | undefined;
14378
- json?: unknown;
14379
14379
  actions?: Record<string, unknown> | undefined;
14380
14380
  screenshot?: string | undefined;
14381
14381
  warning?: string | undefined;
@@ -14828,6 +14828,7 @@ declare const FirecrawlResultSchema: z.ZodDiscriminatedUnion<"operation", [z.Zod
14828
14828
  category?: string | undefined;
14829
14829
  })[] | undefined;
14830
14830
  news?: ({
14831
+ json?: unknown;
14831
14832
  metadata?: z.objectInputType<{
14832
14833
  title: z.ZodOptional<z.ZodString>;
14833
14834
  description: z.ZodOptional<z.ZodString>;
@@ -14874,7 +14875,6 @@ declare const FirecrawlResultSchema: z.ZodDiscriminatedUnion<"operation", [z.Zod
14874
14875
  images?: string[] | undefined;
14875
14876
  summary?: string | undefined;
14876
14877
  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
- operation: "map";
15356
- success: boolean;
15357
15355
  error: string;
15356
+ success: boolean;
15357
+ operation: "map";
15358
15358
  links: {
15359
15359
  url: string;
15360
15360
  description?: string | undefined;
@@ -15362,9 +15362,9 @@ declare const FirecrawlResultSchema: z.ZodDiscriminatedUnion<"operation", [z.Zod
15362
15362
  category?: string | undefined;
15363
15363
  }[];
15364
15364
  }, {
15365
- operation: "map";
15366
- success: boolean;
15367
15365
  error: string;
15366
+ success: boolean;
15367
+ operation: "map";
15368
15368
  links: {
15369
15369
  url: string;
15370
15370
  description?: string | undefined;
@@ -16831,6 +16831,7 @@ declare const FirecrawlResultSchema: z.ZodDiscriminatedUnion<"operation", [z.Zod
16831
16831
  }>>;
16832
16832
  }, z.ZodUnknown, "strip">>>;
16833
16833
  }, "strip", z.ZodTypeAny, {
16834
+ json?: unknown;
16834
16835
  metadata?: z.objectOutputType<{
16835
16836
  title: z.ZodOptional<z.ZodString>;
16836
16837
  description: z.ZodOptional<z.ZodString>;
@@ -16877,7 +16878,6 @@ declare const FirecrawlResultSchema: z.ZodDiscriminatedUnion<"operation", [z.Zod
16877
16878
  images?: string[] | undefined;
16878
16879
  summary?: string | undefined;
16879
16880
  html?: string | undefined;
16880
- json?: unknown;
16881
16881
  actions?: Record<string, unknown> | undefined;
16882
16882
  screenshot?: string | undefined;
16883
16883
  warning?: string | undefined;
@@ -17324,6 +17324,7 @@ declare const FirecrawlResultSchema: z.ZodDiscriminatedUnion<"operation", [z.Zod
17324
17324
  }>>;
17325
17325
  }, z.ZodUnknown, "strip"> | undefined;
17326
17326
  }, {
17327
+ json?: unknown;
17327
17328
  metadata?: z.objectInputType<{
17328
17329
  title: z.ZodOptional<z.ZodString>;
17329
17330
  description: z.ZodOptional<z.ZodString>;
@@ -17370,7 +17371,6 @@ declare const FirecrawlResultSchema: z.ZodDiscriminatedUnion<"operation", [z.Zod
17370
17371
  images?: string[] | undefined;
17371
17372
  summary?: string | undefined;
17372
17373
  html?: string | undefined;
17373
- json?: unknown;
17374
17374
  actions?: Record<string, unknown> | undefined;
17375
17375
  screenshot?: string | undefined;
17376
17376
  warning?: string | undefined;
@@ -17818,11 +17818,11 @@ declare const FirecrawlResultSchema: z.ZodDiscriminatedUnion<"operation", [z.Zod
17818
17818
  }, z.ZodUnknown, "strip"> | undefined;
17819
17819
  }>, "many">;
17820
17820
  }, "strip", z.ZodTypeAny, {
17821
- operation: "crawl";
17822
17821
  status: "failed" | "completed" | "scraping" | "cancelled";
17823
- success: boolean;
17824
17822
  error: string;
17823
+ success: boolean;
17825
17824
  data: {
17825
+ json?: unknown;
17826
17826
  metadata?: z.objectOutputType<{
17827
17827
  title: z.ZodOptional<z.ZodString>;
17828
17828
  description: z.ZodOptional<z.ZodString>;
@@ -17869,7 +17869,6 @@ declare const FirecrawlResultSchema: z.ZodDiscriminatedUnion<"operation", [z.Zod
17869
17869
  images?: string[] | undefined;
17870
17870
  summary?: string | undefined;
17871
17871
  html?: string | undefined;
17872
- json?: unknown;
17873
17872
  actions?: Record<string, unknown> | undefined;
17874
17873
  screenshot?: string | undefined;
17875
17874
  warning?: string | undefined;
@@ -18316,16 +18315,17 @@ declare const FirecrawlResultSchema: z.ZodDiscriminatedUnion<"operation", [z.Zod
18316
18315
  }>>;
18317
18316
  }, z.ZodUnknown, "strip"> | undefined;
18318
18317
  }[];
18318
+ operation: "crawl";
18319
18319
  completed: number;
18320
18320
  total: number;
18321
18321
  creditsUsed?: number | undefined;
18322
18322
  expiresAt?: string | undefined;
18323
18323
  }, {
18324
- operation: "crawl";
18325
18324
  status: "failed" | "completed" | "scraping" | "cancelled";
18326
- success: boolean;
18327
18325
  error: string;
18326
+ success: boolean;
18328
18327
  data: {
18328
+ json?: unknown;
18329
18329
  metadata?: z.objectInputType<{
18330
18330
  title: z.ZodOptional<z.ZodString>;
18331
18331
  description: z.ZodOptional<z.ZodString>;
@@ -18372,7 +18372,6 @@ declare const FirecrawlResultSchema: z.ZodDiscriminatedUnion<"operation", [z.Zod
18372
18372
  images?: string[] | undefined;
18373
18373
  summary?: string | undefined;
18374
18374
  html?: string | undefined;
18375
- json?: unknown;
18376
18375
  actions?: Record<string, unknown> | undefined;
18377
18376
  screenshot?: string | undefined;
18378
18377
  warning?: string | undefined;
@@ -18819,6 +18818,7 @@ declare const FirecrawlResultSchema: z.ZodDiscriminatedUnion<"operation", [z.Zod
18819
18818
  }>>;
18820
18819
  }, z.ZodUnknown, "strip"> | undefined;
18821
18820
  }[];
18821
+ operation: "crawl";
18822
18822
  completed: number;
18823
18823
  total: number;
18824
18824
  creditsUsed?: number | undefined;
@@ -18835,22 +18835,22 @@ declare const FirecrawlResultSchema: z.ZodDiscriminatedUnion<"operation", [z.Zod
18835
18835
  sources: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
18836
18836
  expiresAt: z.ZodOptional<z.ZodString>;
18837
18837
  }, "strip", z.ZodTypeAny, {
18838
- operation: "extract";
18839
- success: boolean;
18840
18838
  error: string;
18839
+ success: boolean;
18840
+ operation: "extract";
18841
18841
  status?: "failed" | "completed" | "processing" | "cancelled" | undefined;
18842
- data?: unknown;
18843
18842
  id?: string | undefined;
18843
+ data?: unknown;
18844
18844
  warning?: string | undefined;
18845
18845
  sources?: Record<string, unknown> | undefined;
18846
18846
  expiresAt?: string | undefined;
18847
18847
  }, {
18848
- operation: "extract";
18849
- success: boolean;
18850
18848
  error: string;
18849
+ success: boolean;
18850
+ operation: "extract";
18851
18851
  status?: "failed" | "completed" | "processing" | "cancelled" | undefined;
18852
- data?: unknown;
18853
18852
  id?: string | undefined;
18853
+ data?: unknown;
18854
18854
  warning?: string | undefined;
18855
18855
  sources?: Record<string, unknown> | undefined;
18856
18856
  expiresAt?: string | undefined;
@@ -18876,9 +18876,9 @@ export declare class FirecrawlBubble<T extends FirecrawlParams = FirecrawlParams
18876
18876
  formats: z.ZodDefault<z.ZodArray<z.ZodUnion<[z.ZodEnum<["markdown", "html", "rawHtml", "links", "images", "screenshot", "summary", "changeTracking", "json", "attributes", "branding"]>, z.ZodObject<{
18877
18877
  type: z.ZodEnum<["markdown", "html", "rawHtml", "links", "images", "screenshot", "summary", "changeTracking", "json", "attributes", "branding"]>;
18878
18878
  }, "strip", z.ZodTypeAny, {
18879
- type: "images" | "summary" | "html" | "json" | "screenshot" | "markdown" | "rawHtml" | "links" | "attributes" | "changeTracking" | "branding";
18879
+ type: "json" | "images" | "summary" | "html" | "screenshot" | "markdown" | "rawHtml" | "links" | "attributes" | "changeTracking" | "branding";
18880
18880
  }, {
18881
- type: "images" | "summary" | "html" | "json" | "screenshot" | "markdown" | "rawHtml" | "links" | "attributes" | "changeTracking" | "branding";
18881
+ type: "json" | "images" | "summary" | "html" | "screenshot" | "markdown" | "rawHtml" | "links" | "attributes" | "changeTracking" | "branding";
18882
18882
  }>, z.ZodObject<{
18883
18883
  type: z.ZodLiteral<"json">;
18884
18884
  prompt: z.ZodOptional<z.ZodString>;
@@ -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
- type: "executeJavascript";
19076
19075
  script: string;
19077
- }, {
19078
19076
  type: "executeJavascript";
19077
+ }, {
19079
19078
  script: string;
19079
+ type: "executeJavascript";
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"]>>;
@@ -19116,11 +19116,11 @@ export declare class FirecrawlBubble<T extends FirecrawlParams = FirecrawlParams
19116
19116
  operation: z.ZodLiteral<"scrape">;
19117
19117
  url: z.ZodString;
19118
19118
  }, "strip", z.ZodTypeAny, {
19119
- operation: "scrape";
19120
- url: string;
19121
19119
  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";
19120
+ url: string;
19121
+ 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";
19124
19124
  } | {
19125
19125
  type: "json";
19126
19126
  schema?: any;
@@ -19150,7 +19150,6 @@ export declare class FirecrawlBubble<T extends FirecrawlParams = FirecrawlParams
19150
19150
  waitFor: number;
19151
19151
  maxAge: number;
19152
19152
  credentials?: Partial<Record<CredentialType, string>> | undefined;
19153
- mobile?: boolean | undefined;
19154
19153
  maxRetries?: number | undefined;
19155
19154
  headers?: Record<string, string> | undefined;
19156
19155
  includeTags?: string[] | undefined;
@@ -19183,14 +19182,15 @@ export declare class FirecrawlBubble<T extends FirecrawlParams = FirecrawlParams
19183
19182
  } | {
19184
19183
  type: "scrape";
19185
19184
  } | {
19186
- type: "executeJavascript";
19187
19185
  script: string;
19186
+ type: "executeJavascript";
19188
19187
  } | {
19189
19188
  type: "pdf";
19190
19189
  format?: "A0" | "A1" | "A2" | "A3" | "A4" | "A5" | "A6" | "Letter" | "Legal" | "Tabloid" | "Ledger" | undefined;
19191
19190
  scale?: number | undefined;
19192
19191
  landscape?: boolean | undefined;
19193
19192
  })[] | undefined;
19193
+ mobile?: boolean | undefined;
19194
19194
  location?: {
19195
19195
  country?: string | undefined;
19196
19196
  languages?: string[] | undefined;
@@ -19209,12 +19209,11 @@ export declare class FirecrawlBubble<T extends FirecrawlParams = FirecrawlParams
19209
19209
  storeInCache?: boolean | undefined;
19210
19210
  backoffFactor?: number | undefined;
19211
19211
  }, {
19212
- operation: "scrape";
19213
19212
  url: string;
19213
+ operation: "scrape";
19214
19214
  credentials?: Partial<Record<CredentialType, string>> | undefined;
19215
- mobile?: boolean | undefined;
19216
- maxRetries?: number | undefined;
19217
19215
  timeout?: number | undefined;
19216
+ maxRetries?: number | undefined;
19218
19217
  headers?: Record<string, string> | undefined;
19219
19218
  includeTags?: string[] | undefined;
19220
19219
  excludeTags?: string[] | undefined;
@@ -19246,21 +19245,22 @@ export declare class FirecrawlBubble<T extends FirecrawlParams = FirecrawlParams
19246
19245
  } | {
19247
19246
  type: "scrape";
19248
19247
  } | {
19249
- type: "executeJavascript";
19250
19248
  script: string;
19249
+ type: "executeJavascript";
19251
19250
  } | {
19252
19251
  type: "pdf";
19253
19252
  format?: "A0" | "A1" | "A2" | "A3" | "A4" | "A5" | "A6" | "Letter" | "Legal" | "Tabloid" | "Ledger" | undefined;
19254
19253
  scale?: number | undefined;
19255
19254
  landscape?: boolean | undefined;
19256
19255
  })[] | undefined;
19256
+ mobile?: boolean | undefined;
19257
19257
  location?: {
19258
19258
  country?: string | undefined;
19259
19259
  languages?: string[] | undefined;
19260
19260
  } | undefined;
19261
19261
  integration?: string | undefined;
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";
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";
19264
19264
  } | {
19265
19265
  type: "json";
19266
19266
  schema?: any;
@@ -19318,9 +19318,9 @@ export declare class FirecrawlBubble<T extends FirecrawlParams = FirecrawlParams
19318
19318
  categories: z.ZodOptional<z.ZodArray<z.ZodUnion<[z.ZodEnum<["github", "research", "pdf"]>, z.ZodObject<{
19319
19319
  type: z.ZodEnum<["github", "research", "pdf"]>;
19320
19320
  }, "strip", z.ZodTypeAny, {
19321
- type: "pdf" | "github" | "research";
19321
+ type: "github" | "pdf" | "research";
19322
19322
  }, {
19323
- type: "pdf" | "github" | "research";
19323
+ type: "github" | "pdf" | "research";
19324
19324
  }>]>, "many">>;
19325
19325
  limit: z.ZodOptional<z.ZodNumber>;
19326
19326
  tbs: z.ZodOptional<z.ZodString>;
@@ -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: "images" | "summary" | "html" | "json" | "screenshot" | "markdown" | "rawHtml" | "links" | "attributes" | "changeTracking" | "branding";
19334
+ type: "json" | "images" | "summary" | "html" | "screenshot" | "markdown" | "rawHtml" | "links" | "attributes" | "changeTracking" | "branding";
19335
19335
  }, {
19336
- type: "images" | "summary" | "html" | "json" | "screenshot" | "markdown" | "rawHtml" | "links" | "attributes" | "changeTracking" | "branding";
19336
+ type: "json" | "images" | "summary" | "html" | "screenshot" | "markdown" | "rawHtml" | "links" | "attributes" | "changeTracking" | "branding";
19337
19337
  }>, z.ZodObject<{
19338
19338
  type: z.ZodLiteral<"json">;
19339
19339
  prompt: z.ZodOptional<z.ZodString>;
@@ -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
- type: "executeJavascript";
19531
19530
  script: string;
19532
- }, {
19533
19531
  type: "executeJavascript";
19532
+ }, {
19534
19533
  script: string;
19534
+ type: "executeJavascript";
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: ("images" | "summary" | "html" | "json" | "screenshot" | "markdown" | "rawHtml" | "links" | "attributes" | "changeTracking" | "branding" | {
19573
- type: "images" | "summary" | "html" | "json" | "screenshot" | "markdown" | "rawHtml" | "links" | "attributes" | "changeTracking" | "branding";
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";
19574
19574
  } | {
19575
19575
  type: "json";
19576
19576
  schema?: any;
@@ -19599,7 +19599,6 @@ export declare class FirecrawlBubble<T extends FirecrawlParams = FirecrawlParams
19599
19599
  onlyMainContent: boolean;
19600
19600
  waitFor: number;
19601
19601
  maxAge: number;
19602
- mobile?: boolean | undefined;
19603
19602
  headers?: Record<string, string> | undefined;
19604
19603
  includeTags?: string[] | undefined;
19605
19604
  excludeTags?: string[] | undefined;
@@ -19631,14 +19630,15 @@ export declare class FirecrawlBubble<T extends FirecrawlParams = FirecrawlParams
19631
19630
  } | {
19632
19631
  type: "scrape";
19633
19632
  } | {
19634
- type: "executeJavascript";
19635
19633
  script: string;
19634
+ type: "executeJavascript";
19636
19635
  } | {
19637
19636
  type: "pdf";
19638
19637
  format?: "A0" | "A1" | "A2" | "A3" | "A4" | "A5" | "A6" | "Letter" | "Legal" | "Tabloid" | "Ledger" | undefined;
19639
19638
  scale?: number | undefined;
19640
19639
  landscape?: boolean | undefined;
19641
19640
  })[] | undefined;
19641
+ mobile?: boolean | undefined;
19642
19642
  location?: {
19643
19643
  country?: string | undefined;
19644
19644
  languages?: string[] | undefined;
@@ -19656,7 +19656,6 @@ export declare class FirecrawlBubble<T extends FirecrawlParams = FirecrawlParams
19656
19656
  proxy?: string | undefined;
19657
19657
  storeInCache?: boolean | undefined;
19658
19658
  }, {
19659
- mobile?: boolean | undefined;
19660
19659
  timeout?: number | undefined;
19661
19660
  headers?: Record<string, string> | undefined;
19662
19661
  includeTags?: string[] | undefined;
@@ -19689,21 +19688,22 @@ export declare class FirecrawlBubble<T extends FirecrawlParams = FirecrawlParams
19689
19688
  } | {
19690
19689
  type: "scrape";
19691
19690
  } | {
19692
- type: "executeJavascript";
19693
19691
  script: string;
19692
+ type: "executeJavascript";
19694
19693
  } | {
19695
19694
  type: "pdf";
19696
19695
  format?: "A0" | "A1" | "A2" | "A3" | "A4" | "A5" | "A6" | "Letter" | "Legal" | "Tabloid" | "Ledger" | undefined;
19697
19696
  scale?: number | undefined;
19698
19697
  landscape?: boolean | undefined;
19699
19698
  })[] | undefined;
19699
+ mobile?: boolean | undefined;
19700
19700
  location?: {
19701
19701
  country?: string | undefined;
19702
19702
  languages?: string[] | undefined;
19703
19703
  } | undefined;
19704
19704
  integration?: string | undefined;
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";
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";
19707
19707
  } | {
19708
19708
  type: "json";
19709
19709
  schema?: any;
@@ -19746,15 +19746,15 @@ export declare class FirecrawlBubble<T extends FirecrawlParams = FirecrawlParams
19746
19746
  }>>;
19747
19747
  integration: z.ZodOptional<z.ZodString>;
19748
19748
  }, "strip", z.ZodTypeAny, {
19749
- operation: "search";
19750
19749
  query: string;
19750
+ operation: "search";
19751
19751
  credentials?: Partial<Record<CredentialType, string>> | undefined;
19752
- maxRetries?: number | undefined;
19753
19752
  timeout?: number | undefined;
19753
+ maxRetries?: number | undefined;
19754
19754
  limit?: number | undefined;
19755
19755
  location?: string | undefined;
19756
- categories?: ("pdf" | "github" | "research" | {
19757
- type: "pdf" | "github" | "research";
19756
+ categories?: ("github" | "pdf" | "research" | {
19757
+ type: "github" | "pdf" | "research";
19758
19758
  })[] | undefined;
19759
19759
  integration?: string | undefined;
19760
19760
  backoffFactor?: number | undefined;
@@ -19765,8 +19765,8 @@ export declare class FirecrawlBubble<T extends FirecrawlParams = FirecrawlParams
19765
19765
  ignoreInvalidURLs?: boolean | undefined;
19766
19766
  scrapeOptions?: {
19767
19767
  timeout: number;
19768
- formats: ("images" | "summary" | "html" | "json" | "screenshot" | "markdown" | "rawHtml" | "links" | "attributes" | "changeTracking" | "branding" | {
19769
- type: "images" | "summary" | "html" | "json" | "screenshot" | "markdown" | "rawHtml" | "links" | "attributes" | "changeTracking" | "branding";
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";
19770
19770
  } | {
19771
19771
  type: "json";
19772
19772
  schema?: any;
@@ -19795,7 +19795,6 @@ export declare class FirecrawlBubble<T extends FirecrawlParams = FirecrawlParams
19795
19795
  onlyMainContent: boolean;
19796
19796
  waitFor: number;
19797
19797
  maxAge: number;
19798
- mobile?: boolean | undefined;
19799
19798
  headers?: Record<string, string> | undefined;
19800
19799
  includeTags?: string[] | undefined;
19801
19800
  excludeTags?: string[] | undefined;
@@ -19827,14 +19826,15 @@ export declare class FirecrawlBubble<T extends FirecrawlParams = FirecrawlParams
19827
19826
  } | {
19828
19827
  type: "scrape";
19829
19828
  } | {
19830
- type: "executeJavascript";
19831
19829
  script: string;
19830
+ type: "executeJavascript";
19832
19831
  } | {
19833
19832
  type: "pdf";
19834
19833
  format?: "A0" | "A1" | "A2" | "A3" | "A4" | "A5" | "A6" | "Letter" | "Legal" | "Tabloid" | "Ledger" | undefined;
19835
19834
  scale?: number | undefined;
19836
19835
  landscape?: boolean | undefined;
19837
19836
  })[] | undefined;
19837
+ mobile?: boolean | undefined;
19838
19838
  location?: {
19839
19839
  country?: string | undefined;
19840
19840
  languages?: string[] | undefined;
@@ -19853,15 +19853,15 @@ export declare class FirecrawlBubble<T extends FirecrawlParams = FirecrawlParams
19853
19853
  storeInCache?: boolean | undefined;
19854
19854
  } | undefined;
19855
19855
  }, {
19856
- operation: "search";
19857
19856
  query: string;
19857
+ operation: "search";
19858
19858
  credentials?: Partial<Record<CredentialType, string>> | undefined;
19859
- maxRetries?: number | undefined;
19860
19859
  timeout?: number | undefined;
19860
+ maxRetries?: number | undefined;
19861
19861
  limit?: number | undefined;
19862
19862
  location?: string | undefined;
19863
- categories?: ("pdf" | "github" | "research" | {
19864
- type: "pdf" | "github" | "research";
19863
+ categories?: ("github" | "pdf" | "research" | {
19864
+ type: "github" | "pdf" | "research";
19865
19865
  })[] | undefined;
19866
19866
  integration?: string | undefined;
19867
19867
  backoffFactor?: number | undefined;
@@ -19871,7 +19871,6 @@ export declare class FirecrawlBubble<T extends FirecrawlParams = FirecrawlParams
19871
19871
  tbs?: string | undefined;
19872
19872
  ignoreInvalidURLs?: boolean | undefined;
19873
19873
  scrapeOptions?: {
19874
- mobile?: boolean | undefined;
19875
19874
  timeout?: number | undefined;
19876
19875
  headers?: Record<string, string> | undefined;
19877
19876
  includeTags?: string[] | undefined;
@@ -19904,21 +19903,22 @@ export declare class FirecrawlBubble<T extends FirecrawlParams = FirecrawlParams
19904
19903
  } | {
19905
19904
  type: "scrape";
19906
19905
  } | {
19907
- type: "executeJavascript";
19908
19906
  script: string;
19907
+ type: "executeJavascript";
19909
19908
  } | {
19910
19909
  type: "pdf";
19911
19910
  format?: "A0" | "A1" | "A2" | "A3" | "A4" | "A5" | "A6" | "Letter" | "Legal" | "Tabloid" | "Ledger" | undefined;
19912
19911
  scale?: number | undefined;
19913
19912
  landscape?: boolean | undefined;
19914
19913
  })[] | undefined;
19914
+ mobile?: boolean | undefined;
19915
19915
  location?: {
19916
19916
  country?: string | undefined;
19917
19917
  languages?: string[] | undefined;
19918
19918
  } | undefined;
19919
19919
  integration?: string | undefined;
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";
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";
19922
19922
  } | {
19923
19923
  type: "json";
19924
19924
  schema?: any;
@@ -19983,12 +19983,12 @@ export declare class FirecrawlBubble<T extends FirecrawlParams = FirecrawlParams
19983
19983
  languages?: string[] | undefined;
19984
19984
  }>>;
19985
19985
  }, "strip", z.ZodTypeAny, {
19986
- operation: "map";
19987
19986
  url: string;
19988
- search?: string | undefined;
19987
+ operation: "map";
19989
19988
  credentials?: Partial<Record<CredentialType, string>> | undefined;
19990
- maxRetries?: number | undefined;
19991
19989
  timeout?: number | undefined;
19990
+ search?: string | undefined;
19991
+ maxRetries?: number | undefined;
19992
19992
  limit?: number | undefined;
19993
19993
  location?: {
19994
19994
  country?: string | undefined;
@@ -19999,12 +19999,12 @@ export declare class FirecrawlBubble<T extends FirecrawlParams = FirecrawlParams
19999
19999
  sitemap?: "include" | "only" | "skip" | undefined;
20000
20000
  includeSubdomains?: boolean | undefined;
20001
20001
  }, {
20002
- operation: "map";
20003
20002
  url: string;
20004
- search?: string | undefined;
20003
+ operation: "map";
20005
20004
  credentials?: Partial<Record<CredentialType, string>> | undefined;
20006
- maxRetries?: number | undefined;
20007
20005
  timeout?: number | undefined;
20006
+ search?: string | undefined;
20007
+ maxRetries?: number | undefined;
20008
20008
  limit?: number | undefined;
20009
20009
  location?: {
20010
20010
  country?: 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: "images" | "summary" | "html" | "json" | "screenshot" | "markdown" | "rawHtml" | "links" | "attributes" | "changeTracking" | "branding";
20056
+ type: "json" | "images" | "summary" | "html" | "screenshot" | "markdown" | "rawHtml" | "links" | "attributes" | "changeTracking" | "branding";
20057
20057
  }, {
20058
- type: "images" | "summary" | "html" | "json" | "screenshot" | "markdown" | "rawHtml" | "links" | "attributes" | "changeTracking" | "branding";
20058
+ type: "json" | "images" | "summary" | "html" | "screenshot" | "markdown" | "rawHtml" | "links" | "attributes" | "changeTracking" | "branding";
20059
20059
  }>, z.ZodObject<{
20060
20060
  type: z.ZodLiteral<"json">;
20061
20061
  prompt: z.ZodOptional<z.ZodString>;
@@ -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
- type: "executeJavascript";
20253
20252
  script: string;
20254
- }, {
20255
20253
  type: "executeJavascript";
20254
+ }, {
20256
20255
  script: string;
20256
+ type: "executeJavascript";
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: ("images" | "summary" | "html" | "json" | "screenshot" | "markdown" | "rawHtml" | "links" | "attributes" | "changeTracking" | "branding" | {
20295
- type: "images" | "summary" | "html" | "json" | "screenshot" | "markdown" | "rawHtml" | "links" | "attributes" | "changeTracking" | "branding";
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";
20296
20296
  } | {
20297
20297
  type: "json";
20298
20298
  schema?: any;
@@ -20321,7 +20321,6 @@ export declare class FirecrawlBubble<T extends FirecrawlParams = FirecrawlParams
20321
20321
  onlyMainContent: boolean;
20322
20322
  waitFor: number;
20323
20323
  maxAge: number;
20324
- mobile?: boolean | undefined;
20325
20324
  headers?: Record<string, string> | undefined;
20326
20325
  includeTags?: string[] | undefined;
20327
20326
  excludeTags?: string[] | undefined;
@@ -20353,14 +20352,15 @@ export declare class FirecrawlBubble<T extends FirecrawlParams = FirecrawlParams
20353
20352
  } | {
20354
20353
  type: "scrape";
20355
20354
  } | {
20356
- type: "executeJavascript";
20357
20355
  script: string;
20356
+ type: "executeJavascript";
20358
20357
  } | {
20359
20358
  type: "pdf";
20360
20359
  format?: "A0" | "A1" | "A2" | "A3" | "A4" | "A5" | "A6" | "Letter" | "Legal" | "Tabloid" | "Ledger" | undefined;
20361
20360
  scale?: number | undefined;
20362
20361
  landscape?: boolean | undefined;
20363
20362
  })[] | undefined;
20363
+ mobile?: boolean | undefined;
20364
20364
  location?: {
20365
20365
  country?: string | undefined;
20366
20366
  languages?: string[] | undefined;
@@ -20378,7 +20378,6 @@ export declare class FirecrawlBubble<T extends FirecrawlParams = FirecrawlParams
20378
20378
  proxy?: string | undefined;
20379
20379
  storeInCache?: boolean | undefined;
20380
20380
  }, {
20381
- mobile?: boolean | undefined;
20382
20381
  timeout?: number | undefined;
20383
20382
  headers?: Record<string, string> | undefined;
20384
20383
  includeTags?: string[] | undefined;
@@ -20411,21 +20410,22 @@ export declare class FirecrawlBubble<T extends FirecrawlParams = FirecrawlParams
20411
20410
  } | {
20412
20411
  type: "scrape";
20413
20412
  } | {
20414
- type: "executeJavascript";
20415
20413
  script: string;
20414
+ type: "executeJavascript";
20416
20415
  } | {
20417
20416
  type: "pdf";
20418
20417
  format?: "A0" | "A1" | "A2" | "A3" | "A4" | "A5" | "A6" | "Letter" | "Legal" | "Tabloid" | "Ledger" | undefined;
20419
20418
  scale?: number | undefined;
20420
20419
  landscape?: boolean | undefined;
20421
20420
  })[] | undefined;
20421
+ mobile?: boolean | undefined;
20422
20422
  location?: {
20423
20423
  country?: string | undefined;
20424
20424
  languages?: string[] | undefined;
20425
20425
  } | undefined;
20426
20426
  integration?: string | undefined;
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";
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";
20429
20429
  } | {
20430
20430
  type: "json";
20431
20431
  schema?: any;
@@ -20471,12 +20471,12 @@ export declare class FirecrawlBubble<T extends FirecrawlParams = FirecrawlParams
20471
20471
  pollInterval: z.ZodOptional<z.ZodNumber>;
20472
20472
  timeout: z.ZodOptional<z.ZodNumber>;
20473
20473
  }, "strip", z.ZodTypeAny, {
20474
- operation: "crawl";
20475
20474
  url: string;
20475
+ operation: "crawl";
20476
20476
  credentials?: Partial<Record<CredentialType, string>> | undefined;
20477
- maxRetries?: number | undefined;
20478
- timeout?: number | undefined;
20479
20477
  maxConcurrency?: number | undefined;
20478
+ timeout?: number | undefined;
20479
+ maxRetries?: number | undefined;
20480
20480
  prompt?: string | undefined;
20481
20481
  limit?: number | undefined;
20482
20482
  webhook?: string | {
@@ -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: ("images" | "summary" | "html" | "json" | "screenshot" | "markdown" | "rawHtml" | "links" | "attributes" | "changeTracking" | "branding" | {
20493
- type: "images" | "summary" | "html" | "json" | "screenshot" | "markdown" | "rawHtml" | "links" | "attributes" | "changeTracking" | "branding";
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";
20494
20494
  } | {
20495
20495
  type: "json";
20496
20496
  schema?: any;
@@ -20519,7 +20519,6 @@ export declare class FirecrawlBubble<T extends FirecrawlParams = FirecrawlParams
20519
20519
  onlyMainContent: boolean;
20520
20520
  waitFor: number;
20521
20521
  maxAge: number;
20522
- mobile?: boolean | undefined;
20523
20522
  headers?: Record<string, string> | undefined;
20524
20523
  includeTags?: string[] | undefined;
20525
20524
  excludeTags?: string[] | undefined;
@@ -20551,14 +20550,15 @@ export declare class FirecrawlBubble<T extends FirecrawlParams = FirecrawlParams
20551
20550
  } | {
20552
20551
  type: "scrape";
20553
20552
  } | {
20554
- type: "executeJavascript";
20555
20553
  script: string;
20554
+ type: "executeJavascript";
20556
20555
  } | {
20557
20556
  type: "pdf";
20558
20557
  format?: "A0" | "A1" | "A2" | "A3" | "A4" | "A5" | "A6" | "Letter" | "Legal" | "Tabloid" | "Ledger" | undefined;
20559
20558
  scale?: number | undefined;
20560
20559
  landscape?: boolean | undefined;
20561
20560
  })[] | undefined;
20561
+ mobile?: boolean | undefined;
20562
20562
  location?: {
20563
20563
  country?: string | undefined;
20564
20564
  languages?: string[] | undefined;
@@ -20588,12 +20588,12 @@ export declare class FirecrawlBubble<T extends FirecrawlParams = FirecrawlParams
20588
20588
  zeroDataRetention?: boolean | undefined;
20589
20589
  pollInterval?: number | undefined;
20590
20590
  }, {
20591
- operation: "crawl";
20592
20591
  url: string;
20592
+ operation: "crawl";
20593
20593
  credentials?: Partial<Record<CredentialType, string>> | undefined;
20594
- maxRetries?: number | undefined;
20595
- timeout?: number | undefined;
20596
20594
  maxConcurrency?: number | undefined;
20595
+ timeout?: number | undefined;
20596
+ maxRetries?: number | undefined;
20597
20597
  prompt?: string | undefined;
20598
20598
  limit?: number | undefined;
20599
20599
  webhook?: string | {
@@ -20605,7 +20605,6 @@ export declare class FirecrawlBubble<T extends FirecrawlParams = FirecrawlParams
20605
20605
  integration?: string | undefined;
20606
20606
  backoffFactor?: number | undefined;
20607
20607
  scrapeOptions?: {
20608
- mobile?: boolean | undefined;
20609
20608
  timeout?: number | undefined;
20610
20609
  headers?: Record<string, string> | undefined;
20611
20610
  includeTags?: string[] | undefined;
@@ -20638,21 +20637,22 @@ export declare class FirecrawlBubble<T extends FirecrawlParams = FirecrawlParams
20638
20637
  } | {
20639
20638
  type: "scrape";
20640
20639
  } | {
20641
- type: "executeJavascript";
20642
20640
  script: string;
20641
+ type: "executeJavascript";
20643
20642
  } | {
20644
20643
  type: "pdf";
20645
20644
  format?: "A0" | "A1" | "A2" | "A3" | "A4" | "A5" | "A6" | "Letter" | "Legal" | "Tabloid" | "Ledger" | undefined;
20646
20645
  scale?: number | undefined;
20647
20646
  landscape?: boolean | undefined;
20648
20647
  })[] | undefined;
20648
+ mobile?: boolean | undefined;
20649
20649
  location?: {
20650
20650
  country?: string | undefined;
20651
20651
  languages?: string[] | undefined;
20652
20652
  } | undefined;
20653
20653
  integration?: string | undefined;
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";
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";
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: "images" | "summary" | "html" | "json" | "screenshot" | "markdown" | "rawHtml" | "links" | "attributes" | "changeTracking" | "branding";
20724
+ type: "json" | "images" | "summary" | "html" | "screenshot" | "markdown" | "rawHtml" | "links" | "attributes" | "changeTracking" | "branding";
20725
20725
  }, {
20726
- type: "images" | "summary" | "html" | "json" | "screenshot" | "markdown" | "rawHtml" | "links" | "attributes" | "changeTracking" | "branding";
20726
+ type: "json" | "images" | "summary" | "html" | "screenshot" | "markdown" | "rawHtml" | "links" | "attributes" | "changeTracking" | "branding";
20727
20727
  }>, z.ZodObject<{
20728
20728
  type: z.ZodLiteral<"json">;
20729
20729
  prompt: z.ZodOptional<z.ZodString>;
@@ -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
- type: "executeJavascript";
20921
20920
  script: string;
20922
- }, {
20923
20921
  type: "executeJavascript";
20922
+ }, {
20924
20923
  script: string;
20924
+ type: "executeJavascript";
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: ("images" | "summary" | "html" | "json" | "screenshot" | "markdown" | "rawHtml" | "links" | "attributes" | "changeTracking" | "branding" | {
20963
- type: "images" | "summary" | "html" | "json" | "screenshot" | "markdown" | "rawHtml" | "links" | "attributes" | "changeTracking" | "branding";
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";
20964
20964
  } | {
20965
20965
  type: "json";
20966
20966
  schema?: any;
@@ -20989,7 +20989,6 @@ export declare class FirecrawlBubble<T extends FirecrawlParams = FirecrawlParams
20989
20989
  onlyMainContent: boolean;
20990
20990
  waitFor: number;
20991
20991
  maxAge: number;
20992
- mobile?: boolean | undefined;
20993
20992
  headers?: Record<string, string> | undefined;
20994
20993
  includeTags?: string[] | undefined;
20995
20994
  excludeTags?: string[] | undefined;
@@ -21021,14 +21020,15 @@ export declare class FirecrawlBubble<T extends FirecrawlParams = FirecrawlParams
21021
21020
  } | {
21022
21021
  type: "scrape";
21023
21022
  } | {
21024
- type: "executeJavascript";
21025
21023
  script: string;
21024
+ type: "executeJavascript";
21026
21025
  } | {
21027
21026
  type: "pdf";
21028
21027
  format?: "A0" | "A1" | "A2" | "A3" | "A4" | "A5" | "A6" | "Letter" | "Legal" | "Tabloid" | "Ledger" | undefined;
21029
21028
  scale?: number | undefined;
21030
21029
  landscape?: boolean | undefined;
21031
21030
  })[] | undefined;
21031
+ mobile?: boolean | undefined;
21032
21032
  location?: {
21033
21033
  country?: string | undefined;
21034
21034
  languages?: string[] | undefined;
@@ -21046,7 +21046,6 @@ export declare class FirecrawlBubble<T extends FirecrawlParams = FirecrawlParams
21046
21046
  proxy?: string | undefined;
21047
21047
  storeInCache?: boolean | undefined;
21048
21048
  }, {
21049
- mobile?: boolean | undefined;
21050
21049
  timeout?: number | undefined;
21051
21050
  headers?: Record<string, string> | undefined;
21052
21051
  includeTags?: string[] | undefined;
@@ -21079,21 +21078,22 @@ export declare class FirecrawlBubble<T extends FirecrawlParams = FirecrawlParams
21079
21078
  } | {
21080
21079
  type: "scrape";
21081
21080
  } | {
21082
- type: "executeJavascript";
21083
21081
  script: string;
21082
+ type: "executeJavascript";
21084
21083
  } | {
21085
21084
  type: "pdf";
21086
21085
  format?: "A0" | "A1" | "A2" | "A3" | "A4" | "A5" | "A6" | "Letter" | "Legal" | "Tabloid" | "Ledger" | undefined;
21087
21086
  scale?: number | undefined;
21088
21087
  landscape?: boolean | undefined;
21089
21088
  })[] | undefined;
21089
+ mobile?: boolean | undefined;
21090
21090
  location?: {
21091
21091
  country?: string | undefined;
21092
21092
  languages?: string[] | undefined;
21093
21093
  } | undefined;
21094
21094
  integration?: string | undefined;
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";
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";
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
- schema?: any;
21152
21151
  credentials?: Partial<Record<CredentialType, string>> | undefined;
21152
+ timeout?: number | undefined;
21153
+ schema?: any;
21153
21154
  systemPrompt?: string | undefined;
21154
21155
  maxRetries?: number | undefined;
21155
21156
  agent?: {
21156
21157
  model: "FIRE-1";
21157
21158
  } | 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: ("images" | "summary" | "html" | "json" | "screenshot" | "markdown" | "rawHtml" | "links" | "attributes" | "changeTracking" | "branding" | {
21166
- type: "images" | "summary" | "html" | "json" | "screenshot" | "markdown" | "rawHtml" | "links" | "attributes" | "changeTracking" | "branding";
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";
21167
21167
  } | {
21168
21168
  type: "json";
21169
21169
  schema?: any;
@@ -21192,7 +21192,6 @@ export declare class FirecrawlBubble<T extends FirecrawlParams = FirecrawlParams
21192
21192
  onlyMainContent: boolean;
21193
21193
  waitFor: number;
21194
21194
  maxAge: number;
21195
- mobile?: boolean | undefined;
21196
21195
  headers?: Record<string, string> | undefined;
21197
21196
  includeTags?: string[] | undefined;
21198
21197
  excludeTags?: string[] | undefined;
@@ -21224,14 +21223,15 @@ export declare class FirecrawlBubble<T extends FirecrawlParams = FirecrawlParams
21224
21223
  } | {
21225
21224
  type: "scrape";
21226
21225
  } | {
21227
- type: "executeJavascript";
21228
21226
  script: string;
21227
+ type: "executeJavascript";
21229
21228
  } | {
21230
21229
  type: "pdf";
21231
21230
  format?: "A0" | "A1" | "A2" | "A3" | "A4" | "A5" | "A6" | "Letter" | "Legal" | "Tabloid" | "Ledger" | undefined;
21232
21231
  scale?: number | undefined;
21233
21232
  landscape?: boolean | undefined;
21234
21233
  })[] | undefined;
21234
+ mobile?: boolean | undefined;
21235
21235
  location?: {
21236
21236
  country?: string | undefined;
21237
21237
  languages?: string[] | undefined;
@@ -21256,20 +21256,19 @@ export declare class FirecrawlBubble<T extends FirecrawlParams = FirecrawlParams
21256
21256
  }, {
21257
21257
  operation: "extract";
21258
21258
  urls: string[];
21259
- schema?: any;
21260
21259
  credentials?: Partial<Record<CredentialType, string>> | undefined;
21260
+ timeout?: number | undefined;
21261
+ schema?: any;
21261
21262
  systemPrompt?: string | undefined;
21262
21263
  maxRetries?: number | undefined;
21263
21264
  agent?: {
21264
21265
  model: "FIRE-1";
21265
21266
  } | undefined;
21266
- timeout?: number | undefined;
21267
21267
  prompt?: string | undefined;
21268
21268
  integration?: string | undefined;
21269
21269
  backoffFactor?: number | undefined;
21270
21270
  ignoreInvalidURLs?: boolean | undefined;
21271
21271
  scrapeOptions?: {
21272
- mobile?: boolean | undefined;
21273
21272
  timeout?: number | undefined;
21274
21273
  headers?: Record<string, string> | undefined;
21275
21274
  includeTags?: string[] | undefined;
@@ -21302,21 +21301,22 @@ export declare class FirecrawlBubble<T extends FirecrawlParams = FirecrawlParams
21302
21301
  } | {
21303
21302
  type: "scrape";
21304
21303
  } | {
21305
- type: "executeJavascript";
21306
21304
  script: string;
21305
+ type: "executeJavascript";
21307
21306
  } | {
21308
21307
  type: "pdf";
21309
21308
  format?: "A0" | "A1" | "A2" | "A3" | "A4" | "A5" | "A6" | "Letter" | "Legal" | "Tabloid" | "Ledger" | undefined;
21310
21309
  scale?: number | undefined;
21311
21310
  landscape?: boolean | undefined;
21312
21311
  })[] | undefined;
21312
+ mobile?: boolean | undefined;
21313
21313
  location?: {
21314
21314
  country?: string | undefined;
21315
21315
  languages?: string[] | undefined;
21316
21316
  } | undefined;
21317
21317
  integration?: string | undefined;
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";
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";
21320
21320
  } | {
21321
21321
  type: "json";
21322
21322
  schema?: any;
@@ -22817,9 +22817,10 @@ export declare class FirecrawlBubble<T extends FirecrawlParams = FirecrawlParams
22817
22817
  } & {
22818
22818
  operation: z.ZodLiteral<"scrape">;
22819
22819
  }, "strip", z.ZodTypeAny, {
22820
- operation: "scrape";
22821
- success: boolean;
22822
22820
  error: string;
22821
+ success: boolean;
22822
+ operation: "scrape";
22823
+ json?: unknown;
22823
22824
  metadata?: z.objectOutputType<{
22824
22825
  title: z.ZodOptional<z.ZodString>;
22825
22826
  description: z.ZodOptional<z.ZodString>;
@@ -22866,7 +22867,6 @@ export declare class FirecrawlBubble<T extends FirecrawlParams = FirecrawlParams
22866
22867
  images?: string[] | undefined;
22867
22868
  summary?: string | undefined;
22868
22869
  html?: string | undefined;
22869
- json?: unknown;
22870
22870
  actions?: Record<string, unknown> | undefined;
22871
22871
  screenshot?: string | undefined;
22872
22872
  warning?: string | undefined;
@@ -23313,9 +23313,10 @@ export declare class FirecrawlBubble<T extends FirecrawlParams = FirecrawlParams
23313
23313
  }>>;
23314
23314
  }, z.ZodUnknown, "strip"> | undefined;
23315
23315
  }, {
23316
- operation: "scrape";
23317
- success: boolean;
23318
23316
  error: string;
23317
+ success: boolean;
23318
+ operation: "scrape";
23319
+ json?: unknown;
23319
23320
  metadata?: z.objectInputType<{
23320
23321
  title: z.ZodOptional<z.ZodString>;
23321
23322
  description: z.ZodOptional<z.ZodString>;
@@ -23362,7 +23363,6 @@ export declare class FirecrawlBubble<T extends FirecrawlParams = FirecrawlParams
23362
23363
  images?: string[] | undefined;
23363
23364
  summary?: string | undefined;
23364
23365
  html?: string | undefined;
23365
- json?: unknown;
23366
23366
  actions?: Record<string, unknown> | undefined;
23367
23367
  screenshot?: string | undefined;
23368
23368
  warning?: string | undefined;
@@ -25278,6 +25278,7 @@ export declare class FirecrawlBubble<T extends FirecrawlParams = FirecrawlParams
25278
25278
  }>>;
25279
25279
  }, z.ZodUnknown, "strip">>>;
25280
25280
  }, "strip", z.ZodTypeAny, {
25281
+ json?: unknown;
25281
25282
  metadata?: z.objectOutputType<{
25282
25283
  title: z.ZodOptional<z.ZodString>;
25283
25284
  description: z.ZodOptional<z.ZodString>;
@@ -25324,7 +25325,6 @@ export declare class FirecrawlBubble<T extends FirecrawlParams = FirecrawlParams
25324
25325
  images?: string[] | undefined;
25325
25326
  summary?: string | undefined;
25326
25327
  html?: string | undefined;
25327
- json?: unknown;
25328
25328
  actions?: Record<string, unknown> | undefined;
25329
25329
  screenshot?: string | undefined;
25330
25330
  warning?: string | undefined;
@@ -25771,6 +25771,7 @@ export declare class FirecrawlBubble<T extends FirecrawlParams = FirecrawlParams
25771
25771
  }>>;
25772
25772
  }, z.ZodUnknown, "strip"> | undefined;
25773
25773
  }, {
25774
+ json?: unknown;
25774
25775
  metadata?: z.objectInputType<{
25775
25776
  title: z.ZodOptional<z.ZodString>;
25776
25777
  description: z.ZodOptional<z.ZodString>;
@@ -25817,7 +25818,6 @@ export declare class FirecrawlBubble<T extends FirecrawlParams = FirecrawlParams
25817
25818
  images?: string[] | undefined;
25818
25819
  summary?: string | undefined;
25819
25820
  html?: string | undefined;
25820
- json?: unknown;
25821
25821
  actions?: Record<string, unknown> | undefined;
25822
25822
  screenshot?: string | undefined;
25823
25823
  warning?: string | undefined;
@@ -27738,6 +27738,7 @@ export declare class FirecrawlBubble<T extends FirecrawlParams = FirecrawlParams
27738
27738
  }>>;
27739
27739
  }, z.ZodUnknown, "strip">>>;
27740
27740
  }, "strip", z.ZodTypeAny, {
27741
+ json?: unknown;
27741
27742
  metadata?: z.objectOutputType<{
27742
27743
  title: z.ZodOptional<z.ZodString>;
27743
27744
  description: z.ZodOptional<z.ZodString>;
@@ -27784,7 +27785,6 @@ export declare class FirecrawlBubble<T extends FirecrawlParams = FirecrawlParams
27784
27785
  images?: string[] | undefined;
27785
27786
  summary?: string | undefined;
27786
27787
  html?: string | undefined;
27787
- json?: unknown;
27788
27788
  actions?: Record<string, unknown> | undefined;
27789
27789
  screenshot?: string | undefined;
27790
27790
  warning?: string | undefined;
@@ -28231,6 +28231,7 @@ export declare class FirecrawlBubble<T extends FirecrawlParams = FirecrawlParams
28231
28231
  }>>;
28232
28232
  }, z.ZodUnknown, "strip"> | undefined;
28233
28233
  }, {
28234
+ json?: unknown;
28234
28235
  metadata?: z.objectInputType<{
28235
28236
  title: z.ZodOptional<z.ZodString>;
28236
28237
  description: z.ZodOptional<z.ZodString>;
@@ -28277,7 +28278,6 @@ export declare class FirecrawlBubble<T extends FirecrawlParams = FirecrawlParams
28277
28278
  images?: string[] | undefined;
28278
28279
  summary?: string | undefined;
28279
28280
  html?: string | undefined;
28280
- json?: unknown;
28281
28281
  actions?: Record<string, unknown> | undefined;
28282
28282
  screenshot?: string | undefined;
28283
28283
  warning?: string | undefined;
@@ -30195,6 +30195,7 @@ export declare class FirecrawlBubble<T extends FirecrawlParams = FirecrawlParams
30195
30195
  }>>;
30196
30196
  }, z.ZodUnknown, "strip">>>;
30197
30197
  }, "strip", z.ZodTypeAny, {
30198
+ json?: unknown;
30198
30199
  metadata?: z.objectOutputType<{
30199
30200
  title: z.ZodOptional<z.ZodString>;
30200
30201
  description: z.ZodOptional<z.ZodString>;
@@ -30241,7 +30242,6 @@ export declare class FirecrawlBubble<T extends FirecrawlParams = FirecrawlParams
30241
30242
  images?: string[] | undefined;
30242
30243
  summary?: string | undefined;
30243
30244
  html?: string | undefined;
30244
- json?: unknown;
30245
30245
  actions?: Record<string, unknown> | undefined;
30246
30246
  screenshot?: string | undefined;
30247
30247
  warning?: string | undefined;
@@ -30688,6 +30688,7 @@ export declare class FirecrawlBubble<T extends FirecrawlParams = FirecrawlParams
30688
30688
  }>>;
30689
30689
  }, z.ZodUnknown, "strip"> | undefined;
30690
30690
  }, {
30691
+ json?: unknown;
30691
30692
  metadata?: z.objectInputType<{
30692
30693
  title: z.ZodOptional<z.ZodString>;
30693
30694
  description: z.ZodOptional<z.ZodString>;
@@ -30734,7 +30735,6 @@ export declare class FirecrawlBubble<T extends FirecrawlParams = FirecrawlParams
30734
30735
  images?: string[] | undefined;
30735
30736
  summary?: string | undefined;
30736
30737
  html?: string | undefined;
30737
- json?: unknown;
30738
30738
  actions?: Record<string, unknown> | undefined;
30739
30739
  screenshot?: string | undefined;
30740
30740
  warning?: string | undefined;
@@ -31183,10 +31183,11 @@ export declare class FirecrawlBubble<T extends FirecrawlParams = FirecrawlParams
31183
31183
  }>]>, "many">>;
31184
31184
  other: z.ZodOptional<z.ZodArray<z.ZodUnknown, "many">>;
31185
31185
  }, "strip", z.ZodTypeAny, {
31186
- operation: "search";
31187
- success: boolean;
31188
31186
  error: string;
31187
+ success: boolean;
31188
+ operation: "search";
31189
31189
  images?: ({
31190
+ json?: unknown;
31190
31191
  metadata?: z.objectOutputType<{
31191
31192
  title: z.ZodOptional<z.ZodString>;
31192
31193
  description: z.ZodOptional<z.ZodString>;
@@ -31233,7 +31234,6 @@ export declare class FirecrawlBubble<T extends FirecrawlParams = FirecrawlParams
31233
31234
  images?: string[] | undefined;
31234
31235
  summary?: string | undefined;
31235
31236
  html?: string | undefined;
31236
- json?: unknown;
31237
31237
  actions?: Record<string, unknown> | undefined;
31238
31238
  screenshot?: string | undefined;
31239
31239
  warning?: string | undefined;
@@ -31688,6 +31688,7 @@ export declare class FirecrawlBubble<T extends FirecrawlParams = FirecrawlParams
31688
31688
  imageHeight?: number | undefined;
31689
31689
  })[] | undefined;
31690
31690
  web?: ({
31691
+ json?: unknown;
31691
31692
  metadata?: z.objectOutputType<{
31692
31693
  title: z.ZodOptional<z.ZodString>;
31693
31694
  description: z.ZodOptional<z.ZodString>;
@@ -31734,7 +31735,6 @@ export declare class FirecrawlBubble<T extends FirecrawlParams = FirecrawlParams
31734
31735
  images?: string[] | undefined;
31735
31736
  summary?: string | undefined;
31736
31737
  html?: string | undefined;
31737
- json?: unknown;
31738
31738
  actions?: Record<string, unknown> | undefined;
31739
31739
  screenshot?: string | undefined;
31740
31740
  warning?: string | undefined;
@@ -32187,6 +32187,7 @@ export declare class FirecrawlBubble<T extends FirecrawlParams = FirecrawlParams
32187
32187
  category?: string | undefined;
32188
32188
  })[] | undefined;
32189
32189
  news?: ({
32190
+ json?: unknown;
32190
32191
  metadata?: z.objectOutputType<{
32191
32192
  title: z.ZodOptional<z.ZodString>;
32192
32193
  description: z.ZodOptional<z.ZodString>;
@@ -32233,7 +32234,6 @@ export declare class FirecrawlBubble<T extends FirecrawlParams = FirecrawlParams
32233
32234
  images?: string[] | undefined;
32234
32235
  summary?: string | undefined;
32235
32236
  html?: string | undefined;
32236
- json?: unknown;
32237
32237
  actions?: Record<string, unknown> | undefined;
32238
32238
  screenshot?: string | undefined;
32239
32239
  warning?: string | undefined;
@@ -32690,10 +32690,11 @@ export declare class FirecrawlBubble<T extends FirecrawlParams = FirecrawlParams
32690
32690
  })[] | undefined;
32691
32691
  other?: unknown[] | undefined;
32692
32692
  }, {
32693
- operation: "search";
32694
- success: boolean;
32695
32693
  error: string;
32694
+ success: boolean;
32695
+ operation: "search";
32696
32696
  images?: ({
32697
+ json?: unknown;
32697
32698
  metadata?: z.objectInputType<{
32698
32699
  title: z.ZodOptional<z.ZodString>;
32699
32700
  description: z.ZodOptional<z.ZodString>;
@@ -32740,7 +32741,6 @@ export declare class FirecrawlBubble<T extends FirecrawlParams = FirecrawlParams
32740
32741
  images?: string[] | undefined;
32741
32742
  summary?: string | undefined;
32742
32743
  html?: string | undefined;
32743
- json?: unknown;
32744
32744
  actions?: Record<string, unknown> | undefined;
32745
32745
  screenshot?: string | undefined;
32746
32746
  warning?: string | undefined;
@@ -33195,6 +33195,7 @@ export declare class FirecrawlBubble<T extends FirecrawlParams = FirecrawlParams
33195
33195
  imageHeight?: number | undefined;
33196
33196
  })[] | undefined;
33197
33197
  web?: ({
33198
+ json?: unknown;
33198
33199
  metadata?: z.objectInputType<{
33199
33200
  title: z.ZodOptional<z.ZodString>;
33200
33201
  description: z.ZodOptional<z.ZodString>;
@@ -33241,7 +33242,6 @@ export declare class FirecrawlBubble<T extends FirecrawlParams = FirecrawlParams
33241
33242
  images?: string[] | undefined;
33242
33243
  summary?: string | undefined;
33243
33244
  html?: string | undefined;
33244
- json?: unknown;
33245
33245
  actions?: Record<string, unknown> | undefined;
33246
33246
  screenshot?: string | undefined;
33247
33247
  warning?: string | undefined;
@@ -33694,6 +33694,7 @@ export declare class FirecrawlBubble<T extends FirecrawlParams = FirecrawlParams
33694
33694
  category?: string | undefined;
33695
33695
  })[] | undefined;
33696
33696
  news?: ({
33697
+ json?: unknown;
33697
33698
  metadata?: z.objectInputType<{
33698
33699
  title: z.ZodOptional<z.ZodString>;
33699
33700
  description: z.ZodOptional<z.ZodString>;
@@ -33740,7 +33741,6 @@ export declare class FirecrawlBubble<T extends FirecrawlParams = FirecrawlParams
33740
33741
  images?: string[] | undefined;
33741
33742
  summary?: string | undefined;
33742
33743
  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
- operation: "map";
34222
- success: boolean;
34223
34221
  error: string;
34222
+ success: boolean;
34223
+ operation: "map";
34224
34224
  links: {
34225
34225
  url: string;
34226
34226
  description?: string | undefined;
@@ -34228,9 +34228,9 @@ export declare class FirecrawlBubble<T extends FirecrawlParams = FirecrawlParams
34228
34228
  category?: string | undefined;
34229
34229
  }[];
34230
34230
  }, {
34231
- operation: "map";
34232
- success: boolean;
34233
34231
  error: string;
34232
+ success: boolean;
34233
+ operation: "map";
34234
34234
  links: {
34235
34235
  url: string;
34236
34236
  description?: string | undefined;
@@ -35697,6 +35697,7 @@ export declare class FirecrawlBubble<T extends FirecrawlParams = FirecrawlParams
35697
35697
  }>>;
35698
35698
  }, z.ZodUnknown, "strip">>>;
35699
35699
  }, "strip", z.ZodTypeAny, {
35700
+ json?: unknown;
35700
35701
  metadata?: z.objectOutputType<{
35701
35702
  title: z.ZodOptional<z.ZodString>;
35702
35703
  description: z.ZodOptional<z.ZodString>;
@@ -35743,7 +35744,6 @@ export declare class FirecrawlBubble<T extends FirecrawlParams = FirecrawlParams
35743
35744
  images?: string[] | undefined;
35744
35745
  summary?: string | undefined;
35745
35746
  html?: string | undefined;
35746
- json?: unknown;
35747
35747
  actions?: Record<string, unknown> | undefined;
35748
35748
  screenshot?: string | undefined;
35749
35749
  warning?: string | undefined;
@@ -36190,6 +36190,7 @@ export declare class FirecrawlBubble<T extends FirecrawlParams = FirecrawlParams
36190
36190
  }>>;
36191
36191
  }, z.ZodUnknown, "strip"> | undefined;
36192
36192
  }, {
36193
+ json?: unknown;
36193
36194
  metadata?: z.objectInputType<{
36194
36195
  title: z.ZodOptional<z.ZodString>;
36195
36196
  description: z.ZodOptional<z.ZodString>;
@@ -36236,7 +36237,6 @@ export declare class FirecrawlBubble<T extends FirecrawlParams = FirecrawlParams
36236
36237
  images?: string[] | undefined;
36237
36238
  summary?: string | undefined;
36238
36239
  html?: string | undefined;
36239
- json?: unknown;
36240
36240
  actions?: Record<string, unknown> | undefined;
36241
36241
  screenshot?: string | undefined;
36242
36242
  warning?: string | undefined;
@@ -36684,11 +36684,11 @@ export declare class FirecrawlBubble<T extends FirecrawlParams = FirecrawlParams
36684
36684
  }, z.ZodUnknown, "strip"> | undefined;
36685
36685
  }>, "many">;
36686
36686
  }, "strip", z.ZodTypeAny, {
36687
- operation: "crawl";
36688
36687
  status: "failed" | "completed" | "scraping" | "cancelled";
36689
- success: boolean;
36690
36688
  error: string;
36689
+ success: boolean;
36691
36690
  data: {
36691
+ json?: unknown;
36692
36692
  metadata?: z.objectOutputType<{
36693
36693
  title: z.ZodOptional<z.ZodString>;
36694
36694
  description: z.ZodOptional<z.ZodString>;
@@ -36735,7 +36735,6 @@ export declare class FirecrawlBubble<T extends FirecrawlParams = FirecrawlParams
36735
36735
  images?: string[] | undefined;
36736
36736
  summary?: string | undefined;
36737
36737
  html?: string | undefined;
36738
- json?: unknown;
36739
36738
  actions?: Record<string, unknown> | undefined;
36740
36739
  screenshot?: string | undefined;
36741
36740
  warning?: string | undefined;
@@ -37182,16 +37181,17 @@ export declare class FirecrawlBubble<T extends FirecrawlParams = FirecrawlParams
37182
37181
  }>>;
37183
37182
  }, z.ZodUnknown, "strip"> | undefined;
37184
37183
  }[];
37184
+ operation: "crawl";
37185
37185
  completed: number;
37186
37186
  total: number;
37187
37187
  creditsUsed?: number | undefined;
37188
37188
  expiresAt?: string | undefined;
37189
37189
  }, {
37190
- operation: "crawl";
37191
37190
  status: "failed" | "completed" | "scraping" | "cancelled";
37192
- success: boolean;
37193
37191
  error: string;
37192
+ success: boolean;
37194
37193
  data: {
37194
+ json?: unknown;
37195
37195
  metadata?: z.objectInputType<{
37196
37196
  title: z.ZodOptional<z.ZodString>;
37197
37197
  description: z.ZodOptional<z.ZodString>;
@@ -37238,7 +37238,6 @@ export declare class FirecrawlBubble<T extends FirecrawlParams = FirecrawlParams
37238
37238
  images?: string[] | undefined;
37239
37239
  summary?: string | undefined;
37240
37240
  html?: string | undefined;
37241
- json?: unknown;
37242
37241
  actions?: Record<string, unknown> | undefined;
37243
37242
  screenshot?: string | undefined;
37244
37243
  warning?: string | undefined;
@@ -37685,6 +37684,7 @@ export declare class FirecrawlBubble<T extends FirecrawlParams = FirecrawlParams
37685
37684
  }>>;
37686
37685
  }, z.ZodUnknown, "strip"> | undefined;
37687
37686
  }[];
37687
+ operation: "crawl";
37688
37688
  completed: number;
37689
37689
  total: number;
37690
37690
  creditsUsed?: number | undefined;
@@ -37701,22 +37701,22 @@ export declare class FirecrawlBubble<T extends FirecrawlParams = FirecrawlParams
37701
37701
  sources: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
37702
37702
  expiresAt: z.ZodOptional<z.ZodString>;
37703
37703
  }, "strip", z.ZodTypeAny, {
37704
- operation: "extract";
37705
- success: boolean;
37706
37704
  error: string;
37705
+ success: boolean;
37706
+ operation: "extract";
37707
37707
  status?: "failed" | "completed" | "processing" | "cancelled" | undefined;
37708
- data?: unknown;
37709
37708
  id?: string | undefined;
37709
+ data?: unknown;
37710
37710
  warning?: string | undefined;
37711
37711
  sources?: Record<string, unknown> | undefined;
37712
37712
  expiresAt?: string | undefined;
37713
37713
  }, {
37714
- operation: "extract";
37715
- success: boolean;
37716
37714
  error: string;
37715
+ success: boolean;
37716
+ operation: "extract";
37717
37717
  status?: "failed" | "completed" | "processing" | "cancelled" | undefined;
37718
- data?: unknown;
37719
37718
  id?: string | undefined;
37719
+ data?: unknown;
37720
37720
  warning?: string | undefined;
37721
37721
  sources?: Record<string, unknown> | undefined;
37722
37722
  expiresAt?: string | undefined;