qrdx 0.0.45 → 0.0.47

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 (206) hide show
  1. package/LICENSE +21 -0
  2. package/README.md +353 -300
  3. package/dist/index.js +27 -7
  4. package/dist/index.js.map +1 -1
  5. package/dist/index.mjs +27 -7
  6. package/dist/index.mjs.map +1 -1
  7. package/dist/qr-code-canvas.js +12 -0
  8. package/dist/qr-code-canvas.js.map +1 -0
  9. package/dist/qr-code-canvas.mjs +12 -0
  10. package/dist/qr-code-canvas.mjs.map +1 -0
  11. package/dist/src/api.d.ts.map +1 -1
  12. package/dist/src/art-trace.d.ts +46 -0
  13. package/dist/src/art-trace.d.ts.map +1 -0
  14. package/dist/src/art.d.ts +138 -0
  15. package/dist/src/art.d.ts.map +1 -0
  16. package/dist/src/body-patterns.d.ts +34 -0
  17. package/dist/src/body-patterns.d.ts.map +1 -0
  18. package/dist/src/codegen.d.ts +5 -5
  19. package/dist/src/codegen.d.ts.map +1 -1
  20. package/dist/src/codeword-map.d.ts +40 -0
  21. package/dist/src/codeword-map.d.ts.map +1 -0
  22. package/dist/src/constants.d.ts +4 -7
  23. package/dist/src/constants.d.ts.map +1 -1
  24. package/dist/src/corner-dot.d.ts +3 -1
  25. package/dist/src/corner-dot.d.ts.map +1 -1
  26. package/dist/src/corner-eye.d.ts +5 -2
  27. package/dist/src/corner-eye.d.ts.map +1 -1
  28. package/dist/src/detection.d.ts.map +1 -1
  29. package/dist/src/download.d.ts +22 -5
  30. package/dist/src/download.d.ts.map +1 -1
  31. package/dist/src/eps.d.ts +62 -0
  32. package/dist/src/eps.d.ts.map +1 -0
  33. package/dist/src/frame-icons.d.ts +11 -0
  34. package/dist/src/frame-icons.d.ts.map +1 -0
  35. package/dist/src/frame-import.d.ts +61 -0
  36. package/dist/src/frame-import.d.ts.map +1 -0
  37. package/dist/src/frame-spec.d.ts +24 -0
  38. package/dist/src/frame-spec.d.ts.map +1 -0
  39. package/dist/src/frame-styles.d.ts +50 -0
  40. package/dist/src/frame-styles.d.ts.map +1 -0
  41. package/dist/src/frame.d.ts +126 -0
  42. package/dist/src/frame.d.ts.map +1 -0
  43. package/dist/src/frames/builtin.d.ts +8 -0
  44. package/dist/src/frames/builtin.d.ts.map +1 -0
  45. package/dist/src/frames/official.d.ts +18 -0
  46. package/dist/src/frames/official.d.ts.map +1 -0
  47. package/dist/src/helpers.d.ts +15 -2
  48. package/dist/src/helpers.d.ts.map +1 -1
  49. package/dist/src/index.d.ts +24 -13
  50. package/dist/src/index.d.ts.map +1 -1
  51. package/dist/src/logo-budget.d.ts +54 -0
  52. package/dist/src/logo-budget.d.ts.map +1 -0
  53. package/dist/src/logo-cleanup.d.ts +25 -0
  54. package/dist/src/logo-cleanup.d.ts.map +1 -0
  55. package/dist/src/logo.d.ts +28 -0
  56. package/dist/src/logo.d.ts.map +1 -0
  57. package/dist/src/print.d.ts +73 -0
  58. package/dist/src/print.d.ts.map +1 -0
  59. package/dist/src/qr-code-canvas.d.ts +13 -0
  60. package/dist/src/qr-code-canvas.d.ts.map +1 -0
  61. package/dist/src/qr-code.d.ts +4 -2
  62. package/dist/src/qr-code.d.ts.map +1 -1
  63. package/dist/src/qr-outline.d.ts +41 -0
  64. package/dist/src/qr-outline.d.ts.map +1 -0
  65. package/dist/src/qr-shape.d.ts +72 -0
  66. package/dist/src/qr-shape.d.ts.map +1 -0
  67. package/dist/src/scan-risk.d.ts +40 -0
  68. package/dist/src/scan-risk.d.ts.map +1 -0
  69. package/dist/src/scan-score.d.ts +154 -0
  70. package/dist/src/scan-score.d.ts.map +1 -0
  71. package/dist/src/shapes.d.ts +36 -0
  72. package/dist/src/shapes.d.ts.map +1 -0
  73. package/dist/src/silhouette.d.ts +28 -0
  74. package/dist/src/silhouette.d.ts.map +1 -0
  75. package/dist/src/utils/color.d.ts.map +1 -1
  76. package/dist/src/utils/fmt.d.ts +24 -0
  77. package/dist/src/utils/fmt.d.ts.map +1 -0
  78. package/dist/src/utils/paint.d.ts +80 -0
  79. package/dist/src/utils/paint.d.ts.map +1 -0
  80. package/dist/src/utils/parse-color.d.ts +21 -0
  81. package/dist/src/utils/parse-color.d.ts.map +1 -0
  82. package/dist/src/utils/path-data.d.ts +24 -0
  83. package/dist/src/utils/path-data.d.ts.map +1 -0
  84. package/dist/src/utils/png.d.ts +16 -0
  85. package/dist/src/utils/png.d.ts.map +1 -0
  86. package/dist/src/utils/polygon-clip.d.ts +26 -0
  87. package/dist/src/utils/polygon-clip.d.ts.map +1 -0
  88. package/dist/src/utils/print-shared.d.ts +20 -0
  89. package/dist/src/utils/print-shared.d.ts.map +1 -0
  90. package/dist/src/utils/svg-geometry.d.ts +49 -0
  91. package/dist/src/utils/svg-geometry.d.ts.map +1 -0
  92. package/dist/src/utils/svg-gradient.d.ts +59 -0
  93. package/dist/src/utils/svg-gradient.d.ts.map +1 -0
  94. package/dist/src/utils/svg-painter.d.ts +152 -0
  95. package/dist/src/utils/svg-painter.d.ts.map +1 -0
  96. package/dist/src/utils.d.ts +18 -2
  97. package/dist/src/utils.d.ts.map +1 -1
  98. package/dist/types/art.d.ts +64 -0
  99. package/dist/types/art.d.ts.map +1 -0
  100. package/dist/types/color.d.ts +125 -7
  101. package/dist/types/color.d.ts.map +1 -1
  102. package/dist/types/corner-dot.d.ts +52 -2
  103. package/dist/types/corner-dot.d.ts.map +1 -1
  104. package/dist/types/corner-eye.d.ts +43 -2
  105. package/dist/types/corner-eye.d.ts.map +1 -1
  106. package/dist/types/frame-spec.d.ts +3509 -0
  107. package/dist/types/frame-spec.d.ts.map +1 -0
  108. package/dist/types/frame.d.ts +68 -0
  109. package/dist/types/frame.d.ts.map +1 -0
  110. package/dist/types/image-pattern.d.ts +15 -1
  111. package/dist/types/image-pattern.d.ts.map +1 -1
  112. package/dist/types/index.d.ts +15 -9
  113. package/dist/types/index.d.ts.map +1 -1
  114. package/dist/types/index.js +6 -0
  115. package/dist/types/index.js.map +1 -0
  116. package/dist/types/index.mjs +6 -0
  117. package/dist/types/index.mjs.map +1 -0
  118. package/dist/types/qr.d.ts +1684 -4
  119. package/dist/types/qr.d.ts.map +1 -1
  120. package/dist/types/template.d.ts +2 -2
  121. package/dist/types/template.d.ts.map +1 -1
  122. package/package.json +63 -20
  123. package/src/api.tsx +67 -17
  124. package/src/art-trace.ts +554 -0
  125. package/src/art.tsx +2226 -0
  126. package/src/body-patterns.tsx +389 -0
  127. package/src/codegen.ts +10 -5
  128. package/src/codeword-map.ts +265 -0
  129. package/src/constants.ts +4 -8
  130. package/src/corner-dot.tsx +209 -33
  131. package/src/corner-eye.ts +328 -60
  132. package/src/detection.ts +5 -11
  133. package/src/download.tsx +123 -52
  134. package/src/eps.ts +701 -0
  135. package/src/frame-icons.ts +325 -0
  136. package/src/frame-import.ts +1198 -0
  137. package/src/frame-spec.ts +518 -0
  138. package/src/frame-styles.ts +1095 -0
  139. package/src/frame.tsx +630 -0
  140. package/src/frames/builtin/banner-bottom.json +58 -0
  141. package/src/frames/builtin/circle.json +81 -0
  142. package/src/frames/builtin/rounded-border.json +60 -0
  143. package/src/frames/builtin/ticket.json +51 -0
  144. package/src/frames/builtin.ts +20 -0
  145. package/src/frames/official/attendance.json +110 -0
  146. package/src/frames/official/audio-guide.json +95 -0
  147. package/src/frames/official/book-now.json +103 -0
  148. package/src/frames/official/check-in.json +110 -0
  149. package/src/frames/official/christmas.json +131 -0
  150. package/src/frames/official/donate.json +77 -0
  151. package/src/frames/official/event-ticket.json +77 -0
  152. package/src/frames/official/feedback-bubble.json +73 -0
  153. package/src/frames/official/follow-us.json +83 -0
  154. package/src/frames/official/get-the-app.json +107 -0
  155. package/src/frames/official/halloween.json +80 -0
  156. package/src/frames/official/new-year.json +94 -0
  157. package/src/frames/official/order-at-table.json +86 -0
  158. package/src/frames/official/product-info.json +119 -0
  159. package/src/frames/official/register-product.json +77 -0
  160. package/src/frames/official/review-us.json +127 -0
  161. package/src/frames/official/rsvp-card.json +112 -0
  162. package/src/frames/official/save-contact.json +117 -0
  163. package/src/frames/official/scan-to-pay.json +94 -0
  164. package/src/frames/official/shop-window.json +81 -0
  165. package/src/frames/official/sign-rider.json +81 -0
  166. package/src/frames/official/table-tent.json +75 -0
  167. package/src/frames/official/wifi-card.json +89 -0
  168. package/src/frames/official/winter.json +142 -0
  169. package/src/frames/official.ts +77 -0
  170. package/src/helpers.ts +168 -11
  171. package/src/index.tsx +141 -172
  172. package/src/logo-budget.ts +226 -0
  173. package/src/logo-cleanup.ts +146 -0
  174. package/src/logo.tsx +137 -0
  175. package/src/print.ts +794 -0
  176. package/src/qr-code-canvas.tsx +241 -0
  177. package/src/qr-code.tsx +51 -16
  178. package/src/qr-outline.ts +511 -0
  179. package/src/qr-shape.ts +255 -0
  180. package/src/scan-risk.ts +197 -0
  181. package/src/scan-score.ts +1629 -0
  182. package/src/shapes.ts +169 -0
  183. package/src/silhouette.ts +334 -0
  184. package/src/utils/color.ts +10 -1
  185. package/src/utils/fmt.ts +59 -0
  186. package/src/utils/paint.ts +317 -0
  187. package/src/utils/parse-color.ts +135 -0
  188. package/src/utils/path-data.ts +182 -0
  189. package/src/utils/png.ts +175 -0
  190. package/src/utils/polygon-clip.ts +163 -0
  191. package/src/utils/print-shared.ts +74 -0
  192. package/src/utils/svg-geometry.ts +838 -0
  193. package/src/utils/svg-gradient.ts +407 -0
  194. package/src/utils/svg-painter.ts +946 -0
  195. package/src/utils.tsx +794 -385
  196. package/types/art.ts +74 -0
  197. package/types/color.ts +132 -12
  198. package/types/corner-dot.ts +41 -4
  199. package/types/corner-eye.ts +31 -4
  200. package/types/frame-spec.ts +748 -0
  201. package/types/frame.ts +67 -0
  202. package/types/image-pattern.ts +15 -0
  203. package/types/index.ts +106 -4
  204. package/types/qr.ts +180 -2
  205. package/types/template.ts +2 -2
  206. package/dist/cli.js +0 -4231
