@cloudflare/workers-types 4.20260124.0 → 4.20260128.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1617,6 +1617,12 @@ declare abstract class PromiseRejectionEvent extends Event {
1617
1617
  */
1618
1618
  declare class FormData {
1619
1619
  constructor();
1620
+ /**
1621
+ * The **`append()`** method of the FormData interface appends a new value onto an existing key inside a `FormData` object, or adds the key if it does not already exist.
1622
+ *
1623
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/FormData/append)
1624
+ */
1625
+ append(name: string, value: string | Blob): void;
1620
1626
  /**
1621
1627
  * The **`append()`** method of the FormData interface appends a new value onto an existing key inside a `FormData` object, or adds the key if it does not already exist.
1622
1628
  *
@@ -1653,6 +1659,12 @@ declare class FormData {
1653
1659
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/FormData/has)
1654
1660
  */
1655
1661
  has(name: string): boolean;
1662
+ /**
1663
+ * The **`set()`** method of the FormData interface sets a new value for an existing key inside a `FormData` object, or adds the key/value if it does not already exist.
1664
+ *
1665
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/FormData/set)
1666
+ */
1667
+ set(name: string, value: string | Blob): void;
1656
1668
  /**
1657
1669
  * The **`set()`** method of the FormData interface sets a new value for an existing key inside a `FormData` object, or adds the key/value if it does not already exist.
1658
1670
  *
@@ -1985,8 +1997,10 @@ declare var Request: {
1985
1997
  *
1986
1998
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Request)
1987
1999
  */
1988
- interface Request<CfHostMetadata = unknown, Cf = CfProperties<CfHostMetadata>>
1989
- extends Body {
2000
+ interface Request<
2001
+ CfHostMetadata = unknown,
2002
+ Cf = CfProperties<CfHostMetadata>,
2003
+ > extends Body {
1990
2004
  /**
1991
2005
  * The **`clone()`** method of the Request interface creates a copy of the current `Request` object.
1992
2006
  *
@@ -3009,9 +3023,7 @@ interface TextDecoderStreamTextDecoderStreamInit {
3009
3023
  *
3010
3024
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/ByteLengthQueuingStrategy)
3011
3025
  */
3012
- declare class ByteLengthQueuingStrategy
3013
- implements QueuingStrategy<ArrayBufferView>
3014
- {
3026
+ declare class ByteLengthQueuingStrategy implements QueuingStrategy<ArrayBufferView> {
3015
3027
  constructor(init: QueuingStrategyInit);
3016
3028
  /**
3017
3029
  * The read-only **`ByteLengthQueuingStrategy.highWaterMark`** property returns the total number of bytes that can be contained in the internal queue before backpressure is applied.
@@ -9937,8 +9949,7 @@ interface IncomingRequestCfPropertiesBotManagement {
9937
9949
  */
9938
9950
  clientTrustScore: number;
9939
9951
  }
9940
- interface IncomingRequestCfPropertiesBotManagementEnterprise
9941
- extends IncomingRequestCfPropertiesBotManagement {
9952
+ interface IncomingRequestCfPropertiesBotManagementEnterprise extends IncomingRequestCfPropertiesBotManagement {
9942
9953
  /**
9943
9954
  * Results of Cloudflare's Bot Management analysis
9944
9955
  */
@@ -11487,7 +11498,8 @@ declare namespace CloudflareWorkersModule {
11487
11498
  export abstract class WorkflowEntrypoint<
11488
11499
  Env = unknown,
11489
11500
  T extends Rpc.Serializable<T> | unknown = unknown,
11490
- > implements Rpc.WorkflowEntrypointBranded
11501
+ >
11502
+ implements Rpc.WorkflowEntrypointBranded
11491
11503
  {
11492
11504
  [Rpc.__WORKFLOW_ENTRYPOINT_BRAND]: never;
11493
11505
  protected ctx: ExecutionContext;
@@ -1622,6 +1622,12 @@ export declare abstract class PromiseRejectionEvent extends Event {
1622
1622
  */
1623
1623
  export declare class FormData {
1624
1624
  constructor();
1625
+ /**
1626
+ * The **`append()`** method of the FormData interface appends a new value onto an existing key inside a `FormData` object, or adds the key if it does not already exist.
1627
+ *
1628
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/FormData/append)
1629
+ */
1630
+ append(name: string, value: string | Blob): void;
1625
1631
  /**
1626
1632
  * The **`append()`** method of the FormData interface appends a new value onto an existing key inside a `FormData` object, or adds the key if it does not already exist.
1627
1633
  *
@@ -1658,6 +1664,12 @@ export declare class FormData {
1658
1664
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/FormData/has)
1659
1665
  */
1660
1666
  has(name: string): boolean;
1667
+ /**
1668
+ * The **`set()`** method of the FormData interface sets a new value for an existing key inside a `FormData` object, or adds the key/value if it does not already exist.
1669
+ *
1670
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/FormData/set)
1671
+ */
1672
+ set(name: string, value: string | Blob): void;
1661
1673
  /**
1662
1674
  * The **`set()`** method of the FormData interface sets a new value for an existing key inside a `FormData` object, or adds the key/value if it does not already exist.
1663
1675
  *
@@ -3020,9 +3032,7 @@ export interface TextDecoderStreamTextDecoderStreamInit {
3020
3032
  *
3021
3033
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/ByteLengthQueuingStrategy)
3022
3034
  */
3023
- export declare class ByteLengthQueuingStrategy
3024
- implements QueuingStrategy<ArrayBufferView>
3025
- {
3035
+ export declare class ByteLengthQueuingStrategy implements QueuingStrategy<ArrayBufferView> {
3026
3036
  constructor(init: QueuingStrategyInit);
3027
3037
  /**
3028
3038
  * The read-only **`ByteLengthQueuingStrategy.highWaterMark`** property returns the total number of bytes that can be contained in the internal queue before backpressure is applied.
@@ -9612,8 +9622,7 @@ export interface RequestInitCfProperties extends Record<string, unknown> {
9612
9622
  */
9613
9623
  resolveOverride?: string;
9614
9624
  }
9615
- export interface RequestInitCfPropertiesImageDraw
9616
- extends BasicImageTransformations {
9625
+ export interface RequestInitCfPropertiesImageDraw extends BasicImageTransformations {
9617
9626
  /**
9618
9627
  * Absolute URL of the image file to use for the drawing. It can be any of
9619
9628
  * the supported file formats. For drawing of watermarks or non-rectangular
@@ -9650,8 +9659,7 @@ export interface RequestInitCfPropertiesImageDraw
9650
9659
  bottom?: number;
9651
9660
  right?: number;
9652
9661
  }
9653
- export interface RequestInitCfPropertiesImage
9654
- extends BasicImageTransformations {
9662
+ export interface RequestInitCfPropertiesImage extends BasicImageTransformations {
9655
9663
  /**
9656
9664
  * Device Pixel Ratio. Default 1. Multiplier for width/height that makes it
9657
9665
  * easier to specify higher-DPI sizes in <img srcset>.
@@ -9836,8 +9844,10 @@ export type IncomingRequestCfProperties<HostMetadata = unknown> =
9836
9844
  IncomingRequestCfPropertiesCloudflareForSaaSEnterprise<HostMetadata> &
9837
9845
  IncomingRequestCfPropertiesGeographicInformation &
9838
9846
  IncomingRequestCfPropertiesCloudflareAccessOrApiShield;
9839
- export interface IncomingRequestCfPropertiesBase
9840
- extends Record<string, unknown> {
9847
+ export interface IncomingRequestCfPropertiesBase extends Record<
9848
+ string,
9849
+ unknown
9850
+ > {
9841
9851
  /**
9842
9852
  * [ASN](https://www.iana.org/assignments/as-numbers/as-numbers.xhtml) of the incoming request.
9843
9853
  *
@@ -9954,8 +9964,7 @@ export interface IncomingRequestCfPropertiesBotManagement {
9954
9964
  */
9955
9965
  clientTrustScore: number;
9956
9966
  }
9957
- export interface IncomingRequestCfPropertiesBotManagementEnterprise
9958
- extends IncomingRequestCfPropertiesBotManagement {
9967
+ export interface IncomingRequestCfPropertiesBotManagementEnterprise extends IncomingRequestCfPropertiesBotManagement {
9959
9968
  /**
9960
9969
  * Results of Cloudflare's Bot Management analysis
9961
9970
  */
@@ -11457,7 +11466,8 @@ export declare namespace CloudflareWorkersModule {
11457
11466
  export abstract class WorkflowEntrypoint<
11458
11467
  Env = unknown,
11459
11468
  T extends Rpc.Serializable<T> | unknown = unknown,
11460
- > implements Rpc.WorkflowEntrypointBranded
11469
+ >
11470
+ implements Rpc.WorkflowEntrypointBranded
11461
11471
  {
11462
11472
  [Rpc.__WORKFLOW_ENTRYPOINT_BRAND]: never;
11463
11473
  protected ctx: ExecutionContext;
@@ -1624,6 +1624,12 @@ declare abstract class PromiseRejectionEvent extends Event {
1624
1624
  */
1625
1625
  declare class FormData {
1626
1626
  constructor();
1627
+ /**
1628
+ * The **`append()`** method of the FormData interface appends a new value onto an existing key inside a `FormData` object, or adds the key if it does not already exist.
1629
+ *
1630
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/FormData/append)
1631
+ */
1632
+ append(name: string, value: string | Blob): void;
1627
1633
  /**
1628
1634
  * The **`append()`** method of the FormData interface appends a new value onto an existing key inside a `FormData` object, or adds the key if it does not already exist.
1629
1635
  *
@@ -1660,6 +1666,12 @@ declare class FormData {
1660
1666
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/FormData/has)
1661
1667
  */
1662
1668
  has(name: string): boolean;
1669
+ /**
1670
+ * The **`set()`** method of the FormData interface sets a new value for an existing key inside a `FormData` object, or adds the key/value if it does not already exist.
1671
+ *
1672
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/FormData/set)
1673
+ */
1674
+ set(name: string, value: string | Blob): void;
1663
1675
  /**
1664
1676
  * The **`set()`** method of the FormData interface sets a new value for an existing key inside a `FormData` object, or adds the key/value if it does not already exist.
1665
1677
  *
@@ -1992,8 +2004,10 @@ declare var Request: {
1992
2004
  *
1993
2005
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Request)
1994
2006
  */
1995
- interface Request<CfHostMetadata = unknown, Cf = CfProperties<CfHostMetadata>>
1996
- extends Body {
2007
+ interface Request<
2008
+ CfHostMetadata = unknown,
2009
+ Cf = CfProperties<CfHostMetadata>,
2010
+ > extends Body {
1997
2011
  /**
1998
2012
  * The **`clone()`** method of the Request interface creates a copy of the current `Request` object.
1999
2013
  *
@@ -3016,9 +3030,7 @@ interface TextDecoderStreamTextDecoderStreamInit {
3016
3030
  *
3017
3031
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/ByteLengthQueuingStrategy)
3018
3032
  */
3019
- declare class ByteLengthQueuingStrategy
3020
- implements QueuingStrategy<ArrayBufferView>
3021
- {
3033
+ declare class ByteLengthQueuingStrategy implements QueuingStrategy<ArrayBufferView> {
3022
3034
  constructor(init: QueuingStrategyInit);
3023
3035
  /**
3024
3036
  * The read-only **`ByteLengthQueuingStrategy.highWaterMark`** property returns the total number of bytes that can be contained in the internal queue before backpressure is applied.
@@ -10004,8 +10016,7 @@ interface IncomingRequestCfPropertiesBotManagement {
10004
10016
  */
10005
10017
  clientTrustScore: number;
10006
10018
  }
10007
- interface IncomingRequestCfPropertiesBotManagementEnterprise
10008
- extends IncomingRequestCfPropertiesBotManagement {
10019
+ interface IncomingRequestCfPropertiesBotManagementEnterprise extends IncomingRequestCfPropertiesBotManagement {
10009
10020
  /**
10010
10021
  * Results of Cloudflare's Bot Management analysis
10011
10022
  */
@@ -11554,7 +11565,8 @@ declare namespace CloudflareWorkersModule {
11554
11565
  export abstract class WorkflowEntrypoint<
11555
11566
  Env = unknown,
11556
11567
  T extends Rpc.Serializable<T> | unknown = unknown,
11557
- > implements Rpc.WorkflowEntrypointBranded
11568
+ >
11569
+ implements Rpc.WorkflowEntrypointBranded
11558
11570
  {
11559
11571
  [Rpc.__WORKFLOW_ENTRYPOINT_BRAND]: never;
11560
11572
  protected ctx: ExecutionContext;
@@ -1629,6 +1629,12 @@ export declare abstract class PromiseRejectionEvent extends Event {
1629
1629
  */
1630
1630
  export declare class FormData {
1631
1631
  constructor();
1632
+ /**
1633
+ * The **`append()`** method of the FormData interface appends a new value onto an existing key inside a `FormData` object, or adds the key if it does not already exist.
1634
+ *
1635
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/FormData/append)
1636
+ */
1637
+ append(name: string, value: string | Blob): void;
1632
1638
  /**
1633
1639
  * The **`append()`** method of the FormData interface appends a new value onto an existing key inside a `FormData` object, or adds the key if it does not already exist.
1634
1640
  *
@@ -1665,6 +1671,12 @@ export declare class FormData {
1665
1671
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/FormData/has)
1666
1672
  */
1667
1673
  has(name: string): boolean;
1674
+ /**
1675
+ * The **`set()`** method of the FormData interface sets a new value for an existing key inside a `FormData` object, or adds the key/value if it does not already exist.
1676
+ *
1677
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/FormData/set)
1678
+ */
1679
+ set(name: string, value: string | Blob): void;
1668
1680
  /**
1669
1681
  * The **`set()`** method of the FormData interface sets a new value for an existing key inside a `FormData` object, or adds the key/value if it does not already exist.
1670
1682
  *
@@ -3027,9 +3039,7 @@ export interface TextDecoderStreamTextDecoderStreamInit {
3027
3039
  *
3028
3040
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/ByteLengthQueuingStrategy)
3029
3041
  */
3030
- export declare class ByteLengthQueuingStrategy
3031
- implements QueuingStrategy<ArrayBufferView>
3032
- {
3042
+ export declare class ByteLengthQueuingStrategy implements QueuingStrategy<ArrayBufferView> {
3033
3043
  constructor(init: QueuingStrategyInit);
3034
3044
  /**
3035
3045
  * The read-only **`ByteLengthQueuingStrategy.highWaterMark`** property returns the total number of bytes that can be contained in the internal queue before backpressure is applied.
@@ -9679,8 +9689,7 @@ export interface RequestInitCfProperties extends Record<string, unknown> {
9679
9689
  */
9680
9690
  resolveOverride?: string;
9681
9691
  }
9682
- export interface RequestInitCfPropertiesImageDraw
9683
- extends BasicImageTransformations {
9692
+ export interface RequestInitCfPropertiesImageDraw extends BasicImageTransformations {
9684
9693
  /**
9685
9694
  * Absolute URL of the image file to use for the drawing. It can be any of
9686
9695
  * the supported file formats. For drawing of watermarks or non-rectangular
@@ -9717,8 +9726,7 @@ export interface RequestInitCfPropertiesImageDraw
9717
9726
  bottom?: number;
9718
9727
  right?: number;
9719
9728
  }
9720
- export interface RequestInitCfPropertiesImage
9721
- extends BasicImageTransformations {
9729
+ export interface RequestInitCfPropertiesImage extends BasicImageTransformations {
9722
9730
  /**
9723
9731
  * Device Pixel Ratio. Default 1. Multiplier for width/height that makes it
9724
9732
  * easier to specify higher-DPI sizes in <img srcset>.
@@ -9903,8 +9911,10 @@ export type IncomingRequestCfProperties<HostMetadata = unknown> =
9903
9911
  IncomingRequestCfPropertiesCloudflareForSaaSEnterprise<HostMetadata> &
9904
9912
  IncomingRequestCfPropertiesGeographicInformation &
9905
9913
  IncomingRequestCfPropertiesCloudflareAccessOrApiShield;
9906
- export interface IncomingRequestCfPropertiesBase
9907
- extends Record<string, unknown> {
9914
+ export interface IncomingRequestCfPropertiesBase extends Record<
9915
+ string,
9916
+ unknown
9917
+ > {
9908
9918
  /**
9909
9919
  * [ASN](https://www.iana.org/assignments/as-numbers/as-numbers.xhtml) of the incoming request.
9910
9920
  *
@@ -10021,8 +10031,7 @@ export interface IncomingRequestCfPropertiesBotManagement {
10021
10031
  */
10022
10032
  clientTrustScore: number;
10023
10033
  }
10024
- export interface IncomingRequestCfPropertiesBotManagementEnterprise
10025
- extends IncomingRequestCfPropertiesBotManagement {
10034
+ export interface IncomingRequestCfPropertiesBotManagementEnterprise extends IncomingRequestCfPropertiesBotManagement {
10026
10035
  /**
10027
10036
  * Results of Cloudflare's Bot Management analysis
10028
10037
  */
@@ -11524,7 +11533,8 @@ export declare namespace CloudflareWorkersModule {
11524
11533
  export abstract class WorkflowEntrypoint<
11525
11534
  Env = unknown,
11526
11535
  T extends Rpc.Serializable<T> | unknown = unknown,
11527
- > implements Rpc.WorkflowEntrypointBranded
11536
+ >
11537
+ implements Rpc.WorkflowEntrypointBranded
11528
11538
  {
11529
11539
  [Rpc.__WORKFLOW_ENTRYPOINT_BRAND]: never;
11530
11540
  protected ctx: ExecutionContext;
@@ -1632,6 +1632,12 @@ declare abstract class PromiseRejectionEvent extends Event {
1632
1632
  */
1633
1633
  declare class FormData {
1634
1634
  constructor();
1635
+ /**
1636
+ * The **`append()`** method of the FormData interface appends a new value onto an existing key inside a `FormData` object, or adds the key if it does not already exist.
1637
+ *
1638
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/FormData/append)
1639
+ */
1640
+ append(name: string, value: string | Blob): void;
1635
1641
  /**
1636
1642
  * The **`append()`** method of the FormData interface appends a new value onto an existing key inside a `FormData` object, or adds the key if it does not already exist.
1637
1643
  *
@@ -1668,6 +1674,12 @@ declare class FormData {
1668
1674
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/FormData/has)
1669
1675
  */
1670
1676
  has(name: string): boolean;
1677
+ /**
1678
+ * The **`set()`** method of the FormData interface sets a new value for an existing key inside a `FormData` object, or adds the key/value if it does not already exist.
1679
+ *
1680
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/FormData/set)
1681
+ */
1682
+ set(name: string, value: string | Blob): void;
1671
1683
  /**
1672
1684
  * The **`set()`** method of the FormData interface sets a new value for an existing key inside a `FormData` object, or adds the key/value if it does not already exist.
1673
1685
  *
@@ -2000,8 +2012,10 @@ declare var Request: {
2000
2012
  *
2001
2013
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Request)
2002
2014
  */
2003
- interface Request<CfHostMetadata = unknown, Cf = CfProperties<CfHostMetadata>>
2004
- extends Body {
2015
+ interface Request<
2016
+ CfHostMetadata = unknown,
2017
+ Cf = CfProperties<CfHostMetadata>,
2018
+ > extends Body {
2005
2019
  /**
2006
2020
  * The **`clone()`** method of the Request interface creates a copy of the current `Request` object.
2007
2021
  *
@@ -3024,9 +3038,7 @@ interface TextDecoderStreamTextDecoderStreamInit {
3024
3038
  *
3025
3039
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/ByteLengthQueuingStrategy)
3026
3040
  */
3027
- declare class ByteLengthQueuingStrategy
3028
- implements QueuingStrategy<ArrayBufferView>
3029
- {
3041
+ declare class ByteLengthQueuingStrategy implements QueuingStrategy<ArrayBufferView> {
3030
3042
  constructor(init: QueuingStrategyInit);
3031
3043
  /**
3032
3044
  * The read-only **`ByteLengthQueuingStrategy.highWaterMark`** property returns the total number of bytes that can be contained in the internal queue before backpressure is applied.
@@ -10012,8 +10024,7 @@ interface IncomingRequestCfPropertiesBotManagement {
10012
10024
  */
10013
10025
  clientTrustScore: number;
10014
10026
  }
10015
- interface IncomingRequestCfPropertiesBotManagementEnterprise
10016
- extends IncomingRequestCfPropertiesBotManagement {
10027
+ interface IncomingRequestCfPropertiesBotManagementEnterprise extends IncomingRequestCfPropertiesBotManagement {
10017
10028
  /**
10018
10029
  * Results of Cloudflare's Bot Management analysis
10019
10030
  */
@@ -11562,7 +11573,8 @@ declare namespace CloudflareWorkersModule {
11562
11573
  export abstract class WorkflowEntrypoint<
11563
11574
  Env = unknown,
11564
11575
  T extends Rpc.Serializable<T> | unknown = unknown,
11565
- > implements Rpc.WorkflowEntrypointBranded
11576
+ >
11577
+ implements Rpc.WorkflowEntrypointBranded
11566
11578
  {
11567
11579
  [Rpc.__WORKFLOW_ENTRYPOINT_BRAND]: never;
11568
11580
  protected ctx: ExecutionContext;
@@ -1637,6 +1637,12 @@ export declare abstract class PromiseRejectionEvent extends Event {
1637
1637
  */
1638
1638
  export declare class FormData {
1639
1639
  constructor();
1640
+ /**
1641
+ * The **`append()`** method of the FormData interface appends a new value onto an existing key inside a `FormData` object, or adds the key if it does not already exist.
1642
+ *
1643
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/FormData/append)
1644
+ */
1645
+ append(name: string, value: string | Blob): void;
1640
1646
  /**
1641
1647
  * The **`append()`** method of the FormData interface appends a new value onto an existing key inside a `FormData` object, or adds the key if it does not already exist.
1642
1648
  *
@@ -1673,6 +1679,12 @@ export declare class FormData {
1673
1679
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/FormData/has)
1674
1680
  */
1675
1681
  has(name: string): boolean;
1682
+ /**
1683
+ * The **`set()`** method of the FormData interface sets a new value for an existing key inside a `FormData` object, or adds the key/value if it does not already exist.
1684
+ *
1685
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/FormData/set)
1686
+ */
1687
+ set(name: string, value: string | Blob): void;
1676
1688
  /**
1677
1689
  * The **`set()`** method of the FormData interface sets a new value for an existing key inside a `FormData` object, or adds the key/value if it does not already exist.
1678
1690
  *
@@ -3035,9 +3047,7 @@ export interface TextDecoderStreamTextDecoderStreamInit {
3035
3047
  *
3036
3048
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/ByteLengthQueuingStrategy)
3037
3049
  */
3038
- export declare class ByteLengthQueuingStrategy
3039
- implements QueuingStrategy<ArrayBufferView>
3040
- {
3050
+ export declare class ByteLengthQueuingStrategy implements QueuingStrategy<ArrayBufferView> {
3041
3051
  constructor(init: QueuingStrategyInit);
3042
3052
  /**
3043
3053
  * The read-only **`ByteLengthQueuingStrategy.highWaterMark`** property returns the total number of bytes that can be contained in the internal queue before backpressure is applied.
@@ -9687,8 +9697,7 @@ export interface RequestInitCfProperties extends Record<string, unknown> {
9687
9697
  */
9688
9698
  resolveOverride?: string;
9689
9699
  }
9690
- export interface RequestInitCfPropertiesImageDraw
9691
- extends BasicImageTransformations {
9700
+ export interface RequestInitCfPropertiesImageDraw extends BasicImageTransformations {
9692
9701
  /**
9693
9702
  * Absolute URL of the image file to use for the drawing. It can be any of
9694
9703
  * the supported file formats. For drawing of watermarks or non-rectangular
@@ -9725,8 +9734,7 @@ export interface RequestInitCfPropertiesImageDraw
9725
9734
  bottom?: number;
9726
9735
  right?: number;
9727
9736
  }
9728
- export interface RequestInitCfPropertiesImage
9729
- extends BasicImageTransformations {
9737
+ export interface RequestInitCfPropertiesImage extends BasicImageTransformations {
9730
9738
  /**
9731
9739
  * Device Pixel Ratio. Default 1. Multiplier for width/height that makes it
9732
9740
  * easier to specify higher-DPI sizes in <img srcset>.
@@ -9911,8 +9919,10 @@ export type IncomingRequestCfProperties<HostMetadata = unknown> =
9911
9919
  IncomingRequestCfPropertiesCloudflareForSaaSEnterprise<HostMetadata> &
9912
9920
  IncomingRequestCfPropertiesGeographicInformation &
9913
9921
  IncomingRequestCfPropertiesCloudflareAccessOrApiShield;
9914
- export interface IncomingRequestCfPropertiesBase
9915
- extends Record<string, unknown> {
9922
+ export interface IncomingRequestCfPropertiesBase extends Record<
9923
+ string,
9924
+ unknown
9925
+ > {
9916
9926
  /**
9917
9927
  * [ASN](https://www.iana.org/assignments/as-numbers/as-numbers.xhtml) of the incoming request.
9918
9928
  *
@@ -10029,8 +10039,7 @@ export interface IncomingRequestCfPropertiesBotManagement {
10029
10039
  */
10030
10040
  clientTrustScore: number;
10031
10041
  }
10032
- export interface IncomingRequestCfPropertiesBotManagementEnterprise
10033
- extends IncomingRequestCfPropertiesBotManagement {
10042
+ export interface IncomingRequestCfPropertiesBotManagementEnterprise extends IncomingRequestCfPropertiesBotManagement {
10034
10043
  /**
10035
10044
  * Results of Cloudflare's Bot Management analysis
10036
10045
  */
@@ -11532,7 +11541,8 @@ export declare namespace CloudflareWorkersModule {
11532
11541
  export abstract class WorkflowEntrypoint<
11533
11542
  Env = unknown,
11534
11543
  T extends Rpc.Serializable<T> | unknown = unknown,
11535
- > implements Rpc.WorkflowEntrypointBranded
11544
+ >
11545
+ implements Rpc.WorkflowEntrypointBranded
11536
11546
  {
11537
11547
  [Rpc.__WORKFLOW_ENTRYPOINT_BRAND]: never;
11538
11548
  protected ctx: ExecutionContext;
@@ -1632,6 +1632,12 @@ declare abstract class PromiseRejectionEvent extends Event {
1632
1632
  */
1633
1633
  declare class FormData {
1634
1634
  constructor();
1635
+ /**
1636
+ * The **`append()`** method of the FormData interface appends a new value onto an existing key inside a `FormData` object, or adds the key if it does not already exist.
1637
+ *
1638
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/FormData/append)
1639
+ */
1640
+ append(name: string, value: string | Blob): void;
1635
1641
  /**
1636
1642
  * The **`append()`** method of the FormData interface appends a new value onto an existing key inside a `FormData` object, or adds the key if it does not already exist.
1637
1643
  *
@@ -1668,6 +1674,12 @@ declare class FormData {
1668
1674
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/FormData/has)
1669
1675
  */
1670
1676
  has(name: string): boolean;
1677
+ /**
1678
+ * The **`set()`** method of the FormData interface sets a new value for an existing key inside a `FormData` object, or adds the key/value if it does not already exist.
1679
+ *
1680
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/FormData/set)
1681
+ */
1682
+ set(name: string, value: string | Blob): void;
1671
1683
  /**
1672
1684
  * The **`set()`** method of the FormData interface sets a new value for an existing key inside a `FormData` object, or adds the key/value if it does not already exist.
1673
1685
  *
@@ -2000,8 +2012,10 @@ declare var Request: {
2000
2012
  *
2001
2013
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Request)
2002
2014
  */
2003
- interface Request<CfHostMetadata = unknown, Cf = CfProperties<CfHostMetadata>>
2004
- extends Body {
2015
+ interface Request<
2016
+ CfHostMetadata = unknown,
2017
+ Cf = CfProperties<CfHostMetadata>,
2018
+ > extends Body {
2005
2019
  /**
2006
2020
  * The **`clone()`** method of the Request interface creates a copy of the current `Request` object.
2007
2021
  *
@@ -3025,9 +3039,7 @@ interface TextDecoderStreamTextDecoderStreamInit {
3025
3039
  *
3026
3040
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/ByteLengthQueuingStrategy)
3027
3041
  */
3028
- declare class ByteLengthQueuingStrategy
3029
- implements QueuingStrategy<ArrayBufferView>
3030
- {
3042
+ declare class ByteLengthQueuingStrategy implements QueuingStrategy<ArrayBufferView> {
3031
3043
  constructor(init: QueuingStrategyInit);
3032
3044
  /**
3033
3045
  * The read-only **`ByteLengthQueuingStrategy.highWaterMark`** property returns the total number of bytes that can be contained in the internal queue before backpressure is applied.
@@ -10013,8 +10025,7 @@ interface IncomingRequestCfPropertiesBotManagement {
10013
10025
  */
10014
10026
  clientTrustScore: number;
10015
10027
  }
10016
- interface IncomingRequestCfPropertiesBotManagementEnterprise
10017
- extends IncomingRequestCfPropertiesBotManagement {
10028
+ interface IncomingRequestCfPropertiesBotManagementEnterprise extends IncomingRequestCfPropertiesBotManagement {
10018
10029
  /**
10019
10030
  * Results of Cloudflare's Bot Management analysis
10020
10031
  */
@@ -11563,7 +11574,8 @@ declare namespace CloudflareWorkersModule {
11563
11574
  export abstract class WorkflowEntrypoint<
11564
11575
  Env = unknown,
11565
11576
  T extends Rpc.Serializable<T> | unknown = unknown,
11566
- > implements Rpc.WorkflowEntrypointBranded
11577
+ >
11578
+ implements Rpc.WorkflowEntrypointBranded
11567
11579
  {
11568
11580
  [Rpc.__WORKFLOW_ENTRYPOINT_BRAND]: never;
11569
11581
  protected ctx: ExecutionContext;
@@ -1637,6 +1637,12 @@ export declare abstract class PromiseRejectionEvent extends Event {
1637
1637
  */
1638
1638
  export declare class FormData {
1639
1639
  constructor();
1640
+ /**
1641
+ * The **`append()`** method of the FormData interface appends a new value onto an existing key inside a `FormData` object, or adds the key if it does not already exist.
1642
+ *
1643
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/FormData/append)
1644
+ */
1645
+ append(name: string, value: string | Blob): void;
1640
1646
  /**
1641
1647
  * The **`append()`** method of the FormData interface appends a new value onto an existing key inside a `FormData` object, or adds the key if it does not already exist.
1642
1648
  *
@@ -1673,6 +1679,12 @@ export declare class FormData {
1673
1679
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/FormData/has)
1674
1680
  */
1675
1681
  has(name: string): boolean;
1682
+ /**
1683
+ * The **`set()`** method of the FormData interface sets a new value for an existing key inside a `FormData` object, or adds the key/value if it does not already exist.
1684
+ *
1685
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/FormData/set)
1686
+ */
1687
+ set(name: string, value: string | Blob): void;
1676
1688
  /**
1677
1689
  * The **`set()`** method of the FormData interface sets a new value for an existing key inside a `FormData` object, or adds the key/value if it does not already exist.
1678
1690
  *
@@ -3036,9 +3048,7 @@ export interface TextDecoderStreamTextDecoderStreamInit {
3036
3048
  *
3037
3049
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/ByteLengthQueuingStrategy)
3038
3050
  */
3039
- export declare class ByteLengthQueuingStrategy
3040
- implements QueuingStrategy<ArrayBufferView>
3041
- {
3051
+ export declare class ByteLengthQueuingStrategy implements QueuingStrategy<ArrayBufferView> {
3042
3052
  constructor(init: QueuingStrategyInit);
3043
3053
  /**
3044
3054
  * The read-only **`ByteLengthQueuingStrategy.highWaterMark`** property returns the total number of bytes that can be contained in the internal queue before backpressure is applied.
@@ -9688,8 +9698,7 @@ export interface RequestInitCfProperties extends Record<string, unknown> {
9688
9698
  */
9689
9699
  resolveOverride?: string;
9690
9700
  }
9691
- export interface RequestInitCfPropertiesImageDraw
9692
- extends BasicImageTransformations {
9701
+ export interface RequestInitCfPropertiesImageDraw extends BasicImageTransformations {
9693
9702
  /**
9694
9703
  * Absolute URL of the image file to use for the drawing. It can be any of
9695
9704
  * the supported file formats. For drawing of watermarks or non-rectangular
@@ -9726,8 +9735,7 @@ export interface RequestInitCfPropertiesImageDraw
9726
9735
  bottom?: number;
9727
9736
  right?: number;
9728
9737
  }
9729
- export interface RequestInitCfPropertiesImage
9730
- extends BasicImageTransformations {
9738
+ export interface RequestInitCfPropertiesImage extends BasicImageTransformations {
9731
9739
  /**
9732
9740
  * Device Pixel Ratio. Default 1. Multiplier for width/height that makes it
9733
9741
  * easier to specify higher-DPI sizes in <img srcset>.
@@ -9912,8 +9920,10 @@ export type IncomingRequestCfProperties<HostMetadata = unknown> =
9912
9920
  IncomingRequestCfPropertiesCloudflareForSaaSEnterprise<HostMetadata> &
9913
9921
  IncomingRequestCfPropertiesGeographicInformation &
9914
9922
  IncomingRequestCfPropertiesCloudflareAccessOrApiShield;
9915
- export interface IncomingRequestCfPropertiesBase
9916
- extends Record<string, unknown> {
9923
+ export interface IncomingRequestCfPropertiesBase extends Record<
9924
+ string,
9925
+ unknown
9926
+ > {
9917
9927
  /**
9918
9928
  * [ASN](https://www.iana.org/assignments/as-numbers/as-numbers.xhtml) of the incoming request.
9919
9929
  *
@@ -10030,8 +10040,7 @@ export interface IncomingRequestCfPropertiesBotManagement {
10030
10040
  */
10031
10041
  clientTrustScore: number;
10032
10042
  }
10033
- export interface IncomingRequestCfPropertiesBotManagementEnterprise
10034
- extends IncomingRequestCfPropertiesBotManagement {
10043
+ export interface IncomingRequestCfPropertiesBotManagementEnterprise extends IncomingRequestCfPropertiesBotManagement {
10035
10044
  /**
10036
10045
  * Results of Cloudflare's Bot Management analysis
10037
10046
  */
@@ -11533,7 +11542,8 @@ export declare namespace CloudflareWorkersModule {
11533
11542
  export abstract class WorkflowEntrypoint<
11534
11543
  Env = unknown,
11535
11544
  T extends Rpc.Serializable<T> | unknown = unknown,
11536
- > implements Rpc.WorkflowEntrypointBranded
11545
+ >
11546
+ implements Rpc.WorkflowEntrypointBranded
11537
11547
  {
11538
11548
  [Rpc.__WORKFLOW_ENTRYPOINT_BRAND]: never;
11539
11549
  protected ctx: ExecutionContext;