@cloudflare/workers-types 4.20260526.1 → 4.20260528.1

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.
@@ -11411,6 +11411,513 @@ declare abstract class AutoRAG {
11411
11411
  params: AutoRagAiSearchRequest,
11412
11412
  ): Promise<AutoRagAiSearchResponse | Response>;
11413
11413
  }
11414
+ type BrowserRunLifecycleEvent =
11415
+ | "load"
11416
+ | "domcontentloaded"
11417
+ | "networkidle0"
11418
+ | "networkidle2";
11419
+ type BrowserRunResourceType =
11420
+ | "document"
11421
+ | "stylesheet"
11422
+ | "image"
11423
+ | "media"
11424
+ | "font"
11425
+ | "script"
11426
+ | "texttrack"
11427
+ | "xhr"
11428
+ | "fetch"
11429
+ | "prefetch"
11430
+ | "eventsource"
11431
+ | "websocket"
11432
+ | "manifest"
11433
+ | "signedexchange"
11434
+ | "ping"
11435
+ | "cspviolationreport"
11436
+ | "preflight"
11437
+ | "other";
11438
+ /** Options fields shared by all quick actions. */
11439
+ interface BrowserRunBaseOptions {
11440
+ /** Adds `<script>` tags into the page with the desired URL or content.
11441
+ * @see https://pptr.dev/api/puppeteer.frameaddscripttagoptions
11442
+ */
11443
+ addScriptTag?: Array<{
11444
+ content?: string;
11445
+ url?: string;
11446
+ type?: string;
11447
+ id?: string;
11448
+ }>;
11449
+ /** Adds `<link rel="stylesheet">` or `<style>` tags into the page.
11450
+ * @see https://pptr.dev/api/puppeteer.frameaddstyletagoptions
11451
+ */
11452
+ addStyleTag?: Array<{
11453
+ content?: string;
11454
+ url?: string;
11455
+ }>;
11456
+ /** Provide credentials for HTTP authentication. @see https://pptr.dev/api/puppeteer.credentials */
11457
+ authenticate?: {
11458
+ username: string;
11459
+ password: string;
11460
+ };
11461
+ /** Set cookies before navigating. @see https://pptr.dev/api/puppeteer.cookieparam */
11462
+ cookies?: Array<{
11463
+ name: string;
11464
+ value: string;
11465
+ url?: string;
11466
+ domain?: string;
11467
+ path?: string;
11468
+ secure?: boolean;
11469
+ httpOnly?: boolean;
11470
+ sameSite?: "Strict" | "Lax" | "None";
11471
+ expires?: number;
11472
+ priority?: "Low" | "Medium" | "High";
11473
+ sameParty?: boolean;
11474
+ sourceScheme?: "Unset" | "NonSecure" | "Secure";
11475
+ sourcePort?: number;
11476
+ partitionKey?: string;
11477
+ }>;
11478
+ /** Emulate a specific CSS media type (e.g. `"screen"`, `"print"`). */
11479
+ emulateMediaType?: string;
11480
+ /** Navigation options. @see https://pptr.dev/api/puppeteer.gotooptions */
11481
+ gotoOptions?: {
11482
+ /** Navigation timeout in milliseconds (max 60 000). @default 30000 */
11483
+ timeout?: number;
11484
+ /** When to consider navigation complete. @default "domcontentloaded" */
11485
+ waitUntil?: BrowserRunLifecycleEvent | BrowserRunLifecycleEvent[];
11486
+ referer?: string;
11487
+ referrerPolicy?: string;
11488
+ };
11489
+ /** Block requests matching these regex patterns. Mutually exclusive with `allowRequestPattern`. */
11490
+ rejectRequestPattern?: string[];
11491
+ /** Only allow requests matching these regex patterns. Mutually exclusive with `rejectRequestPattern`. */
11492
+ allowRequestPattern?: string[];
11493
+ /** Block requests of these resource types. Mutually exclusive with `allowResourceTypes`. */
11494
+ rejectResourceTypes?: BrowserRunResourceType[];
11495
+ /** Only allow requests of these resource types. Mutually exclusive with `rejectResourceTypes`. */
11496
+ allowResourceTypes?: BrowserRunResourceType[];
11497
+ /** Additional HTTP headers sent with every request. */
11498
+ setExtraHTTPHeaders?: Record<string, string>;
11499
+ /** Whether JavaScript is enabled on the page. */
11500
+ setJavaScriptEnabled?: boolean;
11501
+ /** Override the default user agent string.
11502
+ * @default "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/119.0.0.0 Safari/537.36"
11503
+ * */
11504
+ userAgent?: string;
11505
+ /** Set the browser viewport size.
11506
+ * @see https://pptr.dev/api/puppeteer.viewport
11507
+ * @default {width:1920,height:1080}
11508
+ * */
11509
+ viewport?: {
11510
+ width: number;
11511
+ height: number;
11512
+ deviceScaleFactor?: number;
11513
+ isMobile?: boolean;
11514
+ isLandscape?: boolean;
11515
+ hasTouch?: boolean;
11516
+ };
11517
+ /** Wait for a CSS selector to appear in the page before proceeding.
11518
+ * @see https://pptr.dev/api/puppeteer.waitforselectoroptions
11519
+ */
11520
+ waitForSelector?: {
11521
+ selector: string;
11522
+ hidden?: true;
11523
+ visible?: true;
11524
+ /** Timeout in milliseconds. Max 120000 */
11525
+ timeout?: number;
11526
+ };
11527
+ /** Wait for a fixed delay in milliseconds before proceeding. Max 120000 */
11528
+ waitForTimeout?: number;
11529
+ /** When true, continue on best-effort when awaited events fail or timeout. */
11530
+ bestAttempt?: boolean;
11531
+ /** Maximum duration in milliseconds for the browser action after page load. Max 120000 */
11532
+ actionTimeout?: number;
11533
+ /** Cache time to live in seconds (0-86400). Set to 0 to disable.
11534
+ * @default 5
11535
+ */
11536
+ cacheTTL?: number;
11537
+ }
11538
+ /** Common options shared by all quick actions. Exactly one of `url` or `html` must be provided.*/
11539
+ type BrowserRunCommonOptions =
11540
+ | (BrowserRunBaseOptions & {
11541
+ /** URL to navigate to, e.g. `"https://example.com"`. */
11542
+ url: string;
11543
+ })
11544
+ | (BrowserRunBaseOptions & {
11545
+ /** Set the HTML content of the page directly. */
11546
+ html: string;
11547
+ });
11548
+ type BrowserRunPuppeteerScreenshotOptions = {
11549
+ /** @default "png" */
11550
+ type?: "png" | "jpeg" | "webp";
11551
+ /** @default "binary" */
11552
+ encoding?: "binary" | "base64";
11553
+ quality?: number;
11554
+ fullPage?: boolean;
11555
+ clip?: {
11556
+ x: number;
11557
+ y: number;
11558
+ width: number;
11559
+ height: number;
11560
+ scale?: number;
11561
+ };
11562
+ omitBackground?: boolean;
11563
+ optimizeForSpeed?: boolean;
11564
+ captureBeyondViewport?: boolean;
11565
+ fromSurface?: boolean;
11566
+ };
11567
+ type BrowserRunScreenshotOptions = BrowserRunCommonOptions & {
11568
+ /** CSS selector of the element to screenshot. */
11569
+ selector?: string;
11570
+ /** When true, scroll the entire page before taking the screenshot. */
11571
+ scrollPage?: boolean;
11572
+ /** @see https://pptr.dev/api/puppeteer.screenshotoptions */
11573
+ screenshotOptions?: BrowserRunPuppeteerScreenshotOptions;
11574
+ };
11575
+ type BrowserRunPDFOptions = BrowserRunCommonOptions & {
11576
+ /** @see https://pptr.dev/api/puppeteer.pdfoptions */
11577
+ pdfOptions?: {
11578
+ /** @default 1 */
11579
+ scale?: number;
11580
+ /** @default false */
11581
+ displayHeaderFooter?: boolean;
11582
+ headerTemplate?: string;
11583
+ footerTemplate?: string;
11584
+ /** @default false */
11585
+ printBackground?: boolean;
11586
+ /** @default false */
11587
+ landscape?: boolean;
11588
+ pageRanges?: string;
11589
+ /** @default "letter" */
11590
+ format?:
11591
+ | "letter"
11592
+ | "legal"
11593
+ | "tabloid"
11594
+ | "ledger"
11595
+ | "a0"
11596
+ | "a1"
11597
+ | "a2"
11598
+ | "a3"
11599
+ | "a4"
11600
+ | "a5"
11601
+ | "a6";
11602
+ width?: string | number;
11603
+ height?: string | number;
11604
+ /** @default false */
11605
+ preferCSSPageSize?: boolean;
11606
+ margin?: {
11607
+ top?: string | number;
11608
+ right?: string | number;
11609
+ bottom?: string | number;
11610
+ left?: string | number;
11611
+ };
11612
+ /** @default false */
11613
+ omitBackground?: boolean;
11614
+ /** @default true */
11615
+ tagged?: boolean;
11616
+ /** @default false */
11617
+ outline?: boolean;
11618
+ /** @default 30000 */
11619
+ timeout?: number;
11620
+ };
11621
+ };
11622
+ type BrowserRunScrapeOptions = BrowserRunCommonOptions & {
11623
+ /** CSS selectors to scrape. At least one element is required. */
11624
+ elements: Array<{
11625
+ selector: string;
11626
+ }>;
11627
+ };
11628
+ type BrowserRunLinksOptions = BrowserRunCommonOptions & {
11629
+ /** When true, only return links that are visible on the page. @default false */
11630
+ visibleLinksOnly?: boolean;
11631
+ /** When true, exclude links pointing to external domains. @default false */
11632
+ excludeExternalLinks?: boolean;
11633
+ };
11634
+ type BrowserRunSnapshotOptions = BrowserRunCommonOptions & {
11635
+ /** @see https://pptr.dev/api/puppeteer.screenshotoptions */
11636
+ screenshotOptions?: Omit<BrowserRunPuppeteerScreenshotOptions, "encoding">;
11637
+ };
11638
+ interface BrowserRunJsonBaseOptions {
11639
+ /** Custom AI models to try in order. Max 3. Falls back to next on error. */
11640
+ custom_ai?: Array<{
11641
+ /** Model ID in `<provider>/<model_name>` format, e.g. `"workers-ai/@cf/meta/llama-3.3-70b-instruct-fp8-fast"`. */
11642
+ model: string;
11643
+ /** Bearer token. Not needed for workers-ai models. */
11644
+ authorization?: string;
11645
+ }>;
11646
+ }
11647
+ /**
11648
+ * Options for the `json` quick action.
11649
+ * At least one of `prompt` or `response_format` must be provided.
11650
+ */
11651
+ type BrowserRunJsonOptions = BrowserRunCommonOptions &
11652
+ BrowserRunJsonBaseOptions &
11653
+ (
11654
+ | {
11655
+ /** Natural-language prompt describing what data to extract. */
11656
+ prompt: string;
11657
+ /** Structured output schema for the AI model. @see https://developers.cloudflare.com/workers-ai/json-mode/ */
11658
+ response_format?: AiTextGenerationResponseFormat;
11659
+ }
11660
+ | {
11661
+ /** Natural-language prompt describing what data to extract. */
11662
+ prompt?: string;
11663
+ /** Structured output schema for the AI model. @see https://developers.cloudflare.com/workers-ai/json-mode/ */
11664
+ response_format: AiTextGenerationResponseFormat;
11665
+ }
11666
+ );
11667
+ type BrowserRunContentOptions = BrowserRunCommonOptions;
11668
+ type BrowserRunMarkdownOptions = BrowserRunCommonOptions;
11669
+ type BrowserRunResponseMeta = {
11670
+ /** HTTP status code of the rendered page */
11671
+ status: number;
11672
+ /** Page title */
11673
+ title: string;
11674
+ };
11675
+ /** Success response for `content` action. */
11676
+ type BrowserRunContentSuccessResponse = {
11677
+ success: true;
11678
+ /** Extracted HTML content */
11679
+ result: string;
11680
+ meta: BrowserRunResponseMeta;
11681
+ };
11682
+ /** Success response for `links` action. */
11683
+ type BrowserRunLinksSuccessResponse = {
11684
+ success: true;
11685
+ /** Extracted links */
11686
+ result: string[];
11687
+ };
11688
+ /** Success response for `scrape` action. */
11689
+ type BrowserRunScrapeSuccessResponse = {
11690
+ success: true;
11691
+ result: Array<{
11692
+ /** The CSS selector used to find elements. */
11693
+ selector: string;
11694
+ /** Array of elements matching the selector. */
11695
+ results: Array<{
11696
+ /** Outer HTML of the element. */
11697
+ html: string;
11698
+ /** Text content of the element. */
11699
+ text: string;
11700
+ /** Width of the element in pixels. */
11701
+ width: number;
11702
+ /** Height of the element in pixels. */
11703
+ height: number;
11704
+ /** Top position of the element relative to the viewport in pixels. */
11705
+ top: number;
11706
+ /** Left position of the element relative to the viewport in pixels. */
11707
+ left: number;
11708
+ /** Array of HTML attributes on the element. */
11709
+ attributes: Array<{
11710
+ /** Attribute name. */
11711
+ name: string;
11712
+ /** Attribute value. */
11713
+ value: string;
11714
+ }>;
11715
+ }>;
11716
+ }>;
11717
+ };
11718
+ /** Success response for `snapshot` action. */
11719
+ type BrowserRunSnapshotSuccessResponse = {
11720
+ success: true;
11721
+ result: {
11722
+ /** HTML content of the page. */
11723
+ content: string;
11724
+ /** Base64-encoded screenshot image. */
11725
+ screenshot: string;
11726
+ };
11727
+ meta: BrowserRunResponseMeta;
11728
+ };
11729
+ /** Success response for `json` action. */
11730
+ type BrowserRunJsonSuccessResponse = {
11731
+ success: true;
11732
+ /** JSON data extracted from the page using an AI model */
11733
+ result: Record<string, unknown>;
11734
+ };
11735
+ /** Success response for `markdown` action. */
11736
+ type BrowserRunMarkdownSuccessResponse = {
11737
+ success: true;
11738
+ /** Extracted markdown content */
11739
+ result: string;
11740
+ };
11741
+ /** Error response for BrowserRun actions. */
11742
+ type BrowserRunErrorResponse = {
11743
+ success: false;
11744
+ errors: {
11745
+ message: string;
11746
+ code?: number;
11747
+ detail?: string;
11748
+ path?: string;
11749
+ }[];
11750
+ };
11751
+ /** Error response for BrowserRun `json` action. */
11752
+ type BrowserRunJsonErrorResponse = BrowserRunErrorResponse & {
11753
+ /** Raw AI response text for debugging */
11754
+ rawAiResponse?: string;
11755
+ };
11756
+ /**
11757
+ * Browser Run API binding for automating headless browsers.
11758
+ * @see https://developers.cloudflare.com/browser-run/
11759
+ */
11760
+ declare abstract class BrowserRun {
11761
+ /**
11762
+ * Send a raw HTTP request to the Browser Run API.
11763
+ * Used by libraries like `@cloudflare/puppeteer` to acquire and connect to a browser instance.
11764
+ * @see https://developers.cloudflare.com/browser-run/
11765
+ */
11766
+ fetch(input: RequestInfo | URL, init?: RequestInit): Promise<Response>;
11767
+ /**
11768
+ * Take a screenshot of a web page.
11769
+ * @param action - Must be `'screenshot'`.
11770
+ * @param options - Screenshot options including viewport, selectors, and image format.
11771
+ * @returns A `Response` containing one of:
11772
+ *
11773
+ * **Success (HTTP 200):**
11774
+ * - Binary image data with `Content-Type: image/png`, `image/jpeg`, or `image/webp` (when `encoding: 'binary'`, the default)
11775
+ * - Data URI string with `Content-Type: text/plain` (when `encoding: 'base64'`)
11776
+ *
11777
+ * **Error:**
11778
+ * - `BrowserRunErrorResponse` JSON with appropriate HTTP status code (400, 422, 429, 500, 503)
11779
+ *
11780
+ * **Headers:**
11781
+ * - `X-Browser-Ms-Used`: Browser time consumed in milliseconds (set when status < 500)
11782
+ */
11783
+ quickAction(
11784
+ action: "screenshot",
11785
+ options: BrowserRunScreenshotOptions,
11786
+ ): Promise<Response>;
11787
+ /**
11788
+ * Generate a PDF of a web page.
11789
+ * @param action - Must be `'pdf'`.
11790
+ * @param options - PDF generation options including page size, margins, and headers/footers.
11791
+ * @returns A `Response` containing one of:
11792
+ *
11793
+ * **Success (HTTP 200):**
11794
+ * - Binary PDF data with `Content-Type: application/pdf`
11795
+ *
11796
+ * **Error:**
11797
+ * - `BrowserRunErrorResponse` JSON with appropriate HTTP status code (400, 422, 429, 500, 503)
11798
+ *
11799
+ * **Headers:**
11800
+ * - `X-Browser-Ms-Used`: Browser time consumed in milliseconds (set when status < 500)
11801
+ */
11802
+ quickAction(action: "pdf", options: BrowserRunPDFOptions): Promise<Response>;
11803
+ /**
11804
+ * Get the HTML content of a web page.
11805
+ * @param action - Must be `'content'`.
11806
+ * @param options - Navigation and page interaction options.
11807
+ * @returns A `Response` containing one of:
11808
+ *
11809
+ * **Success (HTTP 200):**
11810
+ * - `BrowserRunContentSuccessResponse` JSON with `Content-Type: application/json`
11811
+ *
11812
+ * **Error:**
11813
+ * - `BrowserRunErrorResponse` JSON with appropriate HTTP status code (400, 422, 429, 500, 503)
11814
+ *
11815
+ * **Headers:**
11816
+ * - `X-Browser-Ms-Used`: Browser time consumed in milliseconds (set when status < 500)
11817
+ */
11818
+ quickAction(
11819
+ action: "content",
11820
+ options: BrowserRunContentOptions,
11821
+ ): Promise<Response>;
11822
+ /**
11823
+ * Scrape elements from a web page by CSS selector.
11824
+ * @param action - Must be `'scrape'`.
11825
+ * @param options - Scrape options with CSS selectors for elements to extract.
11826
+ * @returns A `Response` containing one of:
11827
+ *
11828
+ * **Success (HTTP 200):**
11829
+ * - `BrowserRunScrapeSuccessResponse` JSON with `Content-Type: application/json`
11830
+ *
11831
+ * **Error:**
11832
+ * - `BrowserRunErrorResponse` JSON with appropriate HTTP status code (400, 422, 429, 500, 503)
11833
+ *
11834
+ * **Headers:**
11835
+ * - `X-Browser-Ms-Used`: Browser time consumed in milliseconds (set when status < 500)
11836
+ */
11837
+ quickAction(
11838
+ action: "scrape",
11839
+ options: BrowserRunScrapeOptions,
11840
+ ): Promise<Response>;
11841
+ /**
11842
+ * Extract all links from a web page.
11843
+ * @param action - Must be `'links'`.
11844
+ * @param options - Options to filter visible or internal links only.
11845
+ * @returns A `Response` containing one of:
11846
+ *
11847
+ * **Success (HTTP 200):**
11848
+ * - `BrowserRunLinksSuccessResponse` JSON with `Content-Type: application/json`
11849
+ *
11850
+ * **Error:**
11851
+ * - `BrowserRunErrorResponse` JSON with appropriate HTTP status code (400, 422, 429, 500, 503)
11852
+ *
11853
+ * **Headers:**
11854
+ * - `X-Browser-Ms-Used`: Browser time consumed in milliseconds (set when status < 500)
11855
+ */
11856
+ quickAction(
11857
+ action: "links",
11858
+ options: BrowserRunLinksOptions,
11859
+ ): Promise<Response>;
11860
+ /**
11861
+ * Get both the HTML content and a base64-encoded screenshot of a web page.
11862
+ * @param action - Must be `'snapshot'`.
11863
+ * @param options - Snapshot options including screenshot settings (encoding is always base64).
11864
+ * @returns A `Response` containing one of:
11865
+ *
11866
+ * **Success (HTTP 200):**
11867
+ * - `BrowserRunSnapshotSuccessResponse` JSON with `Content-Type: application/json`
11868
+ *
11869
+ * **Error:**
11870
+ * - `BrowserRunErrorResponse` JSON with appropriate HTTP status code (400, 422, 429, 500, 503)
11871
+ *
11872
+ * **Headers:**
11873
+ * - `X-Browser-Ms-Used`: Browser time consumed in milliseconds (set when status < 500)
11874
+ */
11875
+ quickAction(
11876
+ action: "snapshot",
11877
+ options: BrowserRunSnapshotOptions,
11878
+ ): Promise<Response>;
11879
+ /**
11880
+ * Extract structured JSON data from a web page using AI.
11881
+ * @param action - Must be `'json'`.
11882
+ * @param options - JSON extraction options with prompt or response_format schema.
11883
+ * @returns A `Response` containing one of:
11884
+ *
11885
+ * **Success (HTTP 200):**
11886
+ * - `BrowserRunJsonSuccessResponse` JSON with `Content-Type: application/json`
11887
+ *
11888
+ * **Error:**
11889
+ * - `BrowserRunErrorResponse` JSON with appropriate HTTP status code (400, 422, 429, 500, 503)
11890
+ * - HTTP 422 with code `2012` for HTML-to-markdown conversion failures
11891
+ * - HTTP 422/500 for AI extraction failures (may include `rawAiResponse` field)
11892
+ *
11893
+ * **Headers:**
11894
+ * - `X-Browser-Ms-Used`: Browser time consumed in milliseconds (set when status < 500)
11895
+ */
11896
+ quickAction(
11897
+ action: "json",
11898
+ options: BrowserRunJsonOptions,
11899
+ ): Promise<Response>;
11900
+ /**
11901
+ * Convert a web page to Markdown.
11902
+ * @param action - Must be `'markdown'`.
11903
+ * @param options - Navigation and page interaction options.
11904
+ * @returns A `Response` containing one of:
11905
+ *
11906
+ * **Success (HTTP 200):**
11907
+ * - `BrowserRunMarkdownSuccessResponse` JSON with `Content-Type: application/json`
11908
+ *
11909
+ * **Error:**
11910
+ * - `BrowserRunErrorResponse` JSON with appropriate HTTP status code (400, 422, 429, 500, 503)
11911
+ * - HTTP 422 with code `2012` for HTML-to-markdown conversion failures
11912
+ *
11913
+ * **Headers:**
11914
+ * - `X-Browser-Ms-Used`: Browser time consumed in milliseconds (set when status < 500)
11915
+ */
11916
+ quickAction(
11917
+ action: "markdown",
11918
+ options: BrowserRunMarkdownOptions,
11919
+ ): Promise<Response>;
11920
+ }
11414
11921
  interface BasicImageTransformations {
11415
11922
  /**
11416
11923
  * Maximum width in image pixels. The value must be an integer.
@@ -13664,6 +14171,7 @@ declare namespace CloudflareWorkersModule {
13664
14171
  export type WorkflowTimeoutDuration = WorkflowSleepDuration;
13665
14172
  export type WorkflowRetentionDuration = WorkflowSleepDuration;
13666
14173
  export type WorkflowBackoff = "constant" | "linear" | "exponential";
14174
+ export type WorkflowStepSensitivity = "output";
13667
14175
  export type WorkflowStepConfig = {
13668
14176
  retries?: {
13669
14177
  limit: number;
@@ -13671,16 +14179,26 @@ declare namespace CloudflareWorkersModule {
13671
14179
  backoff?: WorkflowBackoff;
13672
14180
  };
13673
14181
  timeout?: WorkflowTimeoutDuration | number;
14182
+ sensitive?: WorkflowStepSensitivity;
14183
+ };
14184
+ export type WorkflowCronSchedule = {
14185
+ /** Cron expression that triggered this event. */
14186
+ cron: string;
14187
+ /** Timestamp of the scheduled trigger, in milliseconds since the Unix epoch. */
14188
+ scheduledTime: number;
13674
14189
  };
13675
14190
  export type WorkflowEvent<T> = {
13676
14191
  payload: Readonly<T>;
13677
14192
  timestamp: Date;
13678
14193
  instanceId: string;
14194
+ workflowName: string;
14195
+ schedule?: WorkflowCronSchedule;
13679
14196
  };
13680
14197
  export type WorkflowStepEvent<T> = {
13681
14198
  payload: Readonly<T>;
13682
14199
  timestamp: Date;
13683
14200
  type: string;
14201
+ sensitive?: WorkflowStepSensitivity;
13684
14202
  };
13685
14203
  export type WorkflowStepContext = {
13686
14204
  step: {