@@ -1,10 +1,23 @@
1
1
  import type { CSSProperties } from "react";
2
2
  import { z } from "zod";
3
+ import { type QRArt } from "./art";
3
4
  import { type ColorConfig } from "./color";
4
5
  import { type CornerEyeDotPattern } from "./corner-dot";
5
6
  import { type CornerEyePattern } from "./corner-eye";
7
+ import { type AnyQRFrame } from "./frame-spec";
6
8
  import { type BodyPattern } from "./image-pattern";
7
9
  import type { TemplateDefinition } from "./template";
10
+ /**
11
+ * How a logo is cropped: "square" (as uploaded), "rounded" corners or a
12
+ * "circle". A plate behind the logo takes the same shape.
13
+ */
14
+ export declare const LOGO_SHAPES: readonly ["square", "rounded", "circle"];
15
+ export declare const logoShapeSchema: z.ZodEnum<{
16
+ square: "square";
17
+ rounded: "rounded";
18
+ circle: "circle";
19
+ }>;
20
+ export type LogoShape = z.infer<typeof logoShapeSchema>;
8
21
  export declare const imageSettingsSchema: z.ZodObject<{
9
22
  src: z.ZodString;
10
23
  height: z.ZodNumber;
@@ -12,13 +25,495 @@ export declare const imageSettingsSchema: z.ZodObject<{
12
25
  excavate: z.ZodBoolean;
13
26
  x: z.ZodOptional<z.ZodNumber>;
14
27
  y: z.ZodOptional<z.ZodNumber>;
28
+ padding: z.ZodOptional<z.ZodNumber>;
29
+ shape: z.ZodOptional<z.ZodEnum<{
30
+ square: "square";
31
+ rounded: "rounded";
32
+ circle: "circle";
33
+ }>>;
34
+ plate: z.ZodOptional<z.ZodString>;
35
+ }, z.core.$strip>;
36
+ /**
37
+ * Smallest and largest logo width, as a share of the code's width. Above
38
+ * 25% even level H stops reading in our decode tests (tests/engine-options).
39
+ */
40
+ export declare const LOGO_SIZE_MIN = 0.1;
41
+ export declare const LOGO_SIZE_MAX = 0.3;
42
+ /** Logo width `getQRData` uses when no size is given (25%). */
43
+ export declare const LOGO_SIZE_DEFAULT = 0.25;
44
+ /** Most clear space around a logo, in modules. */
45
+ export declare const LOGO_PADDING_MAX = 2;
46
+ /**
47
+ * Logo layout for `getQRData` and `<QRCode>`, in units that don't depend on
48
+ * the render size: `size` is a share of the code's width, `padding` is clear
49
+ * space in modules, `x` and `y` place the logo's center across the code
50
+ * (0 to 1, 0.5 is the middle; the logo always stays inside the code).
51
+ * `shape` crops it and `plate` draws a solid plate behind it.
52
+ */
53
+ export declare const logoOptionsSchema: z.ZodObject<{
54
+ size: z.ZodOptional<z.ZodNumber>;
55
+ padding: z.ZodOptional<z.ZodNumber>;
56
+ x: z.ZodOptional<z.ZodNumber>;
57
+ y: z.ZodOptional<z.ZodNumber>;
58
+ shape: z.ZodOptional<z.ZodEnum<{
59
+ square: "square";
60
+ rounded: "rounded";
61
+ circle: "circle";
62
+ }>>;
63
+ plate: z.ZodOptional<z.ZodString>;
15
64
  }, z.core.$strip>;
65
+ export type LogoOptions = z.infer<typeof logoOptionsSchema>;
16
66
  export declare const errorLevelSchema: z.ZodEnum<{
17
67
  L: "L";
18
68
  M: "M";
19
69
  Q: "Q";
20
70
  H: "H";
21
71
  }>;
72
+ /** Smallest and largest `moduleScale` (size of each data module). */
73
+ export declare const MODULE_SCALE_MIN = 0.5;
74
+ export declare const MODULE_SCALE_MAX = 1;
75
+ /**
76
+ * Share of the code a logo may cover before `autoLevel` raises error
77
+ * correction to H (level L recovers about 7%).
78
+ */
79
+ export declare const AUTO_LEVEL_LOGO_COVERAGE = 0.07;
80
+ /**
81
+ * Outline of the whole code: "square" (the QR symbol as is), "circle" or
82
+ * "heart": the symbol sits in a disc or a heart filled with decorative
83
+ * modules. Decoders read only the symbol, which keeps its quiet ring
84
+ * (`margin`, at least QR_CIRCLE_QUIET_MIN modules) before the decoration
85
+ * starts. `shape` also takes a `QRSilhouette`, an outline of your own.
86
+ */
87
+ export declare const QR_SHAPES: readonly ["square", "circle", "heart"];
88
+ export declare const qrShapeSchema: z.ZodEnum<{
89
+ square: "square";
90
+ circle: "circle";
91
+ heart: "heart";
92
+ }>;
93
+ export type QRShape = z.infer<typeof qrShapeSchema>;
94
+ /** Smallest light ring between a shaped code's symbol and its decoration. */
95
+ export declare const QR_CIRCLE_QUIET_MIN = 3;
96
+ /** Most cells along a silhouette's longer side. */
97
+ export declare const QR_SILHOUETTE_MAX_CELLS = 64;
98
+ /** Fewest cells along each side of a silhouette. */
99
+ export declare const QR_SILHOUETTE_MIN_CELLS = 8;
100
+ /**
101
+ * Smallest share of the artwork's width the symbol and its quiet ring may
102
+ * take inside a silhouette (a circle code's is about 0.7, a heart's 0.6).
103
+ * Thinner silhouettes are refused: the code would be a small square in a
104
+ * large field of decoration.
105
+ */
106
+ export declare const QR_SILHOUETTE_MIN_SHARE = 0.42;
107
+ /**
108
+ * An outline of your own for `shape`: a small grid sampled from a picture's
109
+ * alpha or darkness (`createQRSilhouette`, `loadQRSilhouette`), never the
110
+ * picture itself. The symbol sits in the middle of the silhouette's largest
111
+ * square and the rest of it fills with decorative modules, like a circle
112
+ * code. `getQRSilhouetteFit` says whether one is roomy enough; one that
113
+ * isn't draws as a square code.
114
+ */
115
+ export declare const qrSilhouetteSchema: z.ZodObject<{
116
+ type: z.ZodLiteral<"silhouette">;
117
+ width: z.ZodNumber;
118
+ height: z.ZodNumber;
119
+ cells: z.ZodString;
120
+ }, z.core.$strip>;
121
+ export type QRSilhouette = z.infer<typeof qrSilhouetteSchema>;
122
+ /** What `shape` takes: a named outline or a silhouette. */
123
+ export declare const qrCodeShapeSchema: z.ZodUnion<readonly [z.ZodEnum<{
124
+ square: "square";
125
+ circle: "circle";
126
+ heart: "heart";
127
+ }>, z.ZodObject<{
128
+ type: z.ZodLiteral<"silhouette">;
129
+ width: z.ZodNumber;
130
+ height: z.ZodNumber;
131
+ cells: z.ZodString;
132
+ }, z.core.$strip>]>;
133
+ export type QRCodeShape = QRShape | QRSilhouette;
134
+ /** The three finder patterns, for per-eye colors. */
135
+ export declare const EYE_POSITIONS: readonly ["topLeft", "topRight", "bottomLeft"];
136
+ export type EyePosition = (typeof EYE_POSITIONS)[number];
137
+ /** Colors of one eye: `outer` is the frame, `inner` the dot in it. */
138
+ export declare const eyeColorOverrideSchema: z.ZodObject<{
139
+ outer: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
140
+ type: z.ZodLiteral<"solid">;
141
+ color: z.ZodString;
142
+ }, z.core.$strip>, z.ZodObject<{
143
+ type: z.ZodLiteral<"linear">;
144
+ stops: z.ZodArray<z.ZodObject<{
145
+ color: z.ZodString;
146
+ offset: z.ZodNumber;
147
+ }, z.core.$strip>>;
148
+ angle: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
149
+ }, z.core.$strip>, z.ZodObject<{
150
+ type: z.ZodLiteral<"radial">;
151
+ stops: z.ZodArray<z.ZodObject<{
152
+ color: z.ZodString;
153
+ offset: z.ZodNumber;
154
+ }, z.core.$strip>>;
155
+ }, z.core.$strip>, z.ZodObject<{
156
+ type: z.ZodLiteral<"angular">;
157
+ stops: z.ZodArray<z.ZodObject<{
158
+ color: z.ZodString;
159
+ offset: z.ZodNumber;
160
+ }, z.core.$strip>>;
161
+ angle: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
162
+ }, z.core.$strip>, z.ZodObject<{
163
+ type: z.ZodLiteral<"image">;
164
+ src: z.ZodString;
165
+ fit: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
166
+ cover: "cover";
167
+ contain: "contain";
168
+ tile: "tile";
169
+ }>>>;
170
+ scale: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
171
+ position: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
172
+ center: "center";
173
+ "top-left": "top-left";
174
+ top: "top";
175
+ "top-right": "top-right";
176
+ left: "left";
177
+ right: "right";
178
+ "bottom-left": "bottom-left";
179
+ bottom: "bottom";
180
+ "bottom-right": "bottom-right";
181
+ }>>>;
182
+ opacity: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
183
+ underlay: z.ZodOptional<z.ZodString>;
184
+ }, z.core.$strip>]>>;
185
+ inner: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
186
+ type: z.ZodLiteral<"solid">;
187
+ color: z.ZodString;
188
+ }, z.core.$strip>, z.ZodObject<{
189
+ type: z.ZodLiteral<"linear">;
190
+ stops: z.ZodArray<z.ZodObject<{
191
+ color: z.ZodString;
192
+ offset: z.ZodNumber;
193
+ }, z.core.$strip>>;
194
+ angle: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
195
+ }, z.core.$strip>, z.ZodObject<{
196
+ type: z.ZodLiteral<"radial">;
197
+ stops: z.ZodArray<z.ZodObject<{
198
+ color: z.ZodString;
199
+ offset: z.ZodNumber;
200
+ }, z.core.$strip>>;
201
+ }, z.core.$strip>, z.ZodObject<{
202
+ type: z.ZodLiteral<"angular">;
203
+ stops: z.ZodArray<z.ZodObject<{
204
+ color: z.ZodString;
205
+ offset: z.ZodNumber;
206
+ }, z.core.$strip>>;
207
+ angle: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
208
+ }, z.core.$strip>, z.ZodObject<{
209
+ type: z.ZodLiteral<"image">;
210
+ src: z.ZodString;
211
+ fit: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
212
+ cover: "cover";
213
+ contain: "contain";
214
+ tile: "tile";
215
+ }>>>;
216
+ scale: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
217
+ position: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
218
+ center: "center";
219
+ "top-left": "top-left";
220
+ top: "top";
221
+ "top-right": "top-right";
222
+ left: "left";
223
+ right: "right";
224
+ "bottom-left": "bottom-left";
225
+ bottom: "bottom";
226
+ "bottom-right": "bottom-right";
227
+ }>>>;
228
+ opacity: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
229
+ underlay: z.ZodOptional<z.ZodString>;
230
+ }, z.core.$strip>]>>;
231
+ }, z.core.$strip>;
232
+ /** Per-eye overrides of `eyeColor` (outer) and `dotColor` (inner). */
233
+ export declare const eyeColorsSchema: z.ZodObject<{
234
+ topLeft: z.ZodOptional<z.ZodObject<{
235
+ outer: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
236
+ type: z.ZodLiteral<"solid">;
237
+ color: z.ZodString;
238
+ }, z.core.$strip>, z.ZodObject<{
239
+ type: z.ZodLiteral<"linear">;
240
+ stops: z.ZodArray<z.ZodObject<{
241
+ color: z.ZodString;
242
+ offset: z.ZodNumber;
243
+ }, z.core.$strip>>;
244
+ angle: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
245
+ }, z.core.$strip>, z.ZodObject<{
246
+ type: z.ZodLiteral<"radial">;
247
+ stops: z.ZodArray<z.ZodObject<{
248
+ color: z.ZodString;
249
+ offset: z.ZodNumber;
250
+ }, z.core.$strip>>;
251
+ }, z.core.$strip>, z.ZodObject<{
252
+ type: z.ZodLiteral<"angular">;
253
+ stops: z.ZodArray<z.ZodObject<{
254
+ color: z.ZodString;
255
+ offset: z.ZodNumber;
256
+ }, z.core.$strip>>;
257
+ angle: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
258
+ }, z.core.$strip>, z.ZodObject<{
259
+ type: z.ZodLiteral<"image">;
260
+ src: z.ZodString;
261
+ fit: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
262
+ cover: "cover";
263
+ contain: "contain";
264
+ tile: "tile";
265
+ }>>>;
266
+ scale: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
267
+ position: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
268
+ center: "center";
269
+ "top-left": "top-left";
270
+ top: "top";
271
+ "top-right": "top-right";
272
+ left: "left";
273
+ right: "right";
274
+ "bottom-left": "bottom-left";
275
+ bottom: "bottom";
276
+ "bottom-right": "bottom-right";
277
+ }>>>;
278
+ opacity: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
279
+ underlay: z.ZodOptional<z.ZodString>;
280
+ }, z.core.$strip>]>>;
281
+ inner: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
282
+ type: z.ZodLiteral<"solid">;
283
+ color: z.ZodString;
284
+ }, z.core.$strip>, z.ZodObject<{
285
+ type: z.ZodLiteral<"linear">;
286
+ stops: z.ZodArray<z.ZodObject<{
287
+ color: z.ZodString;
288
+ offset: z.ZodNumber;
289
+ }, z.core.$strip>>;
290
+ angle: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
291
+ }, z.core.$strip>, z.ZodObject<{
292
+ type: z.ZodLiteral<"radial">;
293
+ stops: z.ZodArray<z.ZodObject<{
294
+ color: z.ZodString;
295
+ offset: z.ZodNumber;
296
+ }, z.core.$strip>>;
297
+ }, z.core.$strip>, z.ZodObject<{
298
+ type: z.ZodLiteral<"angular">;
299
+ stops: z.ZodArray<z.ZodObject<{
300
+ color: z.ZodString;
301
+ offset: z.ZodNumber;
302
+ }, z.core.$strip>>;
303
+ angle: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
304
+ }, z.core.$strip>, z.ZodObject<{
305
+ type: z.ZodLiteral<"image">;
306
+ src: z.ZodString;
307
+ fit: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
308
+ cover: "cover";
309
+ contain: "contain";
310
+ tile: "tile";
311
+ }>>>;
312
+ scale: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
313
+ position: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
314
+ center: "center";
315
+ "top-left": "top-left";
316
+ top: "top";
317
+ "top-right": "top-right";
318
+ left: "left";
319
+ right: "right";
320
+ "bottom-left": "bottom-left";
321
+ bottom: "bottom";
322
+ "bottom-right": "bottom-right";
323
+ }>>>;
324
+ opacity: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
325
+ underlay: z.ZodOptional<z.ZodString>;
326
+ }, z.core.$strip>]>>;
327
+ }, z.core.$strip>>;
328
+ topRight: z.ZodOptional<z.ZodObject<{
329
+ outer: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
330
+ type: z.ZodLiteral<"solid">;
331
+ color: z.ZodString;
332
+ }, z.core.$strip>, z.ZodObject<{
333
+ type: z.ZodLiteral<"linear">;
334
+ stops: z.ZodArray<z.ZodObject<{
335
+ color: z.ZodString;
336
+ offset: z.ZodNumber;
337
+ }, z.core.$strip>>;
338
+ angle: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
339
+ }, z.core.$strip>, z.ZodObject<{
340
+ type: z.ZodLiteral<"radial">;
341
+ stops: z.ZodArray<z.ZodObject<{
342
+ color: z.ZodString;
343
+ offset: z.ZodNumber;
344
+ }, z.core.$strip>>;
345
+ }, z.core.$strip>, z.ZodObject<{
346
+ type: z.ZodLiteral<"angular">;
347
+ stops: z.ZodArray<z.ZodObject<{
348
+ color: z.ZodString;
349
+ offset: z.ZodNumber;
350
+ }, z.core.$strip>>;
351
+ angle: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
352
+ }, z.core.$strip>, z.ZodObject<{
353
+ type: z.ZodLiteral<"image">;
354
+ src: z.ZodString;
355
+ fit: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
356
+ cover: "cover";
357
+ contain: "contain";
358
+ tile: "tile";
359
+ }>>>;
360
+ scale: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
361
+ position: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
362
+ center: "center";
363
+ "top-left": "top-left";
364
+ top: "top";
365
+ "top-right": "top-right";
366
+ left: "left";
367
+ right: "right";
368
+ "bottom-left": "bottom-left";
369
+ bottom: "bottom";
370
+ "bottom-right": "bottom-right";
371
+ }>>>;
372
+ opacity: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
373
+ underlay: z.ZodOptional<z.ZodString>;
374
+ }, z.core.$strip>]>>;
375
+ inner: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
376
+ type: z.ZodLiteral<"solid">;
377
+ color: z.ZodString;
378
+ }, z.core.$strip>, z.ZodObject<{
379
+ type: z.ZodLiteral<"linear">;
380
+ stops: z.ZodArray<z.ZodObject<{
381
+ color: z.ZodString;
382
+ offset: z.ZodNumber;
383
+ }, z.core.$strip>>;
384
+ angle: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
385
+ }, z.core.$strip>, z.ZodObject<{
386
+ type: z.ZodLiteral<"radial">;
387
+ stops: z.ZodArray<z.ZodObject<{
388
+ color: z.ZodString;
389
+ offset: z.ZodNumber;
390
+ }, z.core.$strip>>;
391
+ }, z.core.$strip>, z.ZodObject<{
392
+ type: z.ZodLiteral<"angular">;
393
+ stops: z.ZodArray<z.ZodObject<{
394
+ color: z.ZodString;
395
+ offset: z.ZodNumber;
396
+ }, z.core.$strip>>;
397
+ angle: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
398
+ }, z.core.$strip>, z.ZodObject<{
399
+ type: z.ZodLiteral<"image">;
400
+ src: z.ZodString;
401
+ fit: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
402
+ cover: "cover";
403
+ contain: "contain";
404
+ tile: "tile";
405
+ }>>>;
406
+ scale: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
407
+ position: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
408
+ center: "center";
409
+ "top-left": "top-left";
410
+ top: "top";
411
+ "top-right": "top-right";
412
+ left: "left";
413
+ right: "right";
414
+ "bottom-left": "bottom-left";
415
+ bottom: "bottom";
416
+ "bottom-right": "bottom-right";
417
+ }>>>;
418
+ opacity: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
419
+ underlay: z.ZodOptional<z.ZodString>;
420
+ }, z.core.$strip>]>>;
421
+ }, z.core.$strip>>;
422
+ bottomLeft: z.ZodOptional<z.ZodObject<{
423
+ outer: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
424
+ type: z.ZodLiteral<"solid">;
425
+ color: z.ZodString;
426
+ }, z.core.$strip>, z.ZodObject<{
427
+ type: z.ZodLiteral<"linear">;
428
+ stops: z.ZodArray<z.ZodObject<{
429
+ color: z.ZodString;
430
+ offset: z.ZodNumber;
431
+ }, z.core.$strip>>;
432
+ angle: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
433
+ }, z.core.$strip>, z.ZodObject<{
434
+ type: z.ZodLiteral<"radial">;
435
+ stops: z.ZodArray<z.ZodObject<{
436
+ color: z.ZodString;
437
+ offset: z.ZodNumber;
438
+ }, z.core.$strip>>;
439
+ }, z.core.$strip>, z.ZodObject<{
440
+ type: z.ZodLiteral<"angular">;
441
+ stops: z.ZodArray<z.ZodObject<{
442
+ color: z.ZodString;
443
+ offset: z.ZodNumber;
444
+ }, z.core.$strip>>;
445
+ angle: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
446
+ }, z.core.$strip>, z.ZodObject<{
447
+ type: z.ZodLiteral<"image">;
448
+ src: z.ZodString;
449
+ fit: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
450
+ cover: "cover";
451
+ contain: "contain";
452
+ tile: "tile";
453
+ }>>>;
454
+ scale: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
455
+ position: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
456
+ center: "center";
457
+ "top-left": "top-left";
458
+ top: "top";
459
+ "top-right": "top-right";
460
+ left: "left";
461
+ right: "right";
462
+ "bottom-left": "bottom-left";
463
+ bottom: "bottom";
464
+ "bottom-right": "bottom-right";
465
+ }>>>;
466
+ opacity: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
467
+ underlay: z.ZodOptional<z.ZodString>;
468
+ }, z.core.$strip>]>>;
469
+ inner: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
470
+ type: z.ZodLiteral<"solid">;
471
+ color: z.ZodString;
472
+ }, z.core.$strip>, z.ZodObject<{
473
+ type: z.ZodLiteral<"linear">;
474
+ stops: z.ZodArray<z.ZodObject<{
475
+ color: z.ZodString;
476
+ offset: z.ZodNumber;
477
+ }, z.core.$strip>>;
478
+ angle: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
479
+ }, z.core.$strip>, z.ZodObject<{
480
+ type: z.ZodLiteral<"radial">;
481
+ stops: z.ZodArray<z.ZodObject<{
482
+ color: z.ZodString;
483
+ offset: z.ZodNumber;
484
+ }, z.core.$strip>>;
485
+ }, z.core.$strip>, z.ZodObject<{
486
+ type: z.ZodLiteral<"angular">;
487
+ stops: z.ZodArray<z.ZodObject<{
488
+ color: z.ZodString;
489
+ offset: z.ZodNumber;
490
+ }, z.core.$strip>>;
491
+ angle: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
492
+ }, z.core.$strip>, z.ZodObject<{
493
+ type: z.ZodLiteral<"image">;
494
+ src: z.ZodString;
495
+ fit: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
496
+ cover: "cover";
497
+ contain: "contain";
498
+ tile: "tile";
499
+ }>>>;
500
+ scale: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
501
+ position: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
502
+ center: "center";
503
+ "top-left": "top-left";
504
+ top: "top";
505
+ "top-right": "top-right";
506
+ left: "left";
507
+ right: "right";
508
+ "bottom-left": "bottom-left";
509
+ bottom: "bottom";
510
+ "bottom-right": "bottom-right";
511
+ }>>>;
512
+ opacity: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
513
+ underlay: z.ZodOptional<z.ZodString>;
514
+ }, z.core.$strip>]>>;
515
+ }, z.core.$strip>>;
516
+ }, z.core.$strip>;
22
517
  export declare const qrPropsSchema: z.ZodObject<{
23
518
  value: z.ZodString;
24
519
  size: z.ZodOptional<z.ZodNumber>;
@@ -44,6 +539,35 @@ export declare const qrPropsSchema: z.ZodObject<{
44
539
  color: z.ZodString;
45
540
  offset: z.ZodNumber;
46
541
  }, z.core.$strip>>;
542
+ }, z.core.$strip>, z.ZodObject<{
543
+ type: z.ZodLiteral<"angular">;
544
+ stops: z.ZodArray<z.ZodObject<{
545
+ color: z.ZodString;
546
+ offset: z.ZodNumber;
547
+ }, z.core.$strip>>;
548
+ angle: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
549
+ }, z.core.$strip>, z.ZodObject<{
550
+ type: z.ZodLiteral<"image">;
551
+ src: z.ZodString;
552
+ fit: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
553
+ cover: "cover";
554
+ contain: "contain";
555
+ tile: "tile";
556
+ }>>>;
557
+ scale: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
558
+ position: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
559
+ center: "center";
560
+ "top-left": "top-left";
561
+ top: "top";
562
+ "top-right": "top-right";
563
+ left: "left";
564
+ right: "right";
565
+ "bottom-left": "bottom-left";
566
+ bottom: "bottom";
567
+ "bottom-right": "bottom-right";
568
+ }>>>;
569
+ opacity: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
570
+ underlay: z.ZodOptional<z.ZodString>;
47
571
  }, z.core.$strip>]>>;
48
572
  fgColor: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
49
573
  type: z.ZodLiteral<"solid">;
@@ -61,6 +585,35 @@ export declare const qrPropsSchema: z.ZodObject<{
61
585
  color: z.ZodString;
62
586
  offset: z.ZodNumber;
63
587
  }, z.core.$strip>>;
588
+ }, z.core.$strip>, z.ZodObject<{
589
+ type: z.ZodLiteral<"angular">;
590
+ stops: z.ZodArray<z.ZodObject<{
591
+ color: z.ZodString;
592
+ offset: z.ZodNumber;
593
+ }, z.core.$strip>>;
594
+ angle: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
595
+ }, z.core.$strip>, z.ZodObject<{
596
+ type: z.ZodLiteral<"image">;
597
+ src: z.ZodString;
598
+ fit: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
599
+ cover: "cover";
600
+ contain: "contain";
601
+ tile: "tile";
602
+ }>>>;
603
+ scale: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
604
+ position: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
605
+ center: "center";
606
+ "top-left": "top-left";
607
+ top: "top";
608
+ "top-right": "top-right";
609
+ left: "left";
610
+ right: "right";
611
+ "bottom-left": "bottom-left";
612
+ bottom: "bottom";
613
+ "bottom-right": "bottom-right";
614
+ }>>>;
615
+ opacity: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
616
+ underlay: z.ZodOptional<z.ZodString>;
64
617
  }, z.core.$strip>]>>;
65
618
  eyeColor: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
66
619
  type: z.ZodLiteral<"solid">;
@@ -78,6 +631,35 @@ export declare const qrPropsSchema: z.ZodObject<{
78
631
  color: z.ZodString;
79
632
  offset: z.ZodNumber;
80
633
  }, z.core.$strip>>;
634
+ }, z.core.$strip>, z.ZodObject<{
635
+ type: z.ZodLiteral<"angular">;
636
+ stops: z.ZodArray<z.ZodObject<{
637
+ color: z.ZodString;
638
+ offset: z.ZodNumber;
639
+ }, z.core.$strip>>;
640
+ angle: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
641
+ }, z.core.$strip>, z.ZodObject<{
642
+ type: z.ZodLiteral<"image">;
643
+ src: z.ZodString;
644
+ fit: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
645
+ cover: "cover";
646
+ contain: "contain";
647
+ tile: "tile";
648
+ }>>>;
649
+ scale: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
650
+ position: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
651
+ center: "center";
652
+ "top-left": "top-left";
653
+ top: "top";
654
+ "top-right": "top-right";
655
+ left: "left";
656
+ right: "right";
657
+ "bottom-left": "bottom-left";
658
+ bottom: "bottom";
659
+ "bottom-right": "bottom-right";
660
+ }>>>;
661
+ opacity: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
662
+ underlay: z.ZodOptional<z.ZodString>;
81
663
  }, z.core.$strip>]>>;
82
664
  dotColor: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
83
665
  type: z.ZodLiteral<"solid">;
@@ -95,17 +677,60 @@ export declare const qrPropsSchema: z.ZodObject<{
95
677
  color: z.ZodString;
96
678
  offset: z.ZodNumber;
97
679
  }, z.core.$strip>>;
680
+ }, z.core.$strip>, z.ZodObject<{
681
+ type: z.ZodLiteral<"angular">;
682
+ stops: z.ZodArray<z.ZodObject<{
683
+ color: z.ZodString;
684
+ offset: z.ZodNumber;
685
+ }, z.core.$strip>>;
686
+ angle: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
687
+ }, z.core.$strip>, z.ZodObject<{
688
+ type: z.ZodLiteral<"image">;
689
+ src: z.ZodString;
690
+ fit: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
691
+ cover: "cover";
692
+ contain: "contain";
693
+ tile: "tile";
694
+ }>>>;
695
+ scale: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
696
+ position: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
697
+ center: "center";
698
+ "top-left": "top-left";
699
+ top: "top";
700
+ "top-right": "top-right";
701
+ left: "left";
702
+ right: "right";
703
+ "bottom-left": "bottom-left";
704
+ bottom: "bottom";
705
+ "bottom-right": "bottom-right";
706
+ }>>>;
707
+ opacity: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
708
+ underlay: z.ZodOptional<z.ZodString>;
98
709
  }, z.core.$strip>]>>;
99
710
  bodyPattern: z.ZodOptional<z.ZodEnum<{
100
711
  square: "square";
101
712
  rounded: "rounded";
102
713
  circle: "circle";
714
+ leaf: "leaf";
715
+ plus: "plus";
716
+ hexagon: "hexagon";
717
+ octagon: "octagon";
718
+ heart: "heart";
103
719
  diamond: "diamond";
720
+ star: "star";
104
721
  "circle-large": "circle-large";
105
722
  "circle-mixed": "circle-mixed";
106
723
  pacman: "pacman";
107
724
  "small-square": "small-square";
108
725
  "vertical-line": "vertical-line";
726
+ "horizontal-line": "horizontal-line";
727
+ liquid: "liquid";
728
+ "liquid-horizontal": "liquid-horizontal";
729
+ "liquid-vertical": "liquid-vertical";
730
+ classy: "classy";
731
+ "classy-rounded": "classy-rounded";
732
+ "random-dots": "random-dots";
733
+ mosaic: "mosaic";
109
734
  }>>;
110
735
  cornerEyePattern: z.ZodOptional<z.ZodEnum<{
111
736
  message: "message";
@@ -113,9 +738,18 @@ export declare const qrPropsSchema: z.ZodObject<{
113
738
  rounded: "rounded";
114
739
  circle: "circle";
115
740
  diya: "diya";
116
- gear: "gear";
741
+ leaf: "leaf";
742
+ drop: "drop";
743
+ octagon: "octagon";
744
+ squircle: "squircle";
117
745
  "extra-rounded": "extra-rounded";
746
+ "leaf-reverse": "leaf-reverse";
747
+ gear: "gear";
118
748
  pointy: "pointy";
749
+ bevel: "bevel";
750
+ cushion: "cushion";
751
+ shield: "shield";
752
+ petal: "petal";
119
753
  curly: "curly";
120
754
  }>>;
121
755
  cornerEyeDotPattern: z.ZodOptional<z.ZodEnum<{
@@ -123,11 +757,24 @@ export declare const qrPropsSchema: z.ZodObject<{
123
757
  square: "square";
124
758
  rounded: "rounded";
125
759
  circle: "circle";
126
- diamond: "diamond";
127
760
  "message-reverse": "message-reverse";
128
761
  diya: "diya";
129
762
  "diya-reverse": "diya-reverse";
130
763
  "rounded-triangle": "rounded-triangle";
764
+ leaf: "leaf";
765
+ drop: "drop";
766
+ plus: "plus";
767
+ "cross-rounded": "cross-rounded";
768
+ hexagon: "hexagon";
769
+ octagon: "octagon";
770
+ flower: "flower";
771
+ heart: "heart";
772
+ squircle: "squircle";
773
+ dots: "dots";
774
+ "extra-rounded": "extra-rounded";
775
+ "leaf-reverse": "leaf-reverse";
776
+ "drop-reverse": "drop-reverse";
777
+ diamond: "diamond";
131
778
  star: "star";
132
779
  banner: "banner";
133
780
  }>>;
@@ -139,14 +786,1040 @@ export declare const qrPropsSchema: z.ZodObject<{
139
786
  excavate: z.ZodBoolean;
140
787
  x: z.ZodOptional<z.ZodNumber>;
141
788
  y: z.ZodOptional<z.ZodNumber>;
789
+ padding: z.ZodOptional<z.ZodNumber>;
790
+ shape: z.ZodOptional<z.ZodEnum<{
791
+ square: "square";
792
+ rounded: "rounded";
793
+ circle: "circle";
794
+ }>>;
795
+ plate: z.ZodOptional<z.ZodString>;
142
796
  }, z.core.$strip>>;
143
797
  isOGContext: z.ZodOptional<z.ZodBoolean>;
144
798
  templateId: z.ZodOptional<z.ZodString>;
145
799
  customProps: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
800
+ frame: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
801
+ style: z.ZodEnum<{
802
+ badge: "badge";
803
+ circle: "circle";
804
+ none: "none";
805
+ "banner-bottom": "banner-bottom";
806
+ "banner-top": "banner-top";
807
+ border: "border";
808
+ "rounded-border": "rounded-border";
809
+ "speech-bubble": "speech-bubble";
810
+ "banner-top-bottom": "banner-top-bottom";
811
+ "speech-bubble-top": "speech-bubble-top";
812
+ "chat-bubble": "chat-bubble";
813
+ polaroid: "polaroid";
814
+ phone: "phone";
815
+ ticket: "ticket";
816
+ envelope: "envelope";
817
+ tag: "tag";
818
+ "menu-card": "menu-card";
819
+ sticker: "sticker";
820
+ "gradient-border": "gradient-border";
821
+ focus: "focus";
822
+ }>;
823
+ text: z.ZodOptional<z.ZodString>;
824
+ color: z.ZodOptional<z.ZodString>;
825
+ textColor: z.ZodOptional<z.ZodString>;
826
+ secondaryText: z.ZodOptional<z.ZodString>;
827
+ secondaryColor: z.ZodOptional<z.ZodString>;
828
+ fontScale: z.ZodOptional<z.ZodNumber>;
829
+ }, z.core.$strip>, z.ZodObject<{
830
+ text: z.ZodOptional<z.ZodString>;
831
+ color: z.ZodOptional<z.ZodString>;
832
+ textColor: z.ZodOptional<z.ZodString>;
833
+ secondaryText: z.ZodOptional<z.ZodString>;
834
+ secondaryColor: z.ZodOptional<z.ZodString>;
835
+ fontScale: z.ZodOptional<z.ZodNumber>;
836
+ style: z.ZodLiteral<"custom">;
837
+ spec: z.ZodObject<{
838
+ kind: z.ZodLiteral<"qrdx.frame">;
839
+ version: z.ZodLiteral<1>;
840
+ artboard: z.ZodObject<{
841
+ width: z.ZodNumber;
842
+ height: z.ZodNumber;
843
+ }, z.core.$strict>;
844
+ qr: z.ZodObject<{
845
+ x: z.ZodNumber;
846
+ y: z.ZodNumber;
847
+ size: z.ZodNumber;
848
+ padding: z.ZodOptional<z.ZodNumber>;
849
+ radius: z.ZodOptional<z.ZodNumber>;
850
+ }, z.core.$strict>;
851
+ colors: z.ZodObject<{
852
+ frame: z.ZodString;
853
+ text: z.ZodOptional<z.ZodString>;
854
+ accent: z.ZodOptional<z.ZodString>;
855
+ }, z.core.$strict>;
856
+ shapes: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
857
+ radius: z.ZodOptional<z.ZodNumber>;
858
+ fill: z.ZodUnion<readonly [z.ZodUnion<readonly [z.ZodUnion<readonly [z.ZodEnum<{
859
+ text: "text";
860
+ frame: "frame";
861
+ accent: "accent";
862
+ background: "background";
863
+ }>, z.ZodString]>, z.ZodObject<{
864
+ mix: z.ZodTuple<[z.ZodUnion<readonly [z.ZodEnum<{
865
+ text: "text";
866
+ frame: "frame";
867
+ accent: "accent";
868
+ background: "background";
869
+ }>, z.ZodString]>, z.ZodUnion<readonly [z.ZodEnum<{
870
+ text: "text";
871
+ frame: "frame";
872
+ accent: "accent";
873
+ background: "background";
874
+ }>, z.ZodString]>], null>;
875
+ amount: z.ZodNumber;
876
+ }, z.core.$strict>]>, z.ZodObject<{
877
+ gradient: z.ZodObject<{
878
+ from: z.ZodUnion<readonly [z.ZodUnion<readonly [z.ZodEnum<{
879
+ text: "text";
880
+ frame: "frame";
881
+ accent: "accent";
882
+ background: "background";
883
+ }>, z.ZodString]>, z.ZodObject<{
884
+ mix: z.ZodTuple<[z.ZodUnion<readonly [z.ZodEnum<{
885
+ text: "text";
886
+ frame: "frame";
887
+ accent: "accent";
888
+ background: "background";
889
+ }>, z.ZodString]>, z.ZodUnion<readonly [z.ZodEnum<{
890
+ text: "text";
891
+ frame: "frame";
892
+ accent: "accent";
893
+ background: "background";
894
+ }>, z.ZodString]>], null>;
895
+ amount: z.ZodNumber;
896
+ }, z.core.$strict>]>;
897
+ to: z.ZodUnion<readonly [z.ZodUnion<readonly [z.ZodEnum<{
898
+ text: "text";
899
+ frame: "frame";
900
+ accent: "accent";
901
+ background: "background";
902
+ }>, z.ZodString]>, z.ZodObject<{
903
+ mix: z.ZodTuple<[z.ZodUnion<readonly [z.ZodEnum<{
904
+ text: "text";
905
+ frame: "frame";
906
+ accent: "accent";
907
+ background: "background";
908
+ }>, z.ZodString]>, z.ZodUnion<readonly [z.ZodEnum<{
909
+ text: "text";
910
+ frame: "frame";
911
+ accent: "accent";
912
+ background: "background";
913
+ }>, z.ZodString]>], null>;
914
+ amount: z.ZodNumber;
915
+ }, z.core.$strict>]>;
916
+ direction: z.ZodOptional<z.ZodEnum<{
917
+ horizontal: "horizontal";
918
+ vertical: "vertical";
919
+ }>>;
920
+ steps: z.ZodOptional<z.ZodInt>;
921
+ }, z.core.$strict>;
922
+ }, z.core.$strict>]>;
923
+ hole: z.ZodOptional<z.ZodObject<{
924
+ radius: z.ZodOptional<z.ZodNumber>;
925
+ x: z.ZodNumber;
926
+ y: z.ZodNumber;
927
+ width: z.ZodNumber;
928
+ height: z.ZodNumber;
929
+ }, z.core.$strict>>;
930
+ x: z.ZodNumber;
931
+ y: z.ZodNumber;
932
+ width: z.ZodNumber;
933
+ height: z.ZodNumber;
934
+ type: z.ZodLiteral<"rect">;
935
+ }, z.core.$strict>, z.ZodObject<{
936
+ type: z.ZodLiteral<"circle">;
937
+ cx: z.ZodNumber;
938
+ cy: z.ZodNumber;
939
+ r: z.ZodNumber;
940
+ hole: z.ZodOptional<z.ZodNumber>;
941
+ fill: z.ZodUnion<readonly [z.ZodUnion<readonly [z.ZodUnion<readonly [z.ZodEnum<{
942
+ text: "text";
943
+ frame: "frame";
944
+ accent: "accent";
945
+ background: "background";
946
+ }>, z.ZodString]>, z.ZodObject<{
947
+ mix: z.ZodTuple<[z.ZodUnion<readonly [z.ZodEnum<{
948
+ text: "text";
949
+ frame: "frame";
950
+ accent: "accent";
951
+ background: "background";
952
+ }>, z.ZodString]>, z.ZodUnion<readonly [z.ZodEnum<{
953
+ text: "text";
954
+ frame: "frame";
955
+ accent: "accent";
956
+ background: "background";
957
+ }>, z.ZodString]>], null>;
958
+ amount: z.ZodNumber;
959
+ }, z.core.$strict>]>, z.ZodObject<{
960
+ gradient: z.ZodObject<{
961
+ from: z.ZodUnion<readonly [z.ZodUnion<readonly [z.ZodEnum<{
962
+ text: "text";
963
+ frame: "frame";
964
+ accent: "accent";
965
+ background: "background";
966
+ }>, z.ZodString]>, z.ZodObject<{
967
+ mix: z.ZodTuple<[z.ZodUnion<readonly [z.ZodEnum<{
968
+ text: "text";
969
+ frame: "frame";
970
+ accent: "accent";
971
+ background: "background";
972
+ }>, z.ZodString]>, z.ZodUnion<readonly [z.ZodEnum<{
973
+ text: "text";
974
+ frame: "frame";
975
+ accent: "accent";
976
+ background: "background";
977
+ }>, z.ZodString]>], null>;
978
+ amount: z.ZodNumber;
979
+ }, z.core.$strict>]>;
980
+ to: z.ZodUnion<readonly [z.ZodUnion<readonly [z.ZodEnum<{
981
+ text: "text";
982
+ frame: "frame";
983
+ accent: "accent";
984
+ background: "background";
985
+ }>, z.ZodString]>, z.ZodObject<{
986
+ mix: z.ZodTuple<[z.ZodUnion<readonly [z.ZodEnum<{
987
+ text: "text";
988
+ frame: "frame";
989
+ accent: "accent";
990
+ background: "background";
991
+ }>, z.ZodString]>, z.ZodUnion<readonly [z.ZodEnum<{
992
+ text: "text";
993
+ frame: "frame";
994
+ accent: "accent";
995
+ background: "background";
996
+ }>, z.ZodString]>], null>;
997
+ amount: z.ZodNumber;
998
+ }, z.core.$strict>]>;
999
+ direction: z.ZodOptional<z.ZodEnum<{
1000
+ horizontal: "horizontal";
1001
+ vertical: "vertical";
1002
+ }>>;
1003
+ steps: z.ZodOptional<z.ZodInt>;
1004
+ }, z.core.$strict>;
1005
+ }, z.core.$strict>]>;
1006
+ }, z.core.$strict>, z.ZodObject<{
1007
+ type: z.ZodLiteral<"ellipse">;
1008
+ cx: z.ZodNumber;
1009
+ cy: z.ZodNumber;
1010
+ rx: z.ZodNumber;
1011
+ ry: z.ZodNumber;
1012
+ fill: z.ZodUnion<readonly [z.ZodUnion<readonly [z.ZodUnion<readonly [z.ZodEnum<{
1013
+ text: "text";
1014
+ frame: "frame";
1015
+ accent: "accent";
1016
+ background: "background";
1017
+ }>, z.ZodString]>, z.ZodObject<{
1018
+ mix: z.ZodTuple<[z.ZodUnion<readonly [z.ZodEnum<{
1019
+ text: "text";
1020
+ frame: "frame";
1021
+ accent: "accent";
1022
+ background: "background";
1023
+ }>, z.ZodString]>, z.ZodUnion<readonly [z.ZodEnum<{
1024
+ text: "text";
1025
+ frame: "frame";
1026
+ accent: "accent";
1027
+ background: "background";
1028
+ }>, z.ZodString]>], null>;
1029
+ amount: z.ZodNumber;
1030
+ }, z.core.$strict>]>, z.ZodObject<{
1031
+ gradient: z.ZodObject<{
1032
+ from: z.ZodUnion<readonly [z.ZodUnion<readonly [z.ZodEnum<{
1033
+ text: "text";
1034
+ frame: "frame";
1035
+ accent: "accent";
1036
+ background: "background";
1037
+ }>, z.ZodString]>, z.ZodObject<{
1038
+ mix: z.ZodTuple<[z.ZodUnion<readonly [z.ZodEnum<{
1039
+ text: "text";
1040
+ frame: "frame";
1041
+ accent: "accent";
1042
+ background: "background";
1043
+ }>, z.ZodString]>, z.ZodUnion<readonly [z.ZodEnum<{
1044
+ text: "text";
1045
+ frame: "frame";
1046
+ accent: "accent";
1047
+ background: "background";
1048
+ }>, z.ZodString]>], null>;
1049
+ amount: z.ZodNumber;
1050
+ }, z.core.$strict>]>;
1051
+ to: z.ZodUnion<readonly [z.ZodUnion<readonly [z.ZodEnum<{
1052
+ text: "text";
1053
+ frame: "frame";
1054
+ accent: "accent";
1055
+ background: "background";
1056
+ }>, z.ZodString]>, z.ZodObject<{
1057
+ mix: z.ZodTuple<[z.ZodUnion<readonly [z.ZodEnum<{
1058
+ text: "text";
1059
+ frame: "frame";
1060
+ accent: "accent";
1061
+ background: "background";
1062
+ }>, z.ZodString]>, z.ZodUnion<readonly [z.ZodEnum<{
1063
+ text: "text";
1064
+ frame: "frame";
1065
+ accent: "accent";
1066
+ background: "background";
1067
+ }>, z.ZodString]>], null>;
1068
+ amount: z.ZodNumber;
1069
+ }, z.core.$strict>]>;
1070
+ direction: z.ZodOptional<z.ZodEnum<{
1071
+ horizontal: "horizontal";
1072
+ vertical: "vertical";
1073
+ }>>;
1074
+ steps: z.ZodOptional<z.ZodInt>;
1075
+ }, z.core.$strict>;
1076
+ }, z.core.$strict>]>;
1077
+ }, z.core.$strict>, z.ZodObject<{
1078
+ type: z.ZodLiteral<"polygon">;
1079
+ points: z.ZodArray<z.ZodTuple<[z.ZodNumber, z.ZodNumber], null>>;
1080
+ fill: z.ZodUnion<readonly [z.ZodUnion<readonly [z.ZodUnion<readonly [z.ZodEnum<{
1081
+ text: "text";
1082
+ frame: "frame";
1083
+ accent: "accent";
1084
+ background: "background";
1085
+ }>, z.ZodString]>, z.ZodObject<{
1086
+ mix: z.ZodTuple<[z.ZodUnion<readonly [z.ZodEnum<{
1087
+ text: "text";
1088
+ frame: "frame";
1089
+ accent: "accent";
1090
+ background: "background";
1091
+ }>, z.ZodString]>, z.ZodUnion<readonly [z.ZodEnum<{
1092
+ text: "text";
1093
+ frame: "frame";
1094
+ accent: "accent";
1095
+ background: "background";
1096
+ }>, z.ZodString]>], null>;
1097
+ amount: z.ZodNumber;
1098
+ }, z.core.$strict>]>, z.ZodObject<{
1099
+ gradient: z.ZodObject<{
1100
+ from: z.ZodUnion<readonly [z.ZodUnion<readonly [z.ZodEnum<{
1101
+ text: "text";
1102
+ frame: "frame";
1103
+ accent: "accent";
1104
+ background: "background";
1105
+ }>, z.ZodString]>, z.ZodObject<{
1106
+ mix: z.ZodTuple<[z.ZodUnion<readonly [z.ZodEnum<{
1107
+ text: "text";
1108
+ frame: "frame";
1109
+ accent: "accent";
1110
+ background: "background";
1111
+ }>, z.ZodString]>, z.ZodUnion<readonly [z.ZodEnum<{
1112
+ text: "text";
1113
+ frame: "frame";
1114
+ accent: "accent";
1115
+ background: "background";
1116
+ }>, z.ZodString]>], null>;
1117
+ amount: z.ZodNumber;
1118
+ }, z.core.$strict>]>;
1119
+ to: z.ZodUnion<readonly [z.ZodUnion<readonly [z.ZodEnum<{
1120
+ text: "text";
1121
+ frame: "frame";
1122
+ accent: "accent";
1123
+ background: "background";
1124
+ }>, z.ZodString]>, z.ZodObject<{
1125
+ mix: z.ZodTuple<[z.ZodUnion<readonly [z.ZodEnum<{
1126
+ text: "text";
1127
+ frame: "frame";
1128
+ accent: "accent";
1129
+ background: "background";
1130
+ }>, z.ZodString]>, z.ZodUnion<readonly [z.ZodEnum<{
1131
+ text: "text";
1132
+ frame: "frame";
1133
+ accent: "accent";
1134
+ background: "background";
1135
+ }>, z.ZodString]>], null>;
1136
+ amount: z.ZodNumber;
1137
+ }, z.core.$strict>]>;
1138
+ direction: z.ZodOptional<z.ZodEnum<{
1139
+ horizontal: "horizontal";
1140
+ vertical: "vertical";
1141
+ }>>;
1142
+ steps: z.ZodOptional<z.ZodInt>;
1143
+ }, z.core.$strict>;
1144
+ }, z.core.$strict>]>;
1145
+ }, z.core.$strict>, z.ZodObject<{
1146
+ type: z.ZodLiteral<"path">;
1147
+ d: z.ZodString;
1148
+ fill: z.ZodUnion<readonly [z.ZodUnion<readonly [z.ZodUnion<readonly [z.ZodEnum<{
1149
+ text: "text";
1150
+ frame: "frame";
1151
+ accent: "accent";
1152
+ background: "background";
1153
+ }>, z.ZodString]>, z.ZodObject<{
1154
+ mix: z.ZodTuple<[z.ZodUnion<readonly [z.ZodEnum<{
1155
+ text: "text";
1156
+ frame: "frame";
1157
+ accent: "accent";
1158
+ background: "background";
1159
+ }>, z.ZodString]>, z.ZodUnion<readonly [z.ZodEnum<{
1160
+ text: "text";
1161
+ frame: "frame";
1162
+ accent: "accent";
1163
+ background: "background";
1164
+ }>, z.ZodString]>], null>;
1165
+ amount: z.ZodNumber;
1166
+ }, z.core.$strict>]>, z.ZodObject<{
1167
+ gradient: z.ZodObject<{
1168
+ from: z.ZodUnion<readonly [z.ZodUnion<readonly [z.ZodEnum<{
1169
+ text: "text";
1170
+ frame: "frame";
1171
+ accent: "accent";
1172
+ background: "background";
1173
+ }>, z.ZodString]>, z.ZodObject<{
1174
+ mix: z.ZodTuple<[z.ZodUnion<readonly [z.ZodEnum<{
1175
+ text: "text";
1176
+ frame: "frame";
1177
+ accent: "accent";
1178
+ background: "background";
1179
+ }>, z.ZodString]>, z.ZodUnion<readonly [z.ZodEnum<{
1180
+ text: "text";
1181
+ frame: "frame";
1182
+ accent: "accent";
1183
+ background: "background";
1184
+ }>, z.ZodString]>], null>;
1185
+ amount: z.ZodNumber;
1186
+ }, z.core.$strict>]>;
1187
+ to: z.ZodUnion<readonly [z.ZodUnion<readonly [z.ZodEnum<{
1188
+ text: "text";
1189
+ frame: "frame";
1190
+ accent: "accent";
1191
+ background: "background";
1192
+ }>, z.ZodString]>, z.ZodObject<{
1193
+ mix: z.ZodTuple<[z.ZodUnion<readonly [z.ZodEnum<{
1194
+ text: "text";
1195
+ frame: "frame";
1196
+ accent: "accent";
1197
+ background: "background";
1198
+ }>, z.ZodString]>, z.ZodUnion<readonly [z.ZodEnum<{
1199
+ text: "text";
1200
+ frame: "frame";
1201
+ accent: "accent";
1202
+ background: "background";
1203
+ }>, z.ZodString]>], null>;
1204
+ amount: z.ZodNumber;
1205
+ }, z.core.$strict>]>;
1206
+ direction: z.ZodOptional<z.ZodEnum<{
1207
+ horizontal: "horizontal";
1208
+ vertical: "vertical";
1209
+ }>>;
1210
+ steps: z.ZodOptional<z.ZodInt>;
1211
+ }, z.core.$strict>;
1212
+ }, z.core.$strict>]>;
1213
+ fillRule: z.ZodOptional<z.ZodEnum<{
1214
+ nonzero: "nonzero";
1215
+ evenodd: "evenodd";
1216
+ }>>;
1217
+ }, z.core.$strict>, z.ZodObject<{
1218
+ type: z.ZodLiteral<"line">;
1219
+ x1: z.ZodNumber;
1220
+ y1: z.ZodNumber;
1221
+ x2: z.ZodNumber;
1222
+ y2: z.ZodNumber;
1223
+ width: z.ZodNumber;
1224
+ cap: z.ZodOptional<z.ZodEnum<{
1225
+ butt: "butt";
1226
+ round: "round";
1227
+ }>>;
1228
+ dash: z.ZodOptional<z.ZodTuple<[z.ZodNumber, z.ZodNumber], null>>;
1229
+ fill: z.ZodUnion<readonly [z.ZodUnion<readonly [z.ZodUnion<readonly [z.ZodEnum<{
1230
+ text: "text";
1231
+ frame: "frame";
1232
+ accent: "accent";
1233
+ background: "background";
1234
+ }>, z.ZodString]>, z.ZodObject<{
1235
+ mix: z.ZodTuple<[z.ZodUnion<readonly [z.ZodEnum<{
1236
+ text: "text";
1237
+ frame: "frame";
1238
+ accent: "accent";
1239
+ background: "background";
1240
+ }>, z.ZodString]>, z.ZodUnion<readonly [z.ZodEnum<{
1241
+ text: "text";
1242
+ frame: "frame";
1243
+ accent: "accent";
1244
+ background: "background";
1245
+ }>, z.ZodString]>], null>;
1246
+ amount: z.ZodNumber;
1247
+ }, z.core.$strict>]>, z.ZodObject<{
1248
+ gradient: z.ZodObject<{
1249
+ from: z.ZodUnion<readonly [z.ZodUnion<readonly [z.ZodEnum<{
1250
+ text: "text";
1251
+ frame: "frame";
1252
+ accent: "accent";
1253
+ background: "background";
1254
+ }>, z.ZodString]>, z.ZodObject<{
1255
+ mix: z.ZodTuple<[z.ZodUnion<readonly [z.ZodEnum<{
1256
+ text: "text";
1257
+ frame: "frame";
1258
+ accent: "accent";
1259
+ background: "background";
1260
+ }>, z.ZodString]>, z.ZodUnion<readonly [z.ZodEnum<{
1261
+ text: "text";
1262
+ frame: "frame";
1263
+ accent: "accent";
1264
+ background: "background";
1265
+ }>, z.ZodString]>], null>;
1266
+ amount: z.ZodNumber;
1267
+ }, z.core.$strict>]>;
1268
+ to: z.ZodUnion<readonly [z.ZodUnion<readonly [z.ZodEnum<{
1269
+ text: "text";
1270
+ frame: "frame";
1271
+ accent: "accent";
1272
+ background: "background";
1273
+ }>, z.ZodString]>, z.ZodObject<{
1274
+ mix: z.ZodTuple<[z.ZodUnion<readonly [z.ZodEnum<{
1275
+ text: "text";
1276
+ frame: "frame";
1277
+ accent: "accent";
1278
+ background: "background";
1279
+ }>, z.ZodString]>, z.ZodUnion<readonly [z.ZodEnum<{
1280
+ text: "text";
1281
+ frame: "frame";
1282
+ accent: "accent";
1283
+ background: "background";
1284
+ }>, z.ZodString]>], null>;
1285
+ amount: z.ZodNumber;
1286
+ }, z.core.$strict>]>;
1287
+ direction: z.ZodOptional<z.ZodEnum<{
1288
+ horizontal: "horizontal";
1289
+ vertical: "vertical";
1290
+ }>>;
1291
+ steps: z.ZodOptional<z.ZodInt>;
1292
+ }, z.core.$strict>;
1293
+ }, z.core.$strict>]>;
1294
+ }, z.core.$strict>, z.ZodObject<{
1295
+ type: z.ZodLiteral<"icon">;
1296
+ icon: z.ZodEnum<{
1297
+ check: "check";
1298
+ heart: "heart";
1299
+ star: "star";
1300
+ phone: "phone";
1301
+ wifi: "wifi";
1302
+ headphones: "headphones";
1303
+ calendar: "calendar";
1304
+ user: "user";
1305
+ chat: "chat";
1306
+ bag: "bag";
1307
+ bell: "bell";
1308
+ cup: "cup";
1309
+ card: "card";
1310
+ info: "info";
1311
+ home: "home";
1312
+ pin: "pin";
1313
+ share: "share";
1314
+ download: "download";
1315
+ clock: "clock";
1316
+ snowflake: "snowflake";
1317
+ pumpkin: "pumpkin";
1318
+ tree: "tree";
1319
+ sparkle: "sparkle";
1320
+ gift: "gift";
1321
+ }>;
1322
+ x: z.ZodNumber;
1323
+ y: z.ZodNumber;
1324
+ size: z.ZodNumber;
1325
+ fill: z.ZodUnion<readonly [z.ZodUnion<readonly [z.ZodUnion<readonly [z.ZodEnum<{
1326
+ text: "text";
1327
+ frame: "frame";
1328
+ accent: "accent";
1329
+ background: "background";
1330
+ }>, z.ZodString]>, z.ZodObject<{
1331
+ mix: z.ZodTuple<[z.ZodUnion<readonly [z.ZodEnum<{
1332
+ text: "text";
1333
+ frame: "frame";
1334
+ accent: "accent";
1335
+ background: "background";
1336
+ }>, z.ZodString]>, z.ZodUnion<readonly [z.ZodEnum<{
1337
+ text: "text";
1338
+ frame: "frame";
1339
+ accent: "accent";
1340
+ background: "background";
1341
+ }>, z.ZodString]>], null>;
1342
+ amount: z.ZodNumber;
1343
+ }, z.core.$strict>]>, z.ZodObject<{
1344
+ gradient: z.ZodObject<{
1345
+ from: z.ZodUnion<readonly [z.ZodUnion<readonly [z.ZodEnum<{
1346
+ text: "text";
1347
+ frame: "frame";
1348
+ accent: "accent";
1349
+ background: "background";
1350
+ }>, z.ZodString]>, z.ZodObject<{
1351
+ mix: z.ZodTuple<[z.ZodUnion<readonly [z.ZodEnum<{
1352
+ text: "text";
1353
+ frame: "frame";
1354
+ accent: "accent";
1355
+ background: "background";
1356
+ }>, z.ZodString]>, z.ZodUnion<readonly [z.ZodEnum<{
1357
+ text: "text";
1358
+ frame: "frame";
1359
+ accent: "accent";
1360
+ background: "background";
1361
+ }>, z.ZodString]>], null>;
1362
+ amount: z.ZodNumber;
1363
+ }, z.core.$strict>]>;
1364
+ to: z.ZodUnion<readonly [z.ZodUnion<readonly [z.ZodEnum<{
1365
+ text: "text";
1366
+ frame: "frame";
1367
+ accent: "accent";
1368
+ background: "background";
1369
+ }>, z.ZodString]>, z.ZodObject<{
1370
+ mix: z.ZodTuple<[z.ZodUnion<readonly [z.ZodEnum<{
1371
+ text: "text";
1372
+ frame: "frame";
1373
+ accent: "accent";
1374
+ background: "background";
1375
+ }>, z.ZodString]>, z.ZodUnion<readonly [z.ZodEnum<{
1376
+ text: "text";
1377
+ frame: "frame";
1378
+ accent: "accent";
1379
+ background: "background";
1380
+ }>, z.ZodString]>], null>;
1381
+ amount: z.ZodNumber;
1382
+ }, z.core.$strict>]>;
1383
+ direction: z.ZodOptional<z.ZodEnum<{
1384
+ horizontal: "horizontal";
1385
+ vertical: "vertical";
1386
+ }>>;
1387
+ steps: z.ZodOptional<z.ZodInt>;
1388
+ }, z.core.$strict>;
1389
+ }, z.core.$strict>]>;
1390
+ }, z.core.$strict>], "type">>;
1391
+ labels: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
1392
+ box: z.ZodObject<{
1393
+ x: z.ZodNumber;
1394
+ y: z.ZodNumber;
1395
+ width: z.ZodNumber;
1396
+ height: z.ZodNumber;
1397
+ }, z.core.$strict>;
1398
+ align: z.ZodOptional<z.ZodEnum<{
1399
+ start: "start";
1400
+ middle: "middle";
1401
+ end: "end";
1402
+ }>>;
1403
+ fontSize: z.ZodOptional<z.ZodNumber>;
1404
+ id: z.ZodString;
1405
+ slot: z.ZodEnum<{
1406
+ primary: "primary";
1407
+ secondary: "secondary";
1408
+ fixed: "fixed";
1409
+ }>;
1410
+ text: z.ZodString;
1411
+ maxLength: z.ZodOptional<z.ZodInt>;
1412
+ color: z.ZodUnion<readonly [z.ZodUnion<readonly [z.ZodEnum<{
1413
+ text: "text";
1414
+ frame: "frame";
1415
+ accent: "accent";
1416
+ background: "background";
1417
+ }>, z.ZodString]>, z.ZodObject<{
1418
+ mix: z.ZodTuple<[z.ZodUnion<readonly [z.ZodEnum<{
1419
+ text: "text";
1420
+ frame: "frame";
1421
+ accent: "accent";
1422
+ background: "background";
1423
+ }>, z.ZodString]>, z.ZodUnion<readonly [z.ZodEnum<{
1424
+ text: "text";
1425
+ frame: "frame";
1426
+ accent: "accent";
1427
+ background: "background";
1428
+ }>, z.ZodString]>], null>;
1429
+ amount: z.ZodNumber;
1430
+ }, z.core.$strict>]>;
1431
+ weight: z.ZodOptional<z.ZodEnum<{
1432
+ bold: "bold";
1433
+ regular: "regular";
1434
+ }>>;
1435
+ type: z.ZodLiteral<"text">;
1436
+ }, z.core.$strict>, z.ZodObject<{
1437
+ curve: z.ZodObject<{
1438
+ cx: z.ZodNumber;
1439
+ cy: z.ZodNumber;
1440
+ radius: z.ZodNumber;
1441
+ side: z.ZodEnum<{
1442
+ top: "top";
1443
+ bottom: "bottom";
1444
+ }>;
1445
+ spread: z.ZodOptional<z.ZodNumber>;
1446
+ }, z.core.$strict>;
1447
+ fontSize: z.ZodNumber;
1448
+ id: z.ZodString;
1449
+ slot: z.ZodEnum<{
1450
+ primary: "primary";
1451
+ secondary: "secondary";
1452
+ fixed: "fixed";
1453
+ }>;
1454
+ text: z.ZodString;
1455
+ maxLength: z.ZodOptional<z.ZodInt>;
1456
+ color: z.ZodUnion<readonly [z.ZodUnion<readonly [z.ZodEnum<{
1457
+ text: "text";
1458
+ frame: "frame";
1459
+ accent: "accent";
1460
+ background: "background";
1461
+ }>, z.ZodString]>, z.ZodObject<{
1462
+ mix: z.ZodTuple<[z.ZodUnion<readonly [z.ZodEnum<{
1463
+ text: "text";
1464
+ frame: "frame";
1465
+ accent: "accent";
1466
+ background: "background";
1467
+ }>, z.ZodString]>, z.ZodUnion<readonly [z.ZodEnum<{
1468
+ text: "text";
1469
+ frame: "frame";
1470
+ accent: "accent";
1471
+ background: "background";
1472
+ }>, z.ZodString]>], null>;
1473
+ amount: z.ZodNumber;
1474
+ }, z.core.$strict>]>;
1475
+ weight: z.ZodOptional<z.ZodEnum<{
1476
+ bold: "bold";
1477
+ regular: "regular";
1478
+ }>>;
1479
+ type: z.ZodLiteral<"curved">;
1480
+ }, z.core.$strict>], "type">>;
1481
+ bleed: z.ZodOptional<z.ZodUnion<readonly [z.ZodLiteral<"none">, z.ZodUnion<readonly [z.ZodUnion<readonly [z.ZodEnum<{
1482
+ text: "text";
1483
+ frame: "frame";
1484
+ accent: "accent";
1485
+ background: "background";
1486
+ }>, z.ZodString]>, z.ZodObject<{
1487
+ mix: z.ZodTuple<[z.ZodUnion<readonly [z.ZodEnum<{
1488
+ text: "text";
1489
+ frame: "frame";
1490
+ accent: "accent";
1491
+ background: "background";
1492
+ }>, z.ZodString]>, z.ZodUnion<readonly [z.ZodEnum<{
1493
+ text: "text";
1494
+ frame: "frame";
1495
+ accent: "accent";
1496
+ background: "background";
1497
+ }>, z.ZodString]>], null>;
1498
+ amount: z.ZodNumber;
1499
+ }, z.core.$strict>]>]>>;
1500
+ }, z.core.$strict>;
1501
+ }, z.core.$strip>], "style">>;
1502
+ art: z.ZodOptional<z.ZodObject<{
1503
+ mode: z.ZodEnum<{
1504
+ logo: "logo";
1505
+ halftone: "halftone";
1506
+ }>;
1507
+ image: z.ZodObject<{
1508
+ width: z.ZodNumber;
1509
+ height: z.ZodNumber;
1510
+ data: z.ZodString;
1511
+ }, z.core.$strip>;
1512
+ intensity: z.ZodOptional<z.ZodNumber>;
1513
+ variant: z.ZodOptional<z.ZodEnum<{
1514
+ color: "color";
1515
+ blend: "blend";
1516
+ badge: "badge";
1517
+ mono: "mono";
1518
+ }>>;
1519
+ matchEyes: z.ZodOptional<z.ZodBoolean>;
1520
+ }, z.core.$strip>>;
1521
+ eyeColors: z.ZodOptional<z.ZodObject<{
1522
+ topLeft: z.ZodOptional<z.ZodObject<{
1523
+ outer: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
1524
+ type: z.ZodLiteral<"solid">;
1525
+ color: z.ZodString;
1526
+ }, z.core.$strip>, z.ZodObject<{
1527
+ type: z.ZodLiteral<"linear">;
1528
+ stops: z.ZodArray<z.ZodObject<{
1529
+ color: z.ZodString;
1530
+ offset: z.ZodNumber;
1531
+ }, z.core.$strip>>;
1532
+ angle: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
1533
+ }, z.core.$strip>, z.ZodObject<{
1534
+ type: z.ZodLiteral<"radial">;
1535
+ stops: z.ZodArray<z.ZodObject<{
1536
+ color: z.ZodString;
1537
+ offset: z.ZodNumber;
1538
+ }, z.core.$strip>>;
1539
+ }, z.core.$strip>, z.ZodObject<{
1540
+ type: z.ZodLiteral<"angular">;
1541
+ stops: z.ZodArray<z.ZodObject<{
1542
+ color: z.ZodString;
1543
+ offset: z.ZodNumber;
1544
+ }, z.core.$strip>>;
1545
+ angle: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
1546
+ }, z.core.$strip>, z.ZodObject<{
1547
+ type: z.ZodLiteral<"image">;
1548
+ src: z.ZodString;
1549
+ fit: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
1550
+ cover: "cover";
1551
+ contain: "contain";
1552
+ tile: "tile";
1553
+ }>>>;
1554
+ scale: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
1555
+ position: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
1556
+ center: "center";
1557
+ "top-left": "top-left";
1558
+ top: "top";
1559
+ "top-right": "top-right";
1560
+ left: "left";
1561
+ right: "right";
1562
+ "bottom-left": "bottom-left";
1563
+ bottom: "bottom";
1564
+ "bottom-right": "bottom-right";
1565
+ }>>>;
1566
+ opacity: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
1567
+ underlay: z.ZodOptional<z.ZodString>;
1568
+ }, z.core.$strip>]>>;
1569
+ inner: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
1570
+ type: z.ZodLiteral<"solid">;
1571
+ color: z.ZodString;
1572
+ }, z.core.$strip>, z.ZodObject<{
1573
+ type: z.ZodLiteral<"linear">;
1574
+ stops: z.ZodArray<z.ZodObject<{
1575
+ color: z.ZodString;
1576
+ offset: z.ZodNumber;
1577
+ }, z.core.$strip>>;
1578
+ angle: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
1579
+ }, z.core.$strip>, z.ZodObject<{
1580
+ type: z.ZodLiteral<"radial">;
1581
+ stops: z.ZodArray<z.ZodObject<{
1582
+ color: z.ZodString;
1583
+ offset: z.ZodNumber;
1584
+ }, z.core.$strip>>;
1585
+ }, z.core.$strip>, z.ZodObject<{
1586
+ type: z.ZodLiteral<"angular">;
1587
+ stops: z.ZodArray<z.ZodObject<{
1588
+ color: z.ZodString;
1589
+ offset: z.ZodNumber;
1590
+ }, z.core.$strip>>;
1591
+ angle: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
1592
+ }, z.core.$strip>, z.ZodObject<{
1593
+ type: z.ZodLiteral<"image">;
1594
+ src: z.ZodString;
1595
+ fit: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
1596
+ cover: "cover";
1597
+ contain: "contain";
1598
+ tile: "tile";
1599
+ }>>>;
1600
+ scale: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
1601
+ position: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
1602
+ center: "center";
1603
+ "top-left": "top-left";
1604
+ top: "top";
1605
+ "top-right": "top-right";
1606
+ left: "left";
1607
+ right: "right";
1608
+ "bottom-left": "bottom-left";
1609
+ bottom: "bottom";
1610
+ "bottom-right": "bottom-right";
1611
+ }>>>;
1612
+ opacity: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
1613
+ underlay: z.ZodOptional<z.ZodString>;
1614
+ }, z.core.$strip>]>>;
1615
+ }, z.core.$strip>>;
1616
+ topRight: z.ZodOptional<z.ZodObject<{
1617
+ outer: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
1618
+ type: z.ZodLiteral<"solid">;
1619
+ color: z.ZodString;
1620
+ }, z.core.$strip>, z.ZodObject<{
1621
+ type: z.ZodLiteral<"linear">;
1622
+ stops: z.ZodArray<z.ZodObject<{
1623
+ color: z.ZodString;
1624
+ offset: z.ZodNumber;
1625
+ }, z.core.$strip>>;
1626
+ angle: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
1627
+ }, z.core.$strip>, z.ZodObject<{
1628
+ type: z.ZodLiteral<"radial">;
1629
+ stops: z.ZodArray<z.ZodObject<{
1630
+ color: z.ZodString;
1631
+ offset: z.ZodNumber;
1632
+ }, z.core.$strip>>;
1633
+ }, z.core.$strip>, z.ZodObject<{
1634
+ type: z.ZodLiteral<"angular">;
1635
+ stops: z.ZodArray<z.ZodObject<{
1636
+ color: z.ZodString;
1637
+ offset: z.ZodNumber;
1638
+ }, z.core.$strip>>;
1639
+ angle: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
1640
+ }, z.core.$strip>, z.ZodObject<{
1641
+ type: z.ZodLiteral<"image">;
1642
+ src: z.ZodString;
1643
+ fit: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
1644
+ cover: "cover";
1645
+ contain: "contain";
1646
+ tile: "tile";
1647
+ }>>>;
1648
+ scale: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
1649
+ position: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
1650
+ center: "center";
1651
+ "top-left": "top-left";
1652
+ top: "top";
1653
+ "top-right": "top-right";
1654
+ left: "left";
1655
+ right: "right";
1656
+ "bottom-left": "bottom-left";
1657
+ bottom: "bottom";
1658
+ "bottom-right": "bottom-right";
1659
+ }>>>;
1660
+ opacity: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
1661
+ underlay: z.ZodOptional<z.ZodString>;
1662
+ }, z.core.$strip>]>>;
1663
+ inner: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
1664
+ type: z.ZodLiteral<"solid">;
1665
+ color: z.ZodString;
1666
+ }, z.core.$strip>, z.ZodObject<{
1667
+ type: z.ZodLiteral<"linear">;
1668
+ stops: z.ZodArray<z.ZodObject<{
1669
+ color: z.ZodString;
1670
+ offset: z.ZodNumber;
1671
+ }, z.core.$strip>>;
1672
+ angle: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
1673
+ }, z.core.$strip>, z.ZodObject<{
1674
+ type: z.ZodLiteral<"radial">;
1675
+ stops: z.ZodArray<z.ZodObject<{
1676
+ color: z.ZodString;
1677
+ offset: z.ZodNumber;
1678
+ }, z.core.$strip>>;
1679
+ }, z.core.$strip>, z.ZodObject<{
1680
+ type: z.ZodLiteral<"angular">;
1681
+ stops: z.ZodArray<z.ZodObject<{
1682
+ color: z.ZodString;
1683
+ offset: z.ZodNumber;
1684
+ }, z.core.$strip>>;
1685
+ angle: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
1686
+ }, z.core.$strip>, z.ZodObject<{
1687
+ type: z.ZodLiteral<"image">;
1688
+ src: z.ZodString;
1689
+ fit: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
1690
+ cover: "cover";
1691
+ contain: "contain";
1692
+ tile: "tile";
1693
+ }>>>;
1694
+ scale: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
1695
+ position: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
1696
+ center: "center";
1697
+ "top-left": "top-left";
1698
+ top: "top";
1699
+ "top-right": "top-right";
1700
+ left: "left";
1701
+ right: "right";
1702
+ "bottom-left": "bottom-left";
1703
+ bottom: "bottom";
1704
+ "bottom-right": "bottom-right";
1705
+ }>>>;
1706
+ opacity: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
1707
+ underlay: z.ZodOptional<z.ZodString>;
1708
+ }, z.core.$strip>]>>;
1709
+ }, z.core.$strip>>;
1710
+ bottomLeft: z.ZodOptional<z.ZodObject<{
1711
+ outer: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
1712
+ type: z.ZodLiteral<"solid">;
1713
+ color: z.ZodString;
1714
+ }, z.core.$strip>, z.ZodObject<{
1715
+ type: z.ZodLiteral<"linear">;
1716
+ stops: z.ZodArray<z.ZodObject<{
1717
+ color: z.ZodString;
1718
+ offset: z.ZodNumber;
1719
+ }, z.core.$strip>>;
1720
+ angle: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
1721
+ }, z.core.$strip>, z.ZodObject<{
1722
+ type: z.ZodLiteral<"radial">;
1723
+ stops: z.ZodArray<z.ZodObject<{
1724
+ color: z.ZodString;
1725
+ offset: z.ZodNumber;
1726
+ }, z.core.$strip>>;
1727
+ }, z.core.$strip>, z.ZodObject<{
1728
+ type: z.ZodLiteral<"angular">;
1729
+ stops: z.ZodArray<z.ZodObject<{
1730
+ color: z.ZodString;
1731
+ offset: z.ZodNumber;
1732
+ }, z.core.$strip>>;
1733
+ angle: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
1734
+ }, z.core.$strip>, z.ZodObject<{
1735
+ type: z.ZodLiteral<"image">;
1736
+ src: z.ZodString;
1737
+ fit: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
1738
+ cover: "cover";
1739
+ contain: "contain";
1740
+ tile: "tile";
1741
+ }>>>;
1742
+ scale: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
1743
+ position: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
1744
+ center: "center";
1745
+ "top-left": "top-left";
1746
+ top: "top";
1747
+ "top-right": "top-right";
1748
+ left: "left";
1749
+ right: "right";
1750
+ "bottom-left": "bottom-left";
1751
+ bottom: "bottom";
1752
+ "bottom-right": "bottom-right";
1753
+ }>>>;
1754
+ opacity: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
1755
+ underlay: z.ZodOptional<z.ZodString>;
1756
+ }, z.core.$strip>]>>;
1757
+ inner: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
1758
+ type: z.ZodLiteral<"solid">;
1759
+ color: z.ZodString;
1760
+ }, z.core.$strip>, z.ZodObject<{
1761
+ type: z.ZodLiteral<"linear">;
1762
+ stops: z.ZodArray<z.ZodObject<{
1763
+ color: z.ZodString;
1764
+ offset: z.ZodNumber;
1765
+ }, z.core.$strip>>;
1766
+ angle: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
1767
+ }, z.core.$strip>, z.ZodObject<{
1768
+ type: z.ZodLiteral<"radial">;
1769
+ stops: z.ZodArray<z.ZodObject<{
1770
+ color: z.ZodString;
1771
+ offset: z.ZodNumber;
1772
+ }, z.core.$strip>>;
1773
+ }, z.core.$strip>, z.ZodObject<{
1774
+ type: z.ZodLiteral<"angular">;
1775
+ stops: z.ZodArray<z.ZodObject<{
1776
+ color: z.ZodString;
1777
+ offset: z.ZodNumber;
1778
+ }, z.core.$strip>>;
1779
+ angle: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
1780
+ }, z.core.$strip>, z.ZodObject<{
1781
+ type: z.ZodLiteral<"image">;
1782
+ src: z.ZodString;
1783
+ fit: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
1784
+ cover: "cover";
1785
+ contain: "contain";
1786
+ tile: "tile";
1787
+ }>>>;
1788
+ scale: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
1789
+ position: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
1790
+ center: "center";
1791
+ "top-left": "top-left";
1792
+ top: "top";
1793
+ "top-right": "top-right";
1794
+ left: "left";
1795
+ right: "right";
1796
+ "bottom-left": "bottom-left";
1797
+ bottom: "bottom";
1798
+ "bottom-right": "bottom-right";
1799
+ }>>>;
1800
+ opacity: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
1801
+ underlay: z.ZodOptional<z.ZodString>;
1802
+ }, z.core.$strip>]>>;
1803
+ }, z.core.$strip>>;
1804
+ }, z.core.$strip>>;
1805
+ moduleScale: z.ZodOptional<z.ZodNumber>;
1806
+ autoLevel: z.ZodOptional<z.ZodBoolean>;
1807
+ shape: z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
1808
+ square: "square";
1809
+ circle: "circle";
1810
+ heart: "heart";
1811
+ }>, z.ZodObject<{
1812
+ type: z.ZodLiteral<"silhouette">;
1813
+ width: z.ZodNumber;
1814
+ height: z.ZodNumber;
1815
+ cells: z.ZodString;
1816
+ }, z.core.$strip>]>>;
146
1817
  }, z.core.$strip>;
147
1818
  export type ImageSettings = z.infer<typeof imageSettingsSchema>;
148
1819
  export type ErrorLevel = z.infer<typeof errorLevelSchema>;
149
- export type QRProps = {
1820
+ export type EyeColorOverride = z.infer<typeof eyeColorOverrideSchema>;
1821
+ export type EyeColors = z.infer<typeof eyeColorsSchema>;
1822
+ export interface QRProps {
150
1823
  value: string;
151
1824
  size?: number;
152
1825
  level?: ErrorLevel;
@@ -164,7 +1837,14 @@ export type QRProps = {
164
1837
  templateId?: string;
165
1838
  customTemplate?: TemplateDefinition<any>;
166
1839
  customProps?: Record<string, any>;
167
- };
1840
+ frame?: AnyQRFrame;
1841
+ art?: QRArt;
1842
+ eyeColors?: EyeColors;
1843
+ moduleScale?: number;
1844
+ autoLevel?: boolean;
1845
+ shape?: QRCodeShape;
1846
+ frameLabelMarkers?: boolean;
1847
+ }
168
1848
  export type QRPropsCanvas = QRProps & React.CanvasHTMLAttributes<HTMLCanvasElement>;
169
1849
  export type QRPropsSVG = QRProps & React.SVGProps<SVGSVGElement>;
170
1850
  //# sourceMappingURL=qr.d.ts.map