PluginProbe ʕ •ᴥ•ʔ
SureCart – Ecommerce Made Easy For Selling Physical Products, Digital Downloads, Subscriptions, Donations, & Payments / 4.7.0
SureCart – Ecommerce Made Easy For Selling Physical Products, Digital Downloads, Subscriptions, Donations, & Payments v4.7.0
4.7.2 4.7.1 4.7.0 4.6.6 4.6.5 4.6.4 4.6.3 4.6.2 4.6.1 4.6.0 4.5.1 4.5.0 4.4.2 4.4.1 4.4.0 4.3.3 4.3.2 4.3.1 4.3.0 4.2.3 4.2.2 4.2.1 1.0.3 1.0.4 1.0.5 1.0.6 1.1.0 1.1.1 1.1.10 1.1.11 1.1.12 1.1.13 1.1.14 1.1.15 1.1.16 1.1.17 1.1.18 1.1.19 1.1.2 1.1.3 1.1.4 1.1.5 1.1.6 1.1.7 1.1.8 1.1.9 1.10.0 1.10.1 1.10.2 1.10.3 1.10.4 1.11.0 1.11.1 1.11.2 1.2.0 1.2.1 1.2.2 1.2.3 1.2.4 1.2.5 1.3.0 1.3.1 1.3.2 1.3.3 1.3.4 1.4.0 1.4.1 1.4.2 1.5.0 1.5.1 1.5.2 1.5.3 1.5.4 1.5.5 1.5.6 1.5.7 1.5.8 1.6.0 1.6.1 1.6.2 1.6.3 1.6.4 1.7.0 1.7.1 1.7.2 1.8.0 1.8.1 1.8.2 1.8.3 1.8.4 1.8.5 1.9.0 1.9.1 1.9.2 1.9.3 1.9.4 1.9.5 2.0.0 2.0.1 2.1.0 2.1.1 2.1.2 2.1.3 2.1.4 2.10.0 2.10.1 2.11.0 2.11.1 2.11.2 2.11.3 2.11.4 2.12.0 2.13.0 2.14.0 2.14.1 2.15.0 2.15.1 2.16.0 2.16.1 2.16.2 2.16.3 2.17.0 2.17.1 2.17.2 2.18.0 2.19.0 2.19.2 2.19.3 2.19.4 2.2.0 2.2.1 2.20.0 2.20.1 2.20.2 2.20.3 2.20.4 2.20.5 2.20.6 2.21.0 2.22.0 2.22.1 2.23.0 2.24.0 2.25.0 2.25.1 2.25.2 2.26.0 2.27.0 2.27.1 2.28.0 2.29.0 2.29.1 2.29.2 2.29.3 2.29.4 2.3.0 2.3.1 2.30.0 2.31.0 2.31.1 2.31.2 2.31.3 2.4.0 2.4.1 2.4.2 2.4.3 2.4.4 2.40.0 2.40.1 2.5.0 2.5.1 2.5.2 2.6.0 2.6.1 2.6.2 2.7.0 2.7.1 2.7.2 2.7.3 2.7.4 2.7.5 2.8.0 2.8.1 2.8.2 2.8.3 2.8.4 2.9.0 3.0.0 3.0.0-RC1 3.0.0-RC2 3.0.0-beta1 3.0.0-beta2 3.0.1 3.0.2 3.0.3 3.0.4 3.0.5 3.1.0 3.1.1 3.1.2 3.1.3 3.1.4 3.1.5 3.1.6 3.10.0 3.10.1 3.11.0 3.12.0 3.13.0 3.13.1 3.13.2 3.13.3 3.13.4 3.14.0 3.15.0 3.15.1 3.15.2 3.15.3 3.15.4 3.15.5 3.16.0 3.16.1 3.16.2 3.16.3 3.16.4 3.16.5 3.16.6 3.16.7 3.16.8 3.17.0 3.17.1 3.17.2 3.17.3 3.17.4 3.17.5 3.17.6 3.18.0 3.19.0 3.19.1 3.19.2 3.2.0 3.2.1 3.2.2 3.20.0 3.20.1 3.3.0 3.3.1 3.4.0 3.4.1 3.4.2 3.4.3 3.5.0 3.5.1 3.5.2 3.5.3 3.6.0 3.6.1 3.6.2 3.7.0 3.7.1 3.7.2 3.7.3 3.8.0 3.8.1 3.8.2 3.8.3 3.8.4 3.8.5 3.9.0 4.0.0 4.0.1 4.0.2 4.0.3 trunk 4.1.0 0.2.19.1 4.1.1 1.0.0 4.2.0 1.0.1 1.0.2
surecart / dist / components / types / components.d.ts
surecart / dist / components / types Last commit date
components 1 week ago functions 1 week ago global 4 years ago services 1 month ago store 1 month ago testing 1 year ago components.d.ts 1 week ago global.d.ts 4 years ago index.d.ts 1 month ago stencil-public-runtime.d.ts 1 year ago types.d.ts 1 week ago
components.d.ts
12552 lines
1 /* eslint-disable */
2 /* tslint:disable */
3 /**
4 * This is an autogenerated file created by the Stencil compiler.
5 * It contains typing information for all components that exist in this project.
6 */
7 import { HTMLStencilElement, JSXBase } from "./stencil-public-runtime";
8 import { Address, Bump, CancellationReason, Checkout, ChoiceItem, Customer, DiscountResponse, Fee, FormState, FormStateSetter, FulfillmentStatus, ImageAttributes, InvoiceStatus, License, LineItem, LineItemData as LineItemData1, ManualPaymentMethod, Order, OrderFulFillmentStatus, OrderShipmentStatus, OrderStatus, PaymentInfoAddedParams, PaymentMethod, Price, PriceChoice, Prices, Processor, ProcessorName, Product, ProductGroup, Products, ProductsSearchedParams, ProductsViewedParams, Purchase, ResponseError, ReturnRequestStatus, RuleGroup, Subscription, SubscriptionProtocol, SubscriptionStatus, TaxProtocol, WordPressUser } from "./types";
9 import { LineItemData, Price as Price1, Product as Product1, ProductMetrics, Subscription as Subscription1 } from "./types";
10 import { LayoutConfig } from "./components/controllers/products/sc-product-item-list/sc-product-item-list";
11 import { LayoutConfig as LayoutConfig1 } from "./components/controllers/products/sc-product-item-list/sc-product-item-list";
12 export { Address, Bump, CancellationReason, Checkout, ChoiceItem, Customer, DiscountResponse, Fee, FormState, FormStateSetter, FulfillmentStatus, ImageAttributes, InvoiceStatus, License, LineItem, LineItemData as LineItemData1, ManualPaymentMethod, Order, OrderFulFillmentStatus, OrderShipmentStatus, OrderStatus, PaymentInfoAddedParams, PaymentMethod, Price, PriceChoice, Prices, Processor, ProcessorName, Product, ProductGroup, Products, ProductsSearchedParams, ProductsViewedParams, Purchase, ResponseError, ReturnRequestStatus, RuleGroup, Subscription, SubscriptionProtocol, SubscriptionStatus, TaxProtocol, WordPressUser } from "./types";
13 export { LineItemData, Price as Price1, Product as Product1, ProductMetrics, Subscription as Subscription1 } from "./types";
14 export { LayoutConfig } from "./components/controllers/products/sc-product-item-list/sc-product-item-list";
15 export { LayoutConfig as LayoutConfig1 } from "./components/controllers/products/sc-product-item-list/sc-product-item-list";
16 export namespace Components {
17 interface ScAddress {
18 /**
19 * The address.
20 */
21 "address": Partial<Address>;
22 /**
23 * Is this disabled?
24 */
25 "disabled": boolean;
26 "initCountryChoices": () => Promise<void>;
27 /**
28 * The label for the field.
29 */
30 "label": string;
31 /**
32 * Is this loading?
33 */
34 "loading": boolean;
35 "names": Partial<Address>;
36 "reportValidity": () => Promise<boolean>;
37 /**
38 * Is the name required
39 */
40 "requireName": boolean;
41 /**
42 * Is this required?
43 */
44 "required": boolean;
45 /**
46 * Should we show name field?
47 */
48 "showLine2": boolean;
49 /**
50 * Should we show name field?
51 */
52 "showName": boolean;
53 }
54 interface ScAddressSuggestions {
55 "address": Partial<Address>;
56 /**
57 * If the address input is disabled
58 */
59 "disabled": boolean;
60 /**
61 * Props for the input element
62 */
63 "inputProps": Record<string, unknown>;
64 /**
65 * The label for the address input
66 */
67 "label": string;
68 "names": Partial<Address>;
69 /**
70 * Holds the regions for a given country.
71 */
72 "regions": Array<{ value: string; label: string }>;
73 /**
74 * Delegates to the inner sc-input so this field participates in form validation (it was previously skipped entirely, allowing required addresses through empty).
75 */
76 "reportValidity": () => Promise<boolean>;
77 /**
78 * If the address is required
79 */
80 "required": boolean;
81 }
82 interface ScAlert {
83 /**
84 * Makes the alert closable.
85 */
86 "closable": boolean;
87 /**
88 * The length of time, in milliseconds, the alert will show before closing itself. If the user interacts with the alert before it closes (e.g. moves the mouse over it), the timer will restart. Defaults to `Infinity`.
89 */
90 "duration": number;
91 /**
92 * Hides the alert
93 */
94 "hide": () => Promise<void>;
95 /**
96 * No icon
97 */
98 "noIcon": boolean;
99 /**
100 * Indicates whether or not the alert is open. You can use this in lieu of the show/hide methods.
101 */
102 "open": boolean;
103 /**
104 * Scroll margin
105 */
106 "scrollMargin": string;
107 /**
108 * Scroll into view.
109 */
110 "scrollOnOpen": boolean;
111 /**
112 * Shows the alert.
113 */
114 "show": () => Promise<void>;
115 /**
116 * The title.
117 */
118 "title": string;
119 /**
120 * The type of alert.
121 */
122 "type": 'primary' | 'success' | 'info' | 'warning' | 'danger';
123 }
124 interface ScAvatar {
125 /**
126 * The image source to use for the avatar.
127 */
128 "image": string;
129 /**
130 * Initials to use as a fallback when no image is available (1-2 characters max recommended).
131 */
132 "initials": string;
133 /**
134 * A label to use to describe the avatar to assistive devices.
135 */
136 "label": string;
137 /**
138 * Indicates how the browser should load the image.
139 */
140 "loading": 'eager' | 'lazy';
141 /**
142 * The shape of the avatar.
143 */
144 "shape": 'circle' | 'square' | 'rounded';
145 }
146 interface ScBadgeNotice {
147 "label": string;
148 "size": 'small' | 'medium' | 'large';
149 "type": 'primary' | 'success' | 'info' | 'warning' | 'danger' | 'default';
150 }
151 interface ScBlockUi {
152 "spinner": boolean;
153 "transparent": boolean;
154 "zIndex": number;
155 }
156 interface ScBreadcrumb {
157 /**
158 * Optional URL to direct the user to when the breadcrumb item is activated. When set, a link will be rendered internally. When unset, a button will be rendered instead.
159 */
160 "href"?: string;
161 /**
162 * The `rel` attribute to use on the link. Only used when `href` is set.
163 */
164 "rel": string;
165 /**
166 * Tells the browser where to open the link. Only used when `href` is set.
167 */
168 "target"?: '_blank' | '_parent' | '_self' | '_top';
169 }
170 interface ScBreadcrumbs {
171 /**
172 * The label to use for the breadcrumb control. This will not be shown, but it will be announced by screen readers and other assistive devices.
173 */
174 "label": string;
175 }
176 interface ScButton {
177 /**
178 * Tells the browser to autofocus.
179 */
180 "autofocus": boolean;
181 /**
182 * Draws the button in a busy state.
183 */
184 "busy"?: boolean;
185 /**
186 * Draws the button with a caret for use with dropdowns, popovers, etc.
187 */
188 "caret"?: boolean;
189 /**
190 * Draws a circle button.
191 */
192 "circle"?: boolean;
193 /**
194 * Disables the button.
195 */
196 "disabled"?: boolean;
197 /**
198 * Tells the browser to download the linked file as this filename. Only used when `href` is set.
199 */
200 "download": string;
201 /**
202 * Draws the button full-width.
203 */
204 "full"?: boolean;
205 /**
206 * When set, the underlying button will be rendered as an `<a>` with this `href` instead of a `<button>`.
207 */
208 "href": string;
209 /**
210 * Draws the button in a loading state.
211 */
212 "loading"?: boolean;
213 /**
214 * An optional name for the button. Ignored when `href` is set.
215 */
216 "name": string;
217 /**
218 * Draws an outlined button.
219 */
220 "outline"?: boolean;
221 /**
222 * Draws a pill-style button with rounded edges.
223 */
224 "pill"?: boolean;
225 /**
226 * The button's size.
227 */
228 "size": 'small' | 'medium' | 'large';
229 /**
230 * Indicates if activating the button should submit the form. Ignored when `href` is set.
231 */
232 "submit"?: boolean;
233 /**
234 * Tells the browser where to open the link. Only used when `href` is set.
235 */
236 "target": '_blank' | '_parent' | '_self' | '_top';
237 /**
238 * The button's type.
239 */
240 "type": 'default' | 'primary' | 'success' | 'info' | 'warning' | 'danger' | 'text' | 'link';
241 /**
242 * An optional value for the button. Ignored when `href` is set.
243 */
244 "value": string;
245 }
246 interface ScButtonGroup {
247 "label": string;
248 "separate": boolean;
249 }
250 interface ScCancelDialog {
251 "open": boolean;
252 "protocol": SubscriptionProtocol;
253 "subscription": Subscription;
254 }
255 interface ScCancelDiscount {
256 "comment": string;
257 "protocol": SubscriptionProtocol;
258 "reason": CancellationReason;
259 "subscription": Subscription;
260 }
261 interface ScCancelSurvey {
262 "protocol": SubscriptionProtocol;
263 "reasons": CancellationReason[];
264 }
265 interface ScCard {
266 /**
267 * Is this card borderless.
268 */
269 "borderless": boolean;
270 /**
271 * A link for the card.
272 */
273 "href": string;
274 /**
275 * Is this card loading.
276 */
277 "loading": boolean;
278 /**
279 * Eliminate the divider
280 */
281 "noDivider": boolean;
282 /**
283 * Remove padding
284 */
285 "noPadding": boolean;
286 }
287 interface ScCart {
288 /**
289 * Should we force show the cart, even if there's a form on the page?
290 */
291 "alwaysShow": boolean;
292 /**
293 * The template for the cart to inject when opened.
294 */
295 "cartTemplate": string;
296 "checkoutLink": string;
297 /**
298 * The checkout url for the button.
299 */
300 "checkoutUrl": string;
301 /**
302 * Whether the floating button should be visible
303 */
304 "floatingIconEnabled": boolean;
305 /**
306 * The form id to use for the cart.
307 */
308 "formId": string;
309 /**
310 * The header for the popout.
311 */
312 "header": string;
313 /**
314 * Are we in test or live mode.
315 */
316 "mode": 'test' | 'live';
317 }
318 interface ScCartButton {
319 /**
320 * Whether the cart icon is always shown when the cart is empty
321 */
322 "cartMenuAlwaysShown": boolean;
323 /**
324 * The form id to use for the cart.
325 */
326 "formId": string;
327 /**
328 * Are we in test or live mode.
329 */
330 "mode": 'test' | 'live';
331 /**
332 * Whether the cart count will be shown or not when the cart is empty
333 */
334 "showEmptyCount": boolean;
335 }
336 interface ScCartForm {
337 /**
338 * The form id to use for the cart.
339 */
340 "formId": string;
341 /**
342 * Are we in test or live mode.
343 */
344 "mode": 'test' | 'live';
345 /**
346 * The price id to add.
347 */
348 "priceId": string;
349 /**
350 * The quantity
351 */
352 "quantity": number;
353 /**
354 * The variant id to add.
355 */
356 "variantId": string;
357 }
358 interface ScCartFormSubmit {
359 /**
360 * Show a full-width button.
361 */
362 "full": boolean;
363 /**
364 * Icon to show.
365 */
366 "icon": string;
367 /**
368 * The button's size.
369 */
370 "size": 'small' | 'medium' | 'large';
371 /**
372 * The button type.
373 */
374 "type": 'default' | 'primary' | 'success' | 'info' | 'warning' | 'danger' | 'text' | 'link';
375 }
376 interface ScCartHeader {
377 }
378 interface ScCartIcon {
379 /**
380 * The icon to show.
381 */
382 "icon": string;
383 }
384 interface ScCartLoader {
385 /**
386 * The cart template to inject when opened.
387 */
388 "template": string;
389 }
390 interface ScCartSessionProvider {
391 }
392 interface ScCartSubmit {
393 /**
394 * Is the cart busy
395 */
396 "busy": boolean;
397 }
398 interface ScCcLogo {
399 "brand": string;
400 }
401 interface ScChargesList {
402 "allLink": string;
403 "heading": string;
404 /**
405 * Query to fetch charges
406 */
407 "query": {
408 page: number;
409 per_page: number;
410 };
411 "showPagination": boolean;
412 }
413 interface ScCheckbox {
414 /**
415 * Draws the checkbox in a checked state.
416 */
417 "checked": boolean;
418 /**
419 * Disables the checkbox.
420 */
421 "disabled": boolean;
422 /**
423 * Makes this edit and not editable.
424 */
425 "edit": boolean;
426 /**
427 * Draws the checkbox in an indeterminate state.
428 */
429 "indeterminate": boolean;
430 /**
431 * This will be true when the control is in an invalid state. Validity is determined by the `required` prop.
432 */
433 "invalid": boolean;
434 /**
435 * The checkbox's name attribute.
436 */
437 "name": string;
438 /**
439 * Checks for validity and shows the browser's validation message if the control is invalid.
440 */
441 "reportValidity": () => Promise<boolean>;
442 /**
443 * Makes the checkbox a required field.
444 */
445 "required": boolean;
446 /**
447 * Removes focus from the checkbox.
448 */
449 "triggerBlur": () => Promise<void>;
450 /**
451 * Simulates a click on the checkbox.
452 */
453 "triggerClick": () => Promise<void>;
454 /**
455 * Sets focus on the checkbox.
456 */
457 "triggerFocus": (options?: FocusOptions) => Promise<void>;
458 /**
459 * The checkbox's value attribute.
460 */
461 "value": string;
462 }
463 interface ScCheckout {
464 /**
465 * Is abandoned checkout enabled.
466 */
467 "abandonedCheckoutEnabled": boolean;
468 /**
469 * Alignment
470 */
471 "alignment": 'center' | 'wide' | 'full';
472 /**
473 * Currency to use for this checkout.
474 */
475 "currencyCode": string;
476 /**
477 * Stores the current customer
478 */
479 "customer": Customer;
480 /**
481 * Should we disable components validation
482 */
483 "disableComponentsValidation": boolean;
484 /**
485 * Can we edit line items?
486 */
487 "editLineItems": boolean;
488 /**
489 * The checkout form id
490 */
491 "formId": number;
492 /**
493 * Manual payment methods enabled for this form.
494 */
495 "manualPaymentMethods": ManualPaymentMethod[];
496 /**
497 * Are we in test or live mode.
498 */
499 "mode": 'test' | 'live';
500 /**
501 * When the form was modified.
502 */
503 "modified": string;
504 /**
505 * Whether to persist the session in the browser between visits.
506 */
507 "persistSession": boolean;
508 /**
509 * An array of prices to pre-fill in the form.
510 */
511 "prices": Array<PriceChoice>;
512 /**
513 * Processors enabled for this form.
514 */
515 "processors": Processor[];
516 /**
517 * A product to pre-fill the form.
518 */
519 "product": Product;
520 /**
521 * Can we remove line items?
522 */
523 "removeLineItems": boolean;
524 /**
525 * Use the Stripe payment element.
526 */
527 "stripePaymentElement": boolean;
528 /**
529 * Submit the form
530 */
531 "submit": ({ skip_validation }?: { skip_validation: boolean; }) => Promise<Checkout | NodeJS.Timeout | Error>;
532 /**
533 * Where to go on success
534 */
535 "successUrl": string;
536 /**
537 * The account tax protocol
538 */
539 "taxProtocol": TaxProtocol;
540 /**
541 * Validate the form.
542 */
543 "validate": () => Promise<boolean>;
544 }
545 interface ScCheckoutAutofillProvider {
546 }
547 /**
548 * This component listens for a confirmed event and redirects to the success url.
549 */
550 interface ScCheckoutFormErrors {
551 }
552 /**
553 * Explains why location is requested (e.g. regional / purchasing-power-parity pricing) and gates
554 * the browser geolocation prompt behind an explicit opt-in when capture is enabled by the merchant.
555 */
556 interface ScCheckoutGeoPermission {
557 }
558 interface ScCheckoutMolliePayment {
559 "method": string;
560 "processorId": string;
561 }
562 interface ScCheckoutPaystackPaymentProvider {
563 }
564 /**
565 * Checkout-side picker for bundle component variants. Mirrors the PDP bundle
566 * picker (the scope-aware `surecart/product-variant-pills` block) but writes the
567 * selection straight into the bundle line item's `bundle_component_variants`.
568 */
569 interface ScCheckoutProductBundleComponentVariants {
570 /**
571 * The bundle product (must include bundle_items.component_variants + component_variant_options).
572 */
573 "product": Product;
574 }
575 interface ScCheckoutProductPriceVariantSelector {
576 /**
577 * The label for the price.
578 */
579 "label": string;
580 /**
581 * The product.
582 */
583 "product": Product;
584 "reportValidity": () => Promise<boolean>;
585 /**
586 * The title for price and variant selections
587 */
588 "selectorTitle": string;
589 }
590 interface ScCheckoutRazorpayPaymentProvider {
591 /**
592 * Razorpay processor id. Required for the recurring `payment_method_types` fetch.
593 */
594 "processorId": string;
595 }
596 /**
597 * This component listens for stock requirements and displays a dialog to the user.
598 */
599 interface ScCheckoutStockAlert {
600 }
601 /**
602 * This component listens to the order status
603 * and confirms the order when payment is successful.
604 */
605 interface ScCheckoutTestComplete {
606 /**
607 * Checkout status to listen and do payment related stuff.
608 */
609 "checkoutStatus": string;
610 /**
611 * Success url.
612 */
613 "successUrl": string;
614 }
615 interface ScCheckoutUnsavedChangesWarning {
616 "state": FormState;
617 }
618 interface ScChoice {
619 /**
620 * Draws the choice in a checked state.
621 */
622 "checked": boolean;
623 /**
624 * Is the choice disabled
625 */
626 "disabled": boolean;
627 /**
628 * This will be true when the control is in an invalid state. Validity is determined by the `required` prop.
629 */
630 "invalid": boolean;
631 /**
632 * The choice name attribute
633 */
634 "name": string;
635 /**
636 * Checks for validity and shows the browser's validation message if the control is invalid.
637 */
638 "reportValidity": () => Promise<boolean>;
639 /**
640 * Is this required
641 */
642 "required": boolean;
643 /**
644 * Sets a custom validation message. If `message` is not empty, the field will be considered invalid.
645 */
646 "setCustomValidity": (message: string) => Promise<void>;
647 /**
648 * Show the radio/checkbox control
649 */
650 "showControl": boolean;
651 /**
652 * Show the label
653 */
654 "showLabel": boolean;
655 /**
656 * Show the price
657 */
658 "showPrice": boolean;
659 /**
660 * The size.
661 */
662 "size": 'small' | 'medium' | 'large';
663 /**
664 * Simulates a click on the choice.
665 */
666 "triggerClick": () => Promise<void>;
667 "triggerFocus": () => Promise<void>;
668 /**
669 * The choice name attribute
670 */
671 "type": 'radio' | 'checkbox';
672 /**
673 * The choice value
674 */
675 "value": string;
676 }
677 interface ScChoiceContainer {
678 /**
679 * Draws the choice in a checked state.
680 */
681 "checked": boolean;
682 /**
683 * Is the choice disabled
684 */
685 "disabled": boolean;
686 /**
687 * This will be true when the control is in an invalid state. Validity is determined by the `required` prop.
688 */
689 "invalid": boolean;
690 /**
691 * The choice name attribute
692 */
693 "name": string;
694 /**
695 * Checks for validity and shows the browser's validation message if the control is invalid.
696 */
697 "reportValidity": () => Promise<boolean>;
698 /**
699 * Is this required
700 */
701 "required": boolean;
702 /**
703 * Role of radio/checkbox control
704 */
705 "role": string;
706 /**
707 * Sets a custom validation message. If `message` is not empty, the field will be considered invalid.
708 */
709 "setCustomValidity": (message: string) => Promise<void>;
710 /**
711 * Show the radio/checkbox control
712 */
713 "showControl": boolean;
714 /**
715 * The size.
716 */
717 "size": 'small' | 'medium' | 'large';
718 /**
719 * Simulates a click on the choice.
720 */
721 "triggerClick": () => Promise<void>;
722 "triggerFocus": () => Promise<void>;
723 /**
724 * The choice name attribute
725 */
726 "type": 'radio' | 'checkbox';
727 /**
728 * The choice value
729 */
730 "value": string;
731 }
732 interface ScChoices {
733 "autoWidth": boolean;
734 /**
735 * Number of columns on desktop
736 */
737 "columns": number;
738 /**
739 * Validation error message.
740 */
741 "errorMessage": string;
742 /**
743 * The input's help text.
744 */
745 "help": string;
746 /**
747 * Hides the fieldset and legend that surrounds the group. The label will still be read by screen readers.
748 */
749 "hideLabel": boolean;
750 /**
751 * The group label. Required for proper accessibility. Alternatively, you can use the label slot.
752 */
753 "label": string;
754 /**
755 * Required
756 */
757 "required": boolean;
758 /**
759 * Should we show the label
760 */
761 "showLabel": boolean;
762 /**
763 * Input size
764 */
765 "size": 'small' | 'medium' | 'large';
766 "triggerFocus": () => Promise<void>;
767 }
768 interface ScColumn {
769 }
770 interface ScColumns {
771 /**
772 * Is this full vertical height
773 */
774 "isFullHeight": boolean;
775 /**
776 * Is this reverse ordered on mobile
777 */
778 "isReversedOnMobile": boolean;
779 /**
780 * Is this stacked on mobile
781 */
782 "isStackedOnMobile": boolean;
783 /**
784 * The vertical alignment of the columns.
785 */
786 "verticalAlignment": string;
787 }
788 interface ScCompactAddress {
789 /**
790 * The address.
791 */
792 "address": Partial<Address>;
793 /**
794 * Label for the address
795 */
796 "label": string;
797 /**
798 * Is this loading
799 */
800 "loading": boolean;
801 "names": Partial<Address>;
802 /**
803 * Placeholders
804 */
805 "placeholders": Partial<Address>;
806 "reportValidity": () => Promise<boolean>;
807 /**
808 * Is this required?
809 */
810 "required": boolean;
811 }
812 interface ScConditionalForm {
813 /**
814 * Selector label
815 */
816 "rule_groups": RuleGroup[];
817 }
818 interface ScConsumer {
819 "renderer": any;
820 }
821 interface ScCouponForm {
822 /**
823 * Is the form calculating
824 */
825 "busy": boolean;
826 /**
827 * The text for apply button
828 */
829 "buttonText": string;
830 "collapsed": boolean;
831 /**
832 * Currency
833 */
834 "currency": string;
835 /**
836 * The discount
837 */
838 "discount": DiscountResponse;
839 /**
840 * The discount amount
841 */
842 "discountAmount": number;
843 /**
844 * The discounts display amount
845 */
846 "discountsDisplayAmount": string;
847 /**
848 * Is the form editable
849 */
850 "editable": boolean;
851 /**
852 * The error message
853 */
854 "error": string;
855 /**
856 * Force the form to show
857 */
858 "forceOpen": boolean;
859 /**
860 * The label for the coupon form
861 */
862 "label": string;
863 /**
864 * Is the form loading
865 */
866 "loading": boolean;
867 /**
868 * Is it open
869 */
870 "open": boolean;
871 /**
872 * The placeholder for the input
873 */
874 "placeholder": string;
875 /**
876 * Has recurring
877 */
878 "showInterval": boolean;
879 /**
880 * Focus the input.
881 */
882 "triggerFocus": () => Promise<void>;
883 }
884 interface ScCustomOrderPriceInput {
885 /**
886 * Is this busy
887 */
888 "busy": boolean;
889 /**
890 * Help text.
891 */
892 "help": string;
893 /**
894 * Label for the field.
895 */
896 "label": string;
897 /**
898 * Label for the choice.
899 */
900 "lineItems": LineItem[];
901 /**
902 * Is this loading
903 */
904 "loading": boolean;
905 /**
906 * Input placeholder.
907 */
908 "placeholder": string;
909 /**
910 * Stores the price
911 */
912 "price": Price;
913 /**
914 * Id of the price.
915 */
916 "priceId": string;
917 /**
918 * Is this required?
919 */
920 "required": boolean;
921 /**
922 * Show the currency code?
923 */
924 "showCode": boolean;
925 }
926 interface ScCustomerDetails {
927 "customer": Customer;
928 "editLink": string;
929 "error": string;
930 "heading": string;
931 "loading": boolean;
932 }
933 interface ScCustomerEdit {
934 "customer": Customer;
935 "heading": string;
936 "successUrl": string;
937 }
938 interface ScCustomerEmail {
939 /**
940 * The input's autofocus attribute.
941 */
942 "autofocus": boolean;
943 /**
944 * Disables the input.
945 */
946 "disabled": boolean;
947 /**
948 * Inputs focus
949 */
950 "hasFocus": boolean;
951 /**
952 * The input's help text.
953 */
954 "help": string;
955 /**
956 * This will be true when the control is in an invalid state. Validity is determined by props such as `type`, `required`, `minlength`, `maxlength`, and `pattern` using the browser's constraint validation API.
957 */
958 "invalid": boolean;
959 /**
960 * The input's label.
961 */
962 "label": string;
963 /**
964 * Draws a pill-style input with rounded edges.
965 */
966 "pill": boolean;
967 /**
968 * The input's placeholder text.
969 */
970 "placeholder": string;
971 /**
972 * Makes the input readonly.
973 */
974 "readonly": boolean;
975 "reportValidity": () => Promise<boolean>;
976 /**
977 * Makes the input a required field.
978 */
979 "required": boolean;
980 /**
981 * Should we show the label
982 */
983 "showLabel": boolean;
984 /**
985 * The input's size.
986 */
987 "size": 'small' | 'medium' | 'large';
988 /**
989 * A message for tracking confirmation.
990 */
991 "trackingConfirmationMessage": string;
992 /**
993 * The input's value attribute.
994 */
995 "value": string;
996 }
997 interface ScCustomerFirstname {
998 /**
999 * The input's autofocus attribute.
1000 */
1001 "autofocus": boolean;
1002 /**
1003 * Disables the input.
1004 */
1005 "disabled": boolean;
1006 /**
1007 * Inputs focus
1008 */
1009 "hasFocus": boolean;
1010 /**
1011 * The input's help text.
1012 */
1013 "help": string;
1014 /**
1015 * This will be true when the control is in an invalid state. Validity is determined by props such as `type`, `required`, `minlength`, `maxlength`, and `pattern` using the browser's constraint validation API.
1016 */
1017 "invalid": boolean;
1018 /**
1019 * The input's label.
1020 */
1021 "label": string;
1022 /**
1023 * Is the user logged in.
1024 */
1025 "loggedIn": boolean;
1026 /**
1027 * Draws a pill-style input with rounded edges.
1028 */
1029 "pill": boolean;
1030 /**
1031 * The input's placeholder text.
1032 */
1033 "placeholder": string;
1034 /**
1035 * Makes the input readonly.
1036 */
1037 "readonly": boolean;
1038 "reportValidity": () => Promise<boolean>;
1039 /**
1040 * Makes the input a required field.
1041 */
1042 "required": boolean;
1043 /**
1044 * Should we show the label
1045 */
1046 "showLabel": boolean;
1047 /**
1048 * The input's size.
1049 */
1050 "size": 'small' | 'medium' | 'large';
1051 /**
1052 * The input's value attribute.
1053 */
1054 "value": string;
1055 }
1056 interface ScCustomerLastname {
1057 /**
1058 * The input's autofocus attribute.
1059 */
1060 "autofocus": boolean;
1061 /**
1062 * Disables the input.
1063 */
1064 "disabled": boolean;
1065 /**
1066 * Inputs focus
1067 */
1068 "hasFocus": boolean;
1069 /**
1070 * The input's help text.
1071 */
1072 "help": string;
1073 /**
1074 * This will be true when the control is in an invalid state. Validity is determined by props such as `type`, `required`, `minlength`, `maxlength`, and `pattern` using the browser's constraint validation API.
1075 */
1076 "invalid": boolean;
1077 /**
1078 * The input's label.
1079 */
1080 "label": string;
1081 /**
1082 * Is the user logged in.
1083 */
1084 "loggedIn": boolean;
1085 /**
1086 * Draws a pill-style input with rounded edges.
1087 */
1088 "pill": boolean;
1089 /**
1090 * The input's placeholder text.
1091 */
1092 "placeholder": string;
1093 /**
1094 * Makes the input readonly.
1095 */
1096 "readonly": boolean;
1097 /**
1098 * Don't allow a blank space as an input here.
1099 */
1100 "reportValidity": () => Promise<boolean>;
1101 /**
1102 * Makes the input a required field.
1103 */
1104 "required": boolean;
1105 /**
1106 * Should we show the label
1107 */
1108 "showLabel": boolean;
1109 /**
1110 * The input's size.
1111 */
1112 "size": 'small' | 'medium' | 'large';
1113 /**
1114 * The input's value attribute.
1115 */
1116 "value": any;
1117 }
1118 interface ScCustomerLogin {
1119 /**
1120 * Code Error coming from the parent
1121 */
1122 "codeError": string;
1123 /**
1124 * Lets the parent open in password mode (used on 429 fallback).
1125 */
1126 "initialMode": 'code' | 'password';
1127 }
1128 interface ScCustomerName {
1129 /**
1130 * The input's autofocus attribute.
1131 */
1132 "autofocus": boolean;
1133 /**
1134 * Disables the input.
1135 */
1136 "disabled": boolean;
1137 /**
1138 * Inputs focus
1139 */
1140 "hasFocus": boolean;
1141 /**
1142 * The input's help text.
1143 */
1144 "help": string;
1145 /**
1146 * This will be true when the control is in an invalid state. Validity is determined by props such as `type`, `required`, `minlength`, `maxlength`, and `pattern` using the browser's constraint validation API.
1147 */
1148 "invalid": boolean;
1149 /**
1150 * The input's label.
1151 */
1152 "label": string;
1153 /**
1154 * Draws a pill-style input with rounded edges.
1155 */
1156 "pill": boolean;
1157 /**
1158 * The input's placeholder text.
1159 */
1160 "placeholder": string;
1161 /**
1162 * Makes the input readonly.
1163 */
1164 "readonly": boolean;
1165 /**
1166 * Don't allow a blank space as an input here.
1167 */
1168 "reportValidity": () => Promise<boolean>;
1169 /**
1170 * Makes the input a required field.
1171 */
1172 "required": boolean;
1173 /**
1174 * Should we show the label
1175 */
1176 "showLabel": boolean;
1177 /**
1178 * The input's size.
1179 */
1180 "size": 'small' | 'medium' | 'large';
1181 /**
1182 * The input's value attribute.
1183 */
1184 "value": any;
1185 }
1186 interface ScCustomerPhone {
1187 /**
1188 * The input's autofocus attribute.
1189 */
1190 "autofocus": boolean;
1191 /**
1192 * Disables the input.
1193 */
1194 "disabled": boolean;
1195 /**
1196 * Error focus
1197 */
1198 "error": boolean;
1199 /**
1200 * Inputs focus
1201 */
1202 "hasFocus": boolean;
1203 /**
1204 * The input's help text.
1205 */
1206 "help": string;
1207 /**
1208 * This will be true when the control is in an invalid state. Validity is determined by props such as `type`, `required`, `minlength`, `maxlength`, and `pattern` using the browser's constraint validation API.
1209 */
1210 "invalid": boolean;
1211 /**
1212 * The input's label.
1213 */
1214 "label": string;
1215 /**
1216 * Draws a pill-style input with rounded edges.
1217 */
1218 "pill": boolean;
1219 /**
1220 * The input's placeholder text.
1221 */
1222 "placeholder": string;
1223 /**
1224 * Makes the input readonly.
1225 */
1226 "readonly": boolean;
1227 "reportValidity": () => Promise<boolean>;
1228 /**
1229 * Makes the input a required field.
1230 */
1231 "required": boolean;
1232 /**
1233 * Should we show the label
1234 */
1235 "showLabel": boolean;
1236 /**
1237 * The input's size.
1238 */
1239 "size": 'small' | 'medium' | 'large';
1240 /**
1241 * The input's value attribute.
1242 */
1243 "value": string;
1244 }
1245 interface ScDashboardCustomerDetails {
1246 "customerId": string;
1247 "heading": string;
1248 }
1249 interface ScDashboardDownloadsList {
1250 "allLink": string;
1251 "heading": string;
1252 "isCustomer": boolean;
1253 /**
1254 * Customer id to fetch subscriptions
1255 */
1256 "query": any;
1257 "requestNonce": string;
1258 }
1259 interface ScDashboardModule {
1260 "error": string;
1261 "heading": string;
1262 "loading": boolean;
1263 }
1264 interface ScDialog {
1265 /**
1266 * The dialog's label as displayed in the header. You should always include a relevant label even when using `no-header`, as it is required for proper accessibility.
1267 */
1268 "label": string;
1269 /**
1270 * Disables the header. This will also remove the default close button, so please ensure you provide an easy, accessible way for users to dismiss the dialog.
1271 */
1272 "noHeader": boolean;
1273 /**
1274 * Indicates whether or not the dialog is open. You can use this in lieu of the show/hide methods.
1275 */
1276 "open": boolean;
1277 }
1278 interface ScDivider {
1279 }
1280 interface ScDonationChoices {
1281 "busy": boolean;
1282 /**
1283 * Currency code for the donation.
1284 */
1285 "currencyCode": string;
1286 /**
1287 * The default amount to load the page with.
1288 */
1289 "defaultAmount": string;
1290 /**
1291 * The label for the field.
1292 */
1293 "label": string;
1294 /**
1295 * Order line items.
1296 */
1297 "lineItems": LineItem[];
1298 /**
1299 * Is this loading
1300 */
1301 "loading": boolean;
1302 /**
1303 * The price id for the fields.
1304 */
1305 "priceId": string;
1306 "removeInvalid": boolean;
1307 "reportValidity": () => Promise<boolean>;
1308 }
1309 interface ScDownloadsList {
1310 "customerId": string;
1311 "heading": string;
1312 "productId": string;
1313 "query": any;
1314 "variantId": string;
1315 }
1316 interface ScDrawer {
1317 /**
1318 * By default, the drawer slides out of its containing block (usually the viewport). To make the drawer slide out of its parent element, set this prop and add `position: relative` to the parent.
1319 */
1320 "contained": boolean;
1321 /**
1322 * The drawer's label as displayed in the header. You should always include a relevant label even when using `no-header`, as it is required for proper accessibility.
1323 */
1324 "label": string;
1325 /**
1326 * Removes the header. This will also remove the default close button, so please ensure you provide an easy, accessible way for users to dismiss the drawer.
1327 */
1328 "noHeader": boolean;
1329 /**
1330 * Indicates whether or not the drawer is open. You can use this in lieu of the show/hide methods.
1331 */
1332 "open": boolean;
1333 /**
1334 * The direction from which the drawer will open.
1335 */
1336 "placement": 'top' | 'end' | 'bottom' | 'start';
1337 "requestClose": (source?: 'close-button' | 'keyboard' | 'overlay' | 'method') => Promise<void>;
1338 /**
1339 * Sticky drawer footer
1340 */
1341 "stickyFooter": boolean;
1342 /**
1343 * Sticky drawer header
1344 */
1345 "stickyHeader": boolean;
1346 }
1347 interface ScDropdown {
1348 "clickEl"?: HTMLElement;
1349 /**
1350 * Determines whether the dropdown should hide when a menu item is selected
1351 */
1352 "closeOnSelect": boolean;
1353 /**
1354 * Is this disabled.
1355 */
1356 "disabled": boolean;
1357 /**
1358 * The distance in pixels from which to offset the panel away from its trigger.
1359 */
1360 "distance": number;
1361 /**
1362 * Enable this option to prevent the panel from being clipped when the component is placed inside a container with `overflow: auto|scroll`.
1363 */
1364 "hoist": boolean;
1365 /**
1366 * Indicates whether or not the dropdown is open. You can use this in lieu of the show/hide methods.
1367 */
1368 "open"?: boolean;
1369 /**
1370 * The placement of the dropdown.
1371 */
1372 "placement": | 'top'
1373 | 'top-start'
1374 | 'top-end'
1375 | 'bottom'
1376 | 'bottom-start'
1377 | 'bottom-end'
1378 | 'right'
1379 | 'right-start'
1380 | 'right-end'
1381 | 'left'
1382 | 'left-start'
1383 | 'left-end';
1384 /**
1385 * The placement of the dropdown panel
1386 */
1387 "position": 'top-left' | 'top-right' | 'bottom-left' | 'bottom-right';
1388 /**
1389 * The distance in pixels from which to offset the panel along its trigger.
1390 */
1391 "skidding": number;
1392 }
1393 interface ScEmpty {
1394 "icon": string;
1395 }
1396 interface ScError {
1397 /**
1398 * Error to display.
1399 */
1400 "error": ResponseError | null;
1401 }
1402 interface ScExpressPayment {
1403 "debug": boolean;
1404 "dividerText": string;
1405 "hasPaymentOptions": boolean;
1406 "processor": ProcessorName;
1407 }
1408 interface ScFeatureDemoBanner {
1409 "buttonText": string;
1410 "url": string;
1411 }
1412 interface ScFlex {
1413 "alignItems": string;
1414 "columnGap": string;
1415 "flexDirection": string;
1416 "flexWrap": string;
1417 "justifyContent": string;
1418 "stack": string;
1419 }
1420 interface ScForm {
1421 /**
1422 * Serializes all form controls elements and returns a `FormData` object.
1423 */
1424 "getFormData": () => Promise<FormData>;
1425 "getFormJson": () => Promise<Record<string, unknown>>;
1426 /**
1427 * Prevent the form from validating inputs before submitting.
1428 */
1429 "novalidate": boolean;
1430 "submit": () => Promise<void>;
1431 "validate": () => Promise<boolean>;
1432 }
1433 interface ScFormComponentsValidator {
1434 /**
1435 * Disable validation?
1436 */
1437 "disabled": boolean;
1438 /**
1439 * The tax protocol
1440 */
1441 "taxProtocol": TaxProtocol;
1442 }
1443 interface ScFormControl {
1444 /**
1445 * Help text
1446 */
1447 "help": string;
1448 /**
1449 * Help id
1450 */
1451 "helpId": string;
1452 /**
1453 * Input id.
1454 */
1455 "inputId": string;
1456 /**
1457 * Input label.
1458 */
1459 "label": string;
1460 /**
1461 * Input label id.
1462 */
1463 "labelId": string;
1464 /**
1465 * Name for the input. Used for validation errors.
1466 */
1467 "name": string;
1468 /**
1469 * Whether the input is required.
1470 */
1471 "required": boolean;
1472 /**
1473 * Show the label.
1474 */
1475 "showLabel": boolean;
1476 /**
1477 * Size of the label
1478 */
1479 "size": 'small' | 'medium' | 'large';
1480 }
1481 /**
1482 * This component checks to make sure there is an error component
1483 * and adds one if it's missing.
1484 */
1485 interface ScFormErrorProvider {
1486 }
1487 interface ScFormRow {
1488 }
1489 /**
1490 * This component listens for a confirmed event and redirects to the success url.
1491 */
1492 interface ScFormStateProvider {
1493 }
1494 interface ScFormatBytes {
1495 /**
1496 * Determines how to display the result, e.g. "100 bytes", "100 b", or "100b".
1497 */
1498 "display": 'long' | 'short' | 'narrow';
1499 /**
1500 * The locale to use when formatting the number.
1501 */
1502 "locale": string;
1503 /**
1504 * The unit to display.
1505 */
1506 "unit": 'byte' | 'bit';
1507 /**
1508 * The number to format in bytes.
1509 */
1510 "value": number;
1511 }
1512 interface ScFormatInterval {
1513 "every": string;
1514 "fallback": string;
1515 "interval": string;
1516 /**
1517 * The number to format.
1518 */
1519 "value": number;
1520 }
1521 interface ScFormatNumber {
1522 /**
1523 * The currency to use when formatting. Must be an ISO 4217 currency code such as `USD` or `EUR`.
1524 */
1525 "currency": string;
1526 /**
1527 * How to display the currency.
1528 */
1529 "currencyDisplay": 'symbol' | 'narrowSymbol' | 'code' | 'name';
1530 /**
1531 * The locale to use when formatting the number.
1532 */
1533 "locale": string;
1534 /**
1535 * The maximum number of fraction digits to use. Possible values are 0 - 20.
1536 */
1537 "maximumFractionDigits": number;
1538 /**
1539 * The maximum number of significant digits to use,. Possible values are 1 - 21.
1540 */
1541 "maximumSignificantDigits": number;
1542 /**
1543 * The minimum number of fraction digits to use. Possible values are 0 - 20.
1544 */
1545 "minimumFractionDigits": number;
1546 /**
1547 * The minimum number of integer digits to use. Possible values are 1 - 21.
1548 */
1549 "minimumIntegerDigits": number;
1550 /**
1551 * The minimum number of significant digits to use. Possible values are 1 - 21.
1552 */
1553 "minimumSignificantDigits": number;
1554 /**
1555 * Should we convert
1556 */
1557 "noConvert": boolean;
1558 /**
1559 * Turns off grouping separators.
1560 */
1561 "noGrouping": boolean;
1562 /**
1563 * The formatting style to use.
1564 */
1565 "type": 'currency' | 'decimal' | 'percent' | 'unit';
1566 /**
1567 * The unit to use when formatting.
1568 */
1569 "unit": string;
1570 /**
1571 * The number to format.
1572 */
1573 "value": number;
1574 }
1575 interface ScFulfillmentShippingStatusBadge {
1576 /**
1577 * Makes the tag clearable.
1578 */
1579 "clearable": boolean;
1580 /**
1581 * Where the badge is shown. 'customer' applies friendlier wording for some statuses.
1582 */
1583 "context": 'admin' | 'customer';
1584 /**
1585 * Draws a pill-style tag with rounded edges.
1586 */
1587 "pill": boolean;
1588 /**
1589 * The tag's size.
1590 */
1591 "size": 'small' | 'medium' | 'large';
1592 /**
1593 * The tag's statux type.
1594 */
1595 "status": FulfillmentStatus;
1596 }
1597 interface ScFulfillments {
1598 "heading": string;
1599 "orderId": string;
1600 /**
1601 * Show the "Order Received" notice for shippable orders with no fulfillments yet.
1602 */
1603 "showPreShipmentNotice": boolean;
1604 }
1605 interface ScHeading {
1606 "size": 'small' | 'medium' | 'large';
1607 }
1608 interface ScIcon {
1609 /**
1610 * An alternative description to use for accessibility. If omitted, the name or src will be used to generate it.
1611 */
1612 "label": string;
1613 /**
1614 * The name of a registered custom icon library.
1615 */
1616 "library": string;
1617 /**
1618 * Mutate the icon
1619 */
1620 "mutate": boolean;
1621 /**
1622 * The name of the icon to draw.
1623 */
1624 "name": string;
1625 /**
1626 * An external URL of an SVG file.
1627 */
1628 "src": string;
1629 }
1630 interface ScImageSlider {
1631 "autoHeight": boolean;
1632 "hasThumbnails": boolean;
1633 /**
1634 * Accept a string or an array of objects
1635 */
1636 "images": string | { src: string; alt: string; srcset; width: number; height: number; sizes: string; title: string }[];
1637 "thumbnails": string | { src: string; alt: string; srcset; width: number; height: number; sizes: string; title: string }[];
1638 "thumbnailsPerPage": number;
1639 }
1640 interface ScInput {
1641 /**
1642 * The input's autocomplete attribute.
1643 */
1644 "autocomplete": string;
1645 /**
1646 * The input's autocorrect attribute.
1647 */
1648 "autocorrect": string;
1649 /**
1650 * The input's autofocus attribute.
1651 */
1652 "autofocus": boolean;
1653 /**
1654 * Adds a clear button when the input is populated.
1655 */
1656 "clearable": boolean;
1657 /**
1658 * Custom validation message to show when the input is invalid (replaces browser default).
1659 */
1660 "customValidity": string;
1661 /**
1662 * Disables the input.
1663 */
1664 "disabled": boolean;
1665 /**
1666 * Inputs focus
1667 */
1668 "hasFocus": boolean;
1669 /**
1670 * The input's help text.
1671 */
1672 "help": string;
1673 /**
1674 * Hidden
1675 */
1676 "hidden": boolean;
1677 /**
1678 * The input's inputmode attribute.
1679 */
1680 "inputmode": 'none' | 'text' | 'decimal' | 'numeric' | 'tel' | 'search' | 'email' | 'url';
1681 /**
1682 * This will be true when the control is in an invalid state. Validity is determined by props such as `type`, `required`, `minlength`, `maxlength`, and `pattern` using the browser's constraint validation API.
1683 */
1684 "invalid": boolean;
1685 /**
1686 * The input's label.
1687 */
1688 "label": string;
1689 /**
1690 * The input's maximum value.
1691 */
1692 "max": number | string;
1693 /**
1694 * The maximum length of input that will be considered valid.
1695 */
1696 "maxlength": number;
1697 /**
1698 * The input's minimum value.
1699 */
1700 "min": number | string;
1701 /**
1702 * The minimum length of input that will be considered valid.
1703 */
1704 "minlength": number;
1705 /**
1706 * The input's name attribute.
1707 */
1708 "name": string;
1709 /**
1710 * A pattern to validate input against.
1711 */
1712 "pattern": string;
1713 /**
1714 * Draws a pill-style input with rounded edges.
1715 */
1716 "pill": boolean;
1717 /**
1718 * The input's placeholder text.
1719 */
1720 "placeholder": string;
1721 /**
1722 * Makes the input readonly.
1723 */
1724 "readonly": boolean;
1725 "reportValidity": () => Promise<boolean>;
1726 /**
1727 * Makes the input a required field.
1728 */
1729 "required": boolean;
1730 /**
1731 * Sets a custom validation message. If `message` is not empty, the field will be considered invalid.
1732 */
1733 "setCustomValidity": (message: string) => Promise<void>;
1734 /**
1735 * Should we show the label
1736 */
1737 "showLabel": boolean;
1738 /**
1739 * The input's size.
1740 */
1741 "size": 'small' | 'medium' | 'large';
1742 /**
1743 * Enables spell checking on the input.
1744 */
1745 "spellcheck": boolean;
1746 "squared": boolean;
1747 "squaredBottom": boolean;
1748 "squaredLeft": boolean;
1749 "squaredRight": boolean;
1750 "squaredTop": boolean;
1751 /**
1752 * The input's step attribute.
1753 */
1754 "step": number;
1755 /**
1756 * Adds a password toggle button to password inputs.
1757 */
1758 "togglePassword": boolean;
1759 /**
1760 * Removes focus from the input.
1761 */
1762 "triggerBlur": () => Promise<void>;
1763 /**
1764 * Sets focus on the input.
1765 */
1766 "triggerFocus": (options?: FocusOptions) => Promise<void>;
1767 /**
1768 * The input's type.
1769 */
1770 "type": 'email' | 'number' | 'password' | 'search' | 'tel' | 'text' | 'url' | 'hidden';
1771 /**
1772 * The input's value attribute.
1773 */
1774 "value": string;
1775 }
1776 interface ScInvoiceDetails {
1777 }
1778 interface ScInvoiceMemo {
1779 /**
1780 * Memo Label
1781 */
1782 "text": string;
1783 }
1784 interface ScInvoiceStatusBadge {
1785 /**
1786 * Makes the tag clearable.
1787 */
1788 "clearable": boolean;
1789 /**
1790 * Draws a pill-style tag with rounded edges.
1791 */
1792 "pill": boolean;
1793 /**
1794 * The tag's size.
1795 */
1796 "size": 'small' | 'medium' | 'large';
1797 /**
1798 * The tag's statux type.
1799 */
1800 "status": InvoiceStatus;
1801 }
1802 interface ScInvoicesList {
1803 "allLink": string;
1804 "heading": string;
1805 "isCustomer": boolean;
1806 /**
1807 * Query to fetch invoices
1808 */
1809 "query": {
1810 page: number;
1811 per_page: number;
1812 };
1813 }
1814 interface ScLicense {
1815 /**
1816 * The license id
1817 */
1818 "licenseId": string;
1819 /**
1820 * Query to fetch Activations
1821 */
1822 "query": {
1823 page: number;
1824 per_page: number;
1825 };
1826 }
1827 interface ScLicensesList {
1828 /**
1829 * View all link
1830 */
1831 "allLink": string;
1832 /**
1833 * The heading of the licenses
1834 */
1835 "heading": string;
1836 /**
1837 * Whether the current user is customer
1838 */
1839 "isCustomer": boolean;
1840 "licenses": License[];
1841 /**
1842 * Query to fetch licenses
1843 */
1844 "query": {
1845 page: number;
1846 per_page: number;
1847 };
1848 }
1849 interface ScLineItem {
1850 /**
1851 * Currency symbol
1852 */
1853 "currency": string;
1854 /**
1855 * Price of the item
1856 */
1857 "price": string;
1858 }
1859 interface ScLineItemBump {
1860 "label": string;
1861 "loading": boolean;
1862 }
1863 interface ScLineItemInvoiceDueDate {
1864 }
1865 interface ScLineItemInvoiceNumber {
1866 }
1867 interface ScLineItemInvoiceReceiptDownload {
1868 "checkout": Checkout;
1869 }
1870 interface ScLineItemShipping {
1871 /**
1872 * Label
1873 */
1874 "label": string;
1875 }
1876 interface ScLineItemTax {
1877 "loading": boolean;
1878 "order": Checkout;
1879 }
1880 interface ScLineItemTotal {
1881 "checkout": Checkout;
1882 "size": 'large' | 'medium';
1883 "total": 'total' | 'subtotal';
1884 }
1885 interface ScLineItemTrial {
1886 /**
1887 * The label for the trial item
1888 */
1889 "label": string;
1890 }
1891 interface ScLineItems {
1892 /**
1893 * Is the line item editable?
1894 */
1895 "editable": boolean;
1896 /**
1897 * Is the line item removable?
1898 */
1899 "removable": boolean;
1900 /**
1901 * Separator between a bundle component's name and its variant options.
1902 */
1903 "separator": string;
1904 /**
1905 * Show every bundle component (default), or only those with a selected variant when set to `false`.
1906 */
1907 "showAllBundleItems": boolean;
1908 }
1909 interface ScLineItemsProvider {
1910 /**
1911 * Order Object
1912 */
1913 "order": Checkout;
1914 }
1915 interface ScLoginForm {
1916 }
1917 interface ScLoginProvider {
1918 /**
1919 * Is the user logged in.
1920 */
1921 "loggedIn": boolean;
1922 "order": Checkout;
1923 }
1924 interface ScManualPaymentMethod {
1925 "paymentMethod": ManualPaymentMethod;
1926 "showDescription": boolean;
1927 }
1928 interface ScMenu {
1929 "ariaLabel": string;
1930 "setCurrentItem": (item: HTMLScMenuItemElement) => Promise<void>;
1931 }
1932 interface ScMenuDivider {
1933 }
1934 interface ScMenuItem {
1935 /**
1936 * Draws the item in a checked state.
1937 */
1938 "checked": boolean;
1939 /**
1940 * Draws the menu item in a disabled state.
1941 */
1942 "disabled": boolean;
1943 /**
1944 * Optional link to follow.
1945 */
1946 "href": string;
1947 /**
1948 * Removes focus from the button.
1949 */
1950 "setBlur": () => Promise<void>;
1951 /**
1952 * Sets focus on the button.
1953 */
1954 "setFocus": (options?: FocusOptions) => Promise<void>;
1955 /**
1956 * The target of the link.
1957 */
1958 "target": string;
1959 /**
1960 * A unique value to store in the menu item. This can be used as a way to identify menu items when selected.
1961 */
1962 "value": string;
1963 }
1964 interface ScMenuLabel {
1965 }
1966 interface ScMollieAddMethod {
1967 "country": string;
1968 "currency": string;
1969 "customerId": string;
1970 "liveMode": boolean;
1971 "processorId": string;
1972 "successUrl": string;
1973 }
1974 interface ScOrder {
1975 "customerIds": string[];
1976 "heading": string;
1977 "orderId": string;
1978 }
1979 interface ScOrderBillingAddress {
1980 /**
1981 * Default country for address
1982 */
1983 "defaultCountry": string;
1984 /**
1985 * Label for the field
1986 */
1987 "label": string;
1988 /**
1989 * Name placeholder
1990 */
1991 "namePlaceholder": string;
1992 "reportValidity": () => Promise<boolean>;
1993 /**
1994 * Show the name field
1995 */
1996 "showName": boolean;
1997 /**
1998 * Toggle label
1999 */
2000 "toggleLabel": string;
2001 }
2002 interface ScOrderBump {
2003 /**
2004 * The bump
2005 */
2006 "bump": Bump;
2007 /**
2008 * Should we show the controls (classic design)
2009 */
2010 "showControl": boolean;
2011 }
2012 interface ScOrderBumps {
2013 "help": string;
2014 /**
2015 * Hide bumps that have already been added to the checkout.
2016 */
2017 "hideAddedItems": boolean;
2018 "label": string;
2019 /**
2020 * Should we show the controls (classic design)
2021 */
2022 "showControl": boolean;
2023 }
2024 interface ScOrderConfirmComponentsValidator {
2025 /**
2026 * The checkout
2027 */
2028 "checkout": Checkout;
2029 }
2030 /**
2031 * This component listens to the order status
2032 * and confirms the order when payment is successful.
2033 */
2034 interface ScOrderConfirmProvider {
2035 /**
2036 * Checkout status to listen and do payment related stuff.
2037 */
2038 "checkoutStatus": string;
2039 /**
2040 * Success url.
2041 */
2042 "successUrl": string;
2043 }
2044 interface ScOrderConfirmation {
2045 "order": Checkout;
2046 }
2047 interface ScOrderConfirmationCustomer {
2048 /**
2049 * The customer
2050 */
2051 "customer": Customer;
2052 /**
2053 * Error message.
2054 */
2055 "error": string;
2056 /**
2057 * The heading
2058 */
2059 "heading": string;
2060 /**
2061 * Is this loading?
2062 */
2063 "loading": boolean;
2064 /**
2065 * The Order
2066 */
2067 "order": Checkout;
2068 }
2069 interface ScOrderConfirmationDetails {
2070 "loading": boolean;
2071 "order": Order;
2072 }
2073 interface ScOrderConfirmationLineItems {
2074 "loading": boolean;
2075 "order": Checkout;
2076 }
2077 interface ScOrderConfirmationTotals {
2078 "order": Checkout;
2079 }
2080 interface ScOrderCouponForm {
2081 "buttonText": string;
2082 "collapsed": boolean;
2083 "label": string;
2084 "loading": boolean;
2085 "placeholder": string;
2086 }
2087 interface ScOrderDetail {
2088 "fallback": string;
2089 "label": string;
2090 "loading": boolean;
2091 "metaKey": string;
2092 "order": Checkout;
2093 "value": string;
2094 }
2095 interface ScOrderFulfillmentBadge {
2096 /**
2097 * Makes the tag clearable.
2098 */
2099 "clearable": boolean;
2100 /**
2101 * Draws a pill-style tag with rounded edges.
2102 */
2103 "pill": boolean;
2104 /**
2105 * The tag's size.
2106 */
2107 "size": 'small' | 'medium' | 'large';
2108 /**
2109 * The tag's statux type.
2110 */
2111 "status": OrderFulFillmentStatus;
2112 }
2113 interface ScOrderManualInstructions {
2114 "manualPaymentInstructions": string;
2115 "manualPaymentTitle": string;
2116 }
2117 interface ScOrderPassword {
2118 /**
2119 * The input's autofocus attribute.
2120 */
2121 "autofocus": boolean;
2122 /**
2123 * The input's password confirmation attribute.
2124 */
2125 "confirmation": boolean;
2126 /**
2127 * The input's confirmation help text.
2128 */
2129 "confirmationHelp": string;
2130 /**
2131 * The input's confirmation label text.
2132 */
2133 "confirmationLabel": string;
2134 /**
2135 * The input's confirmation placeholder text.
2136 */
2137 "confirmationPlaceholder": string;
2138 /**
2139 * Disables the input.
2140 */
2141 "disabled": boolean;
2142 /**
2143 * Does the email exist?
2144 */
2145 "emailExists": boolean;
2146 /**
2147 * Ensures strong password validation.
2148 */
2149 "enableValidation": boolean;
2150 /**
2151 * The input's help text.
2152 */
2153 "help": string;
2154 /**
2155 * The input's label.
2156 */
2157 "label": string;
2158 "loggedIn": boolean;
2159 /**
2160 * Draws a pill-style input with rounded edges.
2161 */
2162 "pill": boolean;
2163 /**
2164 * The input's placeholder text.
2165 */
2166 "placeholder": string;
2167 /**
2168 * Makes the input readonly.
2169 */
2170 "readonly": boolean;
2171 "reportValidity": () => Promise<boolean>;
2172 /**
2173 * Makes the input a required field.
2174 */
2175 "required": boolean;
2176 /**
2177 * Should we show the label
2178 */
2179 "showLabel": boolean;
2180 /**
2181 * The input's size.
2182 */
2183 "size": 'small' | 'medium' | 'large';
2184 /**
2185 * The input's value attribute.
2186 */
2187 "value": string;
2188 }
2189 interface ScOrderReturnBadge {
2190 /**
2191 * Makes the tag clearable.
2192 */
2193 "clearable": boolean;
2194 /**
2195 * Draws a pill-style tag with rounded edges.
2196 */
2197 "pill": boolean;
2198 /**
2199 * The tag's size.
2200 */
2201 "size": 'small' | 'medium' | 'large';
2202 /**
2203 * The tag's statux type.
2204 */
2205 "status": ReturnRequestStatus;
2206 }
2207 interface ScOrderShipmentBadge {
2208 /**
2209 * Makes the tag clearable.
2210 */
2211 "clearable": boolean;
2212 /**
2213 * Where the badge is shown. 'customer' applies friendlier wording for some statuses.
2214 */
2215 "context": 'admin' | 'customer';
2216 /**
2217 * Draws a pill-style tag with rounded edges.
2218 */
2219 "pill": boolean;
2220 /**
2221 * The tag's size.
2222 */
2223 "size": 'small' | 'medium' | 'large';
2224 /**
2225 * The tag's statux type.
2226 */
2227 "status": OrderShipmentStatus;
2228 }
2229 interface ScOrderShippingAddress {
2230 /**
2231 * Default country for address
2232 */
2233 "defaultCountry": string;
2234 /**
2235 * Show the address
2236 */
2237 "full": boolean;
2238 /**
2239 * Label for the field.
2240 */
2241 "label": string;
2242 "reportValidity": () => Promise<boolean>;
2243 /**
2244 * Whether to require the name in the address
2245 */
2246 "requireName": boolean;
2247 /**
2248 * Is this required (defaults to false)
2249 */
2250 "required": boolean;
2251 /**
2252 * Show the line 2 field.
2253 */
2254 "showLine2": boolean;
2255 /**
2256 * Show the name field.
2257 */
2258 "showName": boolean;
2259 }
2260 interface ScOrderStatusBadge {
2261 /**
2262 * Makes the tag clearable.
2263 */
2264 "clearable": boolean;
2265 /**
2266 * Draws a pill-style tag with rounded edges.
2267 */
2268 "pill": boolean;
2269 /**
2270 * The tag's size.
2271 */
2272 "size": 'small' | 'medium' | 'large';
2273 /**
2274 * The tag's statux type.
2275 */
2276 "status": OrderStatus;
2277 }
2278 interface ScOrderSubmit {
2279 "backgroundColor": string;
2280 /**
2281 * Currency Code
2282 */
2283 "currencyCode": string;
2284 /**
2285 * Show a full-width button.
2286 */
2287 "full": boolean;
2288 /**
2289 * Icon to show.
2290 */
2291 "icon": string;
2292 /**
2293 * Is the order loading.
2294 */
2295 "loading": boolean;
2296 /**
2297 * The current order.
2298 */
2299 "order": Checkout;
2300 /**
2301 * Is the order paying.
2302 */
2303 "paying": boolean;
2304 /**
2305 * The selected processor.
2306 */
2307 "processor": ProcessorName;
2308 /**
2309 * Keys and secrets for processors.
2310 */
2311 "processors": Processor[];
2312 /**
2313 * Show the secure notice
2314 */
2315 "secureNotice": boolean;
2316 /**
2317 * Secure
2318 */
2319 "secureNoticeText": string;
2320 /**
2321 * Show the total.
2322 */
2323 "showTotal": boolean;
2324 /**
2325 * The button's size.
2326 */
2327 "size": 'small' | 'medium' | 'large';
2328 "textColor": string;
2329 /**
2330 * The button type.
2331 */
2332 "type": 'default' | 'primary' | 'success' | 'info' | 'warning' | 'danger' | 'text' | 'link';
2333 }
2334 interface ScOrderSummary {
2335 "busy": boolean;
2336 "collapsed": boolean;
2337 "collapsedOnDesktop": boolean;
2338 "collapsedOnMobile": boolean;
2339 "collapsible": boolean;
2340 "invoiceSummaryText": string;
2341 "order": Checkout;
2342 "orderSummaryText": string;
2343 }
2344 interface ScOrderTaxIdInput {
2345 /**
2346 * AU zone label
2347 */
2348 "auAbnLabel": string;
2349 /**
2350 * GST zone label
2351 */
2352 "caGstLabel": string;
2353 /**
2354 * EU zone label
2355 */
2356 "euVatLabel": string;
2357 /**
2358 * UK zone label
2359 */
2360 "gbVatLabel": string;
2361 /**
2362 * Help text
2363 */
2364 "helpText": string;
2365 /**
2366 * Other zones label
2367 */
2368 "otherLabel": string;
2369 "reportValidity": () => Promise<boolean>;
2370 /**
2371 * Whether tax input is required
2372 */
2373 "required": boolean;
2374 /**
2375 * Force show the field.
2376 */
2377 "show": boolean;
2378 /**
2379 * Tax ID Types which will be shown Eg: '["eu_vat", "gb_vat"]'
2380 */
2381 "taxIdTypes": string | string[];
2382 }
2383 interface ScOrdersList {
2384 "allLink": string;
2385 "heading": string;
2386 "isCustomer": boolean;
2387 /**
2388 * Query to fetch orders
2389 */
2390 "query": {
2391 page: number;
2392 per_page: number;
2393 };
2394 }
2395 interface ScPagination {
2396 "page": number;
2397 "perPage": number;
2398 "total": number;
2399 "totalPages": number;
2400 "totalShowing": number;
2401 }
2402 interface ScPassword {
2403 /**
2404 * The input's autofocus attribute.
2405 */
2406 "autofocus": boolean;
2407 /**
2408 * The input's password confirmation attribute.
2409 */
2410 "confirmation": boolean;
2411 /**
2412 * The input's confirmation help text.
2413 */
2414 "confirmationHelp": string;
2415 /**
2416 * The input's confirmation label text.
2417 */
2418 "confirmationLabel": string;
2419 /**
2420 * The input's confirmation placeholder text.
2421 */
2422 "confirmationPlaceholder": string;
2423 /**
2424 * Disables the input.
2425 */
2426 "disabled": boolean;
2427 /**
2428 * Ensures strong password validation.
2429 */
2430 "enableValidation": boolean;
2431 /**
2432 * The input's help text.
2433 */
2434 "help": string;
2435 /**
2436 * The input's label.
2437 */
2438 "label": string;
2439 /**
2440 * The name for the input.
2441 */
2442 "name": string;
2443 /**
2444 * Draws a pill-style input with rounded edges.
2445 */
2446 "pill": boolean;
2447 /**
2448 * The input's placeholder text.
2449 */
2450 "placeholder": string;
2451 /**
2452 * Makes the input readonly.
2453 */
2454 "readonly": boolean;
2455 "reportValidity": () => Promise<boolean>;
2456 /**
2457 * Makes the input a required field.
2458 */
2459 "required": boolean;
2460 /**
2461 * Should we show the label
2462 */
2463 "showLabel": boolean;
2464 /**
2465 * The input's size.
2466 */
2467 "size": 'small' | 'medium' | 'large';
2468 /**
2469 * Sets focus on the input.
2470 */
2471 "triggerFocus": (options?: FocusOptions) => Promise<void>;
2472 /**
2473 * The input's value attribute.
2474 */
2475 "value": string;
2476 }
2477 interface ScPasswordNag {
2478 /**
2479 * Ensures strong password validation.
2480 */
2481 "enableValidation": boolean;
2482 "open": boolean;
2483 /**
2484 * The success url.
2485 */
2486 "successUrl": string;
2487 /**
2488 * The type of alert.
2489 */
2490 "type": 'primary' | 'success' | 'info' | 'warning' | 'danger';
2491 }
2492 interface ScPayment {
2493 /**
2494 * Disabled processor types
2495 */
2496 "disabledProcessorTypes": string[];
2497 /**
2498 * Hide the test mode badge
2499 */
2500 "hideTestModeBadge": boolean;
2501 /**
2502 * The input's label.
2503 */
2504 "label": string;
2505 "secureNotice": string;
2506 "stripePaymentElement": boolean;
2507 }
2508 interface ScPaymentMethod {
2509 "externalLink": string;
2510 "externalLinkTooltipText": string;
2511 "full": boolean;
2512 "paymentMethod": PaymentMethod;
2513 }
2514 interface ScPaymentMethodChoice {
2515 /**
2516 * Should we show this in a card?
2517 */
2518 "card": boolean;
2519 /**
2520 * Is this a manual processor
2521 */
2522 "isManual": boolean;
2523 /**
2524 * The method id
2525 */
2526 "methodId": string;
2527 /**
2528 * The processor ID
2529 */
2530 "processorId": string;
2531 }
2532 interface ScPaymentMethodDetails {
2533 "editHandler": () => void;
2534 "paymentMethod": PaymentMethod;
2535 }
2536 interface ScPaymentMethodsList {
2537 /**
2538 * Whether default payment method can be detached
2539 */
2540 "canDetachDefaultPaymentMethod": boolean;
2541 /**
2542 * The heading
2543 */
2544 "heading": string;
2545 /**
2546 * Is this a customer
2547 */
2548 "isCustomer": boolean;
2549 /**
2550 * Query to fetch paymentMethods
2551 */
2552 "query": object;
2553 }
2554 interface ScPaymentSelected {
2555 "iconName": string;
2556 "label": string;
2557 }
2558 interface ScPaypalAddMethod {
2559 "currency": string;
2560 "customerId": string;
2561 "liveMode": boolean;
2562 "successUrl": string;
2563 }
2564 interface ScPaypalButtons {
2565 /**
2566 * Is this busy?
2567 */
2568 "busy": boolean;
2569 /**
2570 * Buttons to render
2571 */
2572 "buttons": string[];
2573 /**
2574 * Client id for the script.
2575 */
2576 "clientId": string;
2577 /**
2578 * Button color.
2579 */
2580 "color": 'gold' | 'blue' | 'silver' | 'black' | 'white';
2581 /**
2582 * Label for the button.
2583 */
2584 "label": 'paypal' | 'checkout' | 'buynow' | 'pay' | 'installment';
2585 /**
2586 * The merchant id for paypal.
2587 */
2588 "merchantId": string;
2589 /**
2590 * Merchant initiated billing enabled.
2591 */
2592 "merchantInitiated": boolean;
2593 /**
2594 * Test or live mode.
2595 */
2596 "mode": 'test' | 'live';
2597 /**
2598 * The order.
2599 */
2600 "order": Checkout;
2601 }
2602 interface ScPaystackAddMethod {
2603 "currency": string;
2604 "customerId": string;
2605 "liveMode": boolean;
2606 "successUrl": string;
2607 }
2608 interface ScPhoneInput {
2609 /**
2610 * The input's autocomplete attribute.
2611 */
2612 "autocomplete": string;
2613 /**
2614 * The input's autocorrect attribute.
2615 */
2616 "autocorrect": string;
2617 /**
2618 * The input's autofocus attribute.
2619 */
2620 "autofocus": boolean;
2621 /**
2622 * Adds a clear button when the input is populated.
2623 */
2624 "clearable": boolean;
2625 /**
2626 * Disables the input.
2627 */
2628 "disabled": boolean;
2629 /**
2630 * Inputs focus
2631 */
2632 "hasFocus": boolean;
2633 /**
2634 * The input's help text.
2635 */
2636 "help": string;
2637 /**
2638 * Hidden
2639 */
2640 "hidden": boolean;
2641 /**
2642 * This will be true when the control is in an invalid state. Validity is determined by props such as `type`, `required`, `minlength`, `maxlength`, and `pattern` using the browser's constraint validation API.
2643 */
2644 "invalid": boolean;
2645 /**
2646 * The input's label.
2647 */
2648 "label": string;
2649 /**
2650 * The input's maximum value.
2651 */
2652 "max": number | string;
2653 /**
2654 * The maximum length of input that will be considered valid.
2655 */
2656 "maxlength": number;
2657 /**
2658 * The input's minimum value.
2659 */
2660 "min": number | string;
2661 /**
2662 * The minimum length of input that will be considered valid.
2663 */
2664 "minlength": number;
2665 /**
2666 * The input's name attribute.
2667 */
2668 "name": string;
2669 /**
2670 * A pattern to validate input against. Deliberately loose: it must keep accepting inputs the old (non-compiling, so never enforced) default let through — letters cover extensions ("ext 12", "x22"), comma/semicolon are dial-pause characters.
2671 */
2672 "pattern": string;
2673 /**
2674 * Draws a pill-style input with rounded edges.
2675 */
2676 "pill": boolean;
2677 /**
2678 * The input's placeholder text.
2679 */
2680 "placeholder": string;
2681 /**
2682 * Makes the input readonly.
2683 */
2684 "readonly": boolean;
2685 "reportValidity": () => Promise<boolean>;
2686 /**
2687 * Makes the input a required field.
2688 */
2689 "required": boolean;
2690 /**
2691 * Sets a custom validation message. If `message` is not empty, the field will be considered invalid.
2692 */
2693 "setCustomValidity": (message: string) => Promise<void>;
2694 /**
2695 * Should we show the label
2696 */
2697 "showLabel": boolean;
2698 /**
2699 * The input's size.
2700 */
2701 "size": 'small' | 'medium' | 'large';
2702 /**
2703 * Enables spell checking on the input.
2704 */
2705 "spellcheck": boolean;
2706 "squared": boolean;
2707 "squaredBottom": boolean;
2708 "squaredLeft": boolean;
2709 "squaredRight": boolean;
2710 "squaredTop": boolean;
2711 /**
2712 * The input's step attribute.
2713 */
2714 "step": number;
2715 /**
2716 * Adds a password toggle button to password inputs.
2717 */
2718 "togglePassword": boolean;
2719 /**
2720 * Removes focus from the input.
2721 */
2722 "triggerBlur": () => Promise<void>;
2723 /**
2724 * Sets focus on the input.
2725 */
2726 "triggerFocus": (options?: FocusOptions) => Promise<void>;
2727 /**
2728 * The input's value attribute.
2729 */
2730 "value": string;
2731 }
2732 interface ScPillOption {
2733 /**
2734 * Label
2735 */
2736 "isSelected": boolean;
2737 "isUnavailable": boolean;
2738 }
2739 interface ScPopover {
2740 /**
2741 * Is this disabled.
2742 */
2743 "disabled": boolean;
2744 /**
2745 * The distance in pixels from which to offset the panel away from its trigger.
2746 */
2747 "distance": number;
2748 /**
2749 * Enable this option to prevent the panel from being clipped when the component is placed inside a container with `overflow: auto|scroll`.
2750 */
2751 "hoist": boolean;
2752 /**
2753 * Indicates whether or not the popover is open. You can use this in lieu of the show/hide methods.
2754 */
2755 "open"?: boolean;
2756 /**
2757 * The placement of the popover.
2758 */
2759 "placement": | 'top'
2760 | 'top-start'
2761 | 'top-end'
2762 | 'bottom'
2763 | 'bottom-start'
2764 | 'bottom-end'
2765 | 'right'
2766 | 'right-start'
2767 | 'right-end'
2768 | 'left'
2769 | 'left-start'
2770 | 'left-end';
2771 /**
2772 * The distance in pixels from which to offset the panel along its trigger.
2773 */
2774 "skidding": number;
2775 }
2776 interface ScPremiumTag {
2777 /**
2778 * The tag's size.
2779 */
2780 "size": 'small' | 'medium' | 'large';
2781 }
2782 /**
2783 * Internal dependencies.
2784 */
2785 interface ScPrice {
2786 /**
2787 * Is the product ad_hoc?
2788 */
2789 "adHoc": boolean;
2790 /**
2791 * The amount
2792 */
2793 "amount": number;
2794 /**
2795 * The currency.
2796 */
2797 "currency": string;
2798 /**
2799 * The display amount
2800 */
2801 "displayAmount": string;
2802 /**
2803 * The recurring interval
2804 */
2805 "recurringInterval": 'week' | 'month' | 'year' | 'never';
2806 /**
2807 * The recurring interval count
2808 */
2809 "recurringIntervalCount": number;
2810 /**
2811 * The recurring period count
2812 */
2813 "recurringPeriodCount": number;
2814 /**
2815 * The sale text
2816 */
2817 "saleText": string;
2818 /**
2819 * The scratch amount
2820 */
2821 "scratchAmount": number;
2822 /**
2823 * The scratch display amount
2824 */
2825 "scratchDisplayAmount": string;
2826 /**
2827 * The setup fee amount
2828 */
2829 "setupFeeAmount": number;
2830 /**
2831 * The setup fee name
2832 */
2833 "setupFeeName": string;
2834 /**
2835 * The setup fee text
2836 */
2837 "setupFeeText": string;
2838 /**
2839 * The trial duration days
2840 */
2841 "trialDurationDays": number;
2842 }
2843 interface ScPriceChoice {
2844 /**
2845 * Is this blank?
2846 */
2847 "blank": boolean;
2848 /**
2849 * Is this checked by default
2850 */
2851 "checked": boolean;
2852 /**
2853 * Label for the choice.
2854 */
2855 "description": string;
2856 /**
2857 * Errors from response
2858 */
2859 "error": ResponseError;
2860 /**
2861 * Is this an ad-hoc price choice
2862 */
2863 "isAdHoc": Boolean;
2864 /**
2865 * Label for the choice.
2866 */
2867 "label": string;
2868 /**
2869 * Is this loading
2870 */
2871 "loading": boolean;
2872 /**
2873 * Session
2874 */
2875 "order": Checkout;
2876 /**
2877 * Stores the price
2878 */
2879 "price": Price;
2880 /**
2881 * Id of the price.
2882 */
2883 "priceId": string;
2884 /**
2885 * Price entities
2886 */
2887 "prices": Prices;
2888 /**
2889 * Stores the price
2890 */
2891 "product": Product;
2892 /**
2893 * Product entity
2894 */
2895 "products": Products;
2896 /**
2897 * Default quantity
2898 */
2899 "quantity": number;
2900 /**
2901 * Show the radio/checkbox control
2902 */
2903 "showControl": boolean;
2904 /**
2905 * Show the label
2906 */
2907 "showLabel": boolean;
2908 /**
2909 * Show the price amount
2910 */
2911 "showPrice": boolean;
2912 /**
2913 * Choice Type
2914 */
2915 "type": 'checkbox' | 'radio';
2916 }
2917 interface ScPriceChoiceContainer {
2918 /**
2919 * Is this checked by default
2920 */
2921 "checked": boolean;
2922 /**
2923 * Label for the choice.
2924 */
2925 "description": string;
2926 /**
2927 * Label for the choice.
2928 */
2929 "label": string;
2930 /**
2931 * Is this loading
2932 */
2933 "loading": boolean;
2934 /**
2935 * Stores the price
2936 */
2937 "price": string | Price;
2938 "required": boolean;
2939 /**
2940 * Show the radio/checkbox control
2941 */
2942 "showControl": boolean;
2943 /**
2944 * Show the label
2945 */
2946 "showLabel": boolean;
2947 /**
2948 * Show the price amount
2949 */
2950 "showPrice": boolean;
2951 /**
2952 * Choice Type
2953 */
2954 "type": 'checkbox' | 'radio';
2955 }
2956 interface ScPriceChoices {
2957 /**
2958 * Number of columns
2959 */
2960 "columns": number;
2961 /**
2962 * Selector label
2963 */
2964 "label": string;
2965 /**
2966 * Required by default
2967 */
2968 "required": boolean;
2969 }
2970 interface ScPriceInput {
2971 /**
2972 * The input's autofocus attribute.
2973 */
2974 "autofocus": boolean;
2975 /**
2976 * Adds a clear button when the input is populated.
2977 */
2978 "clearable": boolean;
2979 /**
2980 * 3 letter currency code for input
2981 */
2982 "currencyCode": string;
2983 /**
2984 * Disables the input.
2985 */
2986 "disabled": boolean;
2987 /**
2988 * Inputs focus
2989 */
2990 "hasFocus": boolean;
2991 /**
2992 * The input's help text.
2993 */
2994 "help": string;
2995 /**
2996 * This will be true when the control is in an invalid state. Validity is determined by props such as `type`, `required`, `minlength`, `maxlength`, and `pattern` using the browser's constraint validation API.
2997 */
2998 "invalid": boolean;
2999 /**
3000 * The input's label.
3001 */
3002 "label": string;
3003 /**
3004 * The input's maximum value.
3005 */
3006 "max": number;
3007 /**
3008 * The maximum length of input that will be considered valid.
3009 */
3010 "maxlength": number;
3011 /**
3012 * The input's minimum value.
3013 */
3014 "min": number;
3015 /**
3016 * The minimum length of input that will be considered valid.
3017 */
3018 "minlength": number;
3019 /**
3020 * The input's name attribute.
3021 */
3022 "name": string;
3023 /**
3024 * Draws a pill-style input with rounded edges.
3025 */
3026 "pill": boolean;
3027 /**
3028 * The input's placeholder text.
3029 */
3030 "placeholder": string;
3031 /**
3032 * Makes the input readonly.
3033 */
3034 "readonly": boolean;
3035 "reportValidity": () => Promise<boolean>;
3036 /**
3037 * Makes the input a required field.
3038 */
3039 "required": boolean;
3040 /**
3041 * Sets a custom validation message. If `message` is not empty, the field will be considered invalid.
3042 */
3043 "setCustomValidity": (message: string) => Promise<void>;
3044 /**
3045 * Show the currency code with the input
3046 */
3047 "showCode": boolean;
3048 /**
3049 * Should we show the label
3050 */
3051 "showLabel": boolean;
3052 /**
3053 * The input's size.
3054 */
3055 "size": 'small' | 'medium' | 'large';
3056 /**
3057 * Removes focus from the input.
3058 */
3059 "triggerBlur": () => Promise<void>;
3060 /**
3061 * Sets focus on the input.
3062 */
3063 "triggerFocus": (options?: FocusOptions) => Promise<void>;
3064 /**
3065 * The input's value attribute.
3066 */
3067 "value": string;
3068 }
3069 interface ScPriceRange {
3070 /**
3071 * The array of price objects
3072 */
3073 "prices": Price[];
3074 }
3075 interface ScProductBuyButton {
3076 "addToCart": boolean;
3077 "checkoutLink": string;
3078 "formId": number;
3079 "mode": 'live' | 'test';
3080 "productId": string;
3081 }
3082 interface ScProductDonationAmountChoice {
3083 /**
3084 * The label for the field.
3085 */
3086 "label": string;
3087 /**
3088 * The product id for the fields.
3089 */
3090 "productId": string;
3091 /**
3092 * The value of the field.
3093 */
3094 "value": number;
3095 }
3096 interface ScProductDonationChoices {
3097 /**
3098 * The label for the field.
3099 */
3100 "label": string;
3101 /**
3102 * The product id for the fields.
3103 */
3104 "productId": string;
3105 "recurring": boolean;
3106 }
3107 interface ScProductDonationCustomAmount {
3108 /**
3109 * Selected Product Id for the donation.
3110 */
3111 "productId": string;
3112 /**
3113 * Custom Amount of the donation.
3114 */
3115 "value": number;
3116 }
3117 interface ScProductItem {
3118 "layoutConfig": LayoutConfig;
3119 "product": Product;
3120 }
3121 interface ScProductItemImage {
3122 "product": Product;
3123 "sizing": 'cover' | 'contain';
3124 }
3125 interface ScProductItemList {
3126 /**
3127 * Should we paginate?
3128 */
3129 "ajaxPagination": boolean;
3130 /**
3131 * Should allow collection filter
3132 */
3133 "collectionEnabled": boolean;
3134 /**
3135 * Show for a specific collection
3136 */
3137 "collectionId": string;
3138 /**
3139 * Show only featured products.
3140 */
3141 "featured": boolean;
3142 /**
3143 * Limit to a set of ids.
3144 */
3145 "ids": string[];
3146 "layoutConfig": LayoutConfig1;
3147 "limit": number;
3148 "page": number;
3149 /**
3150 * The page title
3151 */
3152 "pageTitle": string;
3153 /**
3154 * Pagination
3155 */
3156 "pagination": {
3157 total: number;
3158 total_pages: number;
3159 };
3160 "paginationAlignment": string;
3161 /**
3162 * Should we auto-scroll to the top when paginating via ajax
3163 */
3164 "paginationAutoScroll": boolean;
3165 /**
3166 * Should we paginate?
3167 */
3168 "paginationEnabled": boolean;
3169 "products"?: Product[];
3170 /**
3171 * Query to search for
3172 */
3173 "query": string;
3174 /**
3175 * Should allow search
3176 */
3177 "searchEnabled": boolean;
3178 /**
3179 * Sort
3180 */
3181 "sort": string;
3182 /**
3183 * Should allow search
3184 */
3185 "sortEnabled": boolean;
3186 }
3187 interface ScProductItemPrice {
3188 /**
3189 * Product metrics
3190 */
3191 "metrics": ProductMetrics;
3192 "prices": Price[];
3193 /**
3194 * Show price range?
3195 */
3196 "range": boolean;
3197 }
3198 interface ScProductItemTitle {
3199 }
3200 interface ScProductLineItem {
3201 /**
3202 * Product monetary amount
3203 */
3204 "amount": string;
3205 /**
3206 * Bundle component line items, rendered as a read-only nested list under the main row when this line item is a bundle parent.
3207 */
3208 "bundleComponents": LineItem[];
3209 /**
3210 * Product display amount
3211 */
3212 "displayAmount": string;
3213 /**
3214 * Can we select the quantity
3215 */
3216 "editable": boolean;
3217 /**
3218 * Product line item fees.
3219 */
3220 "fees": Fee[];
3221 /**
3222 * Image attributes.
3223 */
3224 "image": ImageAttributes;
3225 /**
3226 * Recurring interval (i.e. monthly, once, etc.)
3227 */
3228 "interval": string;
3229 /**
3230 * The max allowed.
3231 */
3232 "max": number;
3233 /**
3234 * Product name
3235 */
3236 "name": string;
3237 /**
3238 * The line item note
3239 */
3240 "note": string;
3241 /**
3242 * Price name
3243 */
3244 "price"?: string;
3245 /**
3246 * The purchasable status display
3247 */
3248 "purchasableStatus": string;
3249 /**
3250 * Quantity
3251 */
3252 "quantity": number;
3253 /**
3254 * Is the line item removable
3255 */
3256 "removable": boolean;
3257 /**
3258 * The review button link. If set, a review button will be shown linking to this URL.
3259 */
3260 "reviewButtonLink": string;
3261 /**
3262 * The line item scratch amount
3263 */
3264 "scratch": string;
3265 /**
3266 * Product scratch display amount
3267 */
3268 "scratchDisplayAmount": string;
3269 /**
3270 * Separator between a bundle component's name and its variant options.
3271 */
3272 "separator": string;
3273 /**
3274 * Show every bundle component (default), or only those with a selected variant when set to `false`.
3275 */
3276 "showAllBundleItems": boolean;
3277 /**
3278 * The SKU.
3279 */
3280 "sku": string;
3281 /**
3282 * Trial text
3283 */
3284 "trial": string;
3285 /**
3286 * Product variant label
3287 */
3288 "variant": string;
3289 }
3290 interface ScProductLineItemNote {
3291 "note": string;
3292 }
3293 interface ScProductPillsVariantOption {
3294 /**
3295 * Label
3296 */
3297 "label": string;
3298 /**
3299 * Which option number?
3300 */
3301 "optionNumber": 1 | 2 | 3;
3302 /**
3303 * The product id
3304 */
3305 "productId": string;
3306 }
3307 interface ScProductPrice {
3308 /**
3309 * The product's prices.
3310 */
3311 "prices": Price[];
3312 /**
3313 * The product id
3314 */
3315 "productId": string;
3316 /**
3317 * The sale text
3318 */
3319 "saleText": string;
3320 }
3321 interface ScProductPriceChoices {
3322 /**
3323 * The product price choice label
3324 */
3325 "label": string;
3326 /**
3327 * The product id
3328 */
3329 "productId": string;
3330 /**
3331 * Whether to show the price
3332 */
3333 "showPrice": boolean;
3334 }
3335 interface ScProductPriceModal {
3336 /**
3337 * Whether to add to cart
3338 */
3339 "addToCart": boolean;
3340 /**
3341 * The button text
3342 */
3343 "buttonText": string;
3344 /**
3345 * The product id
3346 */
3347 "productId": string;
3348 }
3349 interface ScProductQuantity {
3350 /**
3351 * Display server-side validation errors.
3352 */
3353 "errors": any;
3354 /**
3355 * Help text
3356 */
3357 "help": string;
3358 /**
3359 * Input label.
3360 */
3361 "label": string;
3362 /**
3363 * Name for the input. Used for validation errors.
3364 */
3365 "name": string;
3366 /**
3367 * The product id
3368 */
3369 "productId": string;
3370 /**
3371 * Whether the input is required.
3372 */
3373 "required": boolean;
3374 /**
3375 * Show the label.
3376 */
3377 "showLabel": boolean;
3378 /**
3379 * Size of the control
3380 */
3381 "size": 'small' | 'medium' | 'large';
3382 }
3383 interface ScProductSelectedPrice {
3384 /**
3385 * The product id.
3386 */
3387 "productId": string;
3388 }
3389 interface ScProductText {
3390 "productId": string;
3391 "text": 'name' | 'description';
3392 }
3393 interface ScProse {
3394 }
3395 interface ScProvider {
3396 "STENCIL_CONTEXT": { [key: string]: any };
3397 }
3398 interface ScProvisionalBanner {
3399 /**
3400 * Claim URL.
3401 */
3402 "claimUrl": string;
3403 /**
3404 * Whether the claim window has expired.
3405 */
3406 "expired": boolean;
3407 }
3408 interface ScPurchaseDownloadsList {
3409 "allLink": string;
3410 "busy": boolean;
3411 "error": string;
3412 "heading": string;
3413 "loading": boolean;
3414 "purchases": Array<Purchase>;
3415 "requestNonce": string;
3416 }
3417 interface ScQuantitySelect {
3418 "clickEl"?: HTMLElement;
3419 "disabled": boolean;
3420 /**
3421 * Inputs focus
3422 */
3423 "hasFocus": boolean;
3424 "max": number;
3425 "min": number;
3426 "productName": string;
3427 "quantity": number;
3428 "size": 'small' | 'medium' | 'large';
3429 }
3430 interface ScRadio {
3431 /**
3432 * Simulates a click on the radio.
3433 */
3434 "ceClick": () => Promise<void>;
3435 /**
3436 * Draws the radio in a checked state.
3437 */
3438 "checked": boolean;
3439 /**
3440 * Is the radio disabled
3441 */
3442 "disabled": boolean;
3443 /**
3444 * This will be true as a workaround in the block editor to focus on the content.
3445 */
3446 "edit": boolean;
3447 /**
3448 * This will be true when the control is in an invalid state. Validity is determined by the `required` prop.
3449 */
3450 "invalid": boolean;
3451 /**
3452 * The radios name attribute
3453 */
3454 "name": string;
3455 /**
3456 * Checks for validity and shows the browser's validation message if the control is invalid.
3457 */
3458 "reportValidity": () => Promise<boolean>;
3459 /**
3460 * Is this required
3461 */
3462 "required": boolean;
3463 /**
3464 * The radios value
3465 */
3466 "value": string;
3467 }
3468 interface ScRadioGroup {
3469 /**
3470 * This will be true when the control is in an invalid state. Validity is determined by props such as `type`, `required`, `minlength`, `maxlength`, and `pattern` using the browser's constraint validation API.
3471 */
3472 "invalid": boolean;
3473 /**
3474 * The radio group label. Required for proper accessibility.
3475 */
3476 "label": string;
3477 /**
3478 * Checks for validity and shows the browser's validation message if the control is invalid.
3479 */
3480 "reportValidity": () => Promise<boolean>;
3481 /**
3482 * Is one of these items required.
3483 */
3484 "required": boolean;
3485 /**
3486 * The selected value of the control.
3487 */
3488 "value": string;
3489 }
3490 interface ScRazorpayAddMethod {
3491 "currency": string;
3492 "customerId": string;
3493 "liveMode": boolean;
3494 "successUrl": string;
3495 }
3496 interface ScRecurringPriceChoiceContainer {
3497 /**
3498 * Label for the choice.
3499 */
3500 "label": string;
3501 /**
3502 * The prices to choose from.
3503 */
3504 "prices": Price[];
3505 /**
3506 * The product.
3507 */
3508 "product": Product;
3509 /**
3510 * The currently selected price
3511 */
3512 "selectedPrice": Price;
3513 /**
3514 * Should we show the price?
3515 */
3516 "showAmount": boolean;
3517 /**
3518 * Show the radio/checkbox control
3519 */
3520 "showControl": boolean;
3521 /**
3522 * Should we show the price details?
3523 */
3524 "showDetails": boolean;
3525 }
3526 interface ScReviewStars {
3527 "rating": number;
3528 "size": number;
3529 }
3530 interface ScRichText {
3531 /**
3532 * Disables the textarea.
3533 */
3534 "disabled": boolean;
3535 /**
3536 * The textarea's help text. Alternatively, you can use the help-text slot.
3537 */
3538 "help": string;
3539 /**
3540 * The textarea's label. Alternatively, you can use the label slot.
3541 */
3542 "label": string;
3543 /**
3544 * The max length.
3545 */
3546 "maxlength": number;
3547 /**
3548 * The textarea's name attribute.
3549 */
3550 "name": string;
3551 /**
3552 * The textarea's placeholder text.
3553 */
3554 "placeholder": string;
3555 /**
3556 * Makes the textarea readonly.
3557 */
3558 "readonly": boolean;
3559 /**
3560 * Makes the textarea a required field.
3561 */
3562 "required": boolean;
3563 /**
3564 * Should we show the label
3565 */
3566 "showLabel": boolean;
3567 /**
3568 * The textarea's size.
3569 */
3570 "size": 'small' | 'medium' | 'large';
3571 /**
3572 * The textarea's value attribute.
3573 */
3574 "value": string;
3575 }
3576 interface ScSecureNotice {
3577 }
3578 interface ScSelect {
3579 /**
3580 * The input's autocomplete attribute.
3581 */
3582 "autocomplete": string;
3583 /**
3584 * The input's value attribute.
3585 */
3586 "choices": Array<ChoiceItem>;
3587 "closeOnSelect": boolean;
3588 "disabled": boolean;
3589 /**
3590 * Some help text for the input.
3591 */
3592 "help": string;
3593 "hoist": boolean;
3594 /**
3595 * This will be true when the control is in an invalid state. Validity is determined by props such as `type`, `required`, `minlength`, `maxlength`, and `pattern` using the browser's constraint validation API.
3596 */
3597 "invalid": boolean;
3598 /**
3599 * The input's label.
3600 */
3601 "label": string;
3602 "loading": boolean;
3603 /**
3604 * The input's name attribute.
3605 */
3606 "name": string;
3607 /**
3608 * Is this open
3609 */
3610 "open": boolean;
3611 /**
3612 * Placeholder for no value
3613 */
3614 "placeholder": string;
3615 /**
3616 * The placement of the dropdown.
3617 */
3618 "placement": | 'top'
3619 | 'top-start'
3620 | 'top-end'
3621 | 'bottom'
3622 | 'bottom-start'
3623 | 'bottom-end'
3624 | 'right'
3625 | 'right-start'
3626 | 'right-end'
3627 | 'left'
3628 | 'left-start'
3629 | 'left-end';
3630 "position": 'bottom-left' | 'bottom-right' | 'top-left' | 'top-right';
3631 "reportValidity": () => Promise<boolean>;
3632 "required": boolean;
3633 /**
3634 * Is search enabled?
3635 */
3636 "search": boolean;
3637 /**
3638 * Placeholder for search
3639 */
3640 "searchPlaceholder": string;
3641 /**
3642 * Sets a custom validation message. If `message` is not empty, the field will be considered invalid.
3643 */
3644 "setCustomValidity": (message: string) => Promise<void>;
3645 "showParentLabel": boolean;
3646 /**
3647 * The input's size.
3648 */
3649 "size": 'small' | 'medium' | 'large';
3650 "squared": boolean;
3651 "squaredBottom": boolean;
3652 "squaredLeft": boolean;
3653 "squaredRight": boolean;
3654 "squaredTop": boolean;
3655 /**
3656 * Can we unselect items.
3657 */
3658 "unselect": boolean;
3659 /**
3660 * The input's value attribute.
3661 */
3662 "value": string;
3663 }
3664 interface ScSessionProvider {
3665 /**
3666 * Finalize the order.
3667 * @returns
3668 */
3669 "finalize": () => Promise<Checkout | NodeJS.Timeout | Error>;
3670 /**
3671 * Should we persist the session.
3672 */
3673 "persist": boolean;
3674 /**
3675 * An array of prices to pre-fill in the form.
3676 */
3677 "prices": Array<PriceChoice>;
3678 }
3679 interface ScShippingChoices {
3680 /**
3681 * The shipping section label
3682 */
3683 "label": string;
3684 /**
3685 * Override shipping choices data (used for editor preview)
3686 */
3687 "shippingChoices": any[] | undefined;
3688 /**
3689 * Whether to show the shipping choice description
3690 */
3691 "showDescription": boolean;
3692 }
3693 interface ScSkeleton {
3694 /**
3695 * Animation effect
3696 */
3697 "effect": 'pulse' | 'sheen' | 'none';
3698 }
3699 interface ScSpacing {
3700 }
3701 interface ScSpinner {
3702 }
3703 interface ScStackedList {
3704 }
3705 interface ScStackedListRow {
3706 "href": string;
3707 "mobileSize": number;
3708 "target": string;
3709 }
3710 interface ScStripeAddMethod {
3711 "customerId": string;
3712 "liveMode": boolean;
3713 "successUrl": string;
3714 }
3715 interface ScStripeElement {
3716 /**
3717 * Confirm card payment
3718 */
3719 "confirmCardPayment": (secret: any) => Promise<any>;
3720 /**
3721 * Confirm card setup.
3722 */
3723 "confirmCardSetup": (secret: any) => Promise<any>;
3724 /**
3725 * Whether this field is disabled
3726 */
3727 "disabled": boolean;
3728 /**
3729 * The form state
3730 */
3731 "formState": FormState;
3732 /**
3733 * Inputs focus
3734 */
3735 "hasFocus": boolean;
3736 /**
3737 * The input's label. Alternatively, you can use the label slot.
3738 */
3739 "label": string;
3740 /**
3741 * Mode for the payment
3742 */
3743 "mode": 'live' | 'test';
3744 /**
3745 * The checkout session object for finalizing intents
3746 */
3747 "order": Checkout;
3748 /**
3749 * The input's help text. Alternatively, you can use the help-text slot.
3750 */
3751 "secureText": string;
3752 /**
3753 * The selected processor id
3754 */
3755 "selectedProcessorId": ProcessorName;
3756 /**
3757 * Should we show the label
3758 */
3759 "showLabel": boolean;
3760 /**
3761 * The input's size.
3762 */
3763 "size": 'small' | 'medium' | 'large';
3764 }
3765 interface ScStripePaymentElement {
3766 "confirm": (type: 'setup' | 'payment', args?: {}) => Promise<void>;
3767 }
3768 interface ScStripePaymentRequest {
3769 /**
3770 * Amount
3771 */
3772 "amount": number;
3773 /**
3774 * Country
3775 */
3776 "country": string;
3777 /**
3778 * Is this in debug mode.
3779 */
3780 "debug": boolean;
3781 "error": ResponseError | null;
3782 /**
3783 * Label
3784 */
3785 "label": string;
3786 /**
3787 * Prices
3788 */
3789 "prices": Prices;
3790 /**
3791 * Stripe publishable key
3792 */
3793 "publishableKey": string;
3794 /**
3795 * Your stripe connected account id.
3796 */
3797 "stripeAccountId": string;
3798 /**
3799 * Payment request theme
3800 */
3801 "theme": string;
3802 }
3803 interface ScSubscription {
3804 /**
3805 * Heading to display
3806 */
3807 "heading": string;
3808 /**
3809 * The subscription protocol
3810 */
3811 "protocol": SubscriptionProtocol;
3812 /**
3813 * Query to pass to the API
3814 */
3815 "query": object;
3816 /**
3817 * Whether to show the cancel button
3818 */
3819 "showCancel": boolean;
3820 /**
3821 * The subscription
3822 */
3823 "subscription": Subscription;
3824 /**
3825 * The subscription ID
3826 */
3827 "subscriptionId": string;
3828 /**
3829 * Update the payment method url
3830 */
3831 "updatePaymentMethodUrl": string;
3832 }
3833 interface ScSubscriptionAdHocConfirm {
3834 "currencyCode": string;
3835 "heading": string;
3836 "price": Price;
3837 }
3838 interface ScSubscriptionCancel {
3839 "backUrl": string;
3840 "comment": string;
3841 "heading": string;
3842 "protocol": SubscriptionProtocol;
3843 "reason": CancellationReason;
3844 "subscription": Subscription;
3845 "successUrl": string;
3846 }
3847 interface ScSubscriptionDetails {
3848 "hideRenewalText": boolean;
3849 "pendingPrice": Price;
3850 "subscription": Subscription;
3851 }
3852 interface ScSubscriptionNextPayment {
3853 "subscription": Subscription;
3854 /**
3855 * Update the payment method url
3856 */
3857 "updatePaymentMethodUrl": string;
3858 }
3859 interface ScSubscriptionPayment {
3860 "backUrl": string;
3861 "customerIds": Array<string>;
3862 "paymentMethods": Array<PaymentMethod>;
3863 "subscription": Subscription;
3864 "subscriptionId": string;
3865 "successUrl": string;
3866 }
3867 interface ScSubscriptionPaymentMethod {
3868 /**
3869 * The heading
3870 */
3871 "heading": string;
3872 /**
3873 * The subscription
3874 */
3875 "subscription": Subscription;
3876 }
3877 interface ScSubscriptionReactivate {
3878 /**
3879 * Whether it is open
3880 */
3881 "open": boolean;
3882 /**
3883 * The subscription to reactivate
3884 */
3885 "subscription": Subscription;
3886 }
3887 interface ScSubscriptionStatusBadge {
3888 /**
3889 * Makes the tag clearable.
3890 */
3891 "clearable": boolean;
3892 /**
3893 * Draws a pill-style tag with rounded edges.
3894 */
3895 "pill": boolean;
3896 /**
3897 * The tag's size.
3898 */
3899 "size": 'small' | 'medium' | 'large';
3900 /**
3901 * Subscription status
3902 */
3903 "status": SubscriptionStatus;
3904 /**
3905 * The tag's status type.
3906 */
3907 "subscription": Subscription;
3908 }
3909 interface ScSubscriptionSwitch {
3910 "filterAbove": number;
3911 "heading": string;
3912 "productGroupId": ProductGroup;
3913 "productId": string;
3914 /**
3915 * Customer id to fetch subscriptions
3916 */
3917 "query": object;
3918 "subscription": Subscription;
3919 "successUrl": string;
3920 }
3921 interface ScSubscriptionVariationConfirm {
3922 "heading": string;
3923 "price": Price;
3924 "product": Product;
3925 "subscription": Subscription;
3926 }
3927 interface ScSubscriptionsList {
3928 "allLink": string;
3929 "cancelBehavior": 'period_end' | 'immediate';
3930 "heading": string;
3931 "isCustomer": boolean;
3932 /**
3933 * Customer id to fetch subscriptions
3934 */
3935 "query": {
3936 page: number;
3937 per_page: number;
3938 };
3939 }
3940 interface ScSummary {
3941 "busy": boolean;
3942 "closedText": string;
3943 "collapsed": boolean;
3944 "collapsedOnDesktop": boolean;
3945 "collapsedOnMobile": boolean;
3946 "collapsible": boolean;
3947 "loading": boolean;
3948 "openText": string;
3949 }
3950 interface ScSwap {
3951 /**
3952 * The product id.
3953 */
3954 "lineItem": LineItem;
3955 }
3956 interface ScSwitch {
3957 /**
3958 * Draws the switch in a checked state.
3959 */
3960 "checked": boolean;
3961 /**
3962 * Disables the switch.
3963 */
3964 "disabled": boolean;
3965 /**
3966 * This will be true as a workaround in the block editor to focus on the content.
3967 */
3968 "edit": boolean;
3969 /**
3970 * This will be true when the control is in an invalid state. Validity is determined by the `required` prop.
3971 */
3972 "invalid": boolean;
3973 /**
3974 * The switch's name attribute.
3975 */
3976 "name": string;
3977 /**
3978 * Checks for validity and shows the browser's validation message if the control is invalid.
3979 */
3980 "reportValidity": () => Promise<boolean>;
3981 /**
3982 * Makes the switch a required field.
3983 */
3984 "required": boolean;
3985 "reversed": boolean;
3986 /**
3987 * The switch's value attribute.
3988 */
3989 "value": string;
3990 }
3991 interface ScTab {
3992 /**
3993 * Draws the tab in an active state.
3994 */
3995 "active": boolean;
3996 "count": string;
3997 /**
3998 * Draws the tab in a disabled state.
3999 */
4000 "disabled": boolean;
4001 "href": string;
4002 /**
4003 * The name of the tab panel the tab will control. The panel must be located in the same tab group.
4004 */
4005 "panel": string;
4006 /**
4007 * Removes focus from the tab.
4008 */
4009 "triggerBlur": () => Promise<void>;
4010 /**
4011 * Sets focus to the tab.
4012 */
4013 "triggerFocus": (options?: FocusOptions) => Promise<void>;
4014 }
4015 interface ScTabGroup {
4016 }
4017 interface ScTabPanel {
4018 /**
4019 * When true, the tab panel will be shown.
4020 */
4021 "active": boolean;
4022 /**
4023 * The tab panel's name.
4024 */
4025 "name": string;
4026 }
4027 interface ScTable {
4028 }
4029 interface ScTableCell {
4030 }
4031 interface ScTableHead {
4032 }
4033 interface ScTableRow {
4034 "href": string;
4035 }
4036 interface ScTag {
4037 /**
4038 * Aria label
4039 */
4040 "ariaLabel": string;
4041 /**
4042 * Makes the tag clearable.
4043 */
4044 "clearable": boolean;
4045 /**
4046 * Draws a pill-style tag with rounded edges.
4047 */
4048 "pill": boolean;
4049 /**
4050 * The tag's size.
4051 */
4052 "size": 'small' | 'medium' | 'large';
4053 /**
4054 * The tag's type.
4055 */
4056 "type": 'primary' | 'success' | 'info' | 'warning' | 'danger' | 'default';
4057 }
4058 interface ScTaxIdInput {
4059 /**
4060 * AU zone label
4061 */
4062 "auAbnLabel": string;
4063 /**
4064 * GST zone label
4065 */
4066 "caGstLabel": string;
4067 /**
4068 * The country code.
4069 */
4070 "country": string;
4071 /**
4072 * EU zone label
4073 */
4074 "euVatLabel": string;
4075 /**
4076 * UK zone label
4077 */
4078 "gbVatLabel": string;
4079 /**
4080 * Help text.
4081 */
4082 "help": string;
4083 /**
4084 * Is this loading?
4085 */
4086 "loading": boolean;
4087 /**
4088 * Tax ID Number
4089 */
4090 "number": string;
4091 /**
4092 * Other zones label
4093 */
4094 "otherLabel": string;
4095 "reportValidity": () => Promise<boolean>;
4096 /**
4097 * Whether tax input is required
4098 */
4099 "required": boolean;
4100 /**
4101 * Force show the field.
4102 */
4103 "show": boolean;
4104 /**
4105 * The status
4106 */
4107 "status": 'valid' | 'invalid' | 'unknown';
4108 /**
4109 * Tax ID Types which will be shown
4110 */
4111 "taxIdTypes": string[];
4112 /**
4113 * Type of tax id
4114 */
4115 "type": string;
4116 }
4117 interface ScTestModeInfo {
4118 }
4119 interface ScText {
4120 "tag": 'h1' | 'h2' | 'h3' | 'h4' | 'h5' | 'h6' | 'p';
4121 "truncate": boolean;
4122 }
4123 interface ScTextarea {
4124 /**
4125 * The textarea's autocapitalize attribute.
4126 */
4127 "autocapitalize": 'off' | 'none' | 'on' | 'sentences' | 'words' | 'characters';
4128 /**
4129 * The textarea's autocomplete attribute.
4130 */
4131 "autocomplete": string;
4132 /**
4133 * The textarea's autocorrect attribute.
4134 */
4135 "autocorrect": string;
4136 /**
4137 * The textarea's autofocus attribute.
4138 */
4139 "autofocus": boolean;
4140 /**
4141 * Disables the textarea.
4142 */
4143 "disabled": boolean;
4144 /**
4145 * The input's enterkeyhint attribute. This can be used to customize the label or icon of the Enter key on virtual keyboards.
4146 */
4147 "enterkeyhint": 'enter' | 'done' | 'go' | 'next' | 'previous' | 'search' | 'send';
4148 /**
4149 * Draws a filled textarea.
4150 */
4151 "filled": boolean;
4152 /**
4153 * The textarea's help text. Alternatively, you can use the help-text slot.
4154 */
4155 "help": string;
4156 /**
4157 * The textarea's inputmode attribute.
4158 */
4159 "inputmode": 'none' | 'text' | 'decimal' | 'numeric' | 'tel' | 'search' | 'email' | 'url';
4160 /**
4161 * This will be true when the control is in an invalid state. Validity is determined by props such as `type`, `required`, `minlength`, and `maxlength` using the browser's constraint validation API.
4162 */
4163 "invalid": boolean;
4164 /**
4165 * The textarea's label. Alternatively, you can use the label slot.
4166 */
4167 "label": string;
4168 /**
4169 * The maximum length of input that will be considered valid.
4170 */
4171 "maxlength": number;
4172 /**
4173 * The minimum length of input that will be considered valid.
4174 */
4175 "minlength": number;
4176 /**
4177 * The textarea's name attribute.
4178 */
4179 "name": string;
4180 /**
4181 * The textarea's placeholder text.
4182 */
4183 "placeholder": string;
4184 /**
4185 * Makes the textarea readonly.
4186 */
4187 "readonly": boolean;
4188 /**
4189 * Checks for validity and shows the browser's validation message if the control is invalid.
4190 */
4191 "reportValidity": () => Promise<boolean>;
4192 /**
4193 * Makes the textarea a required field.
4194 */
4195 "required": boolean;
4196 /**
4197 * Controls how the textarea can be resized.
4198 */
4199 "resize": 'none' | 'vertical' | 'auto';
4200 /**
4201 * The number of rows to display by default.
4202 */
4203 "rows": number;
4204 /**
4205 * Should we show the label
4206 */
4207 "showLabel": boolean;
4208 /**
4209 * The textarea's size.
4210 */
4211 "size": 'small' | 'medium' | 'large';
4212 /**
4213 * Enables spell checking on the textarea.
4214 */
4215 "spellcheck": boolean;
4216 /**
4217 * Sets focus on the input.
4218 */
4219 "triggerFocus": (options?: FocusOptions) => Promise<void>;
4220 /**
4221 * The textarea's value attribute.
4222 */
4223 "value": string;
4224 }
4225 interface ScToggle {
4226 /**
4227 * Is this a borderless toggle?
4228 */
4229 "borderless": boolean;
4230 /**
4231 * Are these collapsible?
4232 */
4233 "collapsible": boolean;
4234 /**
4235 * Disables the details so it can't be toggled.
4236 */
4237 "disabled": boolean;
4238 /**
4239 * Indicates whether or not the details is open. You can use this in lieu of the show/hide methods.
4240 */
4241 "open": boolean;
4242 /**
4243 * Is this a shady
4244 */
4245 "shady": boolean;
4246 /**
4247 * Should we show a radio control?
4248 */
4249 "showControl": boolean;
4250 /**
4251 * Should we show the arrow icon?
4252 */
4253 "showIcon": boolean;
4254 /**
4255 * The summary to show in the details header. If you need to display HTML, use the `summary` slot instead.
4256 */
4257 "summary": string;
4258 }
4259 interface ScToggles {
4260 /**
4261 * Should this function as an accordion?
4262 */
4263 "accordion": boolean;
4264 /**
4265 * Are these collapsible?
4266 */
4267 "collapsible": boolean;
4268 /**
4269 * Theme for the toggles
4270 */
4271 "theme": 'default' | 'container';
4272 }
4273 interface ScTooltip {
4274 /**
4275 * Freeze open or closed.
4276 */
4277 "freeze": boolean;
4278 /**
4279 * Open or not
4280 */
4281 "open": boolean;
4282 /**
4283 * The tooltip's padding.
4284 */
4285 "padding": number;
4286 /**
4287 * The tooltip's placement relative to the trigger.
4288 */
4289 "placement": 'top' | 'bottom' | 'left' | 'right';
4290 /**
4291 * Tooltip text
4292 */
4293 "text": string;
4294 /**
4295 * The tooltip's type. - `info` (default) — current SureCart blue/info style with a colored arrow. - `primary`/`success`/`warning`/`danger` — accent-colored variants. - `text` — legacy passthrough used by long-form tooltips. - `dark` — flat black background with white text, matching the WordPress admin button tooltip ("View options"-style). No colored accent, no arrow, no padding flourish — just the WP look.
4296 */
4297 "type": 'primary' | 'success' | 'info' | 'warning' | 'danger' | 'text' | 'dark';
4298 /**
4299 * Tooltip fixed width
4300 */
4301 "width": string;
4302 }
4303 interface ScTotal {
4304 "checkout"?: Checkout;
4305 "total": 'total' | 'subtotal' | 'amount_due';
4306 }
4307 interface ScUpcomingInvoice {
4308 "adHocAmount": number;
4309 "discount": {
4310 promotion_code?: string;
4311 coupon?: string;
4312 };
4313 "heading": string;
4314 "payment_method": PaymentMethod;
4315 "priceId": string;
4316 "quantity": number;
4317 "quantityUpdatesEnabled": boolean;
4318 "subscriptionId": string;
4319 "successUrl": string;
4320 "variantId": string;
4321 }
4322 interface ScUpgradeRequired {
4323 /**
4324 * Whether to render upgrade modal by default
4325 */
4326 "open": boolean;
4327 /**
4328 * Is this required?
4329 */
4330 "required": boolean;
4331 /**
4332 * The tag's size.
4333 */
4334 "size": 'small' | 'medium' | 'large';
4335 }
4336 interface ScUpsell {
4337 }
4338 interface ScUpsellCountdownTimer {
4339 /**
4340 * Whether to show the icon.
4341 */
4342 "showIcon": boolean;
4343 }
4344 interface ScUpsellNoThanksButton {
4345 }
4346 interface ScUpsellSubmitButton {
4347 }
4348 interface ScUpsellTotals {
4349 }
4350 interface ScVerificationCode {
4351 /**
4352 * Whether the component is in a loading/verifying state
4353 */
4354 "loading": boolean;
4355 /**
4356 * On change verification code
4357 */
4358 "onChange": (value: string) => void;
4359 /**
4360 * Total number of inputs
4361 */
4362 "total": number;
4363 /**
4364 * Focus the first code input.
4365 */
4366 "triggerFocus": () => Promise<void>;
4367 }
4368 interface ScVisuallyHidden {
4369 }
4370 interface ScWordpressPasswordEdit {
4371 /**
4372 * Ensures strong password validation.
4373 */
4374 "enableValidation": boolean;
4375 "heading": string;
4376 "successUrl": string;
4377 "user": WordPressUser;
4378 }
4379 interface ScWordpressUser {
4380 "heading": string;
4381 "user": WordPressUser;
4382 }
4383 interface ScWordpressUserEdit {
4384 "heading": string;
4385 "successUrl": string;
4386 "user": WordPressUser;
4387 }
4388 }
4389 export interface ScAddressCustomEvent<T> extends CustomEvent<T> {
4390 detail: T;
4391 target: HTMLScAddressElement;
4392 }
4393 export interface ScAddressSuggestionsCustomEvent<T> extends CustomEvent<T> {
4394 detail: T;
4395 target: HTMLScAddressSuggestionsElement;
4396 }
4397 export interface ScAlertCustomEvent<T> extends CustomEvent<T> {
4398 detail: T;
4399 target: HTMLScAlertElement;
4400 }
4401 export interface ScButtonCustomEvent<T> extends CustomEvent<T> {
4402 detail: T;
4403 target: HTMLScButtonElement;
4404 }
4405 export interface ScCancelDialogCustomEvent<T> extends CustomEvent<T> {
4406 detail: T;
4407 target: HTMLScCancelDialogElement;
4408 }
4409 export interface ScCancelDiscountCustomEvent<T> extends CustomEvent<T> {
4410 detail: T;
4411 target: HTMLScCancelDiscountElement;
4412 }
4413 export interface ScCancelSurveyCustomEvent<T> extends CustomEvent<T> {
4414 detail: T;
4415 target: HTMLScCancelSurveyElement;
4416 }
4417 export interface ScCartHeaderCustomEvent<T> extends CustomEvent<T> {
4418 detail: T;
4419 target: HTMLScCartHeaderElement;
4420 }
4421 export interface ScCartSessionProviderCustomEvent<T> extends CustomEvent<T> {
4422 detail: T;
4423 target: HTMLScCartSessionProviderElement;
4424 }
4425 export interface ScCheckboxCustomEvent<T> extends CustomEvent<T> {
4426 detail: T;
4427 target: HTMLScCheckboxElement;
4428 }
4429 export interface ScCheckoutCustomEvent<T> extends CustomEvent<T> {
4430 detail: T;
4431 target: HTMLScCheckoutElement;
4432 }
4433 export interface ScCheckoutStockAlertCustomEvent<T> extends CustomEvent<T> {
4434 detail: T;
4435 target: HTMLScCheckoutStockAlertElement;
4436 }
4437 export interface ScCheckoutTestCompleteCustomEvent<T> extends CustomEvent<T> {
4438 detail: T;
4439 target: HTMLScCheckoutTestCompleteElement;
4440 }
4441 export interface ScChoiceCustomEvent<T> extends CustomEvent<T> {
4442 detail: T;
4443 target: HTMLScChoiceElement;
4444 }
4445 export interface ScChoiceContainerCustomEvent<T> extends CustomEvent<T> {
4446 detail: T;
4447 target: HTMLScChoiceContainerElement;
4448 }
4449 export interface ScCompactAddressCustomEvent<T> extends CustomEvent<T> {
4450 detail: T;
4451 target: HTMLScCompactAddressElement;
4452 }
4453 export interface ScConsumerCustomEvent<T> extends CustomEvent<T> {
4454 detail: T;
4455 target: HTMLScConsumerElement;
4456 }
4457 export interface ScCouponFormCustomEvent<T> extends CustomEvent<T> {
4458 detail: T;
4459 target: HTMLScCouponFormElement;
4460 }
4461 export interface ScCustomOrderPriceInputCustomEvent<T> extends CustomEvent<T> {
4462 detail: T;
4463 target: HTMLScCustomOrderPriceInputElement;
4464 }
4465 export interface ScCustomerEmailCustomEvent<T> extends CustomEvent<T> {
4466 detail: T;
4467 target: HTMLScCustomerEmailElement;
4468 }
4469 export interface ScCustomerFirstnameCustomEvent<T> extends CustomEvent<T> {
4470 detail: T;
4471 target: HTMLScCustomerFirstnameElement;
4472 }
4473 export interface ScCustomerLastnameCustomEvent<T> extends CustomEvent<T> {
4474 detail: T;
4475 target: HTMLScCustomerLastnameElement;
4476 }
4477 export interface ScCustomerNameCustomEvent<T> extends CustomEvent<T> {
4478 detail: T;
4479 target: HTMLScCustomerNameElement;
4480 }
4481 export interface ScCustomerPhoneCustomEvent<T> extends CustomEvent<T> {
4482 detail: T;
4483 target: HTMLScCustomerPhoneElement;
4484 }
4485 export interface ScDialogCustomEvent<T> extends CustomEvent<T> {
4486 detail: T;
4487 target: HTMLScDialogElement;
4488 }
4489 export interface ScDonationChoicesCustomEvent<T> extends CustomEvent<T> {
4490 detail: T;
4491 target: HTMLScDonationChoicesElement;
4492 }
4493 export interface ScDrawerCustomEvent<T> extends CustomEvent<T> {
4494 detail: T;
4495 target: HTMLScDrawerElement;
4496 }
4497 export interface ScDropdownCustomEvent<T> extends CustomEvent<T> {
4498 detail: T;
4499 target: HTMLScDropdownElement;
4500 }
4501 export interface ScErrorCustomEvent<T> extends CustomEvent<T> {
4502 detail: T;
4503 target: HTMLScErrorElement;
4504 }
4505 export interface ScFormCustomEvent<T> extends CustomEvent<T> {
4506 detail: T;
4507 target: HTMLScFormElement;
4508 }
4509 export interface ScFormStateProviderCustomEvent<T> extends CustomEvent<T> {
4510 detail: T;
4511 target: HTMLScFormStateProviderElement;
4512 }
4513 export interface ScIconCustomEvent<T> extends CustomEvent<T> {
4514 detail: T;
4515 target: HTMLScIconElement;
4516 }
4517 export interface ScInputCustomEvent<T> extends CustomEvent<T> {
4518 detail: T;
4519 target: HTMLScInputElement;
4520 }
4521 export interface ScLineItemsProviderCustomEvent<T> extends CustomEvent<T> {
4522 detail: T;
4523 target: HTMLScLineItemsProviderElement;
4524 }
4525 export interface ScLoginProviderCustomEvent<T> extends CustomEvent<T> {
4526 detail: T;
4527 target: HTMLScLoginProviderElement;
4528 }
4529 export interface ScMenuCustomEvent<T> extends CustomEvent<T> {
4530 detail: T;
4531 target: HTMLScMenuElement;
4532 }
4533 export interface ScOrderConfirmProviderCustomEvent<T> extends CustomEvent<T> {
4534 detail: T;
4535 target: HTMLScOrderConfirmProviderElement;
4536 }
4537 export interface ScOrderSummaryCustomEvent<T> extends CustomEvent<T> {
4538 detail: T;
4539 target: HTMLScOrderSummaryElement;
4540 }
4541 export interface ScPaginationCustomEvent<T> extends CustomEvent<T> {
4542 detail: T;
4543 target: HTMLScPaginationElement;
4544 }
4545 export interface ScPaypalButtonsCustomEvent<T> extends CustomEvent<T> {
4546 detail: T;
4547 target: HTMLScPaypalButtonsElement;
4548 }
4549 export interface ScPhoneInputCustomEvent<T> extends CustomEvent<T> {
4550 detail: T;
4551 target: HTMLScPhoneInputElement;
4552 }
4553 export interface ScPopoverCustomEvent<T> extends CustomEvent<T> {
4554 detail: T;
4555 target: HTMLScPopoverElement;
4556 }
4557 export interface ScPriceChoiceCustomEvent<T> extends CustomEvent<T> {
4558 detail: T;
4559 target: HTMLScPriceChoiceElement;
4560 }
4561 export interface ScPriceChoiceContainerCustomEvent<T> extends CustomEvent<T> {
4562 detail: T;
4563 target: HTMLScPriceChoiceContainerElement;
4564 }
4565 export interface ScPriceChoicesCustomEvent<T> extends CustomEvent<T> {
4566 detail: T;
4567 target: HTMLScPriceChoicesElement;
4568 }
4569 export interface ScPriceInputCustomEvent<T> extends CustomEvent<T> {
4570 detail: T;
4571 target: HTMLScPriceInputElement;
4572 }
4573 export interface ScProductItemListCustomEvent<T> extends CustomEvent<T> {
4574 detail: T;
4575 target: HTMLScProductItemListElement;
4576 }
4577 export interface ScProductLineItemCustomEvent<T> extends CustomEvent<T> {
4578 detail: T;
4579 target: HTMLScProductLineItemElement;
4580 }
4581 export interface ScProductSelectedPriceCustomEvent<T> extends CustomEvent<T> {
4582 detail: T;
4583 target: HTMLScProductSelectedPriceElement;
4584 }
4585 export interface ScProviderCustomEvent<T> extends CustomEvent<T> {
4586 detail: T;
4587 target: HTMLScProviderElement;
4588 }
4589 export interface ScQuantitySelectCustomEvent<T> extends CustomEvent<T> {
4590 detail: T;
4591 target: HTMLScQuantitySelectElement;
4592 }
4593 export interface ScRadioCustomEvent<T> extends CustomEvent<T> {
4594 detail: T;
4595 target: HTMLScRadioElement;
4596 }
4597 export interface ScRadioGroupCustomEvent<T> extends CustomEvent<T> {
4598 detail: T;
4599 target: HTMLScRadioGroupElement;
4600 }
4601 export interface ScRecurringPriceChoiceContainerCustomEvent<T> extends CustomEvent<T> {
4602 detail: T;
4603 target: HTMLScRecurringPriceChoiceContainerElement;
4604 }
4605 export interface ScRichTextCustomEvent<T> extends CustomEvent<T> {
4606 detail: T;
4607 target: HTMLScRichTextElement;
4608 }
4609 export interface ScSelectCustomEvent<T> extends CustomEvent<T> {
4610 detail: T;
4611 target: HTMLScSelectElement;
4612 }
4613 export interface ScSessionProviderCustomEvent<T> extends CustomEvent<T> {
4614 detail: T;
4615 target: HTMLScSessionProviderElement;
4616 }
4617 export interface ScStripeElementCustomEvent<T> extends CustomEvent<T> {
4618 detail: T;
4619 target: HTMLScStripeElementElement;
4620 }
4621 export interface ScStripePaymentElementCustomEvent<T> extends CustomEvent<T> {
4622 detail: T;
4623 target: HTMLScStripePaymentElementElement;
4624 }
4625 export interface ScStripePaymentRequestCustomEvent<T> extends CustomEvent<T> {
4626 detail: T;
4627 target: HTMLScStripePaymentRequestElement;
4628 }
4629 export interface ScSubscriptionCancelCustomEvent<T> extends CustomEvent<T> {
4630 detail: T;
4631 target: HTMLScSubscriptionCancelElement;
4632 }
4633 export interface ScSubscriptionReactivateCustomEvent<T> extends CustomEvent<T> {
4634 detail: T;
4635 target: HTMLScSubscriptionReactivateElement;
4636 }
4637 export interface ScSummaryCustomEvent<T> extends CustomEvent<T> {
4638 detail: T;
4639 target: HTMLScSummaryElement;
4640 }
4641 export interface ScSwitchCustomEvent<T> extends CustomEvent<T> {
4642 detail: T;
4643 target: HTMLScSwitchElement;
4644 }
4645 export interface ScTabCustomEvent<T> extends CustomEvent<T> {
4646 detail: T;
4647 target: HTMLScTabElement;
4648 }
4649 export interface ScTabGroupCustomEvent<T> extends CustomEvent<T> {
4650 detail: T;
4651 target: HTMLScTabGroupElement;
4652 }
4653 export interface ScTagCustomEvent<T> extends CustomEvent<T> {
4654 detail: T;
4655 target: HTMLScTagElement;
4656 }
4657 export interface ScTaxIdInputCustomEvent<T> extends CustomEvent<T> {
4658 detail: T;
4659 target: HTMLScTaxIdInputElement;
4660 }
4661 export interface ScTextareaCustomEvent<T> extends CustomEvent<T> {
4662 detail: T;
4663 target: HTMLScTextareaElement;
4664 }
4665 export interface ScToggleCustomEvent<T> extends CustomEvent<T> {
4666 detail: T;
4667 target: HTMLScToggleElement;
4668 }
4669 declare global {
4670 interface HTMLScAddressElementEventMap {
4671 "scChangeAddress": Partial<Address>;
4672 "scInputAddress": Partial<Address>;
4673 }
4674 interface HTMLScAddressElement extends Components.ScAddress, HTMLStencilElement {
4675 addEventListener<K extends keyof HTMLScAddressElementEventMap>(type: K, listener: (this: HTMLScAddressElement, ev: ScAddressCustomEvent<HTMLScAddressElementEventMap[K]>) => any, options?: boolean | AddEventListenerOptions): void;
4676 addEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
4677 addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
4678 addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
4679 removeEventListener<K extends keyof HTMLScAddressElementEventMap>(type: K, listener: (this: HTMLScAddressElement, ev: ScAddressCustomEvent<HTMLScAddressElementEventMap[K]>) => any, options?: boolean | EventListenerOptions): void;
4680 removeEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
4681 removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
4682 removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
4683 }
4684 var HTMLScAddressElement: {
4685 prototype: HTMLScAddressElement;
4686 new (): HTMLScAddressElement;
4687 };
4688 interface HTMLScAddressSuggestionsElementEventMap {
4689 "scChangeAddress": Address;
4690 "scShowAddressFields": void;
4691 "scHideAddressFields": void;
4692 }
4693 interface HTMLScAddressSuggestionsElement extends Components.ScAddressSuggestions, HTMLStencilElement {
4694 addEventListener<K extends keyof HTMLScAddressSuggestionsElementEventMap>(type: K, listener: (this: HTMLScAddressSuggestionsElement, ev: ScAddressSuggestionsCustomEvent<HTMLScAddressSuggestionsElementEventMap[K]>) => any, options?: boolean | AddEventListenerOptions): void;
4695 addEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
4696 addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
4697 addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
4698 removeEventListener<K extends keyof HTMLScAddressSuggestionsElementEventMap>(type: K, listener: (this: HTMLScAddressSuggestionsElement, ev: ScAddressSuggestionsCustomEvent<HTMLScAddressSuggestionsElementEventMap[K]>) => any, options?: boolean | EventListenerOptions): void;
4699 removeEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
4700 removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
4701 removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
4702 }
4703 var HTMLScAddressSuggestionsElement: {
4704 prototype: HTMLScAddressSuggestionsElement;
4705 new (): HTMLScAddressSuggestionsElement;
4706 };
4707 interface HTMLScAlertElementEventMap {
4708 "scHide": void;
4709 "scShow": void;
4710 }
4711 interface HTMLScAlertElement extends Components.ScAlert, HTMLStencilElement {
4712 addEventListener<K extends keyof HTMLScAlertElementEventMap>(type: K, listener: (this: HTMLScAlertElement, ev: ScAlertCustomEvent<HTMLScAlertElementEventMap[K]>) => any, options?: boolean | AddEventListenerOptions): void;
4713 addEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
4714 addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
4715 addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
4716 removeEventListener<K extends keyof HTMLScAlertElementEventMap>(type: K, listener: (this: HTMLScAlertElement, ev: ScAlertCustomEvent<HTMLScAlertElementEventMap[K]>) => any, options?: boolean | EventListenerOptions): void;
4717 removeEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
4718 removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
4719 removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
4720 }
4721 var HTMLScAlertElement: {
4722 prototype: HTMLScAlertElement;
4723 new (): HTMLScAlertElement;
4724 };
4725 interface HTMLScAvatarElement extends Components.ScAvatar, HTMLStencilElement {
4726 }
4727 var HTMLScAvatarElement: {
4728 prototype: HTMLScAvatarElement;
4729 new (): HTMLScAvatarElement;
4730 };
4731 interface HTMLScBadgeNoticeElement extends Components.ScBadgeNotice, HTMLStencilElement {
4732 }
4733 var HTMLScBadgeNoticeElement: {
4734 prototype: HTMLScBadgeNoticeElement;
4735 new (): HTMLScBadgeNoticeElement;
4736 };
4737 interface HTMLScBlockUiElement extends Components.ScBlockUi, HTMLStencilElement {
4738 }
4739 var HTMLScBlockUiElement: {
4740 prototype: HTMLScBlockUiElement;
4741 new (): HTMLScBlockUiElement;
4742 };
4743 interface HTMLScBreadcrumbElement extends Components.ScBreadcrumb, HTMLStencilElement {
4744 }
4745 var HTMLScBreadcrumbElement: {
4746 prototype: HTMLScBreadcrumbElement;
4747 new (): HTMLScBreadcrumbElement;
4748 };
4749 interface HTMLScBreadcrumbsElement extends Components.ScBreadcrumbs, HTMLStencilElement {
4750 }
4751 var HTMLScBreadcrumbsElement: {
4752 prototype: HTMLScBreadcrumbsElement;
4753 new (): HTMLScBreadcrumbsElement;
4754 };
4755 interface HTMLScButtonElementEventMap {
4756 "scBlur": void;
4757 "scFocus": void;
4758 }
4759 interface HTMLScButtonElement extends Components.ScButton, HTMLStencilElement {
4760 addEventListener<K extends keyof HTMLScButtonElementEventMap>(type: K, listener: (this: HTMLScButtonElement, ev: ScButtonCustomEvent<HTMLScButtonElementEventMap[K]>) => any, options?: boolean | AddEventListenerOptions): void;
4761 addEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
4762 addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
4763 addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
4764 removeEventListener<K extends keyof HTMLScButtonElementEventMap>(type: K, listener: (this: HTMLScButtonElement, ev: ScButtonCustomEvent<HTMLScButtonElementEventMap[K]>) => any, options?: boolean | EventListenerOptions): void;
4765 removeEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
4766 removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
4767 removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
4768 }
4769 var HTMLScButtonElement: {
4770 prototype: HTMLScButtonElement;
4771 new (): HTMLScButtonElement;
4772 };
4773 interface HTMLScButtonGroupElement extends Components.ScButtonGroup, HTMLStencilElement {
4774 }
4775 var HTMLScButtonGroupElement: {
4776 prototype: HTMLScButtonGroupElement;
4777 new (): HTMLScButtonGroupElement;
4778 };
4779 interface HTMLScCancelDialogElementEventMap {
4780 "scRequestClose": 'close-button' | 'keyboard' | 'overlay';
4781 "scRefresh": void;
4782 }
4783 interface HTMLScCancelDialogElement extends Components.ScCancelDialog, HTMLStencilElement {
4784 addEventListener<K extends keyof HTMLScCancelDialogElementEventMap>(type: K, listener: (this: HTMLScCancelDialogElement, ev: ScCancelDialogCustomEvent<HTMLScCancelDialogElementEventMap[K]>) => any, options?: boolean | AddEventListenerOptions): void;
4785 addEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
4786 addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
4787 addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
4788 removeEventListener<K extends keyof HTMLScCancelDialogElementEventMap>(type: K, listener: (this: HTMLScCancelDialogElement, ev: ScCancelDialogCustomEvent<HTMLScCancelDialogElementEventMap[K]>) => any, options?: boolean | EventListenerOptions): void;
4789 removeEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
4790 removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
4791 removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
4792 }
4793 var HTMLScCancelDialogElement: {
4794 prototype: HTMLScCancelDialogElement;
4795 new (): HTMLScCancelDialogElement;
4796 };
4797 interface HTMLScCancelDiscountElementEventMap {
4798 "scCancel": void;
4799 "scPreserved": void;
4800 }
4801 interface HTMLScCancelDiscountElement extends Components.ScCancelDiscount, HTMLStencilElement {
4802 addEventListener<K extends keyof HTMLScCancelDiscountElementEventMap>(type: K, listener: (this: HTMLScCancelDiscountElement, ev: ScCancelDiscountCustomEvent<HTMLScCancelDiscountElementEventMap[K]>) => any, options?: boolean | AddEventListenerOptions): void;
4803 addEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
4804 addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
4805 addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
4806 removeEventListener<K extends keyof HTMLScCancelDiscountElementEventMap>(type: K, listener: (this: HTMLScCancelDiscountElement, ev: ScCancelDiscountCustomEvent<HTMLScCancelDiscountElementEventMap[K]>) => any, options?: boolean | EventListenerOptions): void;
4807 removeEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
4808 removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
4809 removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
4810 }
4811 var HTMLScCancelDiscountElement: {
4812 prototype: HTMLScCancelDiscountElement;
4813 new (): HTMLScCancelDiscountElement;
4814 };
4815 interface HTMLScCancelSurveyElementEventMap {
4816 "scAbandon": void;
4817 "scSubmitReason": { reason: CancellationReason; comment: string };
4818 }
4819 interface HTMLScCancelSurveyElement extends Components.ScCancelSurvey, HTMLStencilElement {
4820 addEventListener<K extends keyof HTMLScCancelSurveyElementEventMap>(type: K, listener: (this: HTMLScCancelSurveyElement, ev: ScCancelSurveyCustomEvent<HTMLScCancelSurveyElementEventMap[K]>) => any, options?: boolean | AddEventListenerOptions): void;
4821 addEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
4822 addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
4823 addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
4824 removeEventListener<K extends keyof HTMLScCancelSurveyElementEventMap>(type: K, listener: (this: HTMLScCancelSurveyElement, ev: ScCancelSurveyCustomEvent<HTMLScCancelSurveyElementEventMap[K]>) => any, options?: boolean | EventListenerOptions): void;
4825 removeEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
4826 removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
4827 removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
4828 }
4829 var HTMLScCancelSurveyElement: {
4830 prototype: HTMLScCancelSurveyElement;
4831 new (): HTMLScCancelSurveyElement;
4832 };
4833 interface HTMLScCardElement extends Components.ScCard, HTMLStencilElement {
4834 }
4835 var HTMLScCardElement: {
4836 prototype: HTMLScCardElement;
4837 new (): HTMLScCardElement;
4838 };
4839 interface HTMLScCartElement extends Components.ScCart, HTMLStencilElement {
4840 }
4841 var HTMLScCartElement: {
4842 prototype: HTMLScCartElement;
4843 new (): HTMLScCartElement;
4844 };
4845 interface HTMLScCartButtonElement extends Components.ScCartButton, HTMLStencilElement {
4846 }
4847 var HTMLScCartButtonElement: {
4848 prototype: HTMLScCartButtonElement;
4849 new (): HTMLScCartButtonElement;
4850 };
4851 interface HTMLScCartFormElement extends Components.ScCartForm, HTMLStencilElement {
4852 }
4853 var HTMLScCartFormElement: {
4854 prototype: HTMLScCartFormElement;
4855 new (): HTMLScCartFormElement;
4856 };
4857 interface HTMLScCartFormSubmitElement extends Components.ScCartFormSubmit, HTMLStencilElement {
4858 }
4859 var HTMLScCartFormSubmitElement: {
4860 prototype: HTMLScCartFormSubmitElement;
4861 new (): HTMLScCartFormSubmitElement;
4862 };
4863 interface HTMLScCartHeaderElementEventMap {
4864 "scCloseCart": void;
4865 }
4866 interface HTMLScCartHeaderElement extends Components.ScCartHeader, HTMLStencilElement {
4867 addEventListener<K extends keyof HTMLScCartHeaderElementEventMap>(type: K, listener: (this: HTMLScCartHeaderElement, ev: ScCartHeaderCustomEvent<HTMLScCartHeaderElementEventMap[K]>) => any, options?: boolean | AddEventListenerOptions): void;
4868 addEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
4869 addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
4870 addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
4871 removeEventListener<K extends keyof HTMLScCartHeaderElementEventMap>(type: K, listener: (this: HTMLScCartHeaderElement, ev: ScCartHeaderCustomEvent<HTMLScCartHeaderElementEventMap[K]>) => any, options?: boolean | EventListenerOptions): void;
4872 removeEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
4873 removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
4874 removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
4875 }
4876 var HTMLScCartHeaderElement: {
4877 prototype: HTMLScCartHeaderElement;
4878 new (): HTMLScCartHeaderElement;
4879 };
4880 interface HTMLScCartIconElement extends Components.ScCartIcon, HTMLStencilElement {
4881 }
4882 var HTMLScCartIconElement: {
4883 prototype: HTMLScCartIconElement;
4884 new (): HTMLScCartIconElement;
4885 };
4886 interface HTMLScCartLoaderElement extends Components.ScCartLoader, HTMLStencilElement {
4887 }
4888 var HTMLScCartLoaderElement: {
4889 prototype: HTMLScCartLoaderElement;
4890 new (): HTMLScCartLoaderElement;
4891 };
4892 interface HTMLScCartSessionProviderElementEventMap {
4893 "scSetState": 'loading' | 'busy' | 'navigating' | 'idle';
4894 }
4895 interface HTMLScCartSessionProviderElement extends Components.ScCartSessionProvider, HTMLStencilElement {
4896 addEventListener<K extends keyof HTMLScCartSessionProviderElementEventMap>(type: K, listener: (this: HTMLScCartSessionProviderElement, ev: ScCartSessionProviderCustomEvent<HTMLScCartSessionProviderElementEventMap[K]>) => any, options?: boolean | AddEventListenerOptions): void;
4897 addEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
4898 addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
4899 addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
4900 removeEventListener<K extends keyof HTMLScCartSessionProviderElementEventMap>(type: K, listener: (this: HTMLScCartSessionProviderElement, ev: ScCartSessionProviderCustomEvent<HTMLScCartSessionProviderElementEventMap[K]>) => any, options?: boolean | EventListenerOptions): void;
4901 removeEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
4902 removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
4903 removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
4904 }
4905 var HTMLScCartSessionProviderElement: {
4906 prototype: HTMLScCartSessionProviderElement;
4907 new (): HTMLScCartSessionProviderElement;
4908 };
4909 interface HTMLScCartSubmitElement extends Components.ScCartSubmit, HTMLStencilElement {
4910 }
4911 var HTMLScCartSubmitElement: {
4912 prototype: HTMLScCartSubmitElement;
4913 new (): HTMLScCartSubmitElement;
4914 };
4915 interface HTMLScCcLogoElement extends Components.ScCcLogo, HTMLStencilElement {
4916 }
4917 var HTMLScCcLogoElement: {
4918 prototype: HTMLScCcLogoElement;
4919 new (): HTMLScCcLogoElement;
4920 };
4921 interface HTMLScChargesListElement extends Components.ScChargesList, HTMLStencilElement {
4922 }
4923 var HTMLScChargesListElement: {
4924 prototype: HTMLScChargesListElement;
4925 new (): HTMLScChargesListElement;
4926 };
4927 interface HTMLScCheckboxElementEventMap {
4928 "scBlur": void;
4929 "scChange": void;
4930 "scFocus": void;
4931 }
4932 interface HTMLScCheckboxElement extends Components.ScCheckbox, HTMLStencilElement {
4933 addEventListener<K extends keyof HTMLScCheckboxElementEventMap>(type: K, listener: (this: HTMLScCheckboxElement, ev: ScCheckboxCustomEvent<HTMLScCheckboxElementEventMap[K]>) => any, options?: boolean | AddEventListenerOptions): void;
4934 addEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
4935 addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
4936 addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
4937 removeEventListener<K extends keyof HTMLScCheckboxElementEventMap>(type: K, listener: (this: HTMLScCheckboxElement, ev: ScCheckboxCustomEvent<HTMLScCheckboxElementEventMap[K]>) => any, options?: boolean | EventListenerOptions): void;
4938 removeEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
4939 removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
4940 removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
4941 }
4942 var HTMLScCheckboxElement: {
4943 prototype: HTMLScCheckboxElement;
4944 new (): HTMLScCheckboxElement;
4945 };
4946 interface HTMLScCheckoutElementEventMap {
4947 "scOrderUpdated": Checkout;
4948 "scOrderFinalized": Checkout;
4949 "scOrderError": ResponseError;
4950 }
4951 interface HTMLScCheckoutElement extends Components.ScCheckout, HTMLStencilElement {
4952 addEventListener<K extends keyof HTMLScCheckoutElementEventMap>(type: K, listener: (this: HTMLScCheckoutElement, ev: ScCheckoutCustomEvent<HTMLScCheckoutElementEventMap[K]>) => any, options?: boolean | AddEventListenerOptions): void;
4953 addEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
4954 addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
4955 addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
4956 removeEventListener<K extends keyof HTMLScCheckoutElementEventMap>(type: K, listener: (this: HTMLScCheckoutElement, ev: ScCheckoutCustomEvent<HTMLScCheckoutElementEventMap[K]>) => any, options?: boolean | EventListenerOptions): void;
4957 removeEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
4958 removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
4959 removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
4960 }
4961 var HTMLScCheckoutElement: {
4962 prototype: HTMLScCheckoutElement;
4963 new (): HTMLScCheckoutElement;
4964 };
4965 interface HTMLScCheckoutAutofillProviderElement extends Components.ScCheckoutAutofillProvider, HTMLStencilElement {
4966 }
4967 var HTMLScCheckoutAutofillProviderElement: {
4968 prototype: HTMLScCheckoutAutofillProviderElement;
4969 new (): HTMLScCheckoutAutofillProviderElement;
4970 };
4971 /**
4972 * This component listens for a confirmed event and redirects to the success url.
4973 */
4974 interface HTMLScCheckoutFormErrorsElement extends Components.ScCheckoutFormErrors, HTMLStencilElement {
4975 }
4976 var HTMLScCheckoutFormErrorsElement: {
4977 prototype: HTMLScCheckoutFormErrorsElement;
4978 new (): HTMLScCheckoutFormErrorsElement;
4979 };
4980 /**
4981 * Explains why location is requested (e.g. regional / purchasing-power-parity pricing) and gates
4982 * the browser geolocation prompt behind an explicit opt-in when capture is enabled by the merchant.
4983 */
4984 interface HTMLScCheckoutGeoPermissionElement extends Components.ScCheckoutGeoPermission, HTMLStencilElement {
4985 }
4986 var HTMLScCheckoutGeoPermissionElement: {
4987 prototype: HTMLScCheckoutGeoPermissionElement;
4988 new (): HTMLScCheckoutGeoPermissionElement;
4989 };
4990 interface HTMLScCheckoutMolliePaymentElement extends Components.ScCheckoutMolliePayment, HTMLStencilElement {
4991 }
4992 var HTMLScCheckoutMolliePaymentElement: {
4993 prototype: HTMLScCheckoutMolliePaymentElement;
4994 new (): HTMLScCheckoutMolliePaymentElement;
4995 };
4996 interface HTMLScCheckoutPaystackPaymentProviderElement extends Components.ScCheckoutPaystackPaymentProvider, HTMLStencilElement {
4997 }
4998 var HTMLScCheckoutPaystackPaymentProviderElement: {
4999 prototype: HTMLScCheckoutPaystackPaymentProviderElement;
5000 new (): HTMLScCheckoutPaystackPaymentProviderElement;
5001 };
5002 /**
5003 * Checkout-side picker for bundle component variants. Mirrors the PDP bundle
5004 * picker (the scope-aware `surecart/product-variant-pills` block) but writes the
5005 * selection straight into the bundle line item's `bundle_component_variants`.
5006 */
5007 interface HTMLScCheckoutProductBundleComponentVariantsElement extends Components.ScCheckoutProductBundleComponentVariants, HTMLStencilElement {
5008 }
5009 var HTMLScCheckoutProductBundleComponentVariantsElement: {
5010 prototype: HTMLScCheckoutProductBundleComponentVariantsElement;
5011 new (): HTMLScCheckoutProductBundleComponentVariantsElement;
5012 };
5013 interface HTMLScCheckoutProductPriceVariantSelectorElement extends Components.ScCheckoutProductPriceVariantSelector, HTMLStencilElement {
5014 }
5015 var HTMLScCheckoutProductPriceVariantSelectorElement: {
5016 prototype: HTMLScCheckoutProductPriceVariantSelectorElement;
5017 new (): HTMLScCheckoutProductPriceVariantSelectorElement;
5018 };
5019 interface HTMLScCheckoutRazorpayPaymentProviderElement extends Components.ScCheckoutRazorpayPaymentProvider, HTMLStencilElement {
5020 }
5021 var HTMLScCheckoutRazorpayPaymentProviderElement: {
5022 prototype: HTMLScCheckoutRazorpayPaymentProviderElement;
5023 new (): HTMLScCheckoutRazorpayPaymentProviderElement;
5024 };
5025 interface HTMLScCheckoutStockAlertElementEventMap {
5026 "scUpdateLineItem": LineItemData;
5027 }
5028 /**
5029 * This component listens for stock requirements and displays a dialog to the user.
5030 */
5031 interface HTMLScCheckoutStockAlertElement extends Components.ScCheckoutStockAlert, HTMLStencilElement {
5032 addEventListener<K extends keyof HTMLScCheckoutStockAlertElementEventMap>(type: K, listener: (this: HTMLScCheckoutStockAlertElement, ev: ScCheckoutStockAlertCustomEvent<HTMLScCheckoutStockAlertElementEventMap[K]>) => any, options?: boolean | AddEventListenerOptions): void;
5033 addEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
5034 addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
5035 addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
5036 removeEventListener<K extends keyof HTMLScCheckoutStockAlertElementEventMap>(type: K, listener: (this: HTMLScCheckoutStockAlertElement, ev: ScCheckoutStockAlertCustomEvent<HTMLScCheckoutStockAlertElementEventMap[K]>) => any, options?: boolean | EventListenerOptions): void;
5037 removeEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
5038 removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
5039 removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
5040 }
5041 var HTMLScCheckoutStockAlertElement: {
5042 prototype: HTMLScCheckoutStockAlertElement;
5043 new (): HTMLScCheckoutStockAlertElement;
5044 };
5045 interface HTMLScCheckoutTestCompleteElementEventMap {
5046 "scOrderPaid": Checkout;
5047 "scSetState": string;
5048 }
5049 /**
5050 * This component listens to the order status
5051 * and confirms the order when payment is successful.
5052 */
5053 interface HTMLScCheckoutTestCompleteElement extends Components.ScCheckoutTestComplete, HTMLStencilElement {
5054 addEventListener<K extends keyof HTMLScCheckoutTestCompleteElementEventMap>(type: K, listener: (this: HTMLScCheckoutTestCompleteElement, ev: ScCheckoutTestCompleteCustomEvent<HTMLScCheckoutTestCompleteElementEventMap[K]>) => any, options?: boolean | AddEventListenerOptions): void;
5055 addEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
5056 addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
5057 addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
5058 removeEventListener<K extends keyof HTMLScCheckoutTestCompleteElementEventMap>(type: K, listener: (this: HTMLScCheckoutTestCompleteElement, ev: ScCheckoutTestCompleteCustomEvent<HTMLScCheckoutTestCompleteElementEventMap[K]>) => any, options?: boolean | EventListenerOptions): void;
5059 removeEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
5060 removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
5061 removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
5062 }
5063 var HTMLScCheckoutTestCompleteElement: {
5064 prototype: HTMLScCheckoutTestCompleteElement;
5065 new (): HTMLScCheckoutTestCompleteElement;
5066 };
5067 interface HTMLScCheckoutUnsavedChangesWarningElement extends Components.ScCheckoutUnsavedChangesWarning, HTMLStencilElement {
5068 }
5069 var HTMLScCheckoutUnsavedChangesWarningElement: {
5070 prototype: HTMLScCheckoutUnsavedChangesWarningElement;
5071 new (): HTMLScCheckoutUnsavedChangesWarningElement;
5072 };
5073 interface HTMLScChoiceElementEventMap {
5074 "scBlur": void;
5075 "scChange": boolean;
5076 "scFocus": void;
5077 }
5078 interface HTMLScChoiceElement extends Components.ScChoice, HTMLStencilElement {
5079 addEventListener<K extends keyof HTMLScChoiceElementEventMap>(type: K, listener: (this: HTMLScChoiceElement, ev: ScChoiceCustomEvent<HTMLScChoiceElementEventMap[K]>) => any, options?: boolean | AddEventListenerOptions): void;
5080 addEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
5081 addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
5082 addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
5083 removeEventListener<K extends keyof HTMLScChoiceElementEventMap>(type: K, listener: (this: HTMLScChoiceElement, ev: ScChoiceCustomEvent<HTMLScChoiceElementEventMap[K]>) => any, options?: boolean | EventListenerOptions): void;
5084 removeEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
5085 removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
5086 removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
5087 }
5088 var HTMLScChoiceElement: {
5089 prototype: HTMLScChoiceElement;
5090 new (): HTMLScChoiceElement;
5091 };
5092 interface HTMLScChoiceContainerElementEventMap {
5093 "scBlur": void;
5094 "scChange": boolean;
5095 "scFocus": void;
5096 }
5097 interface HTMLScChoiceContainerElement extends Components.ScChoiceContainer, HTMLStencilElement {
5098 addEventListener<K extends keyof HTMLScChoiceContainerElementEventMap>(type: K, listener: (this: HTMLScChoiceContainerElement, ev: ScChoiceContainerCustomEvent<HTMLScChoiceContainerElementEventMap[K]>) => any, options?: boolean | AddEventListenerOptions): void;
5099 addEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
5100 addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
5101 addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
5102 removeEventListener<K extends keyof HTMLScChoiceContainerElementEventMap>(type: K, listener: (this: HTMLScChoiceContainerElement, ev: ScChoiceContainerCustomEvent<HTMLScChoiceContainerElementEventMap[K]>) => any, options?: boolean | EventListenerOptions): void;
5103 removeEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
5104 removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
5105 removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
5106 }
5107 var HTMLScChoiceContainerElement: {
5108 prototype: HTMLScChoiceContainerElement;
5109 new (): HTMLScChoiceContainerElement;
5110 };
5111 interface HTMLScChoicesElement extends Components.ScChoices, HTMLStencilElement {
5112 }
5113 var HTMLScChoicesElement: {
5114 prototype: HTMLScChoicesElement;
5115 new (): HTMLScChoicesElement;
5116 };
5117 interface HTMLScColumnElement extends Components.ScColumn, HTMLStencilElement {
5118 }
5119 var HTMLScColumnElement: {
5120 prototype: HTMLScColumnElement;
5121 new (): HTMLScColumnElement;
5122 };
5123 interface HTMLScColumnsElement extends Components.ScColumns, HTMLStencilElement {
5124 }
5125 var HTMLScColumnsElement: {
5126 prototype: HTMLScColumnsElement;
5127 new (): HTMLScColumnsElement;
5128 };
5129 interface HTMLScCompactAddressElementEventMap {
5130 "scChangeAddress": Partial<Address>;
5131 "scInputAddress": Partial<Address>;
5132 }
5133 interface HTMLScCompactAddressElement extends Components.ScCompactAddress, HTMLStencilElement {
5134 addEventListener<K extends keyof HTMLScCompactAddressElementEventMap>(type: K, listener: (this: HTMLScCompactAddressElement, ev: ScCompactAddressCustomEvent<HTMLScCompactAddressElementEventMap[K]>) => any, options?: boolean | AddEventListenerOptions): void;
5135 addEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
5136 addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
5137 addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
5138 removeEventListener<K extends keyof HTMLScCompactAddressElementEventMap>(type: K, listener: (this: HTMLScCompactAddressElement, ev: ScCompactAddressCustomEvent<HTMLScCompactAddressElementEventMap[K]>) => any, options?: boolean | EventListenerOptions): void;
5139 removeEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
5140 removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
5141 removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
5142 }
5143 var HTMLScCompactAddressElement: {
5144 prototype: HTMLScCompactAddressElement;
5145 new (): HTMLScCompactAddressElement;
5146 };
5147 interface HTMLScConditionalFormElement extends Components.ScConditionalForm, HTMLStencilElement {
5148 }
5149 var HTMLScConditionalFormElement: {
5150 prototype: HTMLScConditionalFormElement;
5151 new (): HTMLScConditionalFormElement;
5152 };
5153 interface HTMLScConsumerElementEventMap {
5154 "mountConsumer": any;
5155 }
5156 interface HTMLScConsumerElement extends Components.ScConsumer, HTMLStencilElement {
5157 addEventListener<K extends keyof HTMLScConsumerElementEventMap>(type: K, listener: (this: HTMLScConsumerElement, ev: ScConsumerCustomEvent<HTMLScConsumerElementEventMap[K]>) => any, options?: boolean | AddEventListenerOptions): void;
5158 addEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
5159 addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
5160 addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
5161 removeEventListener<K extends keyof HTMLScConsumerElementEventMap>(type: K, listener: (this: HTMLScConsumerElement, ev: ScConsumerCustomEvent<HTMLScConsumerElementEventMap[K]>) => any, options?: boolean | EventListenerOptions): void;
5162 removeEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
5163 removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
5164 removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
5165 }
5166 var HTMLScConsumerElement: {
5167 prototype: HTMLScConsumerElement;
5168 new (): HTMLScConsumerElement;
5169 };
5170 interface HTMLScCouponFormElementEventMap {
5171 "scApplyCoupon": string;
5172 }
5173 interface HTMLScCouponFormElement extends Components.ScCouponForm, HTMLStencilElement {
5174 addEventListener<K extends keyof HTMLScCouponFormElementEventMap>(type: K, listener: (this: HTMLScCouponFormElement, ev: ScCouponFormCustomEvent<HTMLScCouponFormElementEventMap[K]>) => any, options?: boolean | AddEventListenerOptions): void;
5175 addEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
5176 addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
5177 addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
5178 removeEventListener<K extends keyof HTMLScCouponFormElementEventMap>(type: K, listener: (this: HTMLScCouponFormElement, ev: ScCouponFormCustomEvent<HTMLScCouponFormElementEventMap[K]>) => any, options?: boolean | EventListenerOptions): void;
5179 removeEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
5180 removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
5181 removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
5182 }
5183 var HTMLScCouponFormElement: {
5184 prototype: HTMLScCouponFormElement;
5185 new (): HTMLScCouponFormElement;
5186 };
5187 interface HTMLScCustomOrderPriceInputElementEventMap {
5188 "scUpdateLineItem": LineItemData1;
5189 }
5190 interface HTMLScCustomOrderPriceInputElement extends Components.ScCustomOrderPriceInput, HTMLStencilElement {
5191 addEventListener<K extends keyof HTMLScCustomOrderPriceInputElementEventMap>(type: K, listener: (this: HTMLScCustomOrderPriceInputElement, ev: ScCustomOrderPriceInputCustomEvent<HTMLScCustomOrderPriceInputElementEventMap[K]>) => any, options?: boolean | AddEventListenerOptions): void;
5192 addEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
5193 addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
5194 addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
5195 removeEventListener<K extends keyof HTMLScCustomOrderPriceInputElementEventMap>(type: K, listener: (this: HTMLScCustomOrderPriceInputElement, ev: ScCustomOrderPriceInputCustomEvent<HTMLScCustomOrderPriceInputElementEventMap[K]>) => any, options?: boolean | EventListenerOptions): void;
5196 removeEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
5197 removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
5198 removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
5199 }
5200 var HTMLScCustomOrderPriceInputElement: {
5201 prototype: HTMLScCustomOrderPriceInputElement;
5202 new (): HTMLScCustomOrderPriceInputElement;
5203 };
5204 interface HTMLScCustomerDetailsElement extends Components.ScCustomerDetails, HTMLStencilElement {
5205 }
5206 var HTMLScCustomerDetailsElement: {
5207 prototype: HTMLScCustomerDetailsElement;
5208 new (): HTMLScCustomerDetailsElement;
5209 };
5210 interface HTMLScCustomerEditElement extends Components.ScCustomerEdit, HTMLStencilElement {
5211 }
5212 var HTMLScCustomerEditElement: {
5213 prototype: HTMLScCustomerEditElement;
5214 new (): HTMLScCustomerEditElement;
5215 };
5216 interface HTMLScCustomerEmailElementEventMap {
5217 "scChange": void;
5218 "scClear": void;
5219 "scInput": void;
5220 "scFocus": void;
5221 "scBlur": void;
5222 "scUpdateOrderState": Checkout;
5223 "scUpdateAbandonedCart": boolean;
5224 "scLoginPrompt": void;
5225 }
5226 interface HTMLScCustomerEmailElement extends Components.ScCustomerEmail, HTMLStencilElement {
5227 addEventListener<K extends keyof HTMLScCustomerEmailElementEventMap>(type: K, listener: (this: HTMLScCustomerEmailElement, ev: ScCustomerEmailCustomEvent<HTMLScCustomerEmailElementEventMap[K]>) => any, options?: boolean | AddEventListenerOptions): void;
5228 addEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
5229 addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
5230 addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
5231 removeEventListener<K extends keyof HTMLScCustomerEmailElementEventMap>(type: K, listener: (this: HTMLScCustomerEmailElement, ev: ScCustomerEmailCustomEvent<HTMLScCustomerEmailElementEventMap[K]>) => any, options?: boolean | EventListenerOptions): void;
5232 removeEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
5233 removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
5234 removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
5235 }
5236 var HTMLScCustomerEmailElement: {
5237 prototype: HTMLScCustomerEmailElement;
5238 new (): HTMLScCustomerEmailElement;
5239 };
5240 interface HTMLScCustomerFirstnameElementEventMap {
5241 "scChange": void;
5242 "scUpdateOrderState": Partial<Checkout>;
5243 "scClear": void;
5244 "scInput": void;
5245 "scFocus": void;
5246 "scBlur": void;
5247 "scUpdateCustomer": { email: string };
5248 }
5249 interface HTMLScCustomerFirstnameElement extends Components.ScCustomerFirstname, HTMLStencilElement {
5250 addEventListener<K extends keyof HTMLScCustomerFirstnameElementEventMap>(type: K, listener: (this: HTMLScCustomerFirstnameElement, ev: ScCustomerFirstnameCustomEvent<HTMLScCustomerFirstnameElementEventMap[K]>) => any, options?: boolean | AddEventListenerOptions): void;
5251 addEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
5252 addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
5253 addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
5254 removeEventListener<K extends keyof HTMLScCustomerFirstnameElementEventMap>(type: K, listener: (this: HTMLScCustomerFirstnameElement, ev: ScCustomerFirstnameCustomEvent<HTMLScCustomerFirstnameElementEventMap[K]>) => any, options?: boolean | EventListenerOptions): void;
5255 removeEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
5256 removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
5257 removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
5258 }
5259 var HTMLScCustomerFirstnameElement: {
5260 prototype: HTMLScCustomerFirstnameElement;
5261 new (): HTMLScCustomerFirstnameElement;
5262 };
5263 interface HTMLScCustomerLastnameElementEventMap {
5264 "scInput": void;
5265 "scFocus": void;
5266 "scBlur": void;
5267 }
5268 interface HTMLScCustomerLastnameElement extends Components.ScCustomerLastname, HTMLStencilElement {
5269 addEventListener<K extends keyof HTMLScCustomerLastnameElementEventMap>(type: K, listener: (this: HTMLScCustomerLastnameElement, ev: ScCustomerLastnameCustomEvent<HTMLScCustomerLastnameElementEventMap[K]>) => any, options?: boolean | AddEventListenerOptions): void;
5270 addEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
5271 addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
5272 addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
5273 removeEventListener<K extends keyof HTMLScCustomerLastnameElementEventMap>(type: K, listener: (this: HTMLScCustomerLastnameElement, ev: ScCustomerLastnameCustomEvent<HTMLScCustomerLastnameElementEventMap[K]>) => any, options?: boolean | EventListenerOptions): void;
5274 removeEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
5275 removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
5276 removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
5277 }
5278 var HTMLScCustomerLastnameElement: {
5279 prototype: HTMLScCustomerLastnameElement;
5280 new (): HTMLScCustomerLastnameElement;
5281 };
5282 interface HTMLScCustomerLoginElement extends Components.ScCustomerLogin, HTMLStencilElement {
5283 }
5284 var HTMLScCustomerLoginElement: {
5285 prototype: HTMLScCustomerLoginElement;
5286 new (): HTMLScCustomerLoginElement;
5287 };
5288 interface HTMLScCustomerNameElementEventMap {
5289 "scInput": void;
5290 "scFocus": void;
5291 "scBlur": void;
5292 }
5293 interface HTMLScCustomerNameElement extends Components.ScCustomerName, HTMLStencilElement {
5294 addEventListener<K extends keyof HTMLScCustomerNameElementEventMap>(type: K, listener: (this: HTMLScCustomerNameElement, ev: ScCustomerNameCustomEvent<HTMLScCustomerNameElementEventMap[K]>) => any, options?: boolean | AddEventListenerOptions): void;
5295 addEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
5296 addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
5297 addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
5298 removeEventListener<K extends keyof HTMLScCustomerNameElementEventMap>(type: K, listener: (this: HTMLScCustomerNameElement, ev: ScCustomerNameCustomEvent<HTMLScCustomerNameElementEventMap[K]>) => any, options?: boolean | EventListenerOptions): void;
5299 removeEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
5300 removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
5301 removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
5302 }
5303 var HTMLScCustomerNameElement: {
5304 prototype: HTMLScCustomerNameElement;
5305 new (): HTMLScCustomerNameElement;
5306 };
5307 interface HTMLScCustomerPhoneElementEventMap {
5308 "scChange": void;
5309 "scClear": void;
5310 "scInput": void;
5311 "scFocus": void;
5312 "scBlur": void;
5313 }
5314 interface HTMLScCustomerPhoneElement extends Components.ScCustomerPhone, HTMLStencilElement {
5315 addEventListener<K extends keyof HTMLScCustomerPhoneElementEventMap>(type: K, listener: (this: HTMLScCustomerPhoneElement, ev: ScCustomerPhoneCustomEvent<HTMLScCustomerPhoneElementEventMap[K]>) => any, options?: boolean | AddEventListenerOptions): void;
5316 addEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
5317 addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
5318 addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
5319 removeEventListener<K extends keyof HTMLScCustomerPhoneElementEventMap>(type: K, listener: (this: HTMLScCustomerPhoneElement, ev: ScCustomerPhoneCustomEvent<HTMLScCustomerPhoneElementEventMap[K]>) => any, options?: boolean | EventListenerOptions): void;
5320 removeEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
5321 removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
5322 removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
5323 }
5324 var HTMLScCustomerPhoneElement: {
5325 prototype: HTMLScCustomerPhoneElement;
5326 new (): HTMLScCustomerPhoneElement;
5327 };
5328 interface HTMLScDashboardCustomerDetailsElement extends Components.ScDashboardCustomerDetails, HTMLStencilElement {
5329 }
5330 var HTMLScDashboardCustomerDetailsElement: {
5331 prototype: HTMLScDashboardCustomerDetailsElement;
5332 new (): HTMLScDashboardCustomerDetailsElement;
5333 };
5334 interface HTMLScDashboardDownloadsListElement extends Components.ScDashboardDownloadsList, HTMLStencilElement {
5335 }
5336 var HTMLScDashboardDownloadsListElement: {
5337 prototype: HTMLScDashboardDownloadsListElement;
5338 new (): HTMLScDashboardDownloadsListElement;
5339 };
5340 interface HTMLScDashboardModuleElement extends Components.ScDashboardModule, HTMLStencilElement {
5341 }
5342 var HTMLScDashboardModuleElement: {
5343 prototype: HTMLScDashboardModuleElement;
5344 new (): HTMLScDashboardModuleElement;
5345 };
5346 interface HTMLScDialogElementEventMap {
5347 "scRequestClose": 'close-button' | 'keyboard' | 'overlay';
5348 "scShow": void;
5349 "scAfterShow": void;
5350 "scHide": void;
5351 "scAfterHide": void;
5352 "scInitialFocus": void;
5353 }
5354 interface HTMLScDialogElement extends Components.ScDialog, HTMLStencilElement {
5355 addEventListener<K extends keyof HTMLScDialogElementEventMap>(type: K, listener: (this: HTMLScDialogElement, ev: ScDialogCustomEvent<HTMLScDialogElementEventMap[K]>) => any, options?: boolean | AddEventListenerOptions): void;
5356 addEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
5357 addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
5358 addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
5359 removeEventListener<K extends keyof HTMLScDialogElementEventMap>(type: K, listener: (this: HTMLScDialogElement, ev: ScDialogCustomEvent<HTMLScDialogElementEventMap[K]>) => any, options?: boolean | EventListenerOptions): void;
5360 removeEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
5361 removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
5362 removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
5363 }
5364 var HTMLScDialogElement: {
5365 prototype: HTMLScDialogElement;
5366 new (): HTMLScDialogElement;
5367 };
5368 interface HTMLScDividerElement extends Components.ScDivider, HTMLStencilElement {
5369 }
5370 var HTMLScDividerElement: {
5371 prototype: HTMLScDividerElement;
5372 new (): HTMLScDividerElement;
5373 };
5374 interface HTMLScDonationChoicesElementEventMap {
5375 "scRemoveLineItem": LineItemData1;
5376 "scUpdateLineItem": LineItemData1;
5377 "scAddLineItem": LineItemData1;
5378 }
5379 interface HTMLScDonationChoicesElement extends Components.ScDonationChoices, HTMLStencilElement {
5380 addEventListener<K extends keyof HTMLScDonationChoicesElementEventMap>(type: K, listener: (this: HTMLScDonationChoicesElement, ev: ScDonationChoicesCustomEvent<HTMLScDonationChoicesElementEventMap[K]>) => any, options?: boolean | AddEventListenerOptions): void;
5381 addEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
5382 addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
5383 addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
5384 removeEventListener<K extends keyof HTMLScDonationChoicesElementEventMap>(type: K, listener: (this: HTMLScDonationChoicesElement, ev: ScDonationChoicesCustomEvent<HTMLScDonationChoicesElementEventMap[K]>) => any, options?: boolean | EventListenerOptions): void;
5385 removeEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
5386 removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
5387 removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
5388 }
5389 var HTMLScDonationChoicesElement: {
5390 prototype: HTMLScDonationChoicesElement;
5391 new (): HTMLScDonationChoicesElement;
5392 };
5393 interface HTMLScDownloadsListElement extends Components.ScDownloadsList, HTMLStencilElement {
5394 }
5395 var HTMLScDownloadsListElement: {
5396 prototype: HTMLScDownloadsListElement;
5397 new (): HTMLScDownloadsListElement;
5398 };
5399 interface HTMLScDrawerElementEventMap {
5400 "scInitialFocus": void;
5401 "scRequestClose": 'close-button' | 'keyboard' | 'overlay' | 'method';
5402 "scShow": void;
5403 "scHide": void;
5404 "scAfterShow": void;
5405 "scAfterHide": void;
5406 }
5407 interface HTMLScDrawerElement extends Components.ScDrawer, HTMLStencilElement {
5408 addEventListener<K extends keyof HTMLScDrawerElementEventMap>(type: K, listener: (this: HTMLScDrawerElement, ev: ScDrawerCustomEvent<HTMLScDrawerElementEventMap[K]>) => any, options?: boolean | AddEventListenerOptions): void;
5409 addEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
5410 addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
5411 addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
5412 removeEventListener<K extends keyof HTMLScDrawerElementEventMap>(type: K, listener: (this: HTMLScDrawerElement, ev: ScDrawerCustomEvent<HTMLScDrawerElementEventMap[K]>) => any, options?: boolean | EventListenerOptions): void;
5413 removeEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
5414 removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
5415 removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
5416 }
5417 var HTMLScDrawerElement: {
5418 prototype: HTMLScDrawerElement;
5419 new (): HTMLScDrawerElement;
5420 };
5421 interface HTMLScDropdownElementEventMap {
5422 "scShow": void;
5423 "scHide": void;
5424 }
5425 interface HTMLScDropdownElement extends Components.ScDropdown, HTMLStencilElement {
5426 addEventListener<K extends keyof HTMLScDropdownElementEventMap>(type: K, listener: (this: HTMLScDropdownElement, ev: ScDropdownCustomEvent<HTMLScDropdownElementEventMap[K]>) => any, options?: boolean | AddEventListenerOptions): void;
5427 addEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
5428 addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
5429 addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
5430 removeEventListener<K extends keyof HTMLScDropdownElementEventMap>(type: K, listener: (this: HTMLScDropdownElement, ev: ScDropdownCustomEvent<HTMLScDropdownElementEventMap[K]>) => any, options?: boolean | EventListenerOptions): void;
5431 removeEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
5432 removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
5433 removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
5434 }
5435 var HTMLScDropdownElement: {
5436 prototype: HTMLScDropdownElement;
5437 new (): HTMLScDropdownElement;
5438 };
5439 interface HTMLScEmptyElement extends Components.ScEmpty, HTMLStencilElement {
5440 }
5441 var HTMLScEmptyElement: {
5442 prototype: HTMLScEmptyElement;
5443 new (): HTMLScEmptyElement;
5444 };
5445 interface HTMLScErrorElementEventMap {
5446 "scUpdateError": ResponseError;
5447 }
5448 interface HTMLScErrorElement extends Components.ScError, HTMLStencilElement {
5449 addEventListener<K extends keyof HTMLScErrorElementEventMap>(type: K, listener: (this: HTMLScErrorElement, ev: ScErrorCustomEvent<HTMLScErrorElementEventMap[K]>) => any, options?: boolean | AddEventListenerOptions): void;
5450 addEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
5451 addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
5452 addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
5453 removeEventListener<K extends keyof HTMLScErrorElementEventMap>(type: K, listener: (this: HTMLScErrorElement, ev: ScErrorCustomEvent<HTMLScErrorElementEventMap[K]>) => any, options?: boolean | EventListenerOptions): void;
5454 removeEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
5455 removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
5456 removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
5457 }
5458 var HTMLScErrorElement: {
5459 prototype: HTMLScErrorElement;
5460 new (): HTMLScErrorElement;
5461 };
5462 interface HTMLScExpressPaymentElement extends Components.ScExpressPayment, HTMLStencilElement {
5463 }
5464 var HTMLScExpressPaymentElement: {
5465 prototype: HTMLScExpressPaymentElement;
5466 new (): HTMLScExpressPaymentElement;
5467 };
5468 interface HTMLScFeatureDemoBannerElement extends Components.ScFeatureDemoBanner, HTMLStencilElement {
5469 }
5470 var HTMLScFeatureDemoBannerElement: {
5471 prototype: HTMLScFeatureDemoBannerElement;
5472 new (): HTMLScFeatureDemoBannerElement;
5473 };
5474 interface HTMLScFlexElement extends Components.ScFlex, HTMLStencilElement {
5475 }
5476 var HTMLScFlexElement: {
5477 prototype: HTMLScFlexElement;
5478 new (): HTMLScFlexElement;
5479 };
5480 interface HTMLScFormElementEventMap {
5481 "scSubmit": void;
5482 "scFormSubmit": void;
5483 "scFormChange": Object;
5484 }
5485 interface HTMLScFormElement extends Components.ScForm, HTMLStencilElement {
5486 addEventListener<K extends keyof HTMLScFormElementEventMap>(type: K, listener: (this: HTMLScFormElement, ev: ScFormCustomEvent<HTMLScFormElementEventMap[K]>) => any, options?: boolean | AddEventListenerOptions): void;
5487 addEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
5488 addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
5489 addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
5490 removeEventListener<K extends keyof HTMLScFormElementEventMap>(type: K, listener: (this: HTMLScFormElement, ev: ScFormCustomEvent<HTMLScFormElementEventMap[K]>) => any, options?: boolean | EventListenerOptions): void;
5491 removeEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
5492 removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
5493 removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
5494 }
5495 var HTMLScFormElement: {
5496 prototype: HTMLScFormElement;
5497 new (): HTMLScFormElement;
5498 };
5499 interface HTMLScFormComponentsValidatorElement extends Components.ScFormComponentsValidator, HTMLStencilElement {
5500 }
5501 var HTMLScFormComponentsValidatorElement: {
5502 prototype: HTMLScFormComponentsValidatorElement;
5503 new (): HTMLScFormComponentsValidatorElement;
5504 };
5505 interface HTMLScFormControlElement extends Components.ScFormControl, HTMLStencilElement {
5506 }
5507 var HTMLScFormControlElement: {
5508 prototype: HTMLScFormControlElement;
5509 new (): HTMLScFormControlElement;
5510 };
5511 /**
5512 * This component checks to make sure there is an error component
5513 * and adds one if it's missing.
5514 */
5515 interface HTMLScFormErrorProviderElement extends Components.ScFormErrorProvider, HTMLStencilElement {
5516 }
5517 var HTMLScFormErrorProviderElement: {
5518 prototype: HTMLScFormErrorProviderElement;
5519 new (): HTMLScFormErrorProviderElement;
5520 };
5521 interface HTMLScFormRowElement extends Components.ScFormRow, HTMLStencilElement {
5522 }
5523 var HTMLScFormRowElement: {
5524 prototype: HTMLScFormRowElement;
5525 new (): HTMLScFormRowElement;
5526 };
5527 interface HTMLScFormStateProviderElementEventMap {
5528 "scSetCheckoutFormState": FormState;
5529 }
5530 /**
5531 * This component listens for a confirmed event and redirects to the success url.
5532 */
5533 interface HTMLScFormStateProviderElement extends Components.ScFormStateProvider, HTMLStencilElement {
5534 addEventListener<K extends keyof HTMLScFormStateProviderElementEventMap>(type: K, listener: (this: HTMLScFormStateProviderElement, ev: ScFormStateProviderCustomEvent<HTMLScFormStateProviderElementEventMap[K]>) => any, options?: boolean | AddEventListenerOptions): void;
5535 addEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
5536 addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
5537 addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
5538 removeEventListener<K extends keyof HTMLScFormStateProviderElementEventMap>(type: K, listener: (this: HTMLScFormStateProviderElement, ev: ScFormStateProviderCustomEvent<HTMLScFormStateProviderElementEventMap[K]>) => any, options?: boolean | EventListenerOptions): void;
5539 removeEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
5540 removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
5541 removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
5542 }
5543 var HTMLScFormStateProviderElement: {
5544 prototype: HTMLScFormStateProviderElement;
5545 new (): HTMLScFormStateProviderElement;
5546 };
5547 interface HTMLScFormatBytesElement extends Components.ScFormatBytes, HTMLStencilElement {
5548 }
5549 var HTMLScFormatBytesElement: {
5550 prototype: HTMLScFormatBytesElement;
5551 new (): HTMLScFormatBytesElement;
5552 };
5553 interface HTMLScFormatIntervalElement extends Components.ScFormatInterval, HTMLStencilElement {
5554 }
5555 var HTMLScFormatIntervalElement: {
5556 prototype: HTMLScFormatIntervalElement;
5557 new (): HTMLScFormatIntervalElement;
5558 };
5559 interface HTMLScFormatNumberElement extends Components.ScFormatNumber, HTMLStencilElement {
5560 }
5561 var HTMLScFormatNumberElement: {
5562 prototype: HTMLScFormatNumberElement;
5563 new (): HTMLScFormatNumberElement;
5564 };
5565 interface HTMLScFulfillmentShippingStatusBadgeElement extends Components.ScFulfillmentShippingStatusBadge, HTMLStencilElement {
5566 }
5567 var HTMLScFulfillmentShippingStatusBadgeElement: {
5568 prototype: HTMLScFulfillmentShippingStatusBadgeElement;
5569 new (): HTMLScFulfillmentShippingStatusBadgeElement;
5570 };
5571 interface HTMLScFulfillmentsElement extends Components.ScFulfillments, HTMLStencilElement {
5572 }
5573 var HTMLScFulfillmentsElement: {
5574 prototype: HTMLScFulfillmentsElement;
5575 new (): HTMLScFulfillmentsElement;
5576 };
5577 interface HTMLScHeadingElement extends Components.ScHeading, HTMLStencilElement {
5578 }
5579 var HTMLScHeadingElement: {
5580 prototype: HTMLScHeadingElement;
5581 new (): HTMLScHeadingElement;
5582 };
5583 interface HTMLScIconElementEventMap {
5584 "scLoad": void;
5585 }
5586 interface HTMLScIconElement extends Components.ScIcon, HTMLStencilElement {
5587 addEventListener<K extends keyof HTMLScIconElementEventMap>(type: K, listener: (this: HTMLScIconElement, ev: ScIconCustomEvent<HTMLScIconElementEventMap[K]>) => any, options?: boolean | AddEventListenerOptions): void;
5588 addEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
5589 addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
5590 addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
5591 removeEventListener<K extends keyof HTMLScIconElementEventMap>(type: K, listener: (this: HTMLScIconElement, ev: ScIconCustomEvent<HTMLScIconElementEventMap[K]>) => any, options?: boolean | EventListenerOptions): void;
5592 removeEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
5593 removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
5594 removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
5595 }
5596 var HTMLScIconElement: {
5597 prototype: HTMLScIconElement;
5598 new (): HTMLScIconElement;
5599 };
5600 interface HTMLScImageSliderElement extends Components.ScImageSlider, HTMLStencilElement {
5601 }
5602 var HTMLScImageSliderElement: {
5603 prototype: HTMLScImageSliderElement;
5604 new (): HTMLScImageSliderElement;
5605 };
5606 interface HTMLScInputElementEventMap {
5607 "scChange": void;
5608 "scClear": void;
5609 "scInput": void;
5610 "scFocus": void;
5611 "scBlur": void;
5612 }
5613 interface HTMLScInputElement extends Components.ScInput, HTMLStencilElement {
5614 addEventListener<K extends keyof HTMLScInputElementEventMap>(type: K, listener: (this: HTMLScInputElement, ev: ScInputCustomEvent<HTMLScInputElementEventMap[K]>) => any, options?: boolean | AddEventListenerOptions): void;
5615 addEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
5616 addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
5617 addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
5618 removeEventListener<K extends keyof HTMLScInputElementEventMap>(type: K, listener: (this: HTMLScInputElement, ev: ScInputCustomEvent<HTMLScInputElementEventMap[K]>) => any, options?: boolean | EventListenerOptions): void;
5619 removeEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
5620 removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
5621 removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
5622 }
5623 var HTMLScInputElement: {
5624 prototype: HTMLScInputElement;
5625 new (): HTMLScInputElement;
5626 };
5627 interface HTMLScInvoiceDetailsElement extends Components.ScInvoiceDetails, HTMLStencilElement {
5628 }
5629 var HTMLScInvoiceDetailsElement: {
5630 prototype: HTMLScInvoiceDetailsElement;
5631 new (): HTMLScInvoiceDetailsElement;
5632 };
5633 interface HTMLScInvoiceMemoElement extends Components.ScInvoiceMemo, HTMLStencilElement {
5634 }
5635 var HTMLScInvoiceMemoElement: {
5636 prototype: HTMLScInvoiceMemoElement;
5637 new (): HTMLScInvoiceMemoElement;
5638 };
5639 interface HTMLScInvoiceStatusBadgeElement extends Components.ScInvoiceStatusBadge, HTMLStencilElement {
5640 }
5641 var HTMLScInvoiceStatusBadgeElement: {
5642 prototype: HTMLScInvoiceStatusBadgeElement;
5643 new (): HTMLScInvoiceStatusBadgeElement;
5644 };
5645 interface HTMLScInvoicesListElement extends Components.ScInvoicesList, HTMLStencilElement {
5646 }
5647 var HTMLScInvoicesListElement: {
5648 prototype: HTMLScInvoicesListElement;
5649 new (): HTMLScInvoicesListElement;
5650 };
5651 interface HTMLScLicenseElement extends Components.ScLicense, HTMLStencilElement {
5652 }
5653 var HTMLScLicenseElement: {
5654 prototype: HTMLScLicenseElement;
5655 new (): HTMLScLicenseElement;
5656 };
5657 interface HTMLScLicensesListElement extends Components.ScLicensesList, HTMLStencilElement {
5658 }
5659 var HTMLScLicensesListElement: {
5660 prototype: HTMLScLicensesListElement;
5661 new (): HTMLScLicensesListElement;
5662 };
5663 interface HTMLScLineItemElement extends Components.ScLineItem, HTMLStencilElement {
5664 }
5665 var HTMLScLineItemElement: {
5666 prototype: HTMLScLineItemElement;
5667 new (): HTMLScLineItemElement;
5668 };
5669 interface HTMLScLineItemBumpElement extends Components.ScLineItemBump, HTMLStencilElement {
5670 }
5671 var HTMLScLineItemBumpElement: {
5672 prototype: HTMLScLineItemBumpElement;
5673 new (): HTMLScLineItemBumpElement;
5674 };
5675 interface HTMLScLineItemInvoiceDueDateElement extends Components.ScLineItemInvoiceDueDate, HTMLStencilElement {
5676 }
5677 var HTMLScLineItemInvoiceDueDateElement: {
5678 prototype: HTMLScLineItemInvoiceDueDateElement;
5679 new (): HTMLScLineItemInvoiceDueDateElement;
5680 };
5681 interface HTMLScLineItemInvoiceNumberElement extends Components.ScLineItemInvoiceNumber, HTMLStencilElement {
5682 }
5683 var HTMLScLineItemInvoiceNumberElement: {
5684 prototype: HTMLScLineItemInvoiceNumberElement;
5685 new (): HTMLScLineItemInvoiceNumberElement;
5686 };
5687 interface HTMLScLineItemInvoiceReceiptDownloadElement extends Components.ScLineItemInvoiceReceiptDownload, HTMLStencilElement {
5688 }
5689 var HTMLScLineItemInvoiceReceiptDownloadElement: {
5690 prototype: HTMLScLineItemInvoiceReceiptDownloadElement;
5691 new (): HTMLScLineItemInvoiceReceiptDownloadElement;
5692 };
5693 interface HTMLScLineItemShippingElement extends Components.ScLineItemShipping, HTMLStencilElement {
5694 }
5695 var HTMLScLineItemShippingElement: {
5696 prototype: HTMLScLineItemShippingElement;
5697 new (): HTMLScLineItemShippingElement;
5698 };
5699 interface HTMLScLineItemTaxElement extends Components.ScLineItemTax, HTMLStencilElement {
5700 }
5701 var HTMLScLineItemTaxElement: {
5702 prototype: HTMLScLineItemTaxElement;
5703 new (): HTMLScLineItemTaxElement;
5704 };
5705 interface HTMLScLineItemTotalElement extends Components.ScLineItemTotal, HTMLStencilElement {
5706 }
5707 var HTMLScLineItemTotalElement: {
5708 prototype: HTMLScLineItemTotalElement;
5709 new (): HTMLScLineItemTotalElement;
5710 };
5711 interface HTMLScLineItemTrialElement extends Components.ScLineItemTrial, HTMLStencilElement {
5712 }
5713 var HTMLScLineItemTrialElement: {
5714 prototype: HTMLScLineItemTrialElement;
5715 new (): HTMLScLineItemTrialElement;
5716 };
5717 interface HTMLScLineItemsElement extends Components.ScLineItems, HTMLStencilElement {
5718 }
5719 var HTMLScLineItemsElement: {
5720 prototype: HTMLScLineItemsElement;
5721 new (): HTMLScLineItemsElement;
5722 };
5723 interface HTMLScLineItemsProviderElementEventMap {
5724 "scUpdateLineItems": Array<LineItemData1>;
5725 }
5726 interface HTMLScLineItemsProviderElement extends Components.ScLineItemsProvider, HTMLStencilElement {
5727 addEventListener<K extends keyof HTMLScLineItemsProviderElementEventMap>(type: K, listener: (this: HTMLScLineItemsProviderElement, ev: ScLineItemsProviderCustomEvent<HTMLScLineItemsProviderElementEventMap[K]>) => any, options?: boolean | AddEventListenerOptions): void;
5728 addEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
5729 addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
5730 addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
5731 removeEventListener<K extends keyof HTMLScLineItemsProviderElementEventMap>(type: K, listener: (this: HTMLScLineItemsProviderElement, ev: ScLineItemsProviderCustomEvent<HTMLScLineItemsProviderElementEventMap[K]>) => any, options?: boolean | EventListenerOptions): void;
5732 removeEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
5733 removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
5734 removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
5735 }
5736 var HTMLScLineItemsProviderElement: {
5737 prototype: HTMLScLineItemsProviderElement;
5738 new (): HTMLScLineItemsProviderElement;
5739 };
5740 interface HTMLScLoginFormElement extends Components.ScLoginForm, HTMLStencilElement {
5741 }
5742 var HTMLScLoginFormElement: {
5743 prototype: HTMLScLoginFormElement;
5744 new (): HTMLScLoginFormElement;
5745 };
5746 interface HTMLScLoginProviderElementEventMap {
5747 "scSetLoggedIn": boolean;
5748 "scSetCustomer": { email: string; name?: string };
5749 }
5750 interface HTMLScLoginProviderElement extends Components.ScLoginProvider, HTMLStencilElement {
5751 addEventListener<K extends keyof HTMLScLoginProviderElementEventMap>(type: K, listener: (this: HTMLScLoginProviderElement, ev: ScLoginProviderCustomEvent<HTMLScLoginProviderElementEventMap[K]>) => any, options?: boolean | AddEventListenerOptions): void;
5752 addEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
5753 addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
5754 addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
5755 removeEventListener<K extends keyof HTMLScLoginProviderElementEventMap>(type: K, listener: (this: HTMLScLoginProviderElement, ev: ScLoginProviderCustomEvent<HTMLScLoginProviderElementEventMap[K]>) => any, options?: boolean | EventListenerOptions): void;
5756 removeEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
5757 removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
5758 removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
5759 }
5760 var HTMLScLoginProviderElement: {
5761 prototype: HTMLScLoginProviderElement;
5762 new (): HTMLScLoginProviderElement;
5763 };
5764 interface HTMLScManualPaymentMethodElement extends Components.ScManualPaymentMethod, HTMLStencilElement {
5765 }
5766 var HTMLScManualPaymentMethodElement: {
5767 prototype: HTMLScManualPaymentMethodElement;
5768 new (): HTMLScManualPaymentMethodElement;
5769 };
5770 interface HTMLScMenuElementEventMap {
5771 "scSelect": { item: HTMLScMenuItemElement };
5772 }
5773 interface HTMLScMenuElement extends Components.ScMenu, HTMLStencilElement {
5774 addEventListener<K extends keyof HTMLScMenuElementEventMap>(type: K, listener: (this: HTMLScMenuElement, ev: ScMenuCustomEvent<HTMLScMenuElementEventMap[K]>) => any, options?: boolean | AddEventListenerOptions): void;
5775 addEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
5776 addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
5777 addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
5778 removeEventListener<K extends keyof HTMLScMenuElementEventMap>(type: K, listener: (this: HTMLScMenuElement, ev: ScMenuCustomEvent<HTMLScMenuElementEventMap[K]>) => any, options?: boolean | EventListenerOptions): void;
5779 removeEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
5780 removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
5781 removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
5782 }
5783 var HTMLScMenuElement: {
5784 prototype: HTMLScMenuElement;
5785 new (): HTMLScMenuElement;
5786 };
5787 interface HTMLScMenuDividerElement extends Components.ScMenuDivider, HTMLStencilElement {
5788 }
5789 var HTMLScMenuDividerElement: {
5790 prototype: HTMLScMenuDividerElement;
5791 new (): HTMLScMenuDividerElement;
5792 };
5793 interface HTMLScMenuItemElement extends Components.ScMenuItem, HTMLStencilElement {
5794 }
5795 var HTMLScMenuItemElement: {
5796 prototype: HTMLScMenuItemElement;
5797 new (): HTMLScMenuItemElement;
5798 };
5799 interface HTMLScMenuLabelElement extends Components.ScMenuLabel, HTMLStencilElement {
5800 }
5801 var HTMLScMenuLabelElement: {
5802 prototype: HTMLScMenuLabelElement;
5803 new (): HTMLScMenuLabelElement;
5804 };
5805 interface HTMLScMollieAddMethodElement extends Components.ScMollieAddMethod, HTMLStencilElement {
5806 }
5807 var HTMLScMollieAddMethodElement: {
5808 prototype: HTMLScMollieAddMethodElement;
5809 new (): HTMLScMollieAddMethodElement;
5810 };
5811 interface HTMLScOrderElement extends Components.ScOrder, HTMLStencilElement {
5812 }
5813 var HTMLScOrderElement: {
5814 prototype: HTMLScOrderElement;
5815 new (): HTMLScOrderElement;
5816 };
5817 interface HTMLScOrderBillingAddressElement extends Components.ScOrderBillingAddress, HTMLStencilElement {
5818 }
5819 var HTMLScOrderBillingAddressElement: {
5820 prototype: HTMLScOrderBillingAddressElement;
5821 new (): HTMLScOrderBillingAddressElement;
5822 };
5823 interface HTMLScOrderBumpElement extends Components.ScOrderBump, HTMLStencilElement {
5824 }
5825 var HTMLScOrderBumpElement: {
5826 prototype: HTMLScOrderBumpElement;
5827 new (): HTMLScOrderBumpElement;
5828 };
5829 interface HTMLScOrderBumpsElement extends Components.ScOrderBumps, HTMLStencilElement {
5830 }
5831 var HTMLScOrderBumpsElement: {
5832 prototype: HTMLScOrderBumpsElement;
5833 new (): HTMLScOrderBumpsElement;
5834 };
5835 interface HTMLScOrderConfirmComponentsValidatorElement extends Components.ScOrderConfirmComponentsValidator, HTMLStencilElement {
5836 }
5837 var HTMLScOrderConfirmComponentsValidatorElement: {
5838 prototype: HTMLScOrderConfirmComponentsValidatorElement;
5839 new (): HTMLScOrderConfirmComponentsValidatorElement;
5840 };
5841 interface HTMLScOrderConfirmProviderElementEventMap {
5842 "scOrderPaid": Checkout;
5843 "scSetState": string;
5844 }
5845 /**
5846 * This component listens to the order status
5847 * and confirms the order when payment is successful.
5848 */
5849 interface HTMLScOrderConfirmProviderElement extends Components.ScOrderConfirmProvider, HTMLStencilElement {
5850 addEventListener<K extends keyof HTMLScOrderConfirmProviderElementEventMap>(type: K, listener: (this: HTMLScOrderConfirmProviderElement, ev: ScOrderConfirmProviderCustomEvent<HTMLScOrderConfirmProviderElementEventMap[K]>) => any, options?: boolean | AddEventListenerOptions): void;
5851 addEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
5852 addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
5853 addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
5854 removeEventListener<K extends keyof HTMLScOrderConfirmProviderElementEventMap>(type: K, listener: (this: HTMLScOrderConfirmProviderElement, ev: ScOrderConfirmProviderCustomEvent<HTMLScOrderConfirmProviderElementEventMap[K]>) => any, options?: boolean | EventListenerOptions): void;
5855 removeEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
5856 removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
5857 removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
5858 }
5859 var HTMLScOrderConfirmProviderElement: {
5860 prototype: HTMLScOrderConfirmProviderElement;
5861 new (): HTMLScOrderConfirmProviderElement;
5862 };
5863 interface HTMLScOrderConfirmationElement extends Components.ScOrderConfirmation, HTMLStencilElement {
5864 }
5865 var HTMLScOrderConfirmationElement: {
5866 prototype: HTMLScOrderConfirmationElement;
5867 new (): HTMLScOrderConfirmationElement;
5868 };
5869 interface HTMLScOrderConfirmationCustomerElement extends Components.ScOrderConfirmationCustomer, HTMLStencilElement {
5870 }
5871 var HTMLScOrderConfirmationCustomerElement: {
5872 prototype: HTMLScOrderConfirmationCustomerElement;
5873 new (): HTMLScOrderConfirmationCustomerElement;
5874 };
5875 interface HTMLScOrderConfirmationDetailsElement extends Components.ScOrderConfirmationDetails, HTMLStencilElement {
5876 }
5877 var HTMLScOrderConfirmationDetailsElement: {
5878 prototype: HTMLScOrderConfirmationDetailsElement;
5879 new (): HTMLScOrderConfirmationDetailsElement;
5880 };
5881 interface HTMLScOrderConfirmationLineItemsElement extends Components.ScOrderConfirmationLineItems, HTMLStencilElement {
5882 }
5883 var HTMLScOrderConfirmationLineItemsElement: {
5884 prototype: HTMLScOrderConfirmationLineItemsElement;
5885 new (): HTMLScOrderConfirmationLineItemsElement;
5886 };
5887 interface HTMLScOrderConfirmationTotalsElement extends Components.ScOrderConfirmationTotals, HTMLStencilElement {
5888 }
5889 var HTMLScOrderConfirmationTotalsElement: {
5890 prototype: HTMLScOrderConfirmationTotalsElement;
5891 new (): HTMLScOrderConfirmationTotalsElement;
5892 };
5893 interface HTMLScOrderCouponFormElement extends Components.ScOrderCouponForm, HTMLStencilElement {
5894 }
5895 var HTMLScOrderCouponFormElement: {
5896 prototype: HTMLScOrderCouponFormElement;
5897 new (): HTMLScOrderCouponFormElement;
5898 };
5899 interface HTMLScOrderDetailElement extends Components.ScOrderDetail, HTMLStencilElement {
5900 }
5901 var HTMLScOrderDetailElement: {
5902 prototype: HTMLScOrderDetailElement;
5903 new (): HTMLScOrderDetailElement;
5904 };
5905 interface HTMLScOrderFulfillmentBadgeElement extends Components.ScOrderFulfillmentBadge, HTMLStencilElement {
5906 }
5907 var HTMLScOrderFulfillmentBadgeElement: {
5908 prototype: HTMLScOrderFulfillmentBadgeElement;
5909 new (): HTMLScOrderFulfillmentBadgeElement;
5910 };
5911 interface HTMLScOrderManualInstructionsElement extends Components.ScOrderManualInstructions, HTMLStencilElement {
5912 }
5913 var HTMLScOrderManualInstructionsElement: {
5914 prototype: HTMLScOrderManualInstructionsElement;
5915 new (): HTMLScOrderManualInstructionsElement;
5916 };
5917 interface HTMLScOrderPasswordElement extends Components.ScOrderPassword, HTMLStencilElement {
5918 }
5919 var HTMLScOrderPasswordElement: {
5920 prototype: HTMLScOrderPasswordElement;
5921 new (): HTMLScOrderPasswordElement;
5922 };
5923 interface HTMLScOrderReturnBadgeElement extends Components.ScOrderReturnBadge, HTMLStencilElement {
5924 }
5925 var HTMLScOrderReturnBadgeElement: {
5926 prototype: HTMLScOrderReturnBadgeElement;
5927 new (): HTMLScOrderReturnBadgeElement;
5928 };
5929 interface HTMLScOrderShipmentBadgeElement extends Components.ScOrderShipmentBadge, HTMLStencilElement {
5930 }
5931 var HTMLScOrderShipmentBadgeElement: {
5932 prototype: HTMLScOrderShipmentBadgeElement;
5933 new (): HTMLScOrderShipmentBadgeElement;
5934 };
5935 interface HTMLScOrderShippingAddressElement extends Components.ScOrderShippingAddress, HTMLStencilElement {
5936 }
5937 var HTMLScOrderShippingAddressElement: {
5938 prototype: HTMLScOrderShippingAddressElement;
5939 new (): HTMLScOrderShippingAddressElement;
5940 };
5941 interface HTMLScOrderStatusBadgeElement extends Components.ScOrderStatusBadge, HTMLStencilElement {
5942 }
5943 var HTMLScOrderStatusBadgeElement: {
5944 prototype: HTMLScOrderStatusBadgeElement;
5945 new (): HTMLScOrderStatusBadgeElement;
5946 };
5947 interface HTMLScOrderSubmitElement extends Components.ScOrderSubmit, HTMLStencilElement {
5948 }
5949 var HTMLScOrderSubmitElement: {
5950 prototype: HTMLScOrderSubmitElement;
5951 new (): HTMLScOrderSubmitElement;
5952 };
5953 interface HTMLScOrderSummaryElementEventMap {
5954 "scShow": void;
5955 "scHide": void;
5956 }
5957 interface HTMLScOrderSummaryElement extends Components.ScOrderSummary, HTMLStencilElement {
5958 addEventListener<K extends keyof HTMLScOrderSummaryElementEventMap>(type: K, listener: (this: HTMLScOrderSummaryElement, ev: ScOrderSummaryCustomEvent<HTMLScOrderSummaryElementEventMap[K]>) => any, options?: boolean | AddEventListenerOptions): void;
5959 addEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
5960 addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
5961 addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
5962 removeEventListener<K extends keyof HTMLScOrderSummaryElementEventMap>(type: K, listener: (this: HTMLScOrderSummaryElement, ev: ScOrderSummaryCustomEvent<HTMLScOrderSummaryElementEventMap[K]>) => any, options?: boolean | EventListenerOptions): void;
5963 removeEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
5964 removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
5965 removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
5966 }
5967 var HTMLScOrderSummaryElement: {
5968 prototype: HTMLScOrderSummaryElement;
5969 new (): HTMLScOrderSummaryElement;
5970 };
5971 interface HTMLScOrderTaxIdInputElement extends Components.ScOrderTaxIdInput, HTMLStencilElement {
5972 }
5973 var HTMLScOrderTaxIdInputElement: {
5974 prototype: HTMLScOrderTaxIdInputElement;
5975 new (): HTMLScOrderTaxIdInputElement;
5976 };
5977 interface HTMLScOrdersListElement extends Components.ScOrdersList, HTMLStencilElement {
5978 }
5979 var HTMLScOrdersListElement: {
5980 prototype: HTMLScOrdersListElement;
5981 new (): HTMLScOrdersListElement;
5982 };
5983 interface HTMLScPaginationElementEventMap {
5984 "scPrevPage": void;
5985 "scNextPage": void;
5986 }
5987 interface HTMLScPaginationElement extends Components.ScPagination, HTMLStencilElement {
5988 addEventListener<K extends keyof HTMLScPaginationElementEventMap>(type: K, listener: (this: HTMLScPaginationElement, ev: ScPaginationCustomEvent<HTMLScPaginationElementEventMap[K]>) => any, options?: boolean | AddEventListenerOptions): void;
5989 addEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
5990 addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
5991 addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
5992 removeEventListener<K extends keyof HTMLScPaginationElementEventMap>(type: K, listener: (this: HTMLScPaginationElement, ev: ScPaginationCustomEvent<HTMLScPaginationElementEventMap[K]>) => any, options?: boolean | EventListenerOptions): void;
5993 removeEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
5994 removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
5995 removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
5996 }
5997 var HTMLScPaginationElement: {
5998 prototype: HTMLScPaginationElement;
5999 new (): HTMLScPaginationElement;
6000 };
6001 interface HTMLScPasswordElement extends Components.ScPassword, HTMLStencilElement {
6002 }
6003 var HTMLScPasswordElement: {
6004 prototype: HTMLScPasswordElement;
6005 new (): HTMLScPasswordElement;
6006 };
6007 interface HTMLScPasswordNagElement extends Components.ScPasswordNag, HTMLStencilElement {
6008 }
6009 var HTMLScPasswordNagElement: {
6010 prototype: HTMLScPasswordNagElement;
6011 new (): HTMLScPasswordNagElement;
6012 };
6013 interface HTMLScPaymentElement extends Components.ScPayment, HTMLStencilElement {
6014 }
6015 var HTMLScPaymentElement: {
6016 prototype: HTMLScPaymentElement;
6017 new (): HTMLScPaymentElement;
6018 };
6019 interface HTMLScPaymentMethodElement extends Components.ScPaymentMethod, HTMLStencilElement {
6020 }
6021 var HTMLScPaymentMethodElement: {
6022 prototype: HTMLScPaymentMethodElement;
6023 new (): HTMLScPaymentMethodElement;
6024 };
6025 interface HTMLScPaymentMethodChoiceElement extends Components.ScPaymentMethodChoice, HTMLStencilElement {
6026 }
6027 var HTMLScPaymentMethodChoiceElement: {
6028 prototype: HTMLScPaymentMethodChoiceElement;
6029 new (): HTMLScPaymentMethodChoiceElement;
6030 };
6031 interface HTMLScPaymentMethodDetailsElement extends Components.ScPaymentMethodDetails, HTMLStencilElement {
6032 }
6033 var HTMLScPaymentMethodDetailsElement: {
6034 prototype: HTMLScPaymentMethodDetailsElement;
6035 new (): HTMLScPaymentMethodDetailsElement;
6036 };
6037 interface HTMLScPaymentMethodsListElement extends Components.ScPaymentMethodsList, HTMLStencilElement {
6038 }
6039 var HTMLScPaymentMethodsListElement: {
6040 prototype: HTMLScPaymentMethodsListElement;
6041 new (): HTMLScPaymentMethodsListElement;
6042 };
6043 interface HTMLScPaymentSelectedElement extends Components.ScPaymentSelected, HTMLStencilElement {
6044 }
6045 var HTMLScPaymentSelectedElement: {
6046 prototype: HTMLScPaymentSelectedElement;
6047 new (): HTMLScPaymentSelectedElement;
6048 };
6049 interface HTMLScPaypalAddMethodElement extends Components.ScPaypalAddMethod, HTMLStencilElement {
6050 }
6051 var HTMLScPaypalAddMethodElement: {
6052 prototype: HTMLScPaypalAddMethodElement;
6053 new (): HTMLScPaypalAddMethodElement;
6054 };
6055 interface HTMLScPaypalButtonsElementEventMap {
6056 "scSetState": string;
6057 "scPaid": void;
6058 }
6059 interface HTMLScPaypalButtonsElement extends Components.ScPaypalButtons, HTMLStencilElement {
6060 addEventListener<K extends keyof HTMLScPaypalButtonsElementEventMap>(type: K, listener: (this: HTMLScPaypalButtonsElement, ev: ScPaypalButtonsCustomEvent<HTMLScPaypalButtonsElementEventMap[K]>) => any, options?: boolean | AddEventListenerOptions): void;
6061 addEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
6062 addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
6063 addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
6064 removeEventListener<K extends keyof HTMLScPaypalButtonsElementEventMap>(type: K, listener: (this: HTMLScPaypalButtonsElement, ev: ScPaypalButtonsCustomEvent<HTMLScPaypalButtonsElementEventMap[K]>) => any, options?: boolean | EventListenerOptions): void;
6065 removeEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
6066 removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
6067 removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
6068 }
6069 var HTMLScPaypalButtonsElement: {
6070 prototype: HTMLScPaypalButtonsElement;
6071 new (): HTMLScPaypalButtonsElement;
6072 };
6073 interface HTMLScPaystackAddMethodElement extends Components.ScPaystackAddMethod, HTMLStencilElement {
6074 }
6075 var HTMLScPaystackAddMethodElement: {
6076 prototype: HTMLScPaystackAddMethodElement;
6077 new (): HTMLScPaystackAddMethodElement;
6078 };
6079 interface HTMLScPhoneInputElementEventMap {
6080 "scChange": void;
6081 "scClear": void;
6082 "scInput": void;
6083 "scFocus": void;
6084 "scBlur": void;
6085 }
6086 interface HTMLScPhoneInputElement extends Components.ScPhoneInput, HTMLStencilElement {
6087 addEventListener<K extends keyof HTMLScPhoneInputElementEventMap>(type: K, listener: (this: HTMLScPhoneInputElement, ev: ScPhoneInputCustomEvent<HTMLScPhoneInputElementEventMap[K]>) => any, options?: boolean | AddEventListenerOptions): void;
6088 addEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
6089 addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
6090 addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
6091 removeEventListener<K extends keyof HTMLScPhoneInputElementEventMap>(type: K, listener: (this: HTMLScPhoneInputElement, ev: ScPhoneInputCustomEvent<HTMLScPhoneInputElementEventMap[K]>) => any, options?: boolean | EventListenerOptions): void;
6092 removeEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
6093 removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
6094 removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
6095 }
6096 var HTMLScPhoneInputElement: {
6097 prototype: HTMLScPhoneInputElement;
6098 new (): HTMLScPhoneInputElement;
6099 };
6100 interface HTMLScPillOptionElement extends Components.ScPillOption, HTMLStencilElement {
6101 }
6102 var HTMLScPillOptionElement: {
6103 prototype: HTMLScPillOptionElement;
6104 new (): HTMLScPillOptionElement;
6105 };
6106 interface HTMLScPopoverElementEventMap {
6107 "scShow": void;
6108 "scHide": void;
6109 }
6110 interface HTMLScPopoverElement extends Components.ScPopover, HTMLStencilElement {
6111 addEventListener<K extends keyof HTMLScPopoverElementEventMap>(type: K, listener: (this: HTMLScPopoverElement, ev: ScPopoverCustomEvent<HTMLScPopoverElementEventMap[K]>) => any, options?: boolean | AddEventListenerOptions): void;
6112 addEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
6113 addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
6114 addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
6115 removeEventListener<K extends keyof HTMLScPopoverElementEventMap>(type: K, listener: (this: HTMLScPopoverElement, ev: ScPopoverCustomEvent<HTMLScPopoverElementEventMap[K]>) => any, options?: boolean | EventListenerOptions): void;
6116 removeEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
6117 removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
6118 removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
6119 }
6120 var HTMLScPopoverElement: {
6121 prototype: HTMLScPopoverElement;
6122 new (): HTMLScPopoverElement;
6123 };
6124 interface HTMLScPremiumTagElement extends Components.ScPremiumTag, HTMLStencilElement {
6125 }
6126 var HTMLScPremiumTagElement: {
6127 prototype: HTMLScPremiumTagElement;
6128 new (): HTMLScPremiumTagElement;
6129 };
6130 /**
6131 * Internal dependencies.
6132 */
6133 interface HTMLScPriceElement extends Components.ScPrice, HTMLStencilElement {
6134 }
6135 var HTMLScPriceElement: {
6136 prototype: HTMLScPriceElement;
6137 new (): HTMLScPriceElement;
6138 };
6139 interface HTMLScPriceChoiceElementEventMap {
6140 "scUpdateLineItem": LineItemData1;
6141 "scRemoveLineItem": LineItemData1;
6142 "scAddEntities": any;
6143 }
6144 interface HTMLScPriceChoiceElement extends Components.ScPriceChoice, HTMLStencilElement {
6145 addEventListener<K extends keyof HTMLScPriceChoiceElementEventMap>(type: K, listener: (this: HTMLScPriceChoiceElement, ev: ScPriceChoiceCustomEvent<HTMLScPriceChoiceElementEventMap[K]>) => any, options?: boolean | AddEventListenerOptions): void;
6146 addEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
6147 addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
6148 addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
6149 removeEventListener<K extends keyof HTMLScPriceChoiceElementEventMap>(type: K, listener: (this: HTMLScPriceChoiceElement, ev: ScPriceChoiceCustomEvent<HTMLScPriceChoiceElementEventMap[K]>) => any, options?: boolean | EventListenerOptions): void;
6150 removeEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
6151 removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
6152 removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
6153 }
6154 var HTMLScPriceChoiceElement: {
6155 prototype: HTMLScPriceChoiceElement;
6156 new (): HTMLScPriceChoiceElement;
6157 };
6158 interface HTMLScPriceChoiceContainerElementEventMap {
6159 "scChange": void;
6160 }
6161 interface HTMLScPriceChoiceContainerElement extends Components.ScPriceChoiceContainer, HTMLStencilElement {
6162 addEventListener<K extends keyof HTMLScPriceChoiceContainerElementEventMap>(type: K, listener: (this: HTMLScPriceChoiceContainerElement, ev: ScPriceChoiceContainerCustomEvent<HTMLScPriceChoiceContainerElementEventMap[K]>) => any, options?: boolean | AddEventListenerOptions): void;
6163 addEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
6164 addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
6165 addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
6166 removeEventListener<K extends keyof HTMLScPriceChoiceContainerElementEventMap>(type: K, listener: (this: HTMLScPriceChoiceContainerElement, ev: ScPriceChoiceContainerCustomEvent<HTMLScPriceChoiceContainerElementEventMap[K]>) => any, options?: boolean | EventListenerOptions): void;
6167 removeEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
6168 removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
6169 removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
6170 }
6171 var HTMLScPriceChoiceContainerElement: {
6172 prototype: HTMLScPriceChoiceContainerElement;
6173 new (): HTMLScPriceChoiceContainerElement;
6174 };
6175 interface HTMLScPriceChoicesElementEventMap {
6176 "scRemoveLineItem": LineItemData1;
6177 "scUpdateLineItem": LineItemData1;
6178 }
6179 interface HTMLScPriceChoicesElement extends Components.ScPriceChoices, HTMLStencilElement {
6180 addEventListener<K extends keyof HTMLScPriceChoicesElementEventMap>(type: K, listener: (this: HTMLScPriceChoicesElement, ev: ScPriceChoicesCustomEvent<HTMLScPriceChoicesElementEventMap[K]>) => any, options?: boolean | AddEventListenerOptions): void;
6181 addEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
6182 addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
6183 addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
6184 removeEventListener<K extends keyof HTMLScPriceChoicesElementEventMap>(type: K, listener: (this: HTMLScPriceChoicesElement, ev: ScPriceChoicesCustomEvent<HTMLScPriceChoicesElementEventMap[K]>) => any, options?: boolean | EventListenerOptions): void;
6185 removeEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
6186 removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
6187 removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
6188 }
6189 var HTMLScPriceChoicesElement: {
6190 prototype: HTMLScPriceChoicesElement;
6191 new (): HTMLScPriceChoicesElement;
6192 };
6193 interface HTMLScPriceInputElementEventMap {
6194 "scChange": void;
6195 "scInput": void;
6196 "scFocus": void;
6197 "scBlur": void;
6198 }
6199 interface HTMLScPriceInputElement extends Components.ScPriceInput, HTMLStencilElement {
6200 addEventListener<K extends keyof HTMLScPriceInputElementEventMap>(type: K, listener: (this: HTMLScPriceInputElement, ev: ScPriceInputCustomEvent<HTMLScPriceInputElementEventMap[K]>) => any, options?: boolean | AddEventListenerOptions): void;
6201 addEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
6202 addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
6203 addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
6204 removeEventListener<K extends keyof HTMLScPriceInputElementEventMap>(type: K, listener: (this: HTMLScPriceInputElement, ev: ScPriceInputCustomEvent<HTMLScPriceInputElementEventMap[K]>) => any, options?: boolean | EventListenerOptions): void;
6205 removeEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
6206 removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
6207 removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
6208 }
6209 var HTMLScPriceInputElement: {
6210 prototype: HTMLScPriceInputElement;
6211 new (): HTMLScPriceInputElement;
6212 };
6213 interface HTMLScPriceRangeElement extends Components.ScPriceRange, HTMLStencilElement {
6214 }
6215 var HTMLScPriceRangeElement: {
6216 prototype: HTMLScPriceRangeElement;
6217 new (): HTMLScPriceRangeElement;
6218 };
6219 interface HTMLScProductBuyButtonElement extends Components.ScProductBuyButton, HTMLStencilElement {
6220 }
6221 var HTMLScProductBuyButtonElement: {
6222 prototype: HTMLScProductBuyButtonElement;
6223 new (): HTMLScProductBuyButtonElement;
6224 };
6225 interface HTMLScProductDonationAmountChoiceElement extends Components.ScProductDonationAmountChoice, HTMLStencilElement {
6226 }
6227 var HTMLScProductDonationAmountChoiceElement: {
6228 prototype: HTMLScProductDonationAmountChoiceElement;
6229 new (): HTMLScProductDonationAmountChoiceElement;
6230 };
6231 interface HTMLScProductDonationChoicesElement extends Components.ScProductDonationChoices, HTMLStencilElement {
6232 }
6233 var HTMLScProductDonationChoicesElement: {
6234 prototype: HTMLScProductDonationChoicesElement;
6235 new (): HTMLScProductDonationChoicesElement;
6236 };
6237 interface HTMLScProductDonationCustomAmountElement extends Components.ScProductDonationCustomAmount, HTMLStencilElement {
6238 }
6239 var HTMLScProductDonationCustomAmountElement: {
6240 prototype: HTMLScProductDonationCustomAmountElement;
6241 new (): HTMLScProductDonationCustomAmountElement;
6242 };
6243 interface HTMLScProductItemElement extends Components.ScProductItem, HTMLStencilElement {
6244 }
6245 var HTMLScProductItemElement: {
6246 prototype: HTMLScProductItemElement;
6247 new (): HTMLScProductItemElement;
6248 };
6249 interface HTMLScProductItemImageElement extends Components.ScProductItemImage, HTMLStencilElement {
6250 }
6251 var HTMLScProductItemImageElement: {
6252 prototype: HTMLScProductItemImageElement;
6253 new (): HTMLScProductItemImageElement;
6254 };
6255 interface HTMLScProductItemListElementEventMap {
6256 "scSearched": ProductsSearchedParams;
6257 "scProductsViewed": ProductsViewedParams;
6258 }
6259 interface HTMLScProductItemListElement extends Components.ScProductItemList, HTMLStencilElement {
6260 addEventListener<K extends keyof HTMLScProductItemListElementEventMap>(type: K, listener: (this: HTMLScProductItemListElement, ev: ScProductItemListCustomEvent<HTMLScProductItemListElementEventMap[K]>) => any, options?: boolean | AddEventListenerOptions): void;
6261 addEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
6262 addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
6263 addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
6264 removeEventListener<K extends keyof HTMLScProductItemListElementEventMap>(type: K, listener: (this: HTMLScProductItemListElement, ev: ScProductItemListCustomEvent<HTMLScProductItemListElementEventMap[K]>) => any, options?: boolean | EventListenerOptions): void;
6265 removeEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
6266 removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
6267 removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
6268 }
6269 var HTMLScProductItemListElement: {
6270 prototype: HTMLScProductItemListElement;
6271 new (): HTMLScProductItemListElement;
6272 };
6273 interface HTMLScProductItemPriceElement extends Components.ScProductItemPrice, HTMLStencilElement {
6274 }
6275 var HTMLScProductItemPriceElement: {
6276 prototype: HTMLScProductItemPriceElement;
6277 new (): HTMLScProductItemPriceElement;
6278 };
6279 interface HTMLScProductItemTitleElement extends Components.ScProductItemTitle, HTMLStencilElement {
6280 }
6281 var HTMLScProductItemTitleElement: {
6282 prototype: HTMLScProductItemTitleElement;
6283 new (): HTMLScProductItemTitleElement;
6284 };
6285 interface HTMLScProductLineItemElementEventMap {
6286 "scUpdateQuantity": number;
6287 "scRemove": void;
6288 }
6289 interface HTMLScProductLineItemElement extends Components.ScProductLineItem, HTMLStencilElement {
6290 addEventListener<K extends keyof HTMLScProductLineItemElementEventMap>(type: K, listener: (this: HTMLScProductLineItemElement, ev: ScProductLineItemCustomEvent<HTMLScProductLineItemElementEventMap[K]>) => any, options?: boolean | AddEventListenerOptions): void;
6291 addEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
6292 addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
6293 addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
6294 removeEventListener<K extends keyof HTMLScProductLineItemElementEventMap>(type: K, listener: (this: HTMLScProductLineItemElement, ev: ScProductLineItemCustomEvent<HTMLScProductLineItemElementEventMap[K]>) => any, options?: boolean | EventListenerOptions): void;
6295 removeEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
6296 removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
6297 removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
6298 }
6299 var HTMLScProductLineItemElement: {
6300 prototype: HTMLScProductLineItemElement;
6301 new (): HTMLScProductLineItemElement;
6302 };
6303 interface HTMLScProductLineItemNoteElement extends Components.ScProductLineItemNote, HTMLStencilElement {
6304 }
6305 var HTMLScProductLineItemNoteElement: {
6306 prototype: HTMLScProductLineItemNoteElement;
6307 new (): HTMLScProductLineItemNoteElement;
6308 };
6309 interface HTMLScProductPillsVariantOptionElement extends Components.ScProductPillsVariantOption, HTMLStencilElement {
6310 }
6311 var HTMLScProductPillsVariantOptionElement: {
6312 prototype: HTMLScProductPillsVariantOptionElement;
6313 new (): HTMLScProductPillsVariantOptionElement;
6314 };
6315 interface HTMLScProductPriceElement extends Components.ScProductPrice, HTMLStencilElement {
6316 }
6317 var HTMLScProductPriceElement: {
6318 prototype: HTMLScProductPriceElement;
6319 new (): HTMLScProductPriceElement;
6320 };
6321 interface HTMLScProductPriceChoicesElement extends Components.ScProductPriceChoices, HTMLStencilElement {
6322 }
6323 var HTMLScProductPriceChoicesElement: {
6324 prototype: HTMLScProductPriceChoicesElement;
6325 new (): HTMLScProductPriceChoicesElement;
6326 };
6327 interface HTMLScProductPriceModalElement extends Components.ScProductPriceModal, HTMLStencilElement {
6328 }
6329 var HTMLScProductPriceModalElement: {
6330 prototype: HTMLScProductPriceModalElement;
6331 new (): HTMLScProductPriceModalElement;
6332 };
6333 interface HTMLScProductQuantityElement extends Components.ScProductQuantity, HTMLStencilElement {
6334 }
6335 var HTMLScProductQuantityElement: {
6336 prototype: HTMLScProductQuantityElement;
6337 new (): HTMLScProductQuantityElement;
6338 };
6339 interface HTMLScProductSelectedPriceElementEventMap {
6340 "scUpdateLineItem": LineItemData;
6341 }
6342 interface HTMLScProductSelectedPriceElement extends Components.ScProductSelectedPrice, HTMLStencilElement {
6343 addEventListener<K extends keyof HTMLScProductSelectedPriceElementEventMap>(type: K, listener: (this: HTMLScProductSelectedPriceElement, ev: ScProductSelectedPriceCustomEvent<HTMLScProductSelectedPriceElementEventMap[K]>) => any, options?: boolean | AddEventListenerOptions): void;
6344 addEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
6345 addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
6346 addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
6347 removeEventListener<K extends keyof HTMLScProductSelectedPriceElementEventMap>(type: K, listener: (this: HTMLScProductSelectedPriceElement, ev: ScProductSelectedPriceCustomEvent<HTMLScProductSelectedPriceElementEventMap[K]>) => any, options?: boolean | EventListenerOptions): void;
6348 removeEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
6349 removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
6350 removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
6351 }
6352 var HTMLScProductSelectedPriceElement: {
6353 prototype: HTMLScProductSelectedPriceElement;
6354 new (): HTMLScProductSelectedPriceElement;
6355 };
6356 interface HTMLScProductTextElement extends Components.ScProductText, HTMLStencilElement {
6357 }
6358 var HTMLScProductTextElement: {
6359 prototype: HTMLScProductTextElement;
6360 new (): HTMLScProductTextElement;
6361 };
6362 interface HTMLScProseElement extends Components.ScProse, HTMLStencilElement {
6363 }
6364 var HTMLScProseElement: {
6365 prototype: HTMLScProseElement;
6366 new (): HTMLScProseElement;
6367 };
6368 interface HTMLScProviderElementEventMap {
6369 "mountConsumer": any;
6370 }
6371 interface HTMLScProviderElement extends Components.ScProvider, HTMLStencilElement {
6372 addEventListener<K extends keyof HTMLScProviderElementEventMap>(type: K, listener: (this: HTMLScProviderElement, ev: ScProviderCustomEvent<HTMLScProviderElementEventMap[K]>) => any, options?: boolean | AddEventListenerOptions): void;
6373 addEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
6374 addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
6375 addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
6376 removeEventListener<K extends keyof HTMLScProviderElementEventMap>(type: K, listener: (this: HTMLScProviderElement, ev: ScProviderCustomEvent<HTMLScProviderElementEventMap[K]>) => any, options?: boolean | EventListenerOptions): void;
6377 removeEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
6378 removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
6379 removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
6380 }
6381 var HTMLScProviderElement: {
6382 prototype: HTMLScProviderElement;
6383 new (): HTMLScProviderElement;
6384 };
6385 interface HTMLScProvisionalBannerElement extends Components.ScProvisionalBanner, HTMLStencilElement {
6386 }
6387 var HTMLScProvisionalBannerElement: {
6388 prototype: HTMLScProvisionalBannerElement;
6389 new (): HTMLScProvisionalBannerElement;
6390 };
6391 interface HTMLScPurchaseDownloadsListElement extends Components.ScPurchaseDownloadsList, HTMLStencilElement {
6392 }
6393 var HTMLScPurchaseDownloadsListElement: {
6394 prototype: HTMLScPurchaseDownloadsListElement;
6395 new (): HTMLScPurchaseDownloadsListElement;
6396 };
6397 interface HTMLScQuantitySelectElementEventMap {
6398 "scChange": number;
6399 "scInput": number;
6400 "scFocus": void;
6401 "scBlur": void;
6402 }
6403 interface HTMLScQuantitySelectElement extends Components.ScQuantitySelect, HTMLStencilElement {
6404 addEventListener<K extends keyof HTMLScQuantitySelectElementEventMap>(type: K, listener: (this: HTMLScQuantitySelectElement, ev: ScQuantitySelectCustomEvent<HTMLScQuantitySelectElementEventMap[K]>) => any, options?: boolean | AddEventListenerOptions): void;
6405 addEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
6406 addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
6407 addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
6408 removeEventListener<K extends keyof HTMLScQuantitySelectElementEventMap>(type: K, listener: (this: HTMLScQuantitySelectElement, ev: ScQuantitySelectCustomEvent<HTMLScQuantitySelectElementEventMap[K]>) => any, options?: boolean | EventListenerOptions): void;
6409 removeEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
6410 removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
6411 removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
6412 }
6413 var HTMLScQuantitySelectElement: {
6414 prototype: HTMLScQuantitySelectElement;
6415 new (): HTMLScQuantitySelectElement;
6416 };
6417 interface HTMLScRadioElementEventMap {
6418 "scBlur": void;
6419 "scChange": void;
6420 "scFocus": void;
6421 }
6422 interface HTMLScRadioElement extends Components.ScRadio, HTMLStencilElement {
6423 addEventListener<K extends keyof HTMLScRadioElementEventMap>(type: K, listener: (this: HTMLScRadioElement, ev: ScRadioCustomEvent<HTMLScRadioElementEventMap[K]>) => any, options?: boolean | AddEventListenerOptions): void;
6424 addEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
6425 addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
6426 addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
6427 removeEventListener<K extends keyof HTMLScRadioElementEventMap>(type: K, listener: (this: HTMLScRadioElement, ev: ScRadioCustomEvent<HTMLScRadioElementEventMap[K]>) => any, options?: boolean | EventListenerOptions): void;
6428 removeEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
6429 removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
6430 removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
6431 }
6432 var HTMLScRadioElement: {
6433 prototype: HTMLScRadioElement;
6434 new (): HTMLScRadioElement;
6435 };
6436 interface HTMLScRadioGroupElementEventMap {
6437 "scChange": string;
6438 }
6439 interface HTMLScRadioGroupElement extends Components.ScRadioGroup, HTMLStencilElement {
6440 addEventListener<K extends keyof HTMLScRadioGroupElementEventMap>(type: K, listener: (this: HTMLScRadioGroupElement, ev: ScRadioGroupCustomEvent<HTMLScRadioGroupElementEventMap[K]>) => any, options?: boolean | AddEventListenerOptions): void;
6441 addEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
6442 addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
6443 addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
6444 removeEventListener<K extends keyof HTMLScRadioGroupElementEventMap>(type: K, listener: (this: HTMLScRadioGroupElement, ev: ScRadioGroupCustomEvent<HTMLScRadioGroupElementEventMap[K]>) => any, options?: boolean | EventListenerOptions): void;
6445 removeEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
6446 removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
6447 removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
6448 }
6449 var HTMLScRadioGroupElement: {
6450 prototype: HTMLScRadioGroupElement;
6451 new (): HTMLScRadioGroupElement;
6452 };
6453 interface HTMLScRazorpayAddMethodElement extends Components.ScRazorpayAddMethod, HTMLStencilElement {
6454 }
6455 var HTMLScRazorpayAddMethodElement: {
6456 prototype: HTMLScRazorpayAddMethodElement;
6457 new (): HTMLScRazorpayAddMethodElement;
6458 };
6459 interface HTMLScRecurringPriceChoiceContainerElementEventMap {
6460 "scChange": string;
6461 }
6462 interface HTMLScRecurringPriceChoiceContainerElement extends Components.ScRecurringPriceChoiceContainer, HTMLStencilElement {
6463 addEventListener<K extends keyof HTMLScRecurringPriceChoiceContainerElementEventMap>(type: K, listener: (this: HTMLScRecurringPriceChoiceContainerElement, ev: ScRecurringPriceChoiceContainerCustomEvent<HTMLScRecurringPriceChoiceContainerElementEventMap[K]>) => any, options?: boolean | AddEventListenerOptions): void;
6464 addEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
6465 addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
6466 addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
6467 removeEventListener<K extends keyof HTMLScRecurringPriceChoiceContainerElementEventMap>(type: K, listener: (this: HTMLScRecurringPriceChoiceContainerElement, ev: ScRecurringPriceChoiceContainerCustomEvent<HTMLScRecurringPriceChoiceContainerElementEventMap[K]>) => any, options?: boolean | EventListenerOptions): void;
6468 removeEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
6469 removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
6470 removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
6471 }
6472 var HTMLScRecurringPriceChoiceContainerElement: {
6473 prototype: HTMLScRecurringPriceChoiceContainerElement;
6474 new (): HTMLScRecurringPriceChoiceContainerElement;
6475 };
6476 interface HTMLScReviewStarsElement extends Components.ScReviewStars, HTMLStencilElement {
6477 }
6478 var HTMLScReviewStarsElement: {
6479 prototype: HTMLScReviewStarsElement;
6480 new (): HTMLScReviewStarsElement;
6481 };
6482 interface HTMLScRichTextElementEventMap {
6483 "scChange": void;
6484 "scInput": void;
6485 "scBlur": void;
6486 "scFocus": void;
6487 }
6488 interface HTMLScRichTextElement extends Components.ScRichText, HTMLStencilElement {
6489 addEventListener<K extends keyof HTMLScRichTextElementEventMap>(type: K, listener: (this: HTMLScRichTextElement, ev: ScRichTextCustomEvent<HTMLScRichTextElementEventMap[K]>) => any, options?: boolean | AddEventListenerOptions): void;
6490 addEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
6491 addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
6492 addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
6493 removeEventListener<K extends keyof HTMLScRichTextElementEventMap>(type: K, listener: (this: HTMLScRichTextElement, ev: ScRichTextCustomEvent<HTMLScRichTextElementEventMap[K]>) => any, options?: boolean | EventListenerOptions): void;
6494 removeEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
6495 removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
6496 removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
6497 }
6498 var HTMLScRichTextElement: {
6499 prototype: HTMLScRichTextElement;
6500 new (): HTMLScRichTextElement;
6501 };
6502 interface HTMLScSecureNoticeElement extends Components.ScSecureNotice, HTMLStencilElement {
6503 }
6504 var HTMLScSecureNoticeElement: {
6505 prototype: HTMLScSecureNoticeElement;
6506 new (): HTMLScSecureNoticeElement;
6507 };
6508 interface HTMLScSelectElementEventMap {
6509 "scSearch": string;
6510 "scOpen": string;
6511 "scClose": string;
6512 "scBlur": void;
6513 "scFocus": void;
6514 "scChange": ChoiceItem;
6515 "scScrollEnd": void;
6516 }
6517 interface HTMLScSelectElement extends Components.ScSelect, HTMLStencilElement {
6518 addEventListener<K extends keyof HTMLScSelectElementEventMap>(type: K, listener: (this: HTMLScSelectElement, ev: ScSelectCustomEvent<HTMLScSelectElementEventMap[K]>) => any, options?: boolean | AddEventListenerOptions): void;
6519 addEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
6520 addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
6521 addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
6522 removeEventListener<K extends keyof HTMLScSelectElementEventMap>(type: K, listener: (this: HTMLScSelectElement, ev: ScSelectCustomEvent<HTMLScSelectElementEventMap[K]>) => any, options?: boolean | EventListenerOptions): void;
6523 removeEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
6524 removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
6525 removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
6526 }
6527 var HTMLScSelectElement: {
6528 prototype: HTMLScSelectElement;
6529 new (): HTMLScSelectElement;
6530 };
6531 interface HTMLScSessionProviderElementEventMap {
6532 "scUpdateOrderState": Checkout;
6533 "scUpdateDraftState": Checkout;
6534 "scPaid": void;
6535 "scSetState": FormStateSetter;
6536 }
6537 interface HTMLScSessionProviderElement extends Components.ScSessionProvider, HTMLStencilElement {
6538 addEventListener<K extends keyof HTMLScSessionProviderElementEventMap>(type: K, listener: (this: HTMLScSessionProviderElement, ev: ScSessionProviderCustomEvent<HTMLScSessionProviderElementEventMap[K]>) => any, options?: boolean | AddEventListenerOptions): void;
6539 addEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
6540 addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
6541 addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
6542 removeEventListener<K extends keyof HTMLScSessionProviderElementEventMap>(type: K, listener: (this: HTMLScSessionProviderElement, ev: ScSessionProviderCustomEvent<HTMLScSessionProviderElementEventMap[K]>) => any, options?: boolean | EventListenerOptions): void;
6543 removeEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
6544 removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
6545 removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
6546 }
6547 var HTMLScSessionProviderElement: {
6548 prototype: HTMLScSessionProviderElement;
6549 new (): HTMLScSessionProviderElement;
6550 };
6551 interface HTMLScShippingChoicesElement extends Components.ScShippingChoices, HTMLStencilElement {
6552 }
6553 var HTMLScShippingChoicesElement: {
6554 prototype: HTMLScShippingChoicesElement;
6555 new (): HTMLScShippingChoicesElement;
6556 };
6557 interface HTMLScSkeletonElement extends Components.ScSkeleton, HTMLStencilElement {
6558 }
6559 var HTMLScSkeletonElement: {
6560 prototype: HTMLScSkeletonElement;
6561 new (): HTMLScSkeletonElement;
6562 };
6563 interface HTMLScSpacingElement extends Components.ScSpacing, HTMLStencilElement {
6564 }
6565 var HTMLScSpacingElement: {
6566 prototype: HTMLScSpacingElement;
6567 new (): HTMLScSpacingElement;
6568 };
6569 interface HTMLScSpinnerElement extends Components.ScSpinner, HTMLStencilElement {
6570 }
6571 var HTMLScSpinnerElement: {
6572 prototype: HTMLScSpinnerElement;
6573 new (): HTMLScSpinnerElement;
6574 };
6575 interface HTMLScStackedListElement extends Components.ScStackedList, HTMLStencilElement {
6576 }
6577 var HTMLScStackedListElement: {
6578 prototype: HTMLScStackedListElement;
6579 new (): HTMLScStackedListElement;
6580 };
6581 interface HTMLScStackedListRowElement extends Components.ScStackedListRow, HTMLStencilElement {
6582 }
6583 var HTMLScStackedListRowElement: {
6584 prototype: HTMLScStackedListRowElement;
6585 new (): HTMLScStackedListRowElement;
6586 };
6587 interface HTMLScStripeAddMethodElement extends Components.ScStripeAddMethod, HTMLStencilElement {
6588 }
6589 var HTMLScStripeAddMethodElement: {
6590 prototype: HTMLScStripeAddMethodElement;
6591 new (): HTMLScStripeAddMethodElement;
6592 };
6593 interface HTMLScStripeElementElementEventMap {
6594 "scPaid": void;
6595 "scSetState": FormStateSetter;
6596 "scPaymentInfoAdded": PaymentInfoAddedParams;
6597 }
6598 interface HTMLScStripeElementElement extends Components.ScStripeElement, HTMLStencilElement {
6599 addEventListener<K extends keyof HTMLScStripeElementElementEventMap>(type: K, listener: (this: HTMLScStripeElementElement, ev: ScStripeElementCustomEvent<HTMLScStripeElementElementEventMap[K]>) => any, options?: boolean | AddEventListenerOptions): void;
6600 addEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
6601 addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
6602 addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
6603 removeEventListener<K extends keyof HTMLScStripeElementElementEventMap>(type: K, listener: (this: HTMLScStripeElementElement, ev: ScStripeElementCustomEvent<HTMLScStripeElementElementEventMap[K]>) => any, options?: boolean | EventListenerOptions): void;
6604 removeEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
6605 removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
6606 removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
6607 }
6608 var HTMLScStripeElementElement: {
6609 prototype: HTMLScStripeElementElement;
6610 new (): HTMLScStripeElementElement;
6611 };
6612 interface HTMLScStripePaymentElementElementEventMap {
6613 "scPaid": void;
6614 "scSetState": FormStateSetter;
6615 "scPaymentInfoAdded": PaymentInfoAddedParams;
6616 }
6617 interface HTMLScStripePaymentElementElement extends Components.ScStripePaymentElement, HTMLStencilElement {
6618 addEventListener<K extends keyof HTMLScStripePaymentElementElementEventMap>(type: K, listener: (this: HTMLScStripePaymentElementElement, ev: ScStripePaymentElementCustomEvent<HTMLScStripePaymentElementElementEventMap[K]>) => any, options?: boolean | AddEventListenerOptions): void;
6619 addEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
6620 addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
6621 addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
6622 removeEventListener<K extends keyof HTMLScStripePaymentElementElementEventMap>(type: K, listener: (this: HTMLScStripePaymentElementElement, ev: ScStripePaymentElementCustomEvent<HTMLScStripePaymentElementElementEventMap[K]>) => any, options?: boolean | EventListenerOptions): void;
6623 removeEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
6624 removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
6625 removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
6626 }
6627 var HTMLScStripePaymentElementElement: {
6628 prototype: HTMLScStripePaymentElementElement;
6629 new (): HTMLScStripePaymentElementElement;
6630 };
6631 interface HTMLScStripePaymentRequestElementEventMap {
6632 "scFormSubmit": any;
6633 "scPaid": void;
6634 "scPayError": any;
6635 "scSetState": string;
6636 "scPaymentRequestLoaded": boolean;
6637 "scUpdateOrderState": any;
6638 }
6639 interface HTMLScStripePaymentRequestElement extends Components.ScStripePaymentRequest, HTMLStencilElement {
6640 addEventListener<K extends keyof HTMLScStripePaymentRequestElementEventMap>(type: K, listener: (this: HTMLScStripePaymentRequestElement, ev: ScStripePaymentRequestCustomEvent<HTMLScStripePaymentRequestElementEventMap[K]>) => any, options?: boolean | AddEventListenerOptions): void;
6641 addEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
6642 addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
6643 addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
6644 removeEventListener<K extends keyof HTMLScStripePaymentRequestElementEventMap>(type: K, listener: (this: HTMLScStripePaymentRequestElement, ev: ScStripePaymentRequestCustomEvent<HTMLScStripePaymentRequestElementEventMap[K]>) => any, options?: boolean | EventListenerOptions): void;
6645 removeEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
6646 removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
6647 removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
6648 }
6649 var HTMLScStripePaymentRequestElement: {
6650 prototype: HTMLScStripePaymentRequestElement;
6651 new (): HTMLScStripePaymentRequestElement;
6652 };
6653 interface HTMLScSubscriptionElement extends Components.ScSubscription, HTMLStencilElement {
6654 }
6655 var HTMLScSubscriptionElement: {
6656 prototype: HTMLScSubscriptionElement;
6657 new (): HTMLScSubscriptionElement;
6658 };
6659 interface HTMLScSubscriptionAdHocConfirmElement extends Components.ScSubscriptionAdHocConfirm, HTMLStencilElement {
6660 }
6661 var HTMLScSubscriptionAdHocConfirmElement: {
6662 prototype: HTMLScSubscriptionAdHocConfirmElement;
6663 new (): HTMLScSubscriptionAdHocConfirmElement;
6664 };
6665 interface HTMLScSubscriptionCancelElementEventMap {
6666 "scAbandon": void;
6667 "scCancelled": void;
6668 }
6669 interface HTMLScSubscriptionCancelElement extends Components.ScSubscriptionCancel, HTMLStencilElement {
6670 addEventListener<K extends keyof HTMLScSubscriptionCancelElementEventMap>(type: K, listener: (this: HTMLScSubscriptionCancelElement, ev: ScSubscriptionCancelCustomEvent<HTMLScSubscriptionCancelElementEventMap[K]>) => any, options?: boolean | AddEventListenerOptions): void;
6671 addEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
6672 addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
6673 addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
6674 removeEventListener<K extends keyof HTMLScSubscriptionCancelElementEventMap>(type: K, listener: (this: HTMLScSubscriptionCancelElement, ev: ScSubscriptionCancelCustomEvent<HTMLScSubscriptionCancelElementEventMap[K]>) => any, options?: boolean | EventListenerOptions): void;
6675 removeEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
6676 removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
6677 removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
6678 }
6679 var HTMLScSubscriptionCancelElement: {
6680 prototype: HTMLScSubscriptionCancelElement;
6681 new (): HTMLScSubscriptionCancelElement;
6682 };
6683 interface HTMLScSubscriptionDetailsElement extends Components.ScSubscriptionDetails, HTMLStencilElement {
6684 }
6685 var HTMLScSubscriptionDetailsElement: {
6686 prototype: HTMLScSubscriptionDetailsElement;
6687 new (): HTMLScSubscriptionDetailsElement;
6688 };
6689 interface HTMLScSubscriptionNextPaymentElement extends Components.ScSubscriptionNextPayment, HTMLStencilElement {
6690 }
6691 var HTMLScSubscriptionNextPaymentElement: {
6692 prototype: HTMLScSubscriptionNextPaymentElement;
6693 new (): HTMLScSubscriptionNextPaymentElement;
6694 };
6695 interface HTMLScSubscriptionPaymentElement extends Components.ScSubscriptionPayment, HTMLStencilElement {
6696 }
6697 var HTMLScSubscriptionPaymentElement: {
6698 prototype: HTMLScSubscriptionPaymentElement;
6699 new (): HTMLScSubscriptionPaymentElement;
6700 };
6701 interface HTMLScSubscriptionPaymentMethodElement extends Components.ScSubscriptionPaymentMethod, HTMLStencilElement {
6702 }
6703 var HTMLScSubscriptionPaymentMethodElement: {
6704 prototype: HTMLScSubscriptionPaymentMethodElement;
6705 new (): HTMLScSubscriptionPaymentMethodElement;
6706 };
6707 interface HTMLScSubscriptionReactivateElementEventMap {
6708 "scRequestClose": 'close-button' | 'keyboard' | 'overlay';
6709 "scRefresh": void;
6710 }
6711 interface HTMLScSubscriptionReactivateElement extends Components.ScSubscriptionReactivate, HTMLStencilElement {
6712 addEventListener<K extends keyof HTMLScSubscriptionReactivateElementEventMap>(type: K, listener: (this: HTMLScSubscriptionReactivateElement, ev: ScSubscriptionReactivateCustomEvent<HTMLScSubscriptionReactivateElementEventMap[K]>) => any, options?: boolean | AddEventListenerOptions): void;
6713 addEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
6714 addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
6715 addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
6716 removeEventListener<K extends keyof HTMLScSubscriptionReactivateElementEventMap>(type: K, listener: (this: HTMLScSubscriptionReactivateElement, ev: ScSubscriptionReactivateCustomEvent<HTMLScSubscriptionReactivateElementEventMap[K]>) => any, options?: boolean | EventListenerOptions): void;
6717 removeEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
6718 removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
6719 removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
6720 }
6721 var HTMLScSubscriptionReactivateElement: {
6722 prototype: HTMLScSubscriptionReactivateElement;
6723 new (): HTMLScSubscriptionReactivateElement;
6724 };
6725 interface HTMLScSubscriptionStatusBadgeElement extends Components.ScSubscriptionStatusBadge, HTMLStencilElement {
6726 }
6727 var HTMLScSubscriptionStatusBadgeElement: {
6728 prototype: HTMLScSubscriptionStatusBadgeElement;
6729 new (): HTMLScSubscriptionStatusBadgeElement;
6730 };
6731 interface HTMLScSubscriptionSwitchElement extends Components.ScSubscriptionSwitch, HTMLStencilElement {
6732 }
6733 var HTMLScSubscriptionSwitchElement: {
6734 prototype: HTMLScSubscriptionSwitchElement;
6735 new (): HTMLScSubscriptionSwitchElement;
6736 };
6737 interface HTMLScSubscriptionVariationConfirmElement extends Components.ScSubscriptionVariationConfirm, HTMLStencilElement {
6738 }
6739 var HTMLScSubscriptionVariationConfirmElement: {
6740 prototype: HTMLScSubscriptionVariationConfirmElement;
6741 new (): HTMLScSubscriptionVariationConfirmElement;
6742 };
6743 interface HTMLScSubscriptionsListElement extends Components.ScSubscriptionsList, HTMLStencilElement {
6744 }
6745 var HTMLScSubscriptionsListElement: {
6746 prototype: HTMLScSubscriptionsListElement;
6747 new (): HTMLScSubscriptionsListElement;
6748 };
6749 interface HTMLScSummaryElementEventMap {
6750 "scShow": void;
6751 "scHide": void;
6752 }
6753 interface HTMLScSummaryElement extends Components.ScSummary, HTMLStencilElement {
6754 addEventListener<K extends keyof HTMLScSummaryElementEventMap>(type: K, listener: (this: HTMLScSummaryElement, ev: ScSummaryCustomEvent<HTMLScSummaryElementEventMap[K]>) => any, options?: boolean | AddEventListenerOptions): void;
6755 addEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
6756 addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
6757 addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
6758 removeEventListener<K extends keyof HTMLScSummaryElementEventMap>(type: K, listener: (this: HTMLScSummaryElement, ev: ScSummaryCustomEvent<HTMLScSummaryElementEventMap[K]>) => any, options?: boolean | EventListenerOptions): void;
6759 removeEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
6760 removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
6761 removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
6762 }
6763 var HTMLScSummaryElement: {
6764 prototype: HTMLScSummaryElement;
6765 new (): HTMLScSummaryElement;
6766 };
6767 interface HTMLScSwapElement extends Components.ScSwap, HTMLStencilElement {
6768 }
6769 var HTMLScSwapElement: {
6770 prototype: HTMLScSwapElement;
6771 new (): HTMLScSwapElement;
6772 };
6773 interface HTMLScSwitchElementEventMap {
6774 "scBlur": void;
6775 "scChange": void;
6776 "scFocus": void;
6777 }
6778 interface HTMLScSwitchElement extends Components.ScSwitch, HTMLStencilElement {
6779 addEventListener<K extends keyof HTMLScSwitchElementEventMap>(type: K, listener: (this: HTMLScSwitchElement, ev: ScSwitchCustomEvent<HTMLScSwitchElementEventMap[K]>) => any, options?: boolean | AddEventListenerOptions): void;
6780 addEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
6781 addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
6782 addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
6783 removeEventListener<K extends keyof HTMLScSwitchElementEventMap>(type: K, listener: (this: HTMLScSwitchElement, ev: ScSwitchCustomEvent<HTMLScSwitchElementEventMap[K]>) => any, options?: boolean | EventListenerOptions): void;
6784 removeEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
6785 removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
6786 removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
6787 }
6788 var HTMLScSwitchElement: {
6789 prototype: HTMLScSwitchElement;
6790 new (): HTMLScSwitchElement;
6791 };
6792 interface HTMLScTabElementEventMap {
6793 "scClose": void;
6794 }
6795 interface HTMLScTabElement extends Components.ScTab, HTMLStencilElement {
6796 addEventListener<K extends keyof HTMLScTabElementEventMap>(type: K, listener: (this: HTMLScTabElement, ev: ScTabCustomEvent<HTMLScTabElementEventMap[K]>) => any, options?: boolean | AddEventListenerOptions): void;
6797 addEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
6798 addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
6799 addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
6800 removeEventListener<K extends keyof HTMLScTabElementEventMap>(type: K, listener: (this: HTMLScTabElement, ev: ScTabCustomEvent<HTMLScTabElementEventMap[K]>) => any, options?: boolean | EventListenerOptions): void;
6801 removeEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
6802 removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
6803 removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
6804 }
6805 var HTMLScTabElement: {
6806 prototype: HTMLScTabElement;
6807 new (): HTMLScTabElement;
6808 };
6809 interface HTMLScTabGroupElementEventMap {
6810 "scTabHide": string;
6811 "scTabShow": string;
6812 }
6813 interface HTMLScTabGroupElement extends Components.ScTabGroup, HTMLStencilElement {
6814 addEventListener<K extends keyof HTMLScTabGroupElementEventMap>(type: K, listener: (this: HTMLScTabGroupElement, ev: ScTabGroupCustomEvent<HTMLScTabGroupElementEventMap[K]>) => any, options?: boolean | AddEventListenerOptions): void;
6815 addEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
6816 addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
6817 addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
6818 removeEventListener<K extends keyof HTMLScTabGroupElementEventMap>(type: K, listener: (this: HTMLScTabGroupElement, ev: ScTabGroupCustomEvent<HTMLScTabGroupElementEventMap[K]>) => any, options?: boolean | EventListenerOptions): void;
6819 removeEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
6820 removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
6821 removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
6822 }
6823 var HTMLScTabGroupElement: {
6824 prototype: HTMLScTabGroupElement;
6825 new (): HTMLScTabGroupElement;
6826 };
6827 interface HTMLScTabPanelElement extends Components.ScTabPanel, HTMLStencilElement {
6828 }
6829 var HTMLScTabPanelElement: {
6830 prototype: HTMLScTabPanelElement;
6831 new (): HTMLScTabPanelElement;
6832 };
6833 interface HTMLScTableElement extends Components.ScTable, HTMLStencilElement {
6834 }
6835 var HTMLScTableElement: {
6836 prototype: HTMLScTableElement;
6837 new (): HTMLScTableElement;
6838 };
6839 interface HTMLScTableCellElement extends Components.ScTableCell, HTMLStencilElement {
6840 }
6841 var HTMLScTableCellElement: {
6842 prototype: HTMLScTableCellElement;
6843 new (): HTMLScTableCellElement;
6844 };
6845 interface HTMLScTableHeadElement extends Components.ScTableHead, HTMLStencilElement {
6846 }
6847 var HTMLScTableHeadElement: {
6848 prototype: HTMLScTableHeadElement;
6849 new (): HTMLScTableHeadElement;
6850 };
6851 interface HTMLScTableRowElement extends Components.ScTableRow, HTMLStencilElement {
6852 }
6853 var HTMLScTableRowElement: {
6854 prototype: HTMLScTableRowElement;
6855 new (): HTMLScTableRowElement;
6856 };
6857 interface HTMLScTagElementEventMap {
6858 "scClear": ScTag;
6859 }
6860 interface HTMLScTagElement extends Components.ScTag, HTMLStencilElement {
6861 addEventListener<K extends keyof HTMLScTagElementEventMap>(type: K, listener: (this: HTMLScTagElement, ev: ScTagCustomEvent<HTMLScTagElementEventMap[K]>) => any, options?: boolean | AddEventListenerOptions): void;
6862 addEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
6863 addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
6864 addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
6865 removeEventListener<K extends keyof HTMLScTagElementEventMap>(type: K, listener: (this: HTMLScTagElement, ev: ScTagCustomEvent<HTMLScTagElementEventMap[K]>) => any, options?: boolean | EventListenerOptions): void;
6866 removeEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
6867 removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
6868 removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
6869 }
6870 var HTMLScTagElement: {
6871 prototype: HTMLScTagElement;
6872 new (): HTMLScTagElement;
6873 };
6874 interface HTMLScTaxIdInputElementEventMap {
6875 "scChange": { number: string; number_type: string };
6876 "scInput": Partial<{ number: string; number_type: string }>;
6877 "scInputType": string;
6878 "scSetState": string;
6879 }
6880 interface HTMLScTaxIdInputElement extends Components.ScTaxIdInput, HTMLStencilElement {
6881 addEventListener<K extends keyof HTMLScTaxIdInputElementEventMap>(type: K, listener: (this: HTMLScTaxIdInputElement, ev: ScTaxIdInputCustomEvent<HTMLScTaxIdInputElementEventMap[K]>) => any, options?: boolean | AddEventListenerOptions): void;
6882 addEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
6883 addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
6884 addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
6885 removeEventListener<K extends keyof HTMLScTaxIdInputElementEventMap>(type: K, listener: (this: HTMLScTaxIdInputElement, ev: ScTaxIdInputCustomEvent<HTMLScTaxIdInputElementEventMap[K]>) => any, options?: boolean | EventListenerOptions): void;
6886 removeEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
6887 removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
6888 removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
6889 }
6890 var HTMLScTaxIdInputElement: {
6891 prototype: HTMLScTaxIdInputElement;
6892 new (): HTMLScTaxIdInputElement;
6893 };
6894 interface HTMLScTestModeInfoElement extends Components.ScTestModeInfo, HTMLStencilElement {
6895 }
6896 var HTMLScTestModeInfoElement: {
6897 prototype: HTMLScTestModeInfoElement;
6898 new (): HTMLScTestModeInfoElement;
6899 };
6900 interface HTMLScTextElement extends Components.ScText, HTMLStencilElement {
6901 }
6902 var HTMLScTextElement: {
6903 prototype: HTMLScTextElement;
6904 new (): HTMLScTextElement;
6905 };
6906 interface HTMLScTextareaElementEventMap {
6907 "scChange": void;
6908 "scInput": void;
6909 "scBlur": void;
6910 "scFocus": void;
6911 }
6912 interface HTMLScTextareaElement extends Components.ScTextarea, HTMLStencilElement {
6913 addEventListener<K extends keyof HTMLScTextareaElementEventMap>(type: K, listener: (this: HTMLScTextareaElement, ev: ScTextareaCustomEvent<HTMLScTextareaElementEventMap[K]>) => any, options?: boolean | AddEventListenerOptions): void;
6914 addEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
6915 addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
6916 addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
6917 removeEventListener<K extends keyof HTMLScTextareaElementEventMap>(type: K, listener: (this: HTMLScTextareaElement, ev: ScTextareaCustomEvent<HTMLScTextareaElementEventMap[K]>) => any, options?: boolean | EventListenerOptions): void;
6918 removeEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
6919 removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
6920 removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
6921 }
6922 var HTMLScTextareaElement: {
6923 prototype: HTMLScTextareaElement;
6924 new (): HTMLScTextareaElement;
6925 };
6926 interface HTMLScToggleElementEventMap {
6927 "scShow": void;
6928 "scHide": void;
6929 }
6930 interface HTMLScToggleElement extends Components.ScToggle, HTMLStencilElement {
6931 addEventListener<K extends keyof HTMLScToggleElementEventMap>(type: K, listener: (this: HTMLScToggleElement, ev: ScToggleCustomEvent<HTMLScToggleElementEventMap[K]>) => any, options?: boolean | AddEventListenerOptions): void;
6932 addEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
6933 addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
6934 addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
6935 removeEventListener<K extends keyof HTMLScToggleElementEventMap>(type: K, listener: (this: HTMLScToggleElement, ev: ScToggleCustomEvent<HTMLScToggleElementEventMap[K]>) => any, options?: boolean | EventListenerOptions): void;
6936 removeEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
6937 removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
6938 removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
6939 }
6940 var HTMLScToggleElement: {
6941 prototype: HTMLScToggleElement;
6942 new (): HTMLScToggleElement;
6943 };
6944 interface HTMLScTogglesElement extends Components.ScToggles, HTMLStencilElement {
6945 }
6946 var HTMLScTogglesElement: {
6947 prototype: HTMLScTogglesElement;
6948 new (): HTMLScTogglesElement;
6949 };
6950 interface HTMLScTooltipElement extends Components.ScTooltip, HTMLStencilElement {
6951 }
6952 var HTMLScTooltipElement: {
6953 prototype: HTMLScTooltipElement;
6954 new (): HTMLScTooltipElement;
6955 };
6956 interface HTMLScTotalElement extends Components.ScTotal, HTMLStencilElement {
6957 }
6958 var HTMLScTotalElement: {
6959 prototype: HTMLScTotalElement;
6960 new (): HTMLScTotalElement;
6961 };
6962 interface HTMLScUpcomingInvoiceElement extends Components.ScUpcomingInvoice, HTMLStencilElement {
6963 }
6964 var HTMLScUpcomingInvoiceElement: {
6965 prototype: HTMLScUpcomingInvoiceElement;
6966 new (): HTMLScUpcomingInvoiceElement;
6967 };
6968 interface HTMLScUpgradeRequiredElement extends Components.ScUpgradeRequired, HTMLStencilElement {
6969 }
6970 var HTMLScUpgradeRequiredElement: {
6971 prototype: HTMLScUpgradeRequiredElement;
6972 new (): HTMLScUpgradeRequiredElement;
6973 };
6974 interface HTMLScUpsellElement extends Components.ScUpsell, HTMLStencilElement {
6975 }
6976 var HTMLScUpsellElement: {
6977 prototype: HTMLScUpsellElement;
6978 new (): HTMLScUpsellElement;
6979 };
6980 interface HTMLScUpsellCountdownTimerElement extends Components.ScUpsellCountdownTimer, HTMLStencilElement {
6981 }
6982 var HTMLScUpsellCountdownTimerElement: {
6983 prototype: HTMLScUpsellCountdownTimerElement;
6984 new (): HTMLScUpsellCountdownTimerElement;
6985 };
6986 interface HTMLScUpsellNoThanksButtonElement extends Components.ScUpsellNoThanksButton, HTMLStencilElement {
6987 }
6988 var HTMLScUpsellNoThanksButtonElement: {
6989 prototype: HTMLScUpsellNoThanksButtonElement;
6990 new (): HTMLScUpsellNoThanksButtonElement;
6991 };
6992 interface HTMLScUpsellSubmitButtonElement extends Components.ScUpsellSubmitButton, HTMLStencilElement {
6993 }
6994 var HTMLScUpsellSubmitButtonElement: {
6995 prototype: HTMLScUpsellSubmitButtonElement;
6996 new (): HTMLScUpsellSubmitButtonElement;
6997 };
6998 interface HTMLScUpsellTotalsElement extends Components.ScUpsellTotals, HTMLStencilElement {
6999 }
7000 var HTMLScUpsellTotalsElement: {
7001 prototype: HTMLScUpsellTotalsElement;
7002 new (): HTMLScUpsellTotalsElement;
7003 };
7004 interface HTMLScVerificationCodeElement extends Components.ScVerificationCode, HTMLStencilElement {
7005 }
7006 var HTMLScVerificationCodeElement: {
7007 prototype: HTMLScVerificationCodeElement;
7008 new (): HTMLScVerificationCodeElement;
7009 };
7010 interface HTMLScVisuallyHiddenElement extends Components.ScVisuallyHidden, HTMLStencilElement {
7011 }
7012 var HTMLScVisuallyHiddenElement: {
7013 prototype: HTMLScVisuallyHiddenElement;
7014 new (): HTMLScVisuallyHiddenElement;
7015 };
7016 interface HTMLScWordpressPasswordEditElement extends Components.ScWordpressPasswordEdit, HTMLStencilElement {
7017 }
7018 var HTMLScWordpressPasswordEditElement: {
7019 prototype: HTMLScWordpressPasswordEditElement;
7020 new (): HTMLScWordpressPasswordEditElement;
7021 };
7022 interface HTMLScWordpressUserElement extends Components.ScWordpressUser, HTMLStencilElement {
7023 }
7024 var HTMLScWordpressUserElement: {
7025 prototype: HTMLScWordpressUserElement;
7026 new (): HTMLScWordpressUserElement;
7027 };
7028 interface HTMLScWordpressUserEditElement extends Components.ScWordpressUserEdit, HTMLStencilElement {
7029 }
7030 var HTMLScWordpressUserEditElement: {
7031 prototype: HTMLScWordpressUserEditElement;
7032 new (): HTMLScWordpressUserEditElement;
7033 };
7034 interface HTMLElementTagNameMap {
7035 "sc-address": HTMLScAddressElement;
7036 "sc-address-suggestions": HTMLScAddressSuggestionsElement;
7037 "sc-alert": HTMLScAlertElement;
7038 "sc-avatar": HTMLScAvatarElement;
7039 "sc-badge-notice": HTMLScBadgeNoticeElement;
7040 "sc-block-ui": HTMLScBlockUiElement;
7041 "sc-breadcrumb": HTMLScBreadcrumbElement;
7042 "sc-breadcrumbs": HTMLScBreadcrumbsElement;
7043 "sc-button": HTMLScButtonElement;
7044 "sc-button-group": HTMLScButtonGroupElement;
7045 "sc-cancel-dialog": HTMLScCancelDialogElement;
7046 "sc-cancel-discount": HTMLScCancelDiscountElement;
7047 "sc-cancel-survey": HTMLScCancelSurveyElement;
7048 "sc-card": HTMLScCardElement;
7049 "sc-cart": HTMLScCartElement;
7050 "sc-cart-button": HTMLScCartButtonElement;
7051 "sc-cart-form": HTMLScCartFormElement;
7052 "sc-cart-form-submit": HTMLScCartFormSubmitElement;
7053 "sc-cart-header": HTMLScCartHeaderElement;
7054 "sc-cart-icon": HTMLScCartIconElement;
7055 "sc-cart-loader": HTMLScCartLoaderElement;
7056 "sc-cart-session-provider": HTMLScCartSessionProviderElement;
7057 "sc-cart-submit": HTMLScCartSubmitElement;
7058 "sc-cc-logo": HTMLScCcLogoElement;
7059 "sc-charges-list": HTMLScChargesListElement;
7060 "sc-checkbox": HTMLScCheckboxElement;
7061 "sc-checkout": HTMLScCheckoutElement;
7062 "sc-checkout-autofill-provider": HTMLScCheckoutAutofillProviderElement;
7063 "sc-checkout-form-errors": HTMLScCheckoutFormErrorsElement;
7064 "sc-checkout-geo-permission": HTMLScCheckoutGeoPermissionElement;
7065 "sc-checkout-mollie-payment": HTMLScCheckoutMolliePaymentElement;
7066 "sc-checkout-paystack-payment-provider": HTMLScCheckoutPaystackPaymentProviderElement;
7067 "sc-checkout-product-bundle-component-variants": HTMLScCheckoutProductBundleComponentVariantsElement;
7068 "sc-checkout-product-price-variant-selector": HTMLScCheckoutProductPriceVariantSelectorElement;
7069 "sc-checkout-razorpay-payment-provider": HTMLScCheckoutRazorpayPaymentProviderElement;
7070 "sc-checkout-stock-alert": HTMLScCheckoutStockAlertElement;
7071 "sc-checkout-test-complete": HTMLScCheckoutTestCompleteElement;
7072 "sc-checkout-unsaved-changes-warning": HTMLScCheckoutUnsavedChangesWarningElement;
7073 "sc-choice": HTMLScChoiceElement;
7074 "sc-choice-container": HTMLScChoiceContainerElement;
7075 "sc-choices": HTMLScChoicesElement;
7076 "sc-column": HTMLScColumnElement;
7077 "sc-columns": HTMLScColumnsElement;
7078 "sc-compact-address": HTMLScCompactAddressElement;
7079 "sc-conditional-form": HTMLScConditionalFormElement;
7080 "sc-consumer": HTMLScConsumerElement;
7081 "sc-coupon-form": HTMLScCouponFormElement;
7082 "sc-custom-order-price-input": HTMLScCustomOrderPriceInputElement;
7083 "sc-customer-details": HTMLScCustomerDetailsElement;
7084 "sc-customer-edit": HTMLScCustomerEditElement;
7085 "sc-customer-email": HTMLScCustomerEmailElement;
7086 "sc-customer-firstname": HTMLScCustomerFirstnameElement;
7087 "sc-customer-lastname": HTMLScCustomerLastnameElement;
7088 "sc-customer-login": HTMLScCustomerLoginElement;
7089 "sc-customer-name": HTMLScCustomerNameElement;
7090 "sc-customer-phone": HTMLScCustomerPhoneElement;
7091 "sc-dashboard-customer-details": HTMLScDashboardCustomerDetailsElement;
7092 "sc-dashboard-downloads-list": HTMLScDashboardDownloadsListElement;
7093 "sc-dashboard-module": HTMLScDashboardModuleElement;
7094 "sc-dialog": HTMLScDialogElement;
7095 "sc-divider": HTMLScDividerElement;
7096 "sc-donation-choices": HTMLScDonationChoicesElement;
7097 "sc-downloads-list": HTMLScDownloadsListElement;
7098 "sc-drawer": HTMLScDrawerElement;
7099 "sc-dropdown": HTMLScDropdownElement;
7100 "sc-empty": HTMLScEmptyElement;
7101 "sc-error": HTMLScErrorElement;
7102 "sc-express-payment": HTMLScExpressPaymentElement;
7103 "sc-feature-demo-banner": HTMLScFeatureDemoBannerElement;
7104 "sc-flex": HTMLScFlexElement;
7105 "sc-form": HTMLScFormElement;
7106 "sc-form-components-validator": HTMLScFormComponentsValidatorElement;
7107 "sc-form-control": HTMLScFormControlElement;
7108 "sc-form-error-provider": HTMLScFormErrorProviderElement;
7109 "sc-form-row": HTMLScFormRowElement;
7110 "sc-form-state-provider": HTMLScFormStateProviderElement;
7111 "sc-format-bytes": HTMLScFormatBytesElement;
7112 "sc-format-interval": HTMLScFormatIntervalElement;
7113 "sc-format-number": HTMLScFormatNumberElement;
7114 "sc-fulfillment-shipping-status-badge": HTMLScFulfillmentShippingStatusBadgeElement;
7115 "sc-fulfillments": HTMLScFulfillmentsElement;
7116 "sc-heading": HTMLScHeadingElement;
7117 "sc-icon": HTMLScIconElement;
7118 "sc-image-slider": HTMLScImageSliderElement;
7119 "sc-input": HTMLScInputElement;
7120 "sc-invoice-details": HTMLScInvoiceDetailsElement;
7121 "sc-invoice-memo": HTMLScInvoiceMemoElement;
7122 "sc-invoice-status-badge": HTMLScInvoiceStatusBadgeElement;
7123 "sc-invoices-list": HTMLScInvoicesListElement;
7124 "sc-license": HTMLScLicenseElement;
7125 "sc-licenses-list": HTMLScLicensesListElement;
7126 "sc-line-item": HTMLScLineItemElement;
7127 "sc-line-item-bump": HTMLScLineItemBumpElement;
7128 "sc-line-item-invoice-due-date": HTMLScLineItemInvoiceDueDateElement;
7129 "sc-line-item-invoice-number": HTMLScLineItemInvoiceNumberElement;
7130 "sc-line-item-invoice-receipt-download": HTMLScLineItemInvoiceReceiptDownloadElement;
7131 "sc-line-item-shipping": HTMLScLineItemShippingElement;
7132 "sc-line-item-tax": HTMLScLineItemTaxElement;
7133 "sc-line-item-total": HTMLScLineItemTotalElement;
7134 "sc-line-item-trial": HTMLScLineItemTrialElement;
7135 "sc-line-items": HTMLScLineItemsElement;
7136 "sc-line-items-provider": HTMLScLineItemsProviderElement;
7137 "sc-login-form": HTMLScLoginFormElement;
7138 "sc-login-provider": HTMLScLoginProviderElement;
7139 "sc-manual-payment-method": HTMLScManualPaymentMethodElement;
7140 "sc-menu": HTMLScMenuElement;
7141 "sc-menu-divider": HTMLScMenuDividerElement;
7142 "sc-menu-item": HTMLScMenuItemElement;
7143 "sc-menu-label": HTMLScMenuLabelElement;
7144 "sc-mollie-add-method": HTMLScMollieAddMethodElement;
7145 "sc-order": HTMLScOrderElement;
7146 "sc-order-billing-address": HTMLScOrderBillingAddressElement;
7147 "sc-order-bump": HTMLScOrderBumpElement;
7148 "sc-order-bumps": HTMLScOrderBumpsElement;
7149 "sc-order-confirm-components-validator": HTMLScOrderConfirmComponentsValidatorElement;
7150 "sc-order-confirm-provider": HTMLScOrderConfirmProviderElement;
7151 "sc-order-confirmation": HTMLScOrderConfirmationElement;
7152 "sc-order-confirmation-customer": HTMLScOrderConfirmationCustomerElement;
7153 "sc-order-confirmation-details": HTMLScOrderConfirmationDetailsElement;
7154 "sc-order-confirmation-line-items": HTMLScOrderConfirmationLineItemsElement;
7155 "sc-order-confirmation-totals": HTMLScOrderConfirmationTotalsElement;
7156 "sc-order-coupon-form": HTMLScOrderCouponFormElement;
7157 "sc-order-detail": HTMLScOrderDetailElement;
7158 "sc-order-fulfillment-badge": HTMLScOrderFulfillmentBadgeElement;
7159 "sc-order-manual-instructions": HTMLScOrderManualInstructionsElement;
7160 "sc-order-password": HTMLScOrderPasswordElement;
7161 "sc-order-return-badge": HTMLScOrderReturnBadgeElement;
7162 "sc-order-shipment-badge": HTMLScOrderShipmentBadgeElement;
7163 "sc-order-shipping-address": HTMLScOrderShippingAddressElement;
7164 "sc-order-status-badge": HTMLScOrderStatusBadgeElement;
7165 "sc-order-submit": HTMLScOrderSubmitElement;
7166 "sc-order-summary": HTMLScOrderSummaryElement;
7167 "sc-order-tax-id-input": HTMLScOrderTaxIdInputElement;
7168 "sc-orders-list": HTMLScOrdersListElement;
7169 "sc-pagination": HTMLScPaginationElement;
7170 "sc-password": HTMLScPasswordElement;
7171 "sc-password-nag": HTMLScPasswordNagElement;
7172 "sc-payment": HTMLScPaymentElement;
7173 "sc-payment-method": HTMLScPaymentMethodElement;
7174 "sc-payment-method-choice": HTMLScPaymentMethodChoiceElement;
7175 "sc-payment-method-details": HTMLScPaymentMethodDetailsElement;
7176 "sc-payment-methods-list": HTMLScPaymentMethodsListElement;
7177 "sc-payment-selected": HTMLScPaymentSelectedElement;
7178 "sc-paypal-add-method": HTMLScPaypalAddMethodElement;
7179 "sc-paypal-buttons": HTMLScPaypalButtonsElement;
7180 "sc-paystack-add-method": HTMLScPaystackAddMethodElement;
7181 "sc-phone-input": HTMLScPhoneInputElement;
7182 "sc-pill-option": HTMLScPillOptionElement;
7183 "sc-popover": HTMLScPopoverElement;
7184 "sc-premium-tag": HTMLScPremiumTagElement;
7185 "sc-price": HTMLScPriceElement;
7186 "sc-price-choice": HTMLScPriceChoiceElement;
7187 "sc-price-choice-container": HTMLScPriceChoiceContainerElement;
7188 "sc-price-choices": HTMLScPriceChoicesElement;
7189 "sc-price-input": HTMLScPriceInputElement;
7190 "sc-price-range": HTMLScPriceRangeElement;
7191 "sc-product-buy-button": HTMLScProductBuyButtonElement;
7192 "sc-product-donation-amount-choice": HTMLScProductDonationAmountChoiceElement;
7193 "sc-product-donation-choices": HTMLScProductDonationChoicesElement;
7194 "sc-product-donation-custom-amount": HTMLScProductDonationCustomAmountElement;
7195 "sc-product-item": HTMLScProductItemElement;
7196 "sc-product-item-image": HTMLScProductItemImageElement;
7197 "sc-product-item-list": HTMLScProductItemListElement;
7198 "sc-product-item-price": HTMLScProductItemPriceElement;
7199 "sc-product-item-title": HTMLScProductItemTitleElement;
7200 "sc-product-line-item": HTMLScProductLineItemElement;
7201 "sc-product-line-item-note": HTMLScProductLineItemNoteElement;
7202 "sc-product-pills-variant-option": HTMLScProductPillsVariantOptionElement;
7203 "sc-product-price": HTMLScProductPriceElement;
7204 "sc-product-price-choices": HTMLScProductPriceChoicesElement;
7205 "sc-product-price-modal": HTMLScProductPriceModalElement;
7206 "sc-product-quantity": HTMLScProductQuantityElement;
7207 "sc-product-selected-price": HTMLScProductSelectedPriceElement;
7208 "sc-product-text": HTMLScProductTextElement;
7209 "sc-prose": HTMLScProseElement;
7210 "sc-provider": HTMLScProviderElement;
7211 "sc-provisional-banner": HTMLScProvisionalBannerElement;
7212 "sc-purchase-downloads-list": HTMLScPurchaseDownloadsListElement;
7213 "sc-quantity-select": HTMLScQuantitySelectElement;
7214 "sc-radio": HTMLScRadioElement;
7215 "sc-radio-group": HTMLScRadioGroupElement;
7216 "sc-razorpay-add-method": HTMLScRazorpayAddMethodElement;
7217 "sc-recurring-price-choice-container": HTMLScRecurringPriceChoiceContainerElement;
7218 "sc-review-stars": HTMLScReviewStarsElement;
7219 "sc-rich-text": HTMLScRichTextElement;
7220 "sc-secure-notice": HTMLScSecureNoticeElement;
7221 "sc-select": HTMLScSelectElement;
7222 "sc-session-provider": HTMLScSessionProviderElement;
7223 "sc-shipping-choices": HTMLScShippingChoicesElement;
7224 "sc-skeleton": HTMLScSkeletonElement;
7225 "sc-spacing": HTMLScSpacingElement;
7226 "sc-spinner": HTMLScSpinnerElement;
7227 "sc-stacked-list": HTMLScStackedListElement;
7228 "sc-stacked-list-row": HTMLScStackedListRowElement;
7229 "sc-stripe-add-method": HTMLScStripeAddMethodElement;
7230 "sc-stripe-element": HTMLScStripeElementElement;
7231 "sc-stripe-payment-element": HTMLScStripePaymentElementElement;
7232 "sc-stripe-payment-request": HTMLScStripePaymentRequestElement;
7233 "sc-subscription": HTMLScSubscriptionElement;
7234 "sc-subscription-ad-hoc-confirm": HTMLScSubscriptionAdHocConfirmElement;
7235 "sc-subscription-cancel": HTMLScSubscriptionCancelElement;
7236 "sc-subscription-details": HTMLScSubscriptionDetailsElement;
7237 "sc-subscription-next-payment": HTMLScSubscriptionNextPaymentElement;
7238 "sc-subscription-payment": HTMLScSubscriptionPaymentElement;
7239 "sc-subscription-payment-method": HTMLScSubscriptionPaymentMethodElement;
7240 "sc-subscription-reactivate": HTMLScSubscriptionReactivateElement;
7241 "sc-subscription-status-badge": HTMLScSubscriptionStatusBadgeElement;
7242 "sc-subscription-switch": HTMLScSubscriptionSwitchElement;
7243 "sc-subscription-variation-confirm": HTMLScSubscriptionVariationConfirmElement;
7244 "sc-subscriptions-list": HTMLScSubscriptionsListElement;
7245 "sc-summary": HTMLScSummaryElement;
7246 "sc-swap": HTMLScSwapElement;
7247 "sc-switch": HTMLScSwitchElement;
7248 "sc-tab": HTMLScTabElement;
7249 "sc-tab-group": HTMLScTabGroupElement;
7250 "sc-tab-panel": HTMLScTabPanelElement;
7251 "sc-table": HTMLScTableElement;
7252 "sc-table-cell": HTMLScTableCellElement;
7253 "sc-table-head": HTMLScTableHeadElement;
7254 "sc-table-row": HTMLScTableRowElement;
7255 "sc-tag": HTMLScTagElement;
7256 "sc-tax-id-input": HTMLScTaxIdInputElement;
7257 "sc-test-mode-info": HTMLScTestModeInfoElement;
7258 "sc-text": HTMLScTextElement;
7259 "sc-textarea": HTMLScTextareaElement;
7260 "sc-toggle": HTMLScToggleElement;
7261 "sc-toggles": HTMLScTogglesElement;
7262 "sc-tooltip": HTMLScTooltipElement;
7263 "sc-total": HTMLScTotalElement;
7264 "sc-upcoming-invoice": HTMLScUpcomingInvoiceElement;
7265 "sc-upgrade-required": HTMLScUpgradeRequiredElement;
7266 "sc-upsell": HTMLScUpsellElement;
7267 "sc-upsell-countdown-timer": HTMLScUpsellCountdownTimerElement;
7268 "sc-upsell-no-thanks-button": HTMLScUpsellNoThanksButtonElement;
7269 "sc-upsell-submit-button": HTMLScUpsellSubmitButtonElement;
7270 "sc-upsell-totals": HTMLScUpsellTotalsElement;
7271 "sc-verification-code": HTMLScVerificationCodeElement;
7272 "sc-visually-hidden": HTMLScVisuallyHiddenElement;
7273 "sc-wordpress-password-edit": HTMLScWordpressPasswordEditElement;
7274 "sc-wordpress-user": HTMLScWordpressUserElement;
7275 "sc-wordpress-user-edit": HTMLScWordpressUserEditElement;
7276 }
7277 }
7278 declare namespace LocalJSX {
7279 interface ScAddress {
7280 /**
7281 * The address.
7282 */
7283 "address"?: Partial<Address>;
7284 /**
7285 * Is this disabled?
7286 */
7287 "disabled"?: boolean;
7288 /**
7289 * The label for the field.
7290 */
7291 "label"?: string;
7292 /**
7293 * Is this loading?
7294 */
7295 "loading"?: boolean;
7296 "names"?: Partial<Address>;
7297 /**
7298 * Address change event.
7299 */
7300 "onScChangeAddress"?: (event: ScAddressCustomEvent<Partial<Address>>) => void;
7301 /**
7302 * Address change event.
7303 */
7304 "onScInputAddress"?: (event: ScAddressCustomEvent<Partial<Address>>) => void;
7305 /**
7306 * Is the name required
7307 */
7308 "requireName"?: boolean;
7309 /**
7310 * Is this required?
7311 */
7312 "required"?: boolean;
7313 /**
7314 * Should we show name field?
7315 */
7316 "showLine2"?: boolean;
7317 /**
7318 * Should we show name field?
7319 */
7320 "showName"?: boolean;
7321 }
7322 interface ScAddressSuggestions {
7323 "address"?: Partial<Address>;
7324 /**
7325 * If the address input is disabled
7326 */
7327 "disabled"?: boolean;
7328 /**
7329 * Props for the input element
7330 */
7331 "inputProps"?: Record<string, unknown>;
7332 /**
7333 * The label for the address input
7334 */
7335 "label"?: string;
7336 "names"?: Partial<Address>;
7337 /**
7338 * Address changed — emitted to parent to update address state.
7339 */
7340 "onScChangeAddress"?: (event: ScAddressSuggestionsCustomEvent<Address>) => void;
7341 /**
7342 * Event to hide address fields
7343 */
7344 "onScHideAddressFields"?: (event: ScAddressSuggestionsCustomEvent<void>) => void;
7345 /**
7346 * Event to show address fields manually
7347 */
7348 "onScShowAddressFields"?: (event: ScAddressSuggestionsCustomEvent<void>) => void;
7349 /**
7350 * Holds the regions for a given country.
7351 */
7352 "regions"?: Array<{ value: string; label: string }>;
7353 /**
7354 * If the address is required
7355 */
7356 "required"?: boolean;
7357 }
7358 interface ScAlert {
7359 /**
7360 * Makes the alert closable.
7361 */
7362 "closable"?: boolean;
7363 /**
7364 * The length of time, in milliseconds, the alert will show before closing itself. If the user interacts with the alert before it closes (e.g. moves the mouse over it), the timer will restart. Defaults to `Infinity`.
7365 */
7366 "duration"?: number;
7367 /**
7368 * No icon
7369 */
7370 "noIcon"?: boolean;
7371 /**
7372 * When alert is hidden
7373 */
7374 "onScHide"?: (event: ScAlertCustomEvent<void>) => void;
7375 /**
7376 * When alert is shown
7377 */
7378 "onScShow"?: (event: ScAlertCustomEvent<void>) => void;
7379 /**
7380 * Indicates whether or not the alert is open. You can use this in lieu of the show/hide methods.
7381 */
7382 "open"?: boolean;
7383 /**
7384 * Scroll margin
7385 */
7386 "scrollMargin"?: string;
7387 /**
7388 * Scroll into view.
7389 */
7390 "scrollOnOpen"?: boolean;
7391 /**
7392 * The title.
7393 */
7394 "title"?: string;
7395 /**
7396 * The type of alert.
7397 */
7398 "type"?: 'primary' | 'success' | 'info' | 'warning' | 'danger';
7399 }
7400 interface ScAvatar {
7401 /**
7402 * The image source to use for the avatar.
7403 */
7404 "image"?: string;
7405 /**
7406 * Initials to use as a fallback when no image is available (1-2 characters max recommended).
7407 */
7408 "initials"?: string;
7409 /**
7410 * A label to use to describe the avatar to assistive devices.
7411 */
7412 "label"?: string;
7413 /**
7414 * Indicates how the browser should load the image.
7415 */
7416 "loading"?: 'eager' | 'lazy';
7417 /**
7418 * The shape of the avatar.
7419 */
7420 "shape"?: 'circle' | 'square' | 'rounded';
7421 }
7422 interface ScBadgeNotice {
7423 "label"?: string;
7424 "size"?: 'small' | 'medium' | 'large';
7425 "type"?: 'primary' | 'success' | 'info' | 'warning' | 'danger' | 'default';
7426 }
7427 interface ScBlockUi {
7428 "spinner"?: boolean;
7429 "transparent"?: boolean;
7430 "zIndex"?: number;
7431 }
7432 interface ScBreadcrumb {
7433 /**
7434 * Optional URL to direct the user to when the breadcrumb item is activated. When set, a link will be rendered internally. When unset, a button will be rendered instead.
7435 */
7436 "href"?: string;
7437 /**
7438 * The `rel` attribute to use on the link. Only used when `href` is set.
7439 */
7440 "rel"?: string;
7441 /**
7442 * Tells the browser where to open the link. Only used when `href` is set.
7443 */
7444 "target"?: '_blank' | '_parent' | '_self' | '_top';
7445 }
7446 interface ScBreadcrumbs {
7447 /**
7448 * The label to use for the breadcrumb control. This will not be shown, but it will be announced by screen readers and other assistive devices.
7449 */
7450 "label"?: string;
7451 }
7452 interface ScButton {
7453 /**
7454 * Tells the browser to autofocus.
7455 */
7456 "autofocus"?: boolean;
7457 /**
7458 * Draws the button in a busy state.
7459 */
7460 "busy"?: boolean;
7461 /**
7462 * Draws the button with a caret for use with dropdowns, popovers, etc.
7463 */
7464 "caret"?: boolean;
7465 /**
7466 * Draws a circle button.
7467 */
7468 "circle"?: boolean;
7469 /**
7470 * Disables the button.
7471 */
7472 "disabled"?: boolean;
7473 /**
7474 * Tells the browser to download the linked file as this filename. Only used when `href` is set.
7475 */
7476 "download"?: string;
7477 /**
7478 * Draws the button full-width.
7479 */
7480 "full"?: boolean;
7481 /**
7482 * When set, the underlying button will be rendered as an `<a>` with this `href` instead of a `<button>`.
7483 */
7484 "href"?: string;
7485 /**
7486 * Draws the button in a loading state.
7487 */
7488 "loading"?: boolean;
7489 /**
7490 * An optional name for the button. Ignored when `href` is set.
7491 */
7492 "name"?: string;
7493 /**
7494 * Emitted when the button loses focus.
7495 */
7496 "onScBlur"?: (event: ScButtonCustomEvent<void>) => void;
7497 /**
7498 * Emitted when the button gains focus.
7499 */
7500 "onScFocus"?: (event: ScButtonCustomEvent<void>) => void;
7501 /**
7502 * Draws an outlined button.
7503 */
7504 "outline"?: boolean;
7505 /**
7506 * Draws a pill-style button with rounded edges.
7507 */
7508 "pill"?: boolean;
7509 /**
7510 * The button's size.
7511 */
7512 "size"?: 'small' | 'medium' | 'large';
7513 /**
7514 * Indicates if activating the button should submit the form. Ignored when `href` is set.
7515 */
7516 "submit"?: boolean;
7517 /**
7518 * Tells the browser where to open the link. Only used when `href` is set.
7519 */
7520 "target"?: '_blank' | '_parent' | '_self' | '_top';
7521 /**
7522 * The button's type.
7523 */
7524 "type"?: 'default' | 'primary' | 'success' | 'info' | 'warning' | 'danger' | 'text' | 'link';
7525 /**
7526 * An optional value for the button. Ignored when `href` is set.
7527 */
7528 "value"?: string;
7529 }
7530 interface ScButtonGroup {
7531 "label"?: string;
7532 "separate"?: boolean;
7533 }
7534 interface ScCancelDialog {
7535 "onScRefresh"?: (event: ScCancelDialogCustomEvent<void>) => void;
7536 "onScRequestClose"?: (event: ScCancelDialogCustomEvent<'close-button' | 'keyboard' | 'overlay'>) => void;
7537 "open"?: boolean;
7538 "protocol"?: SubscriptionProtocol;
7539 "subscription"?: Subscription;
7540 }
7541 interface ScCancelDiscount {
7542 "comment"?: string;
7543 "onScCancel"?: (event: ScCancelDiscountCustomEvent<void>) => void;
7544 "onScPreserved"?: (event: ScCancelDiscountCustomEvent<void>) => void;
7545 "protocol"?: SubscriptionProtocol;
7546 "reason"?: CancellationReason;
7547 "subscription"?: Subscription;
7548 }
7549 interface ScCancelSurvey {
7550 "onScAbandon"?: (event: ScCancelSurveyCustomEvent<void>) => void;
7551 "onScSubmitReason"?: (event: ScCancelSurveyCustomEvent<{ reason: CancellationReason; comment: string }>) => void;
7552 "protocol"?: SubscriptionProtocol;
7553 "reasons"?: CancellationReason[];
7554 }
7555 interface ScCard {
7556 /**
7557 * Is this card borderless.
7558 */
7559 "borderless"?: boolean;
7560 /**
7561 * A link for the card.
7562 */
7563 "href"?: string;
7564 /**
7565 * Is this card loading.
7566 */
7567 "loading"?: boolean;
7568 /**
7569 * Eliminate the divider
7570 */
7571 "noDivider"?: boolean;
7572 /**
7573 * Remove padding
7574 */
7575 "noPadding"?: boolean;
7576 }
7577 interface ScCart {
7578 /**
7579 * Should we force show the cart, even if there's a form on the page?
7580 */
7581 "alwaysShow"?: boolean;
7582 /**
7583 * The template for the cart to inject when opened.
7584 */
7585 "cartTemplate"?: string;
7586 "checkoutLink"?: string;
7587 /**
7588 * The checkout url for the button.
7589 */
7590 "checkoutUrl"?: string;
7591 /**
7592 * Whether the floating button should be visible
7593 */
7594 "floatingIconEnabled"?: boolean;
7595 /**
7596 * The form id to use for the cart.
7597 */
7598 "formId"?: string;
7599 /**
7600 * The header for the popout.
7601 */
7602 "header"?: string;
7603 /**
7604 * Are we in test or live mode.
7605 */
7606 "mode"?: 'test' | 'live';
7607 }
7608 interface ScCartButton {
7609 /**
7610 * Whether the cart icon is always shown when the cart is empty
7611 */
7612 "cartMenuAlwaysShown"?: boolean;
7613 /**
7614 * The form id to use for the cart.
7615 */
7616 "formId"?: string;
7617 /**
7618 * Are we in test or live mode.
7619 */
7620 "mode"?: 'test' | 'live';
7621 /**
7622 * Whether the cart count will be shown or not when the cart is empty
7623 */
7624 "showEmptyCount"?: boolean;
7625 }
7626 interface ScCartForm {
7627 /**
7628 * The form id to use for the cart.
7629 */
7630 "formId"?: string;
7631 /**
7632 * Are we in test or live mode.
7633 */
7634 "mode"?: 'test' | 'live';
7635 /**
7636 * The price id to add.
7637 */
7638 "priceId"?: string;
7639 /**
7640 * The quantity
7641 */
7642 "quantity"?: number;
7643 /**
7644 * The variant id to add.
7645 */
7646 "variantId"?: string;
7647 }
7648 interface ScCartFormSubmit {
7649 /**
7650 * Show a full-width button.
7651 */
7652 "full"?: boolean;
7653 /**
7654 * Icon to show.
7655 */
7656 "icon"?: string;
7657 /**
7658 * The button's size.
7659 */
7660 "size"?: 'small' | 'medium' | 'large';
7661 /**
7662 * The button type.
7663 */
7664 "type"?: 'default' | 'primary' | 'success' | 'info' | 'warning' | 'danger' | 'text' | 'link';
7665 }
7666 interface ScCartHeader {
7667 "onScCloseCart"?: (event: ScCartHeaderCustomEvent<void>) => void;
7668 }
7669 interface ScCartIcon {
7670 /**
7671 * The icon to show.
7672 */
7673 "icon"?: string;
7674 }
7675 interface ScCartLoader {
7676 /**
7677 * The cart template to inject when opened.
7678 */
7679 "template"?: string;
7680 }
7681 interface ScCartSessionProvider {
7682 /**
7683 * Set the state
7684 */
7685 "onScSetState"?: (event: ScCartSessionProviderCustomEvent<'loading' | 'busy' | 'navigating' | 'idle'>) => void;
7686 }
7687 interface ScCartSubmit {
7688 /**
7689 * Is the cart busy
7690 */
7691 "busy"?: boolean;
7692 }
7693 interface ScCcLogo {
7694 "brand"?: string;
7695 }
7696 interface ScChargesList {
7697 "allLink"?: string;
7698 "heading"?: string;
7699 /**
7700 * Query to fetch charges
7701 */
7702 "query"?: {
7703 page: number;
7704 per_page: number;
7705 };
7706 "showPagination"?: boolean;
7707 }
7708 interface ScCheckbox {
7709 /**
7710 * Draws the checkbox in a checked state.
7711 */
7712 "checked"?: boolean;
7713 /**
7714 * Disables the checkbox.
7715 */
7716 "disabled"?: boolean;
7717 /**
7718 * Makes this edit and not editable.
7719 */
7720 "edit"?: boolean;
7721 /**
7722 * Draws the checkbox in an indeterminate state.
7723 */
7724 "indeterminate"?: boolean;
7725 /**
7726 * This will be true when the control is in an invalid state. Validity is determined by the `required` prop.
7727 */
7728 "invalid"?: boolean;
7729 /**
7730 * The checkbox's name attribute.
7731 */
7732 "name"?: string;
7733 /**
7734 * Emitted when the control loses focus.
7735 */
7736 "onScBlur"?: (event: ScCheckboxCustomEvent<void>) => void;
7737 /**
7738 * Emitted when the control's checked state changes.
7739 */
7740 "onScChange"?: (event: ScCheckboxCustomEvent<void>) => void;
7741 /**
7742 * Emitted when the control gains focus.
7743 */
7744 "onScFocus"?: (event: ScCheckboxCustomEvent<void>) => void;
7745 /**
7746 * Makes the checkbox a required field.
7747 */
7748 "required"?: boolean;
7749 /**
7750 * The checkbox's value attribute.
7751 */
7752 "value"?: string;
7753 }
7754 interface ScCheckout {
7755 /**
7756 * Is abandoned checkout enabled.
7757 */
7758 "abandonedCheckoutEnabled"?: boolean;
7759 /**
7760 * Alignment
7761 */
7762 "alignment"?: 'center' | 'wide' | 'full';
7763 /**
7764 * Currency to use for this checkout.
7765 */
7766 "currencyCode"?: string;
7767 /**
7768 * Stores the current customer
7769 */
7770 "customer"?: Customer;
7771 /**
7772 * Should we disable components validation
7773 */
7774 "disableComponentsValidation"?: boolean;
7775 /**
7776 * Can we edit line items?
7777 */
7778 "editLineItems"?: boolean;
7779 /**
7780 * The checkout form id
7781 */
7782 "formId"?: number;
7783 /**
7784 * Manual payment methods enabled for this form.
7785 */
7786 "manualPaymentMethods"?: ManualPaymentMethod[];
7787 /**
7788 * Are we in test or live mode.
7789 */
7790 "mode"?: 'test' | 'live';
7791 /**
7792 * When the form was modified.
7793 */
7794 "modified"?: string;
7795 /**
7796 * Checkout has an error.
7797 */
7798 "onScOrderError"?: (event: ScCheckoutCustomEvent<ResponseError>) => void;
7799 /**
7800 * Checkout has been finalized.
7801 */
7802 "onScOrderFinalized"?: (event: ScCheckoutCustomEvent<Checkout>) => void;
7803 /**
7804 * Checkout has been updated.
7805 */
7806 "onScOrderUpdated"?: (event: ScCheckoutCustomEvent<Checkout>) => void;
7807 /**
7808 * Whether to persist the session in the browser between visits.
7809 */
7810 "persistSession"?: boolean;
7811 /**
7812 * An array of prices to pre-fill in the form.
7813 */
7814 "prices"?: Array<PriceChoice>;
7815 /**
7816 * Processors enabled for this form.
7817 */
7818 "processors"?: Processor[];
7819 /**
7820 * A product to pre-fill the form.
7821 */
7822 "product"?: Product;
7823 /**
7824 * Can we remove line items?
7825 */
7826 "removeLineItems"?: boolean;
7827 /**
7828 * Use the Stripe payment element.
7829 */
7830 "stripePaymentElement"?: boolean;
7831 /**
7832 * Where to go on success
7833 */
7834 "successUrl"?: string;
7835 /**
7836 * The account tax protocol
7837 */
7838 "taxProtocol"?: TaxProtocol;
7839 }
7840 interface ScCheckoutAutofillProvider {
7841 }
7842 /**
7843 * This component listens for a confirmed event and redirects to the success url.
7844 */
7845 interface ScCheckoutFormErrors {
7846 }
7847 /**
7848 * Explains why location is requested (e.g. regional / purchasing-power-parity pricing) and gates
7849 * the browser geolocation prompt behind an explicit opt-in when capture is enabled by the merchant.
7850 */
7851 interface ScCheckoutGeoPermission {
7852 }
7853 interface ScCheckoutMolliePayment {
7854 "method"?: string;
7855 "processorId"?: string;
7856 }
7857 interface ScCheckoutPaystackPaymentProvider {
7858 }
7859 /**
7860 * Checkout-side picker for bundle component variants. Mirrors the PDP bundle
7861 * picker (the scope-aware `surecart/product-variant-pills` block) but writes the
7862 * selection straight into the bundle line item's `bundle_component_variants`.
7863 */
7864 interface ScCheckoutProductBundleComponentVariants {
7865 /**
7866 * The bundle product (must include bundle_items.component_variants + component_variant_options).
7867 */
7868 "product"?: Product;
7869 }
7870 interface ScCheckoutProductPriceVariantSelector {
7871 /**
7872 * The label for the price.
7873 */
7874 "label"?: string;
7875 /**
7876 * The product.
7877 */
7878 "product"?: Product;
7879 /**
7880 * The title for price and variant selections
7881 */
7882 "selectorTitle"?: string;
7883 }
7884 interface ScCheckoutRazorpayPaymentProvider {
7885 /**
7886 * Razorpay processor id. Required for the recurring `payment_method_types` fetch.
7887 */
7888 "processorId"?: string;
7889 }
7890 /**
7891 * This component listens for stock requirements and displays a dialog to the user.
7892 */
7893 interface ScCheckoutStockAlert {
7894 /**
7895 * Toggle line item event
7896 */
7897 "onScUpdateLineItem"?: (event: ScCheckoutStockAlertCustomEvent<LineItemData>) => void;
7898 }
7899 /**
7900 * This component listens to the order status
7901 * and confirms the order when payment is successful.
7902 */
7903 interface ScCheckoutTestComplete {
7904 /**
7905 * Checkout status to listen and do payment related stuff.
7906 */
7907 "checkoutStatus"?: string;
7908 /**
7909 * The order is paid event.
7910 */
7911 "onScOrderPaid"?: (event: ScCheckoutTestCompleteCustomEvent<Checkout>) => void;
7912 "onScSetState"?: (event: ScCheckoutTestCompleteCustomEvent<string>) => void;
7913 /**
7914 * Success url.
7915 */
7916 "successUrl"?: string;
7917 }
7918 interface ScCheckoutUnsavedChangesWarning {
7919 "state"?: FormState;
7920 }
7921 interface ScChoice {
7922 /**
7923 * Draws the choice in a checked state.
7924 */
7925 "checked"?: boolean;
7926 /**
7927 * Is the choice disabled
7928 */
7929 "disabled"?: boolean;
7930 /**
7931 * This will be true when the control is in an invalid state. Validity is determined by the `required` prop.
7932 */
7933 "invalid"?: boolean;
7934 /**
7935 * The choice name attribute
7936 */
7937 "name"?: string;
7938 /**
7939 * Emitted when the control loses focus.
7940 */
7941 "onScBlur"?: (event: ScChoiceCustomEvent<void>) => void;
7942 /**
7943 * Emitted when the control's checked state changes.
7944 */
7945 "onScChange"?: (event: ScChoiceCustomEvent<boolean>) => void;
7946 /**
7947 * Emitted when the control gains focus.
7948 */
7949 "onScFocus"?: (event: ScChoiceCustomEvent<void>) => void;
7950 /**
7951 * Is this required
7952 */
7953 "required"?: boolean;
7954 /**
7955 * Show the radio/checkbox control
7956 */
7957 "showControl"?: boolean;
7958 /**
7959 * Show the label
7960 */
7961 "showLabel"?: boolean;
7962 /**
7963 * Show the price
7964 */
7965 "showPrice"?: boolean;
7966 /**
7967 * The size.
7968 */
7969 "size"?: 'small' | 'medium' | 'large';
7970 /**
7971 * The choice name attribute
7972 */
7973 "type"?: 'radio' | 'checkbox';
7974 /**
7975 * The choice value
7976 */
7977 "value"?: string;
7978 }
7979 interface ScChoiceContainer {
7980 /**
7981 * Draws the choice in a checked state.
7982 */
7983 "checked"?: boolean;
7984 /**
7985 * Is the choice disabled
7986 */
7987 "disabled"?: boolean;
7988 /**
7989 * This will be true when the control is in an invalid state. Validity is determined by the `required` prop.
7990 */
7991 "invalid"?: boolean;
7992 /**
7993 * The choice name attribute
7994 */
7995 "name"?: string;
7996 /**
7997 * Emitted when the control loses focus.
7998 */
7999 "onScBlur"?: (event: ScChoiceContainerCustomEvent<void>) => void;
8000 /**
8001 * Emitted when the control's checked state changes.
8002 */
8003 "onScChange"?: (event: ScChoiceContainerCustomEvent<boolean>) => void;
8004 /**
8005 * Emitted when the control gains focus.
8006 */
8007 "onScFocus"?: (event: ScChoiceContainerCustomEvent<void>) => void;
8008 /**
8009 * Is this required
8010 */
8011 "required"?: boolean;
8012 /**
8013 * Role of radio/checkbox control
8014 */
8015 "role"?: string;
8016 /**
8017 * Show the radio/checkbox control
8018 */
8019 "showControl"?: boolean;
8020 /**
8021 * The size.
8022 */
8023 "size"?: 'small' | 'medium' | 'large';
8024 /**
8025 * The choice name attribute
8026 */
8027 "type"?: 'radio' | 'checkbox';
8028 /**
8029 * The choice value
8030 */
8031 "value"?: string;
8032 }
8033 interface ScChoices {
8034 "autoWidth"?: boolean;
8035 /**
8036 * Number of columns on desktop
8037 */
8038 "columns"?: number;
8039 /**
8040 * Validation error message.
8041 */
8042 "errorMessage"?: string;
8043 /**
8044 * The input's help text.
8045 */
8046 "help"?: string;
8047 /**
8048 * Hides the fieldset and legend that surrounds the group. The label will still be read by screen readers.
8049 */
8050 "hideLabel"?: boolean;
8051 /**
8052 * The group label. Required for proper accessibility. Alternatively, you can use the label slot.
8053 */
8054 "label"?: string;
8055 /**
8056 * Required
8057 */
8058 "required"?: boolean;
8059 /**
8060 * Should we show the label
8061 */
8062 "showLabel"?: boolean;
8063 /**
8064 * Input size
8065 */
8066 "size"?: 'small' | 'medium' | 'large';
8067 }
8068 interface ScColumn {
8069 }
8070 interface ScColumns {
8071 /**
8072 * Is this full vertical height
8073 */
8074 "isFullHeight"?: boolean;
8075 /**
8076 * Is this reverse ordered on mobile
8077 */
8078 "isReversedOnMobile"?: boolean;
8079 /**
8080 * Is this stacked on mobile
8081 */
8082 "isStackedOnMobile"?: boolean;
8083 /**
8084 * The vertical alignment of the columns.
8085 */
8086 "verticalAlignment"?: string;
8087 }
8088 interface ScCompactAddress {
8089 /**
8090 * The address.
8091 */
8092 "address"?: Partial<Address>;
8093 /**
8094 * Label for the address
8095 */
8096 "label"?: string;
8097 /**
8098 * Is this loading
8099 */
8100 "loading"?: boolean;
8101 "names"?: Partial<Address>;
8102 /**
8103 * Address change event.
8104 */
8105 "onScChangeAddress"?: (event: ScCompactAddressCustomEvent<Partial<Address>>) => void;
8106 /**
8107 * Address input event.
8108 */
8109 "onScInputAddress"?: (event: ScCompactAddressCustomEvent<Partial<Address>>) => void;
8110 /**
8111 * Placeholders
8112 */
8113 "placeholders"?: Partial<Address>;
8114 /**
8115 * Is this required?
8116 */
8117 "required"?: boolean;
8118 }
8119 interface ScConditionalForm {
8120 /**
8121 * Selector label
8122 */
8123 "rule_groups"?: RuleGroup[];
8124 }
8125 interface ScConsumer {
8126 "onMountConsumer"?: (event: ScConsumerCustomEvent<any>) => void;
8127 "renderer"?: any;
8128 }
8129 interface ScCouponForm {
8130 /**
8131 * Is the form calculating
8132 */
8133 "busy"?: boolean;
8134 /**
8135 * The text for apply button
8136 */
8137 "buttonText"?: string;
8138 "collapsed"?: boolean;
8139 /**
8140 * Currency
8141 */
8142 "currency"?: string;
8143 /**
8144 * The discount
8145 */
8146 "discount"?: DiscountResponse;
8147 /**
8148 * The discount amount
8149 */
8150 "discountAmount"?: number;
8151 /**
8152 * The discounts display amount
8153 */
8154 "discountsDisplayAmount"?: string;
8155 /**
8156 * Is the form editable
8157 */
8158 "editable"?: boolean;
8159 /**
8160 * The error message
8161 */
8162 "error"?: string;
8163 /**
8164 * Force the form to show
8165 */
8166 "forceOpen"?: boolean;
8167 /**
8168 * The label for the coupon form
8169 */
8170 "label"?: string;
8171 /**
8172 * Is the form loading
8173 */
8174 "loading"?: boolean;
8175 /**
8176 * When the coupon is applied
8177 */
8178 "onScApplyCoupon"?: (event: ScCouponFormCustomEvent<string>) => void;
8179 /**
8180 * Is it open
8181 */
8182 "open"?: boolean;
8183 /**
8184 * The placeholder for the input
8185 */
8186 "placeholder"?: string;
8187 /**
8188 * Has recurring
8189 */
8190 "showInterval"?: boolean;
8191 }
8192 interface ScCustomOrderPriceInput {
8193 /**
8194 * Is this busy
8195 */
8196 "busy"?: boolean;
8197 /**
8198 * Help text.
8199 */
8200 "help"?: string;
8201 /**
8202 * Label for the field.
8203 */
8204 "label"?: string;
8205 /**
8206 * Label for the choice.
8207 */
8208 "lineItems"?: LineItem[];
8209 /**
8210 * Is this loading
8211 */
8212 "loading"?: boolean;
8213 /**
8214 * Toggle line item event
8215 */
8216 "onScUpdateLineItem"?: (event: ScCustomOrderPriceInputCustomEvent<LineItemData1>) => void;
8217 /**
8218 * Input placeholder.
8219 */
8220 "placeholder"?: string;
8221 /**
8222 * Stores the price
8223 */
8224 "price"?: Price;
8225 /**
8226 * Id of the price.
8227 */
8228 "priceId"?: string;
8229 /**
8230 * Is this required?
8231 */
8232 "required"?: boolean;
8233 /**
8234 * Show the currency code?
8235 */
8236 "showCode"?: boolean;
8237 }
8238 interface ScCustomerDetails {
8239 "customer"?: Customer;
8240 "editLink"?: string;
8241 "error"?: string;
8242 "heading"?: string;
8243 "loading"?: boolean;
8244 }
8245 interface ScCustomerEdit {
8246 "customer"?: Customer;
8247 "heading"?: string;
8248 "successUrl"?: string;
8249 }
8250 interface ScCustomerEmail {
8251 /**
8252 * The input's autofocus attribute.
8253 */
8254 "autofocus"?: boolean;
8255 /**
8256 * Disables the input.
8257 */
8258 "disabled"?: boolean;
8259 /**
8260 * Inputs focus
8261 */
8262 "hasFocus"?: boolean;
8263 /**
8264 * The input's help text.
8265 */
8266 "help"?: string;
8267 /**
8268 * This will be true when the control is in an invalid state. Validity is determined by props such as `type`, `required`, `minlength`, `maxlength`, and `pattern` using the browser's constraint validation API.
8269 */
8270 "invalid"?: boolean;
8271 /**
8272 * The input's label.
8273 */
8274 "label"?: string;
8275 /**
8276 * Emitted when the control loses focus.
8277 */
8278 "onScBlur"?: (event: ScCustomerEmailCustomEvent<void>) => void;
8279 /**
8280 * Emitted when the control's value changes.
8281 */
8282 "onScChange"?: (event: ScCustomerEmailCustomEvent<void>) => void;
8283 /**
8284 * Emitted when the clear button is activated.
8285 */
8286 "onScClear"?: (event: ScCustomerEmailCustomEvent<void>) => void;
8287 /**
8288 * Emitted when the control gains focus.
8289 */
8290 "onScFocus"?: (event: ScCustomerEmailCustomEvent<void>) => void;
8291 /**
8292 * Emitted when the control receives input.
8293 */
8294 "onScInput"?: (event: ScCustomerEmailCustomEvent<void>) => void;
8295 /**
8296 * Prompt for login.
8297 */
8298 "onScLoginPrompt"?: (event: ScCustomerEmailCustomEvent<void>) => void;
8299 /**
8300 * Update the abandoned cart.
8301 */
8302 "onScUpdateAbandonedCart"?: (event: ScCustomerEmailCustomEvent<boolean>) => void;
8303 /**
8304 * Update the order state.
8305 */
8306 "onScUpdateOrderState"?: (event: ScCustomerEmailCustomEvent<Checkout>) => void;
8307 /**
8308 * Draws a pill-style input with rounded edges.
8309 */
8310 "pill"?: boolean;
8311 /**
8312 * The input's placeholder text.
8313 */
8314 "placeholder"?: string;
8315 /**
8316 * Makes the input readonly.
8317 */
8318 "readonly"?: boolean;
8319 /**
8320 * Makes the input a required field.
8321 */
8322 "required"?: boolean;
8323 /**
8324 * Should we show the label
8325 */
8326 "showLabel"?: boolean;
8327 /**
8328 * The input's size.
8329 */
8330 "size"?: 'small' | 'medium' | 'large';
8331 /**
8332 * A message for tracking confirmation.
8333 */
8334 "trackingConfirmationMessage"?: string;
8335 /**
8336 * The input's value attribute.
8337 */
8338 "value"?: string;
8339 }
8340 interface ScCustomerFirstname {
8341 /**
8342 * The input's autofocus attribute.
8343 */
8344 "autofocus"?: boolean;
8345 /**
8346 * Disables the input.
8347 */
8348 "disabled"?: boolean;
8349 /**
8350 * Inputs focus
8351 */
8352 "hasFocus"?: boolean;
8353 /**
8354 * The input's help text.
8355 */
8356 "help"?: string;
8357 /**
8358 * This will be true when the control is in an invalid state. Validity is determined by props such as `type`, `required`, `minlength`, `maxlength`, and `pattern` using the browser's constraint validation API.
8359 */
8360 "invalid"?: boolean;
8361 /**
8362 * The input's label.
8363 */
8364 "label"?: string;
8365 /**
8366 * Is the user logged in.
8367 */
8368 "loggedIn"?: boolean;
8369 /**
8370 * Emitted when the control loses focus.
8371 */
8372 "onScBlur"?: (event: ScCustomerFirstnameCustomEvent<void>) => void;
8373 /**
8374 * Emitted when the control's value changes.
8375 */
8376 "onScChange"?: (event: ScCustomerFirstnameCustomEvent<void>) => void;
8377 /**
8378 * Emitted when the clear button is activated.
8379 */
8380 "onScClear"?: (event: ScCustomerFirstnameCustomEvent<void>) => void;
8381 /**
8382 * Emitted when the control gains focus.
8383 */
8384 "onScFocus"?: (event: ScCustomerFirstnameCustomEvent<void>) => void;
8385 /**
8386 * Emitted when the control receives input.
8387 */
8388 "onScInput"?: (event: ScCustomerFirstnameCustomEvent<void>) => void;
8389 "onScUpdateCustomer"?: (event: ScCustomerFirstnameCustomEvent<{ email: string }>) => void;
8390 "onScUpdateOrderState"?: (event: ScCustomerFirstnameCustomEvent<Partial<Checkout>>) => void;
8391 /**
8392 * Draws a pill-style input with rounded edges.
8393 */
8394 "pill"?: boolean;
8395 /**
8396 * The input's placeholder text.
8397 */
8398 "placeholder"?: string;
8399 /**
8400 * Makes the input readonly.
8401 */
8402 "readonly"?: boolean;
8403 /**
8404 * Makes the input a required field.
8405 */
8406 "required"?: boolean;
8407 /**
8408 * Should we show the label
8409 */
8410 "showLabel"?: boolean;
8411 /**
8412 * The input's size.
8413 */
8414 "size"?: 'small' | 'medium' | 'large';
8415 /**
8416 * The input's value attribute.
8417 */
8418 "value"?: string;
8419 }
8420 interface ScCustomerLastname {
8421 /**
8422 * The input's autofocus attribute.
8423 */
8424 "autofocus"?: boolean;
8425 /**
8426 * Disables the input.
8427 */
8428 "disabled"?: boolean;
8429 /**
8430 * Inputs focus
8431 */
8432 "hasFocus"?: boolean;
8433 /**
8434 * The input's help text.
8435 */
8436 "help"?: string;
8437 /**
8438 * This will be true when the control is in an invalid state. Validity is determined by props such as `type`, `required`, `minlength`, `maxlength`, and `pattern` using the browser's constraint validation API.
8439 */
8440 "invalid"?: boolean;
8441 /**
8442 * The input's label.
8443 */
8444 "label"?: string;
8445 /**
8446 * Is the user logged in.
8447 */
8448 "loggedIn"?: boolean;
8449 /**
8450 * Emitted when the control loses focus.
8451 */
8452 "onScBlur"?: (event: ScCustomerLastnameCustomEvent<void>) => void;
8453 /**
8454 * Emitted when the control gains focus.
8455 */
8456 "onScFocus"?: (event: ScCustomerLastnameCustomEvent<void>) => void;
8457 /**
8458 * Emitted when the control receives input.
8459 */
8460 "onScInput"?: (event: ScCustomerLastnameCustomEvent<void>) => void;
8461 /**
8462 * Draws a pill-style input with rounded edges.
8463 */
8464 "pill"?: boolean;
8465 /**
8466 * The input's placeholder text.
8467 */
8468 "placeholder"?: string;
8469 /**
8470 * Makes the input readonly.
8471 */
8472 "readonly"?: boolean;
8473 /**
8474 * Makes the input a required field.
8475 */
8476 "required"?: boolean;
8477 /**
8478 * Should we show the label
8479 */
8480 "showLabel"?: boolean;
8481 /**
8482 * The input's size.
8483 */
8484 "size"?: 'small' | 'medium' | 'large';
8485 /**
8486 * The input's value attribute.
8487 */
8488 "value"?: any;
8489 }
8490 interface ScCustomerLogin {
8491 /**
8492 * Code Error coming from the parent
8493 */
8494 "codeError"?: string;
8495 /**
8496 * Lets the parent open in password mode (used on 429 fallback).
8497 */
8498 "initialMode"?: 'code' | 'password';
8499 }
8500 interface ScCustomerName {
8501 /**
8502 * The input's autofocus attribute.
8503 */
8504 "autofocus"?: boolean;
8505 /**
8506 * Disables the input.
8507 */
8508 "disabled"?: boolean;
8509 /**
8510 * Inputs focus
8511 */
8512 "hasFocus"?: boolean;
8513 /**
8514 * The input's help text.
8515 */
8516 "help"?: string;
8517 /**
8518 * This will be true when the control is in an invalid state. Validity is determined by props such as `type`, `required`, `minlength`, `maxlength`, and `pattern` using the browser's constraint validation API.
8519 */
8520 "invalid"?: boolean;
8521 /**
8522 * The input's label.
8523 */
8524 "label"?: string;
8525 /**
8526 * Emitted when the control loses focus.
8527 */
8528 "onScBlur"?: (event: ScCustomerNameCustomEvent<void>) => void;
8529 /**
8530 * Emitted when the control gains focus.
8531 */
8532 "onScFocus"?: (event: ScCustomerNameCustomEvent<void>) => void;
8533 /**
8534 * Emitted when the control receives input.
8535 */
8536 "onScInput"?: (event: ScCustomerNameCustomEvent<void>) => void;
8537 /**
8538 * Draws a pill-style input with rounded edges.
8539 */
8540 "pill"?: boolean;
8541 /**
8542 * The input's placeholder text.
8543 */
8544 "placeholder"?: string;
8545 /**
8546 * Makes the input readonly.
8547 */
8548 "readonly"?: boolean;
8549 /**
8550 * Makes the input a required field.
8551 */
8552 "required"?: boolean;
8553 /**
8554 * Should we show the label
8555 */
8556 "showLabel"?: boolean;
8557 /**
8558 * The input's size.
8559 */
8560 "size"?: 'small' | 'medium' | 'large';
8561 /**
8562 * The input's value attribute.
8563 */
8564 "value"?: any;
8565 }
8566 interface ScCustomerPhone {
8567 /**
8568 * The input's autofocus attribute.
8569 */
8570 "autofocus"?: boolean;
8571 /**
8572 * Disables the input.
8573 */
8574 "disabled"?: boolean;
8575 /**
8576 * Error focus
8577 */
8578 "error"?: boolean;
8579 /**
8580 * Inputs focus
8581 */
8582 "hasFocus"?: boolean;
8583 /**
8584 * The input's help text.
8585 */
8586 "help"?: string;
8587 /**
8588 * This will be true when the control is in an invalid state. Validity is determined by props such as `type`, `required`, `minlength`, `maxlength`, and `pattern` using the browser's constraint validation API.
8589 */
8590 "invalid"?: boolean;
8591 /**
8592 * The input's label.
8593 */
8594 "label"?: string;
8595 /**
8596 * Emitted when the control loses focus.
8597 */
8598 "onScBlur"?: (event: ScCustomerPhoneCustomEvent<void>) => void;
8599 /**
8600 * Emitted when the control's value changes.
8601 */
8602 "onScChange"?: (event: ScCustomerPhoneCustomEvent<void>) => void;
8603 /**
8604 * Emitted when the clear button is activated.
8605 */
8606 "onScClear"?: (event: ScCustomerPhoneCustomEvent<void>) => void;
8607 /**
8608 * Emitted when the control gains focus.
8609 */
8610 "onScFocus"?: (event: ScCustomerPhoneCustomEvent<void>) => void;
8611 /**
8612 * Emitted when the control receives input.
8613 */
8614 "onScInput"?: (event: ScCustomerPhoneCustomEvent<void>) => void;
8615 /**
8616 * Draws a pill-style input with rounded edges.
8617 */
8618 "pill"?: boolean;
8619 /**
8620 * The input's placeholder text.
8621 */
8622 "placeholder"?: string;
8623 /**
8624 * Makes the input readonly.
8625 */
8626 "readonly"?: boolean;
8627 /**
8628 * Makes the input a required field.
8629 */
8630 "required"?: boolean;
8631 /**
8632 * Should we show the label
8633 */
8634 "showLabel"?: boolean;
8635 /**
8636 * The input's size.
8637 */
8638 "size"?: 'small' | 'medium' | 'large';
8639 /**
8640 * The input's value attribute.
8641 */
8642 "value"?: string;
8643 }
8644 interface ScDashboardCustomerDetails {
8645 "customerId"?: string;
8646 "heading"?: string;
8647 }
8648 interface ScDashboardDownloadsList {
8649 "allLink"?: string;
8650 "heading"?: string;
8651 "isCustomer"?: boolean;
8652 /**
8653 * Customer id to fetch subscriptions
8654 */
8655 "query"?: any;
8656 "requestNonce"?: string;
8657 }
8658 interface ScDashboardModule {
8659 "error"?: string;
8660 "heading"?: string;
8661 "loading"?: boolean;
8662 }
8663 interface ScDialog {
8664 /**
8665 * The dialog's label as displayed in the header. You should always include a relevant label even when using `no-header`, as it is required for proper accessibility.
8666 */
8667 "label"?: string;
8668 /**
8669 * Disables the header. This will also remove the default close button, so please ensure you provide an easy, accessible way for users to dismiss the dialog.
8670 */
8671 "noHeader"?: boolean;
8672 "onScAfterHide"?: (event: ScDialogCustomEvent<void>) => void;
8673 "onScAfterShow"?: (event: ScDialogCustomEvent<void>) => void;
8674 "onScHide"?: (event: ScDialogCustomEvent<void>) => void;
8675 "onScInitialFocus"?: (event: ScDialogCustomEvent<void>) => void;
8676 /**
8677 * Request close event
8678 */
8679 "onScRequestClose"?: (event: ScDialogCustomEvent<'close-button' | 'keyboard' | 'overlay'>) => void;
8680 "onScShow"?: (event: ScDialogCustomEvent<void>) => void;
8681 /**
8682 * Indicates whether or not the dialog is open. You can use this in lieu of the show/hide methods.
8683 */
8684 "open"?: boolean;
8685 }
8686 interface ScDivider {
8687 }
8688 interface ScDonationChoices {
8689 "busy"?: boolean;
8690 /**
8691 * Currency code for the donation.
8692 */
8693 "currencyCode"?: string;
8694 /**
8695 * The default amount to load the page with.
8696 */
8697 "defaultAmount"?: string;
8698 /**
8699 * The label for the field.
8700 */
8701 "label"?: string;
8702 /**
8703 * Order line items.
8704 */
8705 "lineItems"?: LineItem[];
8706 /**
8707 * Is this loading
8708 */
8709 "loading"?: boolean;
8710 /**
8711 * Toggle line item event
8712 */
8713 "onScAddLineItem"?: (event: ScDonationChoicesCustomEvent<LineItemData1>) => void;
8714 /**
8715 * Toggle line item event
8716 */
8717 "onScRemoveLineItem"?: (event: ScDonationChoicesCustomEvent<LineItemData1>) => void;
8718 /**
8719 * Toggle line item event
8720 */
8721 "onScUpdateLineItem"?: (event: ScDonationChoicesCustomEvent<LineItemData1>) => void;
8722 /**
8723 * The price id for the fields.
8724 */
8725 "priceId"?: string;
8726 "removeInvalid"?: boolean;
8727 }
8728 interface ScDownloadsList {
8729 "customerId"?: string;
8730 "heading"?: string;
8731 "productId"?: string;
8732 "query"?: any;
8733 "variantId"?: string;
8734 }
8735 interface ScDrawer {
8736 /**
8737 * By default, the drawer slides out of its containing block (usually the viewport). To make the drawer slide out of its parent element, set this prop and add `position: relative` to the parent.
8738 */
8739 "contained"?: boolean;
8740 /**
8741 * The drawer's label as displayed in the header. You should always include a relevant label even when using `no-header`, as it is required for proper accessibility.
8742 */
8743 "label"?: string;
8744 /**
8745 * Removes the header. This will also remove the default close button, so please ensure you provide an easy, accessible way for users to dismiss the drawer.
8746 */
8747 "noHeader"?: boolean;
8748 "onScAfterHide"?: (event: ScDrawerCustomEvent<void>) => void;
8749 "onScAfterShow"?: (event: ScDrawerCustomEvent<void>) => void;
8750 "onScHide"?: (event: ScDrawerCustomEvent<void>) => void;
8751 "onScInitialFocus"?: (event: ScDrawerCustomEvent<void>) => void;
8752 "onScRequestClose"?: (event: ScDrawerCustomEvent<'close-button' | 'keyboard' | 'overlay' | 'method'>) => void;
8753 "onScShow"?: (event: ScDrawerCustomEvent<void>) => void;
8754 /**
8755 * Indicates whether or not the drawer is open. You can use this in lieu of the show/hide methods.
8756 */
8757 "open"?: boolean;
8758 /**
8759 * The direction from which the drawer will open.
8760 */
8761 "placement"?: 'top' | 'end' | 'bottom' | 'start';
8762 /**
8763 * Sticky drawer footer
8764 */
8765 "stickyFooter"?: boolean;
8766 /**
8767 * Sticky drawer header
8768 */
8769 "stickyHeader"?: boolean;
8770 }
8771 interface ScDropdown {
8772 "clickEl"?: HTMLElement;
8773 /**
8774 * Determines whether the dropdown should hide when a menu item is selected
8775 */
8776 "closeOnSelect"?: boolean;
8777 /**
8778 * Is this disabled.
8779 */
8780 "disabled"?: boolean;
8781 /**
8782 * The distance in pixels from which to offset the panel away from its trigger.
8783 */
8784 "distance"?: number;
8785 /**
8786 * Enable this option to prevent the panel from being clipped when the component is placed inside a container with `overflow: auto|scroll`.
8787 */
8788 "hoist"?: boolean;
8789 /**
8790 * Emitted when the dropdown closes. Calling `event.preventDefault()` will prevent it from being closed.
8791 */
8792 "onScHide"?: (event: ScDropdownCustomEvent<void>) => void;
8793 /**
8794 * Emitted when the dropdown opens. Calling `event.preventDefault()` will prevent it from being opened.
8795 */
8796 "onScShow"?: (event: ScDropdownCustomEvent<void>) => void;
8797 /**
8798 * Indicates whether or not the dropdown is open. You can use this in lieu of the show/hide methods.
8799 */
8800 "open"?: boolean;
8801 /**
8802 * The placement of the dropdown.
8803 */
8804 "placement"?: | 'top'
8805 | 'top-start'
8806 | 'top-end'
8807 | 'bottom'
8808 | 'bottom-start'
8809 | 'bottom-end'
8810 | 'right'
8811 | 'right-start'
8812 | 'right-end'
8813 | 'left'
8814 | 'left-start'
8815 | 'left-end';
8816 /**
8817 * The placement of the dropdown panel
8818 */
8819 "position"?: 'top-left' | 'top-right' | 'bottom-left' | 'bottom-right';
8820 /**
8821 * The distance in pixels from which to offset the panel along its trigger.
8822 */
8823 "skidding"?: number;
8824 }
8825 interface ScEmpty {
8826 "icon"?: string;
8827 }
8828 interface ScError {
8829 /**
8830 * Error to display.
8831 */
8832 "error"?: ResponseError | null;
8833 /**
8834 * Set the state.
8835 */
8836 "onScUpdateError"?: (event: ScErrorCustomEvent<ResponseError>) => void;
8837 }
8838 interface ScExpressPayment {
8839 "debug"?: boolean;
8840 "dividerText"?: string;
8841 "hasPaymentOptions"?: boolean;
8842 "processor"?: ProcessorName;
8843 }
8844 interface ScFeatureDemoBanner {
8845 "buttonText"?: string;
8846 "url"?: string;
8847 }
8848 interface ScFlex {
8849 "alignItems"?: string;
8850 "columnGap"?: string;
8851 "flexDirection"?: string;
8852 "flexWrap"?: string;
8853 "justifyContent"?: string;
8854 "stack"?: string;
8855 }
8856 interface ScForm {
8857 /**
8858 * Prevent the form from validating inputs before submitting.
8859 */
8860 "novalidate"?: boolean;
8861 /**
8862 * Emitted when the form is submitted. This event will not be emitted if any form control inside of it is in an invalid state, unless the form has the `novalidate` attribute. Note that there is never a need to prevent this event, since it doen't send a GET or POST request like native forms. To "prevent" submission, use a conditional around the XHR request you use to submit the form's data with.
8863 */
8864 "onScFormChange"?: (event: ScFormCustomEvent<Object>) => void;
8865 /**
8866 * Backwards compat.
8867 */
8868 "onScFormSubmit"?: (event: ScFormCustomEvent<void>) => void;
8869 /**
8870 * Emitted when the form is submitted. This event will not be emitted if any form control inside of it is in an invalid state, unless the form has the `novalidate` attribute. Note that there is never a need to prevent this event, since it doen't send a GET or POST request like native forms. To "prevent" submission, use a conditional around the XHR request you use to submit the form's data with.
8871 */
8872 "onScSubmit"?: (event: ScFormCustomEvent<void>) => void;
8873 }
8874 interface ScFormComponentsValidator {
8875 /**
8876 * Disable validation?
8877 */
8878 "disabled"?: boolean;
8879 /**
8880 * The tax protocol
8881 */
8882 "taxProtocol"?: TaxProtocol;
8883 }
8884 interface ScFormControl {
8885 /**
8886 * Help text
8887 */
8888 "help"?: string;
8889 /**
8890 * Help id
8891 */
8892 "helpId"?: string;
8893 /**
8894 * Input id.
8895 */
8896 "inputId"?: string;
8897 /**
8898 * Input label.
8899 */
8900 "label"?: string;
8901 /**
8902 * Input label id.
8903 */
8904 "labelId"?: string;
8905 /**
8906 * Name for the input. Used for validation errors.
8907 */
8908 "name"?: string;
8909 /**
8910 * Whether the input is required.
8911 */
8912 "required"?: boolean;
8913 /**
8914 * Show the label.
8915 */
8916 "showLabel"?: boolean;
8917 /**
8918 * Size of the label
8919 */
8920 "size"?: 'small' | 'medium' | 'large';
8921 }
8922 /**
8923 * This component checks to make sure there is an error component
8924 * and adds one if it's missing.
8925 */
8926 interface ScFormErrorProvider {
8927 }
8928 interface ScFormRow {
8929 }
8930 /**
8931 * This component listens for a confirmed event and redirects to the success url.
8932 */
8933 interface ScFormStateProvider {
8934 /**
8935 * Set the state.
8936 */
8937 "onScSetCheckoutFormState"?: (event: ScFormStateProviderCustomEvent<FormState>) => void;
8938 }
8939 interface ScFormatBytes {
8940 /**
8941 * Determines how to display the result, e.g. "100 bytes", "100 b", or "100b".
8942 */
8943 "display"?: 'long' | 'short' | 'narrow';
8944 /**
8945 * The locale to use when formatting the number.
8946 */
8947 "locale"?: string;
8948 /**
8949 * The unit to display.
8950 */
8951 "unit"?: 'byte' | 'bit';
8952 /**
8953 * The number to format in bytes.
8954 */
8955 "value"?: number;
8956 }
8957 interface ScFormatInterval {
8958 "every"?: string;
8959 "fallback"?: string;
8960 "interval"?: string;
8961 /**
8962 * The number to format.
8963 */
8964 "value"?: number;
8965 }
8966 interface ScFormatNumber {
8967 /**
8968 * The currency to use when formatting. Must be an ISO 4217 currency code such as `USD` or `EUR`.
8969 */
8970 "currency"?: string;
8971 /**
8972 * How to display the currency.
8973 */
8974 "currencyDisplay"?: 'symbol' | 'narrowSymbol' | 'code' | 'name';
8975 /**
8976 * The locale to use when formatting the number.
8977 */
8978 "locale"?: string;
8979 /**
8980 * The maximum number of fraction digits to use. Possible values are 0 - 20.
8981 */
8982 "maximumFractionDigits"?: number;
8983 /**
8984 * The maximum number of significant digits to use,. Possible values are 1 - 21.
8985 */
8986 "maximumSignificantDigits"?: number;
8987 /**
8988 * The minimum number of fraction digits to use. Possible values are 0 - 20.
8989 */
8990 "minimumFractionDigits"?: number;
8991 /**
8992 * The minimum number of integer digits to use. Possible values are 1 - 21.
8993 */
8994 "minimumIntegerDigits"?: number;
8995 /**
8996 * The minimum number of significant digits to use. Possible values are 1 - 21.
8997 */
8998 "minimumSignificantDigits"?: number;
8999 /**
9000 * Should we convert
9001 */
9002 "noConvert"?: boolean;
9003 /**
9004 * Turns off grouping separators.
9005 */
9006 "noGrouping"?: boolean;
9007 /**
9008 * The formatting style to use.
9009 */
9010 "type"?: 'currency' | 'decimal' | 'percent' | 'unit';
9011 /**
9012 * The unit to use when formatting.
9013 */
9014 "unit"?: string;
9015 /**
9016 * The number to format.
9017 */
9018 "value"?: number;
9019 }
9020 interface ScFulfillmentShippingStatusBadge {
9021 /**
9022 * Makes the tag clearable.
9023 */
9024 "clearable"?: boolean;
9025 /**
9026 * Where the badge is shown. 'customer' applies friendlier wording for some statuses.
9027 */
9028 "context"?: 'admin' | 'customer';
9029 /**
9030 * Draws a pill-style tag with rounded edges.
9031 */
9032 "pill"?: boolean;
9033 /**
9034 * The tag's size.
9035 */
9036 "size"?: 'small' | 'medium' | 'large';
9037 /**
9038 * The tag's statux type.
9039 */
9040 "status"?: FulfillmentStatus;
9041 }
9042 interface ScFulfillments {
9043 "heading"?: string;
9044 "orderId"?: string;
9045 /**
9046 * Show the "Order Received" notice for shippable orders with no fulfillments yet.
9047 */
9048 "showPreShipmentNotice"?: boolean;
9049 }
9050 interface ScHeading {
9051 "size"?: 'small' | 'medium' | 'large';
9052 }
9053 interface ScIcon {
9054 /**
9055 * An alternative description to use for accessibility. If omitted, the name or src will be used to generate it.
9056 */
9057 "label"?: string;
9058 /**
9059 * The name of a registered custom icon library.
9060 */
9061 "library"?: string;
9062 /**
9063 * Mutate the icon
9064 */
9065 "mutate"?: boolean;
9066 /**
9067 * The name of the icon to draw.
9068 */
9069 "name"?: string;
9070 /**
9071 * Emitted when the icon has loaded.
9072 */
9073 "onScLoad"?: (event: ScIconCustomEvent<void>) => void;
9074 /**
9075 * An external URL of an SVG file.
9076 */
9077 "src"?: string;
9078 }
9079 interface ScImageSlider {
9080 "autoHeight"?: boolean;
9081 "hasThumbnails"?: boolean;
9082 /**
9083 * Accept a string or an array of objects
9084 */
9085 "images"?: string | { src: string; alt: string; srcset; width: number; height: number; sizes: string; title: string }[];
9086 "thumbnails"?: string | { src: string; alt: string; srcset; width: number; height: number; sizes: string; title: string }[];
9087 "thumbnailsPerPage"?: number;
9088 }
9089 interface ScInput {
9090 /**
9091 * The input's autocomplete attribute.
9092 */
9093 "autocomplete"?: string;
9094 /**
9095 * The input's autocorrect attribute.
9096 */
9097 "autocorrect"?: string;
9098 /**
9099 * The input's autofocus attribute.
9100 */
9101 "autofocus"?: boolean;
9102 /**
9103 * Adds a clear button when the input is populated.
9104 */
9105 "clearable"?: boolean;
9106 /**
9107 * Custom validation message to show when the input is invalid (replaces browser default).
9108 */
9109 "customValidity"?: string;
9110 /**
9111 * Disables the input.
9112 */
9113 "disabled"?: boolean;
9114 /**
9115 * Inputs focus
9116 */
9117 "hasFocus"?: boolean;
9118 /**
9119 * The input's help text.
9120 */
9121 "help"?: string;
9122 /**
9123 * Hidden
9124 */
9125 "hidden"?: boolean;
9126 /**
9127 * The input's inputmode attribute.
9128 */
9129 "inputmode"?: 'none' | 'text' | 'decimal' | 'numeric' | 'tel' | 'search' | 'email' | 'url';
9130 /**
9131 * This will be true when the control is in an invalid state. Validity is determined by props such as `type`, `required`, `minlength`, `maxlength`, and `pattern` using the browser's constraint validation API.
9132 */
9133 "invalid"?: boolean;
9134 /**
9135 * The input's label.
9136 */
9137 "label"?: string;
9138 /**
9139 * The input's maximum value.
9140 */
9141 "max"?: number | string;
9142 /**
9143 * The maximum length of input that will be considered valid.
9144 */
9145 "maxlength"?: number;
9146 /**
9147 * The input's minimum value.
9148 */
9149 "min"?: number | string;
9150 /**
9151 * The minimum length of input that will be considered valid.
9152 */
9153 "minlength"?: number;
9154 /**
9155 * The input's name attribute.
9156 */
9157 "name"?: string;
9158 /**
9159 * Emitted when the control loses focus.
9160 */
9161 "onScBlur"?: (event: ScInputCustomEvent<void>) => void;
9162 /**
9163 * Emitted when the control's value changes.
9164 */
9165 "onScChange"?: (event: ScInputCustomEvent<void>) => void;
9166 /**
9167 * Emitted when the clear button is activated.
9168 */
9169 "onScClear"?: (event: ScInputCustomEvent<void>) => void;
9170 /**
9171 * Emitted when the control gains focus.
9172 */
9173 "onScFocus"?: (event: ScInputCustomEvent<void>) => void;
9174 /**
9175 * Emitted when the control receives input.
9176 */
9177 "onScInput"?: (event: ScInputCustomEvent<void>) => void;
9178 /**
9179 * A pattern to validate input against.
9180 */
9181 "pattern"?: string;
9182 /**
9183 * Draws a pill-style input with rounded edges.
9184 */
9185 "pill"?: boolean;
9186 /**
9187 * The input's placeholder text.
9188 */
9189 "placeholder"?: string;
9190 /**
9191 * Makes the input readonly.
9192 */
9193 "readonly"?: boolean;
9194 /**
9195 * Makes the input a required field.
9196 */
9197 "required"?: boolean;
9198 /**
9199 * Should we show the label
9200 */
9201 "showLabel"?: boolean;
9202 /**
9203 * The input's size.
9204 */
9205 "size"?: 'small' | 'medium' | 'large';
9206 /**
9207 * Enables spell checking on the input.
9208 */
9209 "spellcheck"?: boolean;
9210 "squared"?: boolean;
9211 "squaredBottom"?: boolean;
9212 "squaredLeft"?: boolean;
9213 "squaredRight"?: boolean;
9214 "squaredTop"?: boolean;
9215 /**
9216 * The input's step attribute.
9217 */
9218 "step"?: number;
9219 /**
9220 * Adds a password toggle button to password inputs.
9221 */
9222 "togglePassword"?: boolean;
9223 /**
9224 * The input's type.
9225 */
9226 "type"?: 'email' | 'number' | 'password' | 'search' | 'tel' | 'text' | 'url' | 'hidden';
9227 /**
9228 * The input's value attribute.
9229 */
9230 "value"?: string;
9231 }
9232 interface ScInvoiceDetails {
9233 }
9234 interface ScInvoiceMemo {
9235 /**
9236 * Memo Label
9237 */
9238 "text"?: string;
9239 }
9240 interface ScInvoiceStatusBadge {
9241 /**
9242 * Makes the tag clearable.
9243 */
9244 "clearable"?: boolean;
9245 /**
9246 * Draws a pill-style tag with rounded edges.
9247 */
9248 "pill"?: boolean;
9249 /**
9250 * The tag's size.
9251 */
9252 "size"?: 'small' | 'medium' | 'large';
9253 /**
9254 * The tag's statux type.
9255 */
9256 "status"?: InvoiceStatus;
9257 }
9258 interface ScInvoicesList {
9259 "allLink"?: string;
9260 "heading"?: string;
9261 "isCustomer"?: boolean;
9262 /**
9263 * Query to fetch invoices
9264 */
9265 "query"?: {
9266 page: number;
9267 per_page: number;
9268 };
9269 }
9270 interface ScLicense {
9271 /**
9272 * The license id
9273 */
9274 "licenseId"?: string;
9275 /**
9276 * Query to fetch Activations
9277 */
9278 "query"?: {
9279 page: number;
9280 per_page: number;
9281 };
9282 }
9283 interface ScLicensesList {
9284 /**
9285 * View all link
9286 */
9287 "allLink"?: string;
9288 /**
9289 * The heading of the licenses
9290 */
9291 "heading"?: string;
9292 /**
9293 * Whether the current user is customer
9294 */
9295 "isCustomer"?: boolean;
9296 "licenses"?: License[];
9297 /**
9298 * Query to fetch licenses
9299 */
9300 "query"?: {
9301 page: number;
9302 per_page: number;
9303 };
9304 }
9305 interface ScLineItem {
9306 /**
9307 * Currency symbol
9308 */
9309 "currency"?: string;
9310 /**
9311 * Price of the item
9312 */
9313 "price"?: string;
9314 }
9315 interface ScLineItemBump {
9316 "label"?: string;
9317 "loading"?: boolean;
9318 }
9319 interface ScLineItemInvoiceDueDate {
9320 }
9321 interface ScLineItemInvoiceNumber {
9322 }
9323 interface ScLineItemInvoiceReceiptDownload {
9324 "checkout"?: Checkout;
9325 }
9326 interface ScLineItemShipping {
9327 /**
9328 * Label
9329 */
9330 "label"?: string;
9331 }
9332 interface ScLineItemTax {
9333 "loading"?: boolean;
9334 "order"?: Checkout;
9335 }
9336 interface ScLineItemTotal {
9337 "checkout"?: Checkout;
9338 "size"?: 'large' | 'medium';
9339 "total"?: 'total' | 'subtotal';
9340 }
9341 interface ScLineItemTrial {
9342 /**
9343 * The label for the trial item
9344 */
9345 "label"?: string;
9346 }
9347 interface ScLineItems {
9348 /**
9349 * Is the line item editable?
9350 */
9351 "editable"?: boolean;
9352 /**
9353 * Is the line item removable?
9354 */
9355 "removable"?: boolean;
9356 /**
9357 * Separator between a bundle component's name and its variant options.
9358 */
9359 "separator"?: string;
9360 /**
9361 * Show every bundle component (default), or only those with a selected variant when set to `false`.
9362 */
9363 "showAllBundleItems"?: boolean;
9364 }
9365 interface ScLineItemsProvider {
9366 /**
9367 * Update line items event
9368 */
9369 "onScUpdateLineItems"?: (event: ScLineItemsProviderCustomEvent<Array<LineItemData1>>) => void;
9370 /**
9371 * Order Object
9372 */
9373 "order"?: Checkout;
9374 }
9375 interface ScLoginForm {
9376 }
9377 interface ScLoginProvider {
9378 /**
9379 * Is the user logged in.
9380 */
9381 "loggedIn"?: boolean;
9382 "onScSetCustomer"?: (event: ScLoginProviderCustomEvent<{ email: string; name?: string }>) => void;
9383 "onScSetLoggedIn"?: (event: ScLoginProviderCustomEvent<boolean>) => void;
9384 "order"?: Checkout;
9385 }
9386 interface ScManualPaymentMethod {
9387 "paymentMethod"?: ManualPaymentMethod;
9388 "showDescription"?: boolean;
9389 }
9390 interface ScMenu {
9391 "ariaLabel"?: string;
9392 "onScSelect"?: (event: ScMenuCustomEvent<{ item: HTMLScMenuItemElement }>) => void;
9393 }
9394 interface ScMenuDivider {
9395 }
9396 interface ScMenuItem {
9397 /**
9398 * Draws the item in a checked state.
9399 */
9400 "checked"?: boolean;
9401 /**
9402 * Draws the menu item in a disabled state.
9403 */
9404 "disabled"?: boolean;
9405 /**
9406 * Optional link to follow.
9407 */
9408 "href"?: string;
9409 /**
9410 * The target of the link.
9411 */
9412 "target"?: string;
9413 /**
9414 * A unique value to store in the menu item. This can be used as a way to identify menu items when selected.
9415 */
9416 "value"?: string;
9417 }
9418 interface ScMenuLabel {
9419 }
9420 interface ScMollieAddMethod {
9421 "country"?: string;
9422 "currency"?: string;
9423 "customerId"?: string;
9424 "liveMode"?: boolean;
9425 "processorId"?: string;
9426 "successUrl"?: string;
9427 }
9428 interface ScOrder {
9429 "customerIds"?: string[];
9430 "heading"?: string;
9431 "orderId"?: string;
9432 }
9433 interface ScOrderBillingAddress {
9434 /**
9435 * Default country for address
9436 */
9437 "defaultCountry"?: string;
9438 /**
9439 * Label for the field
9440 */
9441 "label"?: string;
9442 /**
9443 * Name placeholder
9444 */
9445 "namePlaceholder"?: string;
9446 /**
9447 * Show the name field
9448 */
9449 "showName"?: boolean;
9450 /**
9451 * Toggle label
9452 */
9453 "toggleLabel"?: string;
9454 }
9455 interface ScOrderBump {
9456 /**
9457 * The bump
9458 */
9459 "bump"?: Bump;
9460 /**
9461 * Should we show the controls (classic design)
9462 */
9463 "showControl"?: boolean;
9464 }
9465 interface ScOrderBumps {
9466 "help"?: string;
9467 /**
9468 * Hide bumps that have already been added to the checkout.
9469 */
9470 "hideAddedItems"?: boolean;
9471 "label"?: string;
9472 /**
9473 * Should we show the controls (classic design)
9474 */
9475 "showControl"?: boolean;
9476 }
9477 interface ScOrderConfirmComponentsValidator {
9478 /**
9479 * The checkout
9480 */
9481 "checkout"?: Checkout;
9482 }
9483 /**
9484 * This component listens to the order status
9485 * and confirms the order when payment is successful.
9486 */
9487 interface ScOrderConfirmProvider {
9488 /**
9489 * Checkout status to listen and do payment related stuff.
9490 */
9491 "checkoutStatus"?: string;
9492 /**
9493 * The order is paid event.
9494 */
9495 "onScOrderPaid"?: (event: ScOrderConfirmProviderCustomEvent<Checkout>) => void;
9496 "onScSetState"?: (event: ScOrderConfirmProviderCustomEvent<string>) => void;
9497 /**
9498 * Success url.
9499 */
9500 "successUrl"?: string;
9501 }
9502 interface ScOrderConfirmation {
9503 "order"?: Checkout;
9504 }
9505 interface ScOrderConfirmationCustomer {
9506 /**
9507 * The customer
9508 */
9509 "customer"?: Customer;
9510 /**
9511 * Error message.
9512 */
9513 "error"?: string;
9514 /**
9515 * The heading
9516 */
9517 "heading"?: string;
9518 /**
9519 * Is this loading?
9520 */
9521 "loading"?: boolean;
9522 /**
9523 * The Order
9524 */
9525 "order"?: Checkout;
9526 }
9527 interface ScOrderConfirmationDetails {
9528 "loading"?: boolean;
9529 "order"?: Order;
9530 }
9531 interface ScOrderConfirmationLineItems {
9532 "loading"?: boolean;
9533 "order"?: Checkout;
9534 }
9535 interface ScOrderConfirmationTotals {
9536 "order"?: Checkout;
9537 }
9538 interface ScOrderCouponForm {
9539 "buttonText"?: string;
9540 "collapsed"?: boolean;
9541 "label"?: string;
9542 "loading"?: boolean;
9543 "placeholder"?: string;
9544 }
9545 interface ScOrderDetail {
9546 "fallback"?: string;
9547 "label"?: string;
9548 "loading"?: boolean;
9549 "metaKey"?: string;
9550 "order"?: Checkout;
9551 "value"?: string;
9552 }
9553 interface ScOrderFulfillmentBadge {
9554 /**
9555 * Makes the tag clearable.
9556 */
9557 "clearable"?: boolean;
9558 /**
9559 * Draws a pill-style tag with rounded edges.
9560 */
9561 "pill"?: boolean;
9562 /**
9563 * The tag's size.
9564 */
9565 "size"?: 'small' | 'medium' | 'large';
9566 /**
9567 * The tag's statux type.
9568 */
9569 "status"?: OrderFulFillmentStatus;
9570 }
9571 interface ScOrderManualInstructions {
9572 "manualPaymentInstructions"?: string;
9573 "manualPaymentTitle"?: string;
9574 }
9575 interface ScOrderPassword {
9576 /**
9577 * The input's autofocus attribute.
9578 */
9579 "autofocus"?: boolean;
9580 /**
9581 * The input's password confirmation attribute.
9582 */
9583 "confirmation"?: boolean;
9584 /**
9585 * The input's confirmation help text.
9586 */
9587 "confirmationHelp"?: string;
9588 /**
9589 * The input's confirmation label text.
9590 */
9591 "confirmationLabel"?: string;
9592 /**
9593 * The input's confirmation placeholder text.
9594 */
9595 "confirmationPlaceholder"?: string;
9596 /**
9597 * Disables the input.
9598 */
9599 "disabled"?: boolean;
9600 /**
9601 * Does the email exist?
9602 */
9603 "emailExists"?: boolean;
9604 /**
9605 * Ensures strong password validation.
9606 */
9607 "enableValidation"?: boolean;
9608 /**
9609 * The input's help text.
9610 */
9611 "help"?: string;
9612 /**
9613 * The input's label.
9614 */
9615 "label"?: string;
9616 "loggedIn"?: boolean;
9617 /**
9618 * Draws a pill-style input with rounded edges.
9619 */
9620 "pill"?: boolean;
9621 /**
9622 * The input's placeholder text.
9623 */
9624 "placeholder"?: string;
9625 /**
9626 * Makes the input readonly.
9627 */
9628 "readonly"?: boolean;
9629 /**
9630 * Makes the input a required field.
9631 */
9632 "required"?: boolean;
9633 /**
9634 * Should we show the label
9635 */
9636 "showLabel"?: boolean;
9637 /**
9638 * The input's size.
9639 */
9640 "size"?: 'small' | 'medium' | 'large';
9641 /**
9642 * The input's value attribute.
9643 */
9644 "value"?: string;
9645 }
9646 interface ScOrderReturnBadge {
9647 /**
9648 * Makes the tag clearable.
9649 */
9650 "clearable"?: boolean;
9651 /**
9652 * Draws a pill-style tag with rounded edges.
9653 */
9654 "pill"?: boolean;
9655 /**
9656 * The tag's size.
9657 */
9658 "size"?: 'small' | 'medium' | 'large';
9659 /**
9660 * The tag's statux type.
9661 */
9662 "status"?: ReturnRequestStatus;
9663 }
9664 interface ScOrderShipmentBadge {
9665 /**
9666 * Makes the tag clearable.
9667 */
9668 "clearable"?: boolean;
9669 /**
9670 * Where the badge is shown. 'customer' applies friendlier wording for some statuses.
9671 */
9672 "context"?: 'admin' | 'customer';
9673 /**
9674 * Draws a pill-style tag with rounded edges.
9675 */
9676 "pill"?: boolean;
9677 /**
9678 * The tag's size.
9679 */
9680 "size"?: 'small' | 'medium' | 'large';
9681 /**
9682 * The tag's statux type.
9683 */
9684 "status"?: OrderShipmentStatus;
9685 }
9686 interface ScOrderShippingAddress {
9687 /**
9688 * Default country for address
9689 */
9690 "defaultCountry"?: string;
9691 /**
9692 * Show the address
9693 */
9694 "full"?: boolean;
9695 /**
9696 * Label for the field.
9697 */
9698 "label"?: string;
9699 /**
9700 * Whether to require the name in the address
9701 */
9702 "requireName"?: boolean;
9703 /**
9704 * Is this required (defaults to false)
9705 */
9706 "required"?: boolean;
9707 /**
9708 * Show the line 2 field.
9709 */
9710 "showLine2"?: boolean;
9711 /**
9712 * Show the name field.
9713 */
9714 "showName"?: boolean;
9715 }
9716 interface ScOrderStatusBadge {
9717 /**
9718 * Makes the tag clearable.
9719 */
9720 "clearable"?: boolean;
9721 /**
9722 * Draws a pill-style tag with rounded edges.
9723 */
9724 "pill"?: boolean;
9725 /**
9726 * The tag's size.
9727 */
9728 "size"?: 'small' | 'medium' | 'large';
9729 /**
9730 * The tag's statux type.
9731 */
9732 "status"?: OrderStatus;
9733 }
9734 interface ScOrderSubmit {
9735 "backgroundColor"?: string;
9736 /**
9737 * Currency Code
9738 */
9739 "currencyCode"?: string;
9740 /**
9741 * Show a full-width button.
9742 */
9743 "full"?: boolean;
9744 /**
9745 * Icon to show.
9746 */
9747 "icon"?: string;
9748 /**
9749 * Is the order loading.
9750 */
9751 "loading"?: boolean;
9752 /**
9753 * The current order.
9754 */
9755 "order"?: Checkout;
9756 /**
9757 * Is the order paying.
9758 */
9759 "paying"?: boolean;
9760 /**
9761 * The selected processor.
9762 */
9763 "processor"?: ProcessorName;
9764 /**
9765 * Keys and secrets for processors.
9766 */
9767 "processors"?: Processor[];
9768 /**
9769 * Show the secure notice
9770 */
9771 "secureNotice"?: boolean;
9772 /**
9773 * Secure
9774 */
9775 "secureNoticeText"?: string;
9776 /**
9777 * Show the total.
9778 */
9779 "showTotal"?: boolean;
9780 /**
9781 * The button's size.
9782 */
9783 "size"?: 'small' | 'medium' | 'large';
9784 "textColor"?: string;
9785 /**
9786 * The button type.
9787 */
9788 "type"?: 'default' | 'primary' | 'success' | 'info' | 'warning' | 'danger' | 'text' | 'link';
9789 }
9790 interface ScOrderSummary {
9791 "busy"?: boolean;
9792 "collapsed"?: boolean;
9793 "collapsedOnDesktop"?: boolean;
9794 "collapsedOnMobile"?: boolean;
9795 "collapsible"?: boolean;
9796 "invoiceSummaryText"?: string;
9797 /**
9798 * Show the toggle
9799 */
9800 "onScHide"?: (event: ScOrderSummaryCustomEvent<void>) => void;
9801 /**
9802 * Show the toggle
9803 */
9804 "onScShow"?: (event: ScOrderSummaryCustomEvent<void>) => void;
9805 "order"?: Checkout;
9806 "orderSummaryText"?: string;
9807 }
9808 interface ScOrderTaxIdInput {
9809 /**
9810 * AU zone label
9811 */
9812 "auAbnLabel"?: string;
9813 /**
9814 * GST zone label
9815 */
9816 "caGstLabel"?: string;
9817 /**
9818 * EU zone label
9819 */
9820 "euVatLabel"?: string;
9821 /**
9822 * UK zone label
9823 */
9824 "gbVatLabel"?: string;
9825 /**
9826 * Help text
9827 */
9828 "helpText"?: string;
9829 /**
9830 * Other zones label
9831 */
9832 "otherLabel"?: string;
9833 /**
9834 * Whether tax input is required
9835 */
9836 "required"?: boolean;
9837 /**
9838 * Force show the field.
9839 */
9840 "show"?: boolean;
9841 /**
9842 * Tax ID Types which will be shown Eg: '["eu_vat", "gb_vat"]'
9843 */
9844 "taxIdTypes"?: string | string[];
9845 }
9846 interface ScOrdersList {
9847 "allLink"?: string;
9848 "heading"?: string;
9849 "isCustomer"?: boolean;
9850 /**
9851 * Query to fetch orders
9852 */
9853 "query"?: {
9854 page: number;
9855 per_page: number;
9856 };
9857 }
9858 interface ScPagination {
9859 "onScNextPage"?: (event: ScPaginationCustomEvent<void>) => void;
9860 "onScPrevPage"?: (event: ScPaginationCustomEvent<void>) => void;
9861 "page"?: number;
9862 "perPage"?: number;
9863 "total"?: number;
9864 "totalPages"?: number;
9865 "totalShowing"?: number;
9866 }
9867 interface ScPassword {
9868 /**
9869 * The input's autofocus attribute.
9870 */
9871 "autofocus"?: boolean;
9872 /**
9873 * The input's password confirmation attribute.
9874 */
9875 "confirmation"?: boolean;
9876 /**
9877 * The input's confirmation help text.
9878 */
9879 "confirmationHelp"?: string;
9880 /**
9881 * The input's confirmation label text.
9882 */
9883 "confirmationLabel"?: string;
9884 /**
9885 * The input's confirmation placeholder text.
9886 */
9887 "confirmationPlaceholder"?: string;
9888 /**
9889 * Disables the input.
9890 */
9891 "disabled"?: boolean;
9892 /**
9893 * Ensures strong password validation.
9894 */
9895 "enableValidation"?: boolean;
9896 /**
9897 * The input's help text.
9898 */
9899 "help"?: string;
9900 /**
9901 * The input's label.
9902 */
9903 "label"?: string;
9904 /**
9905 * The name for the input.
9906 */
9907 "name"?: string;
9908 /**
9909 * Draws a pill-style input with rounded edges.
9910 */
9911 "pill"?: boolean;
9912 /**
9913 * The input's placeholder text.
9914 */
9915 "placeholder"?: string;
9916 /**
9917 * Makes the input readonly.
9918 */
9919 "readonly"?: boolean;
9920 /**
9921 * Makes the input a required field.
9922 */
9923 "required"?: boolean;
9924 /**
9925 * Should we show the label
9926 */
9927 "showLabel"?: boolean;
9928 /**
9929 * The input's size.
9930 */
9931 "size"?: 'small' | 'medium' | 'large';
9932 /**
9933 * The input's value attribute.
9934 */
9935 "value"?: string;
9936 }
9937 interface ScPasswordNag {
9938 /**
9939 * Ensures strong password validation.
9940 */
9941 "enableValidation"?: boolean;
9942 "open"?: boolean;
9943 /**
9944 * The success url.
9945 */
9946 "successUrl"?: string;
9947 /**
9948 * The type of alert.
9949 */
9950 "type"?: 'primary' | 'success' | 'info' | 'warning' | 'danger';
9951 }
9952 interface ScPayment {
9953 /**
9954 * Disabled processor types
9955 */
9956 "disabledProcessorTypes"?: string[];
9957 /**
9958 * Hide the test mode badge
9959 */
9960 "hideTestModeBadge"?: boolean;
9961 /**
9962 * The input's label.
9963 */
9964 "label"?: string;
9965 "secureNotice"?: string;
9966 "stripePaymentElement"?: boolean;
9967 }
9968 interface ScPaymentMethod {
9969 "externalLink"?: string;
9970 "externalLinkTooltipText"?: string;
9971 "full"?: boolean;
9972 "paymentMethod"?: PaymentMethod;
9973 }
9974 interface ScPaymentMethodChoice {
9975 /**
9976 * Should we show this in a card?
9977 */
9978 "card"?: boolean;
9979 /**
9980 * Is this a manual processor
9981 */
9982 "isManual"?: boolean;
9983 /**
9984 * The method id
9985 */
9986 "methodId"?: string;
9987 /**
9988 * The processor ID
9989 */
9990 "processorId"?: string;
9991 }
9992 interface ScPaymentMethodDetails {
9993 "editHandler"?: () => void;
9994 "paymentMethod"?: PaymentMethod;
9995 }
9996 interface ScPaymentMethodsList {
9997 /**
9998 * Whether default payment method can be detached
9999 */
10000 "canDetachDefaultPaymentMethod"?: boolean;
10001 /**
10002 * The heading
10003 */
10004 "heading"?: string;
10005 /**
10006 * Is this a customer
10007 */
10008 "isCustomer"?: boolean;
10009 /**
10010 * Query to fetch paymentMethods
10011 */
10012 "query"?: object;
10013 }
10014 interface ScPaymentSelected {
10015 "iconName"?: string;
10016 "label"?: string;
10017 }
10018 interface ScPaypalAddMethod {
10019 "currency"?: string;
10020 "customerId"?: string;
10021 "liveMode"?: boolean;
10022 "successUrl"?: string;
10023 }
10024 interface ScPaypalButtons {
10025 /**
10026 * Is this busy?
10027 */
10028 "busy"?: boolean;
10029 /**
10030 * Buttons to render
10031 */
10032 "buttons"?: string[];
10033 /**
10034 * Client id for the script.
10035 */
10036 "clientId"?: string;
10037 /**
10038 * Button color.
10039 */
10040 "color"?: 'gold' | 'blue' | 'silver' | 'black' | 'white';
10041 /**
10042 * Label for the button.
10043 */
10044 "label"?: 'paypal' | 'checkout' | 'buynow' | 'pay' | 'installment';
10045 /**
10046 * The merchant id for paypal.
10047 */
10048 "merchantId"?: string;
10049 /**
10050 * Merchant initiated billing enabled.
10051 */
10052 "merchantInitiated"?: boolean;
10053 /**
10054 * Test or live mode.
10055 */
10056 "mode"?: 'test' | 'live';
10057 "onScPaid"?: (event: ScPaypalButtonsCustomEvent<void>) => void;
10058 /**
10059 * Set the state machine
10060 */
10061 "onScSetState"?: (event: ScPaypalButtonsCustomEvent<string>) => void;
10062 /**
10063 * The order.
10064 */
10065 "order"?: Checkout;
10066 }
10067 interface ScPaystackAddMethod {
10068 "currency"?: string;
10069 "customerId"?: string;
10070 "liveMode"?: boolean;
10071 "successUrl"?: string;
10072 }
10073 interface ScPhoneInput {
10074 /**
10075 * The input's autocomplete attribute.
10076 */
10077 "autocomplete"?: string;
10078 /**
10079 * The input's autocorrect attribute.
10080 */
10081 "autocorrect"?: string;
10082 /**
10083 * The input's autofocus attribute.
10084 */
10085 "autofocus"?: boolean;
10086 /**
10087 * Adds a clear button when the input is populated.
10088 */
10089 "clearable"?: boolean;
10090 /**
10091 * Disables the input.
10092 */
10093 "disabled"?: boolean;
10094 /**
10095 * Inputs focus
10096 */
10097 "hasFocus"?: boolean;
10098 /**
10099 * The input's help text.
10100 */
10101 "help"?: string;
10102 /**
10103 * Hidden
10104 */
10105 "hidden"?: boolean;
10106 /**
10107 * This will be true when the control is in an invalid state. Validity is determined by props such as `type`, `required`, `minlength`, `maxlength`, and `pattern` using the browser's constraint validation API.
10108 */
10109 "invalid"?: boolean;
10110 /**
10111 * The input's label.
10112 */
10113 "label"?: string;
10114 /**
10115 * The input's maximum value.
10116 */
10117 "max"?: number | string;
10118 /**
10119 * The maximum length of input that will be considered valid.
10120 */
10121 "maxlength"?: number;
10122 /**
10123 * The input's minimum value.
10124 */
10125 "min"?: number | string;
10126 /**
10127 * The minimum length of input that will be considered valid.
10128 */
10129 "minlength"?: number;
10130 /**
10131 * The input's name attribute.
10132 */
10133 "name"?: string;
10134 /**
10135 * Emitted when the control loses focus.
10136 */
10137 "onScBlur"?: (event: ScPhoneInputCustomEvent<void>) => void;
10138 /**
10139 * Emitted when the control's value changes.
10140 */
10141 "onScChange"?: (event: ScPhoneInputCustomEvent<void>) => void;
10142 /**
10143 * Emitted when the clear button is activated.
10144 */
10145 "onScClear"?: (event: ScPhoneInputCustomEvent<void>) => void;
10146 /**
10147 * Emitted when the control gains focus.
10148 */
10149 "onScFocus"?: (event: ScPhoneInputCustomEvent<void>) => void;
10150 /**
10151 * Emitted when the control receives input.
10152 */
10153 "onScInput"?: (event: ScPhoneInputCustomEvent<void>) => void;
10154 /**
10155 * A pattern to validate input against. Deliberately loose: it must keep accepting inputs the old (non-compiling, so never enforced) default let through — letters cover extensions ("ext 12", "x22"), comma/semicolon are dial-pause characters.
10156 */
10157 "pattern"?: string;
10158 /**
10159 * Draws a pill-style input with rounded edges.
10160 */
10161 "pill"?: boolean;
10162 /**
10163 * The input's placeholder text.
10164 */
10165 "placeholder"?: string;
10166 /**
10167 * Makes the input readonly.
10168 */
10169 "readonly"?: boolean;
10170 /**
10171 * Makes the input a required field.
10172 */
10173 "required"?: boolean;
10174 /**
10175 * Should we show the label
10176 */
10177 "showLabel"?: boolean;
10178 /**
10179 * The input's size.
10180 */
10181 "size"?: 'small' | 'medium' | 'large';
10182 /**
10183 * Enables spell checking on the input.
10184 */
10185 "spellcheck"?: boolean;
10186 "squared"?: boolean;
10187 "squaredBottom"?: boolean;
10188 "squaredLeft"?: boolean;
10189 "squaredRight"?: boolean;
10190 "squaredTop"?: boolean;
10191 /**
10192 * The input's step attribute.
10193 */
10194 "step"?: number;
10195 /**
10196 * Adds a password toggle button to password inputs.
10197 */
10198 "togglePassword"?: boolean;
10199 /**
10200 * The input's value attribute.
10201 */
10202 "value"?: string;
10203 }
10204 interface ScPillOption {
10205 /**
10206 * Label
10207 */
10208 "isSelected"?: boolean;
10209 "isUnavailable"?: boolean;
10210 }
10211 interface ScPopover {
10212 /**
10213 * Is this disabled.
10214 */
10215 "disabled"?: boolean;
10216 /**
10217 * The distance in pixels from which to offset the panel away from its trigger.
10218 */
10219 "distance"?: number;
10220 /**
10221 * Enable this option to prevent the panel from being clipped when the component is placed inside a container with `overflow: auto|scroll`.
10222 */
10223 "hoist"?: boolean;
10224 /**
10225 * Emitted when the popover closes. Calling `event.preventDefault()` will prevent it from being closed.
10226 */
10227 "onScHide"?: (event: ScPopoverCustomEvent<void>) => void;
10228 /**
10229 * Emitted when the popover opens. Calling `event.preventDefault()` will prevent it from being opened.
10230 */
10231 "onScShow"?: (event: ScPopoverCustomEvent<void>) => void;
10232 /**
10233 * Indicates whether or not the popover is open. You can use this in lieu of the show/hide methods.
10234 */
10235 "open"?: boolean;
10236 /**
10237 * The placement of the popover.
10238 */
10239 "placement"?: | 'top'
10240 | 'top-start'
10241 | 'top-end'
10242 | 'bottom'
10243 | 'bottom-start'
10244 | 'bottom-end'
10245 | 'right'
10246 | 'right-start'
10247 | 'right-end'
10248 | 'left'
10249 | 'left-start'
10250 | 'left-end';
10251 /**
10252 * The distance in pixels from which to offset the panel along its trigger.
10253 */
10254 "skidding"?: number;
10255 }
10256 interface ScPremiumTag {
10257 /**
10258 * The tag's size.
10259 */
10260 "size"?: 'small' | 'medium' | 'large';
10261 }
10262 /**
10263 * Internal dependencies.
10264 */
10265 interface ScPrice {
10266 /**
10267 * Is the product ad_hoc?
10268 */
10269 "adHoc"?: boolean;
10270 /**
10271 * The amount
10272 */
10273 "amount"?: number;
10274 /**
10275 * The currency.
10276 */
10277 "currency"?: string;
10278 /**
10279 * The display amount
10280 */
10281 "displayAmount"?: string;
10282 /**
10283 * The recurring interval
10284 */
10285 "recurringInterval"?: 'week' | 'month' | 'year' | 'never';
10286 /**
10287 * The recurring interval count
10288 */
10289 "recurringIntervalCount"?: number;
10290 /**
10291 * The recurring period count
10292 */
10293 "recurringPeriodCount"?: number;
10294 /**
10295 * The sale text
10296 */
10297 "saleText"?: string;
10298 /**
10299 * The scratch amount
10300 */
10301 "scratchAmount"?: number;
10302 /**
10303 * The scratch display amount
10304 */
10305 "scratchDisplayAmount"?: string;
10306 /**
10307 * The setup fee amount
10308 */
10309 "setupFeeAmount"?: number;
10310 /**
10311 * The setup fee name
10312 */
10313 "setupFeeName"?: string;
10314 /**
10315 * The setup fee text
10316 */
10317 "setupFeeText"?: string;
10318 /**
10319 * The trial duration days
10320 */
10321 "trialDurationDays"?: number;
10322 }
10323 interface ScPriceChoice {
10324 /**
10325 * Is this blank?
10326 */
10327 "blank"?: boolean;
10328 /**
10329 * Is this checked by default
10330 */
10331 "checked"?: boolean;
10332 /**
10333 * Label for the choice.
10334 */
10335 "description"?: string;
10336 /**
10337 * Errors from response
10338 */
10339 "error"?: ResponseError;
10340 /**
10341 * Is this an ad-hoc price choice
10342 */
10343 "isAdHoc"?: Boolean;
10344 /**
10345 * Label for the choice.
10346 */
10347 "label"?: string;
10348 /**
10349 * Is this loading
10350 */
10351 "loading"?: boolean;
10352 /**
10353 * Add entities
10354 */
10355 "onScAddEntities"?: (event: ScPriceChoiceCustomEvent<any>) => void;
10356 /**
10357 * Toggle line item event
10358 */
10359 "onScRemoveLineItem"?: (event: ScPriceChoiceCustomEvent<LineItemData1>) => void;
10360 /**
10361 * Toggle line item event
10362 */
10363 "onScUpdateLineItem"?: (event: ScPriceChoiceCustomEvent<LineItemData1>) => void;
10364 /**
10365 * Session
10366 */
10367 "order"?: Checkout;
10368 /**
10369 * Stores the price
10370 */
10371 "price"?: Price;
10372 /**
10373 * Id of the price.
10374 */
10375 "priceId"?: string;
10376 /**
10377 * Price entities
10378 */
10379 "prices"?: Prices;
10380 /**
10381 * Stores the price
10382 */
10383 "product"?: Product;
10384 /**
10385 * Product entity
10386 */
10387 "products"?: Products;
10388 /**
10389 * Default quantity
10390 */
10391 "quantity"?: number;
10392 /**
10393 * Show the radio/checkbox control
10394 */
10395 "showControl"?: boolean;
10396 /**
10397 * Show the label
10398 */
10399 "showLabel"?: boolean;
10400 /**
10401 * Show the price amount
10402 */
10403 "showPrice"?: boolean;
10404 /**
10405 * Choice Type
10406 */
10407 "type"?: 'checkbox' | 'radio';
10408 }
10409 interface ScPriceChoiceContainer {
10410 /**
10411 * Is this checked by default
10412 */
10413 "checked"?: boolean;
10414 /**
10415 * Label for the choice.
10416 */
10417 "description"?: string;
10418 /**
10419 * Label for the choice.
10420 */
10421 "label"?: string;
10422 /**
10423 * Is this loading
10424 */
10425 "loading"?: boolean;
10426 "onScChange"?: (event: ScPriceChoiceContainerCustomEvent<void>) => void;
10427 /**
10428 * Stores the price
10429 */
10430 "price"?: string | Price;
10431 "required"?: boolean;
10432 /**
10433 * Show the radio/checkbox control
10434 */
10435 "showControl"?: boolean;
10436 /**
10437 * Show the label
10438 */
10439 "showLabel"?: boolean;
10440 /**
10441 * Show the price amount
10442 */
10443 "showPrice"?: boolean;
10444 /**
10445 * Choice Type
10446 */
10447 "type"?: 'checkbox' | 'radio';
10448 }
10449 interface ScPriceChoices {
10450 /**
10451 * Number of columns
10452 */
10453 "columns"?: number;
10454 /**
10455 * Selector label
10456 */
10457 "label"?: string;
10458 /**
10459 * Toggle line item event
10460 */
10461 "onScRemoveLineItem"?: (event: ScPriceChoicesCustomEvent<LineItemData1>) => void;
10462 /**
10463 * Toggle line item event
10464 */
10465 "onScUpdateLineItem"?: (event: ScPriceChoicesCustomEvent<LineItemData1>) => void;
10466 /**
10467 * Required by default
10468 */
10469 "required"?: boolean;
10470 }
10471 interface ScPriceInput {
10472 /**
10473 * The input's autofocus attribute.
10474 */
10475 "autofocus"?: boolean;
10476 /**
10477 * Adds a clear button when the input is populated.
10478 */
10479 "clearable"?: boolean;
10480 /**
10481 * 3 letter currency code for input
10482 */
10483 "currencyCode"?: string;
10484 /**
10485 * Disables the input.
10486 */
10487 "disabled"?: boolean;
10488 /**
10489 * Inputs focus
10490 */
10491 "hasFocus"?: boolean;
10492 /**
10493 * The input's help text.
10494 */
10495 "help"?: string;
10496 /**
10497 * This will be true when the control is in an invalid state. Validity is determined by props such as `type`, `required`, `minlength`, `maxlength`, and `pattern` using the browser's constraint validation API.
10498 */
10499 "invalid"?: boolean;
10500 /**
10501 * The input's label.
10502 */
10503 "label"?: string;
10504 /**
10505 * The input's maximum value.
10506 */
10507 "max"?: number;
10508 /**
10509 * The maximum length of input that will be considered valid.
10510 */
10511 "maxlength"?: number;
10512 /**
10513 * The input's minimum value.
10514 */
10515 "min"?: number;
10516 /**
10517 * The minimum length of input that will be considered valid.
10518 */
10519 "minlength"?: number;
10520 /**
10521 * The input's name attribute.
10522 */
10523 "name"?: string;
10524 /**
10525 * Emitted when the control loses focus.
10526 */
10527 "onScBlur"?: (event: ScPriceInputCustomEvent<void>) => void;
10528 /**
10529 * Emitted when the control's value changes.
10530 */
10531 "onScChange"?: (event: ScPriceInputCustomEvent<void>) => void;
10532 /**
10533 * Emitted when the control gains focus.
10534 */
10535 "onScFocus"?: (event: ScPriceInputCustomEvent<void>) => void;
10536 /**
10537 * Emitted when the control's value changes.
10538 */
10539 "onScInput"?: (event: ScPriceInputCustomEvent<void>) => void;
10540 /**
10541 * Draws a pill-style input with rounded edges.
10542 */
10543 "pill"?: boolean;
10544 /**
10545 * The input's placeholder text.
10546 */
10547 "placeholder"?: string;
10548 /**
10549 * Makes the input readonly.
10550 */
10551 "readonly"?: boolean;
10552 /**
10553 * Makes the input a required field.
10554 */
10555 "required"?: boolean;
10556 /**
10557 * Show the currency code with the input
10558 */
10559 "showCode"?: boolean;
10560 /**
10561 * Should we show the label
10562 */
10563 "showLabel"?: boolean;
10564 /**
10565 * The input's size.
10566 */
10567 "size"?: 'small' | 'medium' | 'large';
10568 /**
10569 * The input's value attribute.
10570 */
10571 "value"?: string;
10572 }
10573 interface ScPriceRange {
10574 /**
10575 * The array of price objects
10576 */
10577 "prices"?: Price[];
10578 }
10579 interface ScProductBuyButton {
10580 "addToCart"?: boolean;
10581 "checkoutLink"?: string;
10582 "formId"?: number;
10583 "mode"?: 'live' | 'test';
10584 "productId"?: string;
10585 }
10586 interface ScProductDonationAmountChoice {
10587 /**
10588 * The label for the field.
10589 */
10590 "label"?: string;
10591 /**
10592 * The product id for the fields.
10593 */
10594 "productId"?: string;
10595 /**
10596 * The value of the field.
10597 */
10598 "value"?: number;
10599 }
10600 interface ScProductDonationChoices {
10601 /**
10602 * The label for the field.
10603 */
10604 "label"?: string;
10605 /**
10606 * The product id for the fields.
10607 */
10608 "productId"?: string;
10609 "recurring"?: boolean;
10610 }
10611 interface ScProductDonationCustomAmount {
10612 /**
10613 * Selected Product Id for the donation.
10614 */
10615 "productId"?: string;
10616 /**
10617 * Custom Amount of the donation.
10618 */
10619 "value"?: number;
10620 }
10621 interface ScProductItem {
10622 "layoutConfig"?: LayoutConfig;
10623 "product"?: Product;
10624 }
10625 interface ScProductItemImage {
10626 "product"?: Product;
10627 "sizing"?: 'cover' | 'contain';
10628 }
10629 interface ScProductItemList {
10630 /**
10631 * Should we paginate?
10632 */
10633 "ajaxPagination"?: boolean;
10634 /**
10635 * Should allow collection filter
10636 */
10637 "collectionEnabled"?: boolean;
10638 /**
10639 * Show for a specific collection
10640 */
10641 "collectionId"?: string;
10642 /**
10643 * Show only featured products.
10644 */
10645 "featured"?: boolean;
10646 /**
10647 * Limit to a set of ids.
10648 */
10649 "ids"?: string[];
10650 "layoutConfig"?: LayoutConfig1;
10651 "limit"?: number;
10652 /**
10653 * Products viewed
10654 */
10655 "onScProductsViewed"?: (event: ScProductItemListCustomEvent<ProductsViewedParams>) => void;
10656 /**
10657 * Product was searched
10658 */
10659 "onScSearched"?: (event: ScProductItemListCustomEvent<ProductsSearchedParams>) => void;
10660 "page"?: number;
10661 /**
10662 * The page title
10663 */
10664 "pageTitle"?: string;
10665 /**
10666 * Pagination
10667 */
10668 "pagination"?: {
10669 total: number;
10670 total_pages: number;
10671 };
10672 "paginationAlignment"?: string;
10673 /**
10674 * Should we auto-scroll to the top when paginating via ajax
10675 */
10676 "paginationAutoScroll"?: boolean;
10677 /**
10678 * Should we paginate?
10679 */
10680 "paginationEnabled"?: boolean;
10681 "products"?: Product[];
10682 /**
10683 * Query to search for
10684 */
10685 "query"?: string;
10686 /**
10687 * Should allow search
10688 */
10689 "searchEnabled"?: boolean;
10690 /**
10691 * Sort
10692 */
10693 "sort"?: string;
10694 /**
10695 * Should allow search
10696 */
10697 "sortEnabled"?: boolean;
10698 }
10699 interface ScProductItemPrice {
10700 /**
10701 * Product metrics
10702 */
10703 "metrics"?: ProductMetrics;
10704 "prices"?: Price[];
10705 /**
10706 * Show price range?
10707 */
10708 "range"?: boolean;
10709 }
10710 interface ScProductItemTitle {
10711 }
10712 interface ScProductLineItem {
10713 /**
10714 * Product monetary amount
10715 */
10716 "amount"?: string;
10717 /**
10718 * Bundle component line items, rendered as a read-only nested list under the main row when this line item is a bundle parent.
10719 */
10720 "bundleComponents"?: LineItem[];
10721 /**
10722 * Product display amount
10723 */
10724 "displayAmount"?: string;
10725 /**
10726 * Can we select the quantity
10727 */
10728 "editable"?: boolean;
10729 /**
10730 * Product line item fees.
10731 */
10732 "fees"?: Fee[];
10733 /**
10734 * Image attributes.
10735 */
10736 "image"?: ImageAttributes;
10737 /**
10738 * Recurring interval (i.e. monthly, once, etc.)
10739 */
10740 "interval"?: string;
10741 /**
10742 * The max allowed.
10743 */
10744 "max"?: number;
10745 /**
10746 * Product name
10747 */
10748 "name"?: string;
10749 /**
10750 * The line item note
10751 */
10752 "note"?: string;
10753 /**
10754 * Emitted when the quantity changes.
10755 */
10756 "onScRemove"?: (event: ScProductLineItemCustomEvent<void>) => void;
10757 /**
10758 * Emitted when the quantity changes.
10759 */
10760 "onScUpdateQuantity"?: (event: ScProductLineItemCustomEvent<number>) => void;
10761 /**
10762 * Price name
10763 */
10764 "price"?: string;
10765 /**
10766 * The purchasable status display
10767 */
10768 "purchasableStatus"?: string;
10769 /**
10770 * Quantity
10771 */
10772 "quantity"?: number;
10773 /**
10774 * Is the line item removable
10775 */
10776 "removable"?: boolean;
10777 /**
10778 * The review button link. If set, a review button will be shown linking to this URL.
10779 */
10780 "reviewButtonLink"?: string;
10781 /**
10782 * The line item scratch amount
10783 */
10784 "scratch"?: string;
10785 /**
10786 * Product scratch display amount
10787 */
10788 "scratchDisplayAmount"?: string;
10789 /**
10790 * Separator between a bundle component's name and its variant options.
10791 */
10792 "separator"?: string;
10793 /**
10794 * Show every bundle component (default), or only those with a selected variant when set to `false`.
10795 */
10796 "showAllBundleItems"?: boolean;
10797 /**
10798 * The SKU.
10799 */
10800 "sku"?: string;
10801 /**
10802 * Trial text
10803 */
10804 "trial"?: string;
10805 /**
10806 * Product variant label
10807 */
10808 "variant"?: string;
10809 }
10810 interface ScProductLineItemNote {
10811 "note"?: string;
10812 }
10813 interface ScProductPillsVariantOption {
10814 /**
10815 * Label
10816 */
10817 "label"?: string;
10818 /**
10819 * Which option number?
10820 */
10821 "optionNumber"?: 1 | 2 | 3;
10822 /**
10823 * The product id
10824 */
10825 "productId"?: string;
10826 }
10827 interface ScProductPrice {
10828 /**
10829 * The product's prices.
10830 */
10831 "prices"?: Price[];
10832 /**
10833 * The product id
10834 */
10835 "productId"?: string;
10836 /**
10837 * The sale text
10838 */
10839 "saleText"?: string;
10840 }
10841 interface ScProductPriceChoices {
10842 /**
10843 * The product price choice label
10844 */
10845 "label"?: string;
10846 /**
10847 * The product id
10848 */
10849 "productId"?: string;
10850 /**
10851 * Whether to show the price
10852 */
10853 "showPrice"?: boolean;
10854 }
10855 interface ScProductPriceModal {
10856 /**
10857 * Whether to add to cart
10858 */
10859 "addToCart"?: boolean;
10860 /**
10861 * The button text
10862 */
10863 "buttonText"?: string;
10864 /**
10865 * The product id
10866 */
10867 "productId"?: string;
10868 }
10869 interface ScProductQuantity {
10870 /**
10871 * Display server-side validation errors.
10872 */
10873 "errors"?: any;
10874 /**
10875 * Help text
10876 */
10877 "help"?: string;
10878 /**
10879 * Input label.
10880 */
10881 "label"?: string;
10882 /**
10883 * Name for the input. Used for validation errors.
10884 */
10885 "name"?: string;
10886 /**
10887 * The product id
10888 */
10889 "productId"?: string;
10890 /**
10891 * Whether the input is required.
10892 */
10893 "required"?: boolean;
10894 /**
10895 * Show the label.
10896 */
10897 "showLabel"?: boolean;
10898 /**
10899 * Size of the control
10900 */
10901 "size"?: 'small' | 'medium' | 'large';
10902 }
10903 interface ScProductSelectedPrice {
10904 /**
10905 * Toggle line item event
10906 */
10907 "onScUpdateLineItem"?: (event: ScProductSelectedPriceCustomEvent<LineItemData>) => void;
10908 /**
10909 * The product id.
10910 */
10911 "productId"?: string;
10912 }
10913 interface ScProductText {
10914 "productId"?: string;
10915 "text"?: 'name' | 'description';
10916 }
10917 interface ScProse {
10918 }
10919 interface ScProvider {
10920 "STENCIL_CONTEXT"?: { [key: string]: any };
10921 "onMountConsumer"?: (event: ScProviderCustomEvent<any>) => void;
10922 }
10923 interface ScProvisionalBanner {
10924 /**
10925 * Claim URL.
10926 */
10927 "claimUrl"?: string;
10928 /**
10929 * Whether the claim window has expired.
10930 */
10931 "expired"?: boolean;
10932 }
10933 interface ScPurchaseDownloadsList {
10934 "allLink"?: string;
10935 "busy"?: boolean;
10936 "error"?: string;
10937 "heading"?: string;
10938 "loading"?: boolean;
10939 "purchases"?: Array<Purchase>;
10940 "requestNonce"?: string;
10941 }
10942 interface ScQuantitySelect {
10943 "clickEl"?: HTMLElement;
10944 "disabled"?: boolean;
10945 /**
10946 * Inputs focus
10947 */
10948 "hasFocus"?: boolean;
10949 "max"?: number;
10950 "min"?: number;
10951 /**
10952 * Emitted when the control loses focus.
10953 */
10954 "onScBlur"?: (event: ScQuantitySelectCustomEvent<void>) => void;
10955 "onScChange"?: (event: ScQuantitySelectCustomEvent<number>) => void;
10956 /**
10957 * Emitted when the control gains focus.
10958 */
10959 "onScFocus"?: (event: ScQuantitySelectCustomEvent<void>) => void;
10960 /**
10961 * Emitted when the control receives input.
10962 */
10963 "onScInput"?: (event: ScQuantitySelectCustomEvent<number>) => void;
10964 "productName"?: string;
10965 "quantity"?: number;
10966 "size"?: 'small' | 'medium' | 'large';
10967 }
10968 interface ScRadio {
10969 /**
10970 * Draws the radio in a checked state.
10971 */
10972 "checked"?: boolean;
10973 /**
10974 * Is the radio disabled
10975 */
10976 "disabled"?: boolean;
10977 /**
10978 * This will be true as a workaround in the block editor to focus on the content.
10979 */
10980 "edit"?: boolean;
10981 /**
10982 * This will be true when the control is in an invalid state. Validity is determined by the `required` prop.
10983 */
10984 "invalid"?: boolean;
10985 /**
10986 * The radios name attribute
10987 */
10988 "name"?: string;
10989 /**
10990 * Emitted when the control loses focus.
10991 */
10992 "onScBlur"?: (event: ScRadioCustomEvent<void>) => void;
10993 /**
10994 * Emitted when the control's checked state changes.
10995 */
10996 "onScChange"?: (event: ScRadioCustomEvent<void>) => void;
10997 /**
10998 * Emitted when the control gains focus.
10999 */
11000 "onScFocus"?: (event: ScRadioCustomEvent<void>) => void;
11001 /**
11002 * Is this required
11003 */
11004 "required"?: boolean;
11005 /**
11006 * The radios value
11007 */
11008 "value"?: string;
11009 }
11010 interface ScRadioGroup {
11011 /**
11012 * This will be true when the control is in an invalid state. Validity is determined by props such as `type`, `required`, `minlength`, `maxlength`, and `pattern` using the browser's constraint validation API.
11013 */
11014 "invalid"?: boolean;
11015 /**
11016 * The radio group label. Required for proper accessibility.
11017 */
11018 "label"?: string;
11019 "onScChange"?: (event: ScRadioGroupCustomEvent<string>) => void;
11020 /**
11021 * Is one of these items required.
11022 */
11023 "required"?: boolean;
11024 /**
11025 * The selected value of the control.
11026 */
11027 "value"?: string;
11028 }
11029 interface ScRazorpayAddMethod {
11030 "currency"?: string;
11031 "customerId"?: string;
11032 "liveMode"?: boolean;
11033 "successUrl"?: string;
11034 }
11035 interface ScRecurringPriceChoiceContainer {
11036 /**
11037 * Label for the choice.
11038 */
11039 "label"?: string;
11040 /**
11041 * Change event.
11042 */
11043 "onScChange"?: (event: ScRecurringPriceChoiceContainerCustomEvent<string>) => void;
11044 /**
11045 * The prices to choose from.
11046 */
11047 "prices"?: Price[];
11048 /**
11049 * The product.
11050 */
11051 "product"?: Product;
11052 /**
11053 * The currently selected price
11054 */
11055 "selectedPrice"?: Price;
11056 /**
11057 * Should we show the price?
11058 */
11059 "showAmount"?: boolean;
11060 /**
11061 * Show the radio/checkbox control
11062 */
11063 "showControl"?: boolean;
11064 /**
11065 * Should we show the price details?
11066 */
11067 "showDetails"?: boolean;
11068 }
11069 interface ScReviewStars {
11070 "rating"?: number;
11071 "size"?: number;
11072 }
11073 interface ScRichText {
11074 /**
11075 * Disables the textarea.
11076 */
11077 "disabled"?: boolean;
11078 /**
11079 * The textarea's help text. Alternatively, you can use the help-text slot.
11080 */
11081 "help"?: string;
11082 /**
11083 * The textarea's label. Alternatively, you can use the label slot.
11084 */
11085 "label"?: string;
11086 /**
11087 * The max length.
11088 */
11089 "maxlength"?: number;
11090 /**
11091 * The textarea's name attribute.
11092 */
11093 "name"?: string;
11094 "onScBlur"?: (event: ScRichTextCustomEvent<void>) => void;
11095 "onScChange"?: (event: ScRichTextCustomEvent<void>) => void;
11096 "onScFocus"?: (event: ScRichTextCustomEvent<void>) => void;
11097 "onScInput"?: (event: ScRichTextCustomEvent<void>) => void;
11098 /**
11099 * The textarea's placeholder text.
11100 */
11101 "placeholder"?: string;
11102 /**
11103 * Makes the textarea readonly.
11104 */
11105 "readonly"?: boolean;
11106 /**
11107 * Makes the textarea a required field.
11108 */
11109 "required"?: boolean;
11110 /**
11111 * Should we show the label
11112 */
11113 "showLabel"?: boolean;
11114 /**
11115 * The textarea's size.
11116 */
11117 "size"?: 'small' | 'medium' | 'large';
11118 /**
11119 * The textarea's value attribute.
11120 */
11121 "value"?: string;
11122 }
11123 interface ScSecureNotice {
11124 }
11125 interface ScSelect {
11126 /**
11127 * The input's autocomplete attribute.
11128 */
11129 "autocomplete"?: string;
11130 /**
11131 * The input's value attribute.
11132 */
11133 "choices"?: Array<ChoiceItem>;
11134 "closeOnSelect"?: boolean;
11135 "disabled"?: boolean;
11136 /**
11137 * Some help text for the input.
11138 */
11139 "help"?: string;
11140 "hoist"?: boolean;
11141 /**
11142 * This will be true when the control is in an invalid state. Validity is determined by props such as `type`, `required`, `minlength`, `maxlength`, and `pattern` using the browser's constraint validation API.
11143 */
11144 "invalid"?: boolean;
11145 /**
11146 * The input's label.
11147 */
11148 "label"?: string;
11149 "loading"?: boolean;
11150 /**
11151 * The input's name attribute.
11152 */
11153 "name"?: string;
11154 /**
11155 * Emitted when the control loses focus.
11156 */
11157 "onScBlur"?: (event: ScSelectCustomEvent<void>) => void;
11158 /**
11159 * Emitted when the control's value changes.
11160 */
11161 "onScChange"?: (event: ScSelectCustomEvent<ChoiceItem>) => void;
11162 /**
11163 * Emitted whent the components search query changes
11164 */
11165 "onScClose"?: (event: ScSelectCustomEvent<string>) => void;
11166 /**
11167 * Emitted when the control gains focus.
11168 */
11169 "onScFocus"?: (event: ScSelectCustomEvent<void>) => void;
11170 /**
11171 * Emitted whent the components search query changes
11172 */
11173 "onScOpen"?: (event: ScSelectCustomEvent<string>) => void;
11174 /**
11175 * Emitted when the list scrolls to the end.
11176 */
11177 "onScScrollEnd"?: (event: ScSelectCustomEvent<void>) => void;
11178 /**
11179 * Emitted whent the components search query changes
11180 */
11181 "onScSearch"?: (event: ScSelectCustomEvent<string>) => void;
11182 /**
11183 * Is this open
11184 */
11185 "open"?: boolean;
11186 /**
11187 * Placeholder for no value
11188 */
11189 "placeholder"?: string;
11190 /**
11191 * The placement of the dropdown.
11192 */
11193 "placement"?: | 'top'
11194 | 'top-start'
11195 | 'top-end'
11196 | 'bottom'
11197 | 'bottom-start'
11198 | 'bottom-end'
11199 | 'right'
11200 | 'right-start'
11201 | 'right-end'
11202 | 'left'
11203 | 'left-start'
11204 | 'left-end';
11205 "position"?: 'bottom-left' | 'bottom-right' | 'top-left' | 'top-right';
11206 "required"?: boolean;
11207 /**
11208 * Is search enabled?
11209 */
11210 "search"?: boolean;
11211 /**
11212 * Placeholder for search
11213 */
11214 "searchPlaceholder"?: string;
11215 "showParentLabel"?: boolean;
11216 /**
11217 * The input's size.
11218 */
11219 "size"?: 'small' | 'medium' | 'large';
11220 "squared"?: boolean;
11221 "squaredBottom"?: boolean;
11222 "squaredLeft"?: boolean;
11223 "squaredRight"?: boolean;
11224 "squaredTop"?: boolean;
11225 /**
11226 * Can we unselect items.
11227 */
11228 "unselect"?: boolean;
11229 /**
11230 * The input's value attribute.
11231 */
11232 "value"?: string;
11233 }
11234 interface ScSessionProvider {
11235 "onScPaid"?: (event: ScSessionProviderCustomEvent<void>) => void;
11236 /**
11237 * Set the state
11238 */
11239 "onScSetState"?: (event: ScSessionProviderCustomEvent<FormStateSetter>) => void;
11240 /**
11241 * Update line items event
11242 */
11243 "onScUpdateDraftState"?: (event: ScSessionProviderCustomEvent<Checkout>) => void;
11244 /**
11245 * Update line items event
11246 */
11247 "onScUpdateOrderState"?: (event: ScSessionProviderCustomEvent<Checkout>) => void;
11248 /**
11249 * Should we persist the session.
11250 */
11251 "persist"?: boolean;
11252 /**
11253 * An array of prices to pre-fill in the form.
11254 */
11255 "prices"?: Array<PriceChoice>;
11256 }
11257 interface ScShippingChoices {
11258 /**
11259 * The shipping section label
11260 */
11261 "label"?: string;
11262 /**
11263 * Override shipping choices data (used for editor preview)
11264 */
11265 "shippingChoices"?: any[] | undefined;
11266 /**
11267 * Whether to show the shipping choice description
11268 */
11269 "showDescription"?: boolean;
11270 }
11271 interface ScSkeleton {
11272 /**
11273 * Animation effect
11274 */
11275 "effect"?: 'pulse' | 'sheen' | 'none';
11276 }
11277 interface ScSpacing {
11278 }
11279 interface ScSpinner {
11280 }
11281 interface ScStackedList {
11282 }
11283 interface ScStackedListRow {
11284 "href"?: string;
11285 "mobileSize"?: number;
11286 "target"?: string;
11287 }
11288 interface ScStripeAddMethod {
11289 "customerId"?: string;
11290 "liveMode"?: boolean;
11291 "successUrl"?: string;
11292 }
11293 interface ScStripeElement {
11294 /**
11295 * Whether this field is disabled
11296 */
11297 "disabled"?: boolean;
11298 /**
11299 * The form state
11300 */
11301 "formState"?: FormState;
11302 /**
11303 * Inputs focus
11304 */
11305 "hasFocus"?: boolean;
11306 /**
11307 * The input's label. Alternatively, you can use the label slot.
11308 */
11309 "label"?: string;
11310 /**
11311 * Mode for the payment
11312 */
11313 "mode"?: 'live' | 'test';
11314 /**
11315 * The order/invoice was paid for
11316 */
11317 "onScPaid"?: (event: ScStripeElementCustomEvent<void>) => void;
11318 /**
11319 * Payment information was added
11320 */
11321 "onScPaymentInfoAdded"?: (event: ScStripeElementCustomEvent<PaymentInfoAddedParams>) => void;
11322 /**
11323 * Set the state
11324 */
11325 "onScSetState"?: (event: ScStripeElementCustomEvent<FormStateSetter>) => void;
11326 /**
11327 * The checkout session object for finalizing intents
11328 */
11329 "order"?: Checkout;
11330 /**
11331 * The input's help text. Alternatively, you can use the help-text slot.
11332 */
11333 "secureText"?: string;
11334 /**
11335 * The selected processor id
11336 */
11337 "selectedProcessorId"?: ProcessorName;
11338 /**
11339 * Should we show the label
11340 */
11341 "showLabel"?: boolean;
11342 /**
11343 * The input's size.
11344 */
11345 "size"?: 'small' | 'medium' | 'large';
11346 }
11347 interface ScStripePaymentElement {
11348 /**
11349 * The order/invoice was paid for.
11350 */
11351 "onScPaid"?: (event: ScStripePaymentElementCustomEvent<void>) => void;
11352 /**
11353 * Payment information was added
11354 */
11355 "onScPaymentInfoAdded"?: (event: ScStripePaymentElementCustomEvent<PaymentInfoAddedParams>) => void;
11356 /**
11357 * Set the state
11358 */
11359 "onScSetState"?: (event: ScStripePaymentElementCustomEvent<FormStateSetter>) => void;
11360 }
11361 interface ScStripePaymentRequest {
11362 /**
11363 * Amount
11364 */
11365 "amount"?: number;
11366 /**
11367 * Country
11368 */
11369 "country"?: string;
11370 /**
11371 * Is this in debug mode.
11372 */
11373 "debug"?: boolean;
11374 "error"?: ResponseError | null;
11375 /**
11376 * Label
11377 */
11378 "label"?: string;
11379 "onScFormSubmit"?: (event: ScStripePaymentRequestCustomEvent<any>) => void;
11380 "onScPaid"?: (event: ScStripePaymentRequestCustomEvent<void>) => void;
11381 "onScPayError"?: (event: ScStripePaymentRequestCustomEvent<any>) => void;
11382 "onScPaymentRequestLoaded"?: (event: ScStripePaymentRequestCustomEvent<boolean>) => void;
11383 "onScSetState"?: (event: ScStripePaymentRequestCustomEvent<string>) => void;
11384 "onScUpdateOrderState"?: (event: ScStripePaymentRequestCustomEvent<any>) => void;
11385 /**
11386 * Prices
11387 */
11388 "prices"?: Prices;
11389 /**
11390 * Stripe publishable key
11391 */
11392 "publishableKey"?: string;
11393 /**
11394 * Your stripe connected account id.
11395 */
11396 "stripeAccountId"?: string;
11397 /**
11398 * Payment request theme
11399 */
11400 "theme"?: string;
11401 }
11402 interface ScSubscription {
11403 /**
11404 * Heading to display
11405 */
11406 "heading"?: string;
11407 /**
11408 * The subscription protocol
11409 */
11410 "protocol"?: SubscriptionProtocol;
11411 /**
11412 * Query to pass to the API
11413 */
11414 "query"?: object;
11415 /**
11416 * Whether to show the cancel button
11417 */
11418 "showCancel"?: boolean;
11419 /**
11420 * The subscription
11421 */
11422 "subscription"?: Subscription;
11423 /**
11424 * The subscription ID
11425 */
11426 "subscriptionId"?: string;
11427 /**
11428 * Update the payment method url
11429 */
11430 "updatePaymentMethodUrl"?: string;
11431 }
11432 interface ScSubscriptionAdHocConfirm {
11433 "currencyCode"?: string;
11434 "heading"?: string;
11435 "price"?: Price;
11436 }
11437 interface ScSubscriptionCancel {
11438 "backUrl"?: string;
11439 "comment"?: string;
11440 "heading"?: string;
11441 "onScAbandon"?: (event: ScSubscriptionCancelCustomEvent<void>) => void;
11442 "onScCancelled"?: (event: ScSubscriptionCancelCustomEvent<void>) => void;
11443 "protocol"?: SubscriptionProtocol;
11444 "reason"?: CancellationReason;
11445 "subscription"?: Subscription;
11446 "successUrl"?: string;
11447 }
11448 interface ScSubscriptionDetails {
11449 "hideRenewalText"?: boolean;
11450 "pendingPrice"?: Price;
11451 "subscription"?: Subscription;
11452 }
11453 interface ScSubscriptionNextPayment {
11454 "subscription"?: Subscription;
11455 /**
11456 * Update the payment method url
11457 */
11458 "updatePaymentMethodUrl"?: string;
11459 }
11460 interface ScSubscriptionPayment {
11461 "backUrl"?: string;
11462 "customerIds"?: Array<string>;
11463 "paymentMethods"?: Array<PaymentMethod>;
11464 "subscription"?: Subscription;
11465 "subscriptionId"?: string;
11466 "successUrl"?: string;
11467 }
11468 interface ScSubscriptionPaymentMethod {
11469 /**
11470 * The heading
11471 */
11472 "heading"?: string;
11473 /**
11474 * The subscription
11475 */
11476 "subscription"?: Subscription;
11477 }
11478 interface ScSubscriptionReactivate {
11479 /**
11480 * Refresh subscriptions
11481 */
11482 "onScRefresh"?: (event: ScSubscriptionReactivateCustomEvent<void>) => void;
11483 /**
11484 * Reactivate modal closed
11485 */
11486 "onScRequestClose"?: (event: ScSubscriptionReactivateCustomEvent<'close-button' | 'keyboard' | 'overlay'>) => void;
11487 /**
11488 * Whether it is open
11489 */
11490 "open"?: boolean;
11491 /**
11492 * The subscription to reactivate
11493 */
11494 "subscription"?: Subscription;
11495 }
11496 interface ScSubscriptionStatusBadge {
11497 /**
11498 * Makes the tag clearable.
11499 */
11500 "clearable"?: boolean;
11501 /**
11502 * Draws a pill-style tag with rounded edges.
11503 */
11504 "pill"?: boolean;
11505 /**
11506 * The tag's size.
11507 */
11508 "size"?: 'small' | 'medium' | 'large';
11509 /**
11510 * Subscription status
11511 */
11512 "status"?: SubscriptionStatus;
11513 /**
11514 * The tag's status type.
11515 */
11516 "subscription"?: Subscription;
11517 }
11518 interface ScSubscriptionSwitch {
11519 "filterAbove"?: number;
11520 "heading"?: string;
11521 "productGroupId"?: ProductGroup;
11522 "productId"?: string;
11523 /**
11524 * Customer id to fetch subscriptions
11525 */
11526 "query"?: object;
11527 "subscription"?: Subscription;
11528 "successUrl"?: string;
11529 }
11530 interface ScSubscriptionVariationConfirm {
11531 "heading"?: string;
11532 "price"?: Price;
11533 "product"?: Product;
11534 "subscription"?: Subscription;
11535 }
11536 interface ScSubscriptionsList {
11537 "allLink"?: string;
11538 "cancelBehavior"?: 'period_end' | 'immediate';
11539 "heading"?: string;
11540 "isCustomer"?: boolean;
11541 /**
11542 * Customer id to fetch subscriptions
11543 */
11544 "query"?: {
11545 page: number;
11546 per_page: number;
11547 };
11548 }
11549 interface ScSummary {
11550 "busy"?: boolean;
11551 "closedText"?: string;
11552 "collapsed"?: boolean;
11553 "collapsedOnDesktop"?: boolean;
11554 "collapsedOnMobile"?: boolean;
11555 "collapsible"?: boolean;
11556 "loading"?: boolean;
11557 /**
11558 * Show the toggle
11559 */
11560 "onScHide"?: (event: ScSummaryCustomEvent<void>) => void;
11561 /**
11562 * Show the toggle
11563 */
11564 "onScShow"?: (event: ScSummaryCustomEvent<void>) => void;
11565 "openText"?: string;
11566 }
11567 interface ScSwap {
11568 /**
11569 * The product id.
11570 */
11571 "lineItem"?: LineItem;
11572 }
11573 interface ScSwitch {
11574 /**
11575 * Draws the switch in a checked state.
11576 */
11577 "checked"?: boolean;
11578 /**
11579 * Disables the switch.
11580 */
11581 "disabled"?: boolean;
11582 /**
11583 * This will be true as a workaround in the block editor to focus on the content.
11584 */
11585 "edit"?: boolean;
11586 /**
11587 * This will be true when the control is in an invalid state. Validity is determined by the `required` prop.
11588 */
11589 "invalid"?: boolean;
11590 /**
11591 * The switch's name attribute.
11592 */
11593 "name"?: string;
11594 /**
11595 * Emitted when the control loses focus.
11596 */
11597 "onScBlur"?: (event: ScSwitchCustomEvent<void>) => void;
11598 /**
11599 * Emitted when the control's checked state changes.
11600 */
11601 "onScChange"?: (event: ScSwitchCustomEvent<void>) => void;
11602 /**
11603 * Emitted when the control gains focus.
11604 */
11605 "onScFocus"?: (event: ScSwitchCustomEvent<void>) => void;
11606 /**
11607 * Makes the switch a required field.
11608 */
11609 "required"?: boolean;
11610 "reversed"?: boolean;
11611 /**
11612 * The switch's value attribute.
11613 */
11614 "value"?: string;
11615 }
11616 interface ScTab {
11617 /**
11618 * Draws the tab in an active state.
11619 */
11620 "active"?: boolean;
11621 "count"?: string;
11622 /**
11623 * Draws the tab in a disabled state.
11624 */
11625 "disabled"?: boolean;
11626 "href"?: string;
11627 /**
11628 * Close event
11629 */
11630 "onScClose"?: (event: ScTabCustomEvent<void>) => void;
11631 /**
11632 * The name of the tab panel the tab will control. The panel must be located in the same tab group.
11633 */
11634 "panel"?: string;
11635 }
11636 interface ScTabGroup {
11637 "onScTabHide"?: (event: ScTabGroupCustomEvent<string>) => void;
11638 "onScTabShow"?: (event: ScTabGroupCustomEvent<string>) => void;
11639 }
11640 interface ScTabPanel {
11641 /**
11642 * When true, the tab panel will be shown.
11643 */
11644 "active"?: boolean;
11645 /**
11646 * The tab panel's name.
11647 */
11648 "name"?: string;
11649 }
11650 interface ScTable {
11651 }
11652 interface ScTableCell {
11653 }
11654 interface ScTableHead {
11655 }
11656 interface ScTableRow {
11657 "href"?: string;
11658 }
11659 interface ScTag {
11660 /**
11661 * Aria label
11662 */
11663 "ariaLabel"?: string;
11664 /**
11665 * Makes the tag clearable.
11666 */
11667 "clearable"?: boolean;
11668 "onScClear"?: (event: ScTagCustomEvent<ScTag>) => void;
11669 /**
11670 * Draws a pill-style tag with rounded edges.
11671 */
11672 "pill"?: boolean;
11673 /**
11674 * The tag's size.
11675 */
11676 "size"?: 'small' | 'medium' | 'large';
11677 /**
11678 * The tag's type.
11679 */
11680 "type"?: 'primary' | 'success' | 'info' | 'warning' | 'danger' | 'default';
11681 }
11682 interface ScTaxIdInput {
11683 /**
11684 * AU zone label
11685 */
11686 "auAbnLabel"?: string;
11687 /**
11688 * GST zone label
11689 */
11690 "caGstLabel"?: string;
11691 /**
11692 * The country code.
11693 */
11694 "country"?: string;
11695 /**
11696 * EU zone label
11697 */
11698 "euVatLabel"?: string;
11699 /**
11700 * UK zone label
11701 */
11702 "gbVatLabel"?: string;
11703 /**
11704 * Help text.
11705 */
11706 "help"?: string;
11707 /**
11708 * Is this loading?
11709 */
11710 "loading"?: boolean;
11711 /**
11712 * Tax ID Number
11713 */
11714 "number"?: string;
11715 /**
11716 * Make a request to update the order.
11717 */
11718 "onScChange"?: (event: ScTaxIdInputCustomEvent<{ number: string; number_type: string }>) => void;
11719 /**
11720 * Make a request to update the order.
11721 */
11722 "onScInput"?: (event: ScTaxIdInputCustomEvent<Partial<{ number: string; number_type: string }>>) => void;
11723 /**
11724 * Change the Type
11725 */
11726 "onScInputType"?: (event: ScTaxIdInputCustomEvent<string>) => void;
11727 /**
11728 * Set the checkout state.
11729 */
11730 "onScSetState"?: (event: ScTaxIdInputCustomEvent<string>) => void;
11731 /**
11732 * Other zones label
11733 */
11734 "otherLabel"?: string;
11735 /**
11736 * Whether tax input is required
11737 */
11738 "required"?: boolean;
11739 /**
11740 * Force show the field.
11741 */
11742 "show"?: boolean;
11743 /**
11744 * The status
11745 */
11746 "status"?: 'valid' | 'invalid' | 'unknown';
11747 /**
11748 * Tax ID Types which will be shown
11749 */
11750 "taxIdTypes"?: string[];
11751 /**
11752 * Type of tax id
11753 */
11754 "type"?: string;
11755 }
11756 interface ScTestModeInfo {
11757 }
11758 interface ScText {
11759 "tag"?: 'h1' | 'h2' | 'h3' | 'h4' | 'h5' | 'h6' | 'p';
11760 "truncate"?: boolean;
11761 }
11762 interface ScTextarea {
11763 /**
11764 * The textarea's autocapitalize attribute.
11765 */
11766 "autocapitalize"?: 'off' | 'none' | 'on' | 'sentences' | 'words' | 'characters';
11767 /**
11768 * The textarea's autocomplete attribute.
11769 */
11770 "autocomplete"?: string;
11771 /**
11772 * The textarea's autocorrect attribute.
11773 */
11774 "autocorrect"?: string;
11775 /**
11776 * The textarea's autofocus attribute.
11777 */
11778 "autofocus"?: boolean;
11779 /**
11780 * Disables the textarea.
11781 */
11782 "disabled"?: boolean;
11783 /**
11784 * The input's enterkeyhint attribute. This can be used to customize the label or icon of the Enter key on virtual keyboards.
11785 */
11786 "enterkeyhint"?: 'enter' | 'done' | 'go' | 'next' | 'previous' | 'search' | 'send';
11787 /**
11788 * Draws a filled textarea.
11789 */
11790 "filled"?: boolean;
11791 /**
11792 * The textarea's help text. Alternatively, you can use the help-text slot.
11793 */
11794 "help"?: string;
11795 /**
11796 * The textarea's inputmode attribute.
11797 */
11798 "inputmode"?: 'none' | 'text' | 'decimal' | 'numeric' | 'tel' | 'search' | 'email' | 'url';
11799 /**
11800 * This will be true when the control is in an invalid state. Validity is determined by props such as `type`, `required`, `minlength`, and `maxlength` using the browser's constraint validation API.
11801 */
11802 "invalid"?: boolean;
11803 /**
11804 * The textarea's label. Alternatively, you can use the label slot.
11805 */
11806 "label"?: string;
11807 /**
11808 * The maximum length of input that will be considered valid.
11809 */
11810 "maxlength"?: number;
11811 /**
11812 * The minimum length of input that will be considered valid.
11813 */
11814 "minlength"?: number;
11815 /**
11816 * The textarea's name attribute.
11817 */
11818 "name"?: string;
11819 "onScBlur"?: (event: ScTextareaCustomEvent<void>) => void;
11820 "onScChange"?: (event: ScTextareaCustomEvent<void>) => void;
11821 "onScFocus"?: (event: ScTextareaCustomEvent<void>) => void;
11822 "onScInput"?: (event: ScTextareaCustomEvent<void>) => void;
11823 /**
11824 * The textarea's placeholder text.
11825 */
11826 "placeholder"?: string;
11827 /**
11828 * Makes the textarea readonly.
11829 */
11830 "readonly"?: boolean;
11831 /**
11832 * Makes the textarea a required field.
11833 */
11834 "required"?: boolean;
11835 /**
11836 * Controls how the textarea can be resized.
11837 */
11838 "resize"?: 'none' | 'vertical' | 'auto';
11839 /**
11840 * The number of rows to display by default.
11841 */
11842 "rows"?: number;
11843 /**
11844 * Should we show the label
11845 */
11846 "showLabel"?: boolean;
11847 /**
11848 * The textarea's size.
11849 */
11850 "size"?: 'small' | 'medium' | 'large';
11851 /**
11852 * Enables spell checking on the textarea.
11853 */
11854 "spellcheck"?: boolean;
11855 /**
11856 * The textarea's value attribute.
11857 */
11858 "value"?: string;
11859 }
11860 interface ScToggle {
11861 /**
11862 * Is this a borderless toggle?
11863 */
11864 "borderless"?: boolean;
11865 /**
11866 * Are these collapsible?
11867 */
11868 "collapsible"?: boolean;
11869 /**
11870 * Disables the details so it can't be toggled.
11871 */
11872 "disabled"?: boolean;
11873 /**
11874 * Show the toggle
11875 */
11876 "onScHide"?: (event: ScToggleCustomEvent<void>) => void;
11877 /**
11878 * Show the toggle
11879 */
11880 "onScShow"?: (event: ScToggleCustomEvent<void>) => void;
11881 /**
11882 * Indicates whether or not the details is open. You can use this in lieu of the show/hide methods.
11883 */
11884 "open"?: boolean;
11885 /**
11886 * Is this a shady
11887 */
11888 "shady"?: boolean;
11889 /**
11890 * Should we show a radio control?
11891 */
11892 "showControl"?: boolean;
11893 /**
11894 * Should we show the arrow icon?
11895 */
11896 "showIcon"?: boolean;
11897 /**
11898 * The summary to show in the details header. If you need to display HTML, use the `summary` slot instead.
11899 */
11900 "summary"?: string;
11901 }
11902 interface ScToggles {
11903 /**
11904 * Should this function as an accordion?
11905 */
11906 "accordion"?: boolean;
11907 /**
11908 * Are these collapsible?
11909 */
11910 "collapsible"?: boolean;
11911 /**
11912 * Theme for the toggles
11913 */
11914 "theme"?: 'default' | 'container';
11915 }
11916 interface ScTooltip {
11917 /**
11918 * Freeze open or closed.
11919 */
11920 "freeze"?: boolean;
11921 /**
11922 * Open or not
11923 */
11924 "open"?: boolean;
11925 /**
11926 * The tooltip's padding.
11927 */
11928 "padding"?: number;
11929 /**
11930 * The tooltip's placement relative to the trigger.
11931 */
11932 "placement"?: 'top' | 'bottom' | 'left' | 'right';
11933 /**
11934 * Tooltip text
11935 */
11936 "text"?: string;
11937 /**
11938 * The tooltip's type. - `info` (default) — current SureCart blue/info style with a colored arrow. - `primary`/`success`/`warning`/`danger` — accent-colored variants. - `text` — legacy passthrough used by long-form tooltips. - `dark` — flat black background with white text, matching the WordPress admin button tooltip ("View options"-style). No colored accent, no arrow, no padding flourish — just the WP look.
11939 */
11940 "type"?: 'primary' | 'success' | 'info' | 'warning' | 'danger' | 'text' | 'dark';
11941 /**
11942 * Tooltip fixed width
11943 */
11944 "width"?: string;
11945 }
11946 interface ScTotal {
11947 "checkout"?: Checkout;
11948 "total"?: 'total' | 'subtotal' | 'amount_due';
11949 }
11950 interface ScUpcomingInvoice {
11951 "adHocAmount"?: number;
11952 "discount"?: {
11953 promotion_code?: string;
11954 coupon?: string;
11955 };
11956 "heading"?: string;
11957 "payment_method"?: PaymentMethod;
11958 "priceId"?: string;
11959 "quantity"?: number;
11960 "quantityUpdatesEnabled"?: boolean;
11961 "subscriptionId"?: string;
11962 "successUrl"?: string;
11963 "variantId"?: string;
11964 }
11965 interface ScUpgradeRequired {
11966 /**
11967 * Whether to render upgrade modal by default
11968 */
11969 "open"?: boolean;
11970 /**
11971 * Is this required?
11972 */
11973 "required"?: boolean;
11974 /**
11975 * The tag's size.
11976 */
11977 "size"?: 'small' | 'medium' | 'large';
11978 }
11979 interface ScUpsell {
11980 }
11981 interface ScUpsellCountdownTimer {
11982 /**
11983 * Whether to show the icon.
11984 */
11985 "showIcon"?: boolean;
11986 }
11987 interface ScUpsellNoThanksButton {
11988 }
11989 interface ScUpsellSubmitButton {
11990 }
11991 interface ScUpsellTotals {
11992 }
11993 interface ScVerificationCode {
11994 /**
11995 * Whether the component is in a loading/verifying state
11996 */
11997 "loading"?: boolean;
11998 /**
11999 * On change verification code
12000 */
12001 "onChange"?: (value: string) => void;
12002 /**
12003 * Total number of inputs
12004 */
12005 "total"?: number;
12006 }
12007 interface ScVisuallyHidden {
12008 }
12009 interface ScWordpressPasswordEdit {
12010 /**
12011 * Ensures strong password validation.
12012 */
12013 "enableValidation"?: boolean;
12014 "heading"?: string;
12015 "successUrl"?: string;
12016 "user"?: WordPressUser;
12017 }
12018 interface ScWordpressUser {
12019 "heading"?: string;
12020 "user"?: WordPressUser;
12021 }
12022 interface ScWordpressUserEdit {
12023 "heading"?: string;
12024 "successUrl"?: string;
12025 "user"?: WordPressUser;
12026 }
12027 interface IntrinsicElements {
12028 "sc-address": ScAddress;
12029 "sc-address-suggestions": ScAddressSuggestions;
12030 "sc-alert": ScAlert;
12031 "sc-avatar": ScAvatar;
12032 "sc-badge-notice": ScBadgeNotice;
12033 "sc-block-ui": ScBlockUi;
12034 "sc-breadcrumb": ScBreadcrumb;
12035 "sc-breadcrumbs": ScBreadcrumbs;
12036 "sc-button": ScButton;
12037 "sc-button-group": ScButtonGroup;
12038 "sc-cancel-dialog": ScCancelDialog;
12039 "sc-cancel-discount": ScCancelDiscount;
12040 "sc-cancel-survey": ScCancelSurvey;
12041 "sc-card": ScCard;
12042 "sc-cart": ScCart;
12043 "sc-cart-button": ScCartButton;
12044 "sc-cart-form": ScCartForm;
12045 "sc-cart-form-submit": ScCartFormSubmit;
12046 "sc-cart-header": ScCartHeader;
12047 "sc-cart-icon": ScCartIcon;
12048 "sc-cart-loader": ScCartLoader;
12049 "sc-cart-session-provider": ScCartSessionProvider;
12050 "sc-cart-submit": ScCartSubmit;
12051 "sc-cc-logo": ScCcLogo;
12052 "sc-charges-list": ScChargesList;
12053 "sc-checkbox": ScCheckbox;
12054 "sc-checkout": ScCheckout;
12055 "sc-checkout-autofill-provider": ScCheckoutAutofillProvider;
12056 "sc-checkout-form-errors": ScCheckoutFormErrors;
12057 "sc-checkout-geo-permission": ScCheckoutGeoPermission;
12058 "sc-checkout-mollie-payment": ScCheckoutMolliePayment;
12059 "sc-checkout-paystack-payment-provider": ScCheckoutPaystackPaymentProvider;
12060 "sc-checkout-product-bundle-component-variants": ScCheckoutProductBundleComponentVariants;
12061 "sc-checkout-product-price-variant-selector": ScCheckoutProductPriceVariantSelector;
12062 "sc-checkout-razorpay-payment-provider": ScCheckoutRazorpayPaymentProvider;
12063 "sc-checkout-stock-alert": ScCheckoutStockAlert;
12064 "sc-checkout-test-complete": ScCheckoutTestComplete;
12065 "sc-checkout-unsaved-changes-warning": ScCheckoutUnsavedChangesWarning;
12066 "sc-choice": ScChoice;
12067 "sc-choice-container": ScChoiceContainer;
12068 "sc-choices": ScChoices;
12069 "sc-column": ScColumn;
12070 "sc-columns": ScColumns;
12071 "sc-compact-address": ScCompactAddress;
12072 "sc-conditional-form": ScConditionalForm;
12073 "sc-consumer": ScConsumer;
12074 "sc-coupon-form": ScCouponForm;
12075 "sc-custom-order-price-input": ScCustomOrderPriceInput;
12076 "sc-customer-details": ScCustomerDetails;
12077 "sc-customer-edit": ScCustomerEdit;
12078 "sc-customer-email": ScCustomerEmail;
12079 "sc-customer-firstname": ScCustomerFirstname;
12080 "sc-customer-lastname": ScCustomerLastname;
12081 "sc-customer-login": ScCustomerLogin;
12082 "sc-customer-name": ScCustomerName;
12083 "sc-customer-phone": ScCustomerPhone;
12084 "sc-dashboard-customer-details": ScDashboardCustomerDetails;
12085 "sc-dashboard-downloads-list": ScDashboardDownloadsList;
12086 "sc-dashboard-module": ScDashboardModule;
12087 "sc-dialog": ScDialog;
12088 "sc-divider": ScDivider;
12089 "sc-donation-choices": ScDonationChoices;
12090 "sc-downloads-list": ScDownloadsList;
12091 "sc-drawer": ScDrawer;
12092 "sc-dropdown": ScDropdown;
12093 "sc-empty": ScEmpty;
12094 "sc-error": ScError;
12095 "sc-express-payment": ScExpressPayment;
12096 "sc-feature-demo-banner": ScFeatureDemoBanner;
12097 "sc-flex": ScFlex;
12098 "sc-form": ScForm;
12099 "sc-form-components-validator": ScFormComponentsValidator;
12100 "sc-form-control": ScFormControl;
12101 "sc-form-error-provider": ScFormErrorProvider;
12102 "sc-form-row": ScFormRow;
12103 "sc-form-state-provider": ScFormStateProvider;
12104 "sc-format-bytes": ScFormatBytes;
12105 "sc-format-interval": ScFormatInterval;
12106 "sc-format-number": ScFormatNumber;
12107 "sc-fulfillment-shipping-status-badge": ScFulfillmentShippingStatusBadge;
12108 "sc-fulfillments": ScFulfillments;
12109 "sc-heading": ScHeading;
12110 "sc-icon": ScIcon;
12111 "sc-image-slider": ScImageSlider;
12112 "sc-input": ScInput;
12113 "sc-invoice-details": ScInvoiceDetails;
12114 "sc-invoice-memo": ScInvoiceMemo;
12115 "sc-invoice-status-badge": ScInvoiceStatusBadge;
12116 "sc-invoices-list": ScInvoicesList;
12117 "sc-license": ScLicense;
12118 "sc-licenses-list": ScLicensesList;
12119 "sc-line-item": ScLineItem;
12120 "sc-line-item-bump": ScLineItemBump;
12121 "sc-line-item-invoice-due-date": ScLineItemInvoiceDueDate;
12122 "sc-line-item-invoice-number": ScLineItemInvoiceNumber;
12123 "sc-line-item-invoice-receipt-download": ScLineItemInvoiceReceiptDownload;
12124 "sc-line-item-shipping": ScLineItemShipping;
12125 "sc-line-item-tax": ScLineItemTax;
12126 "sc-line-item-total": ScLineItemTotal;
12127 "sc-line-item-trial": ScLineItemTrial;
12128 "sc-line-items": ScLineItems;
12129 "sc-line-items-provider": ScLineItemsProvider;
12130 "sc-login-form": ScLoginForm;
12131 "sc-login-provider": ScLoginProvider;
12132 "sc-manual-payment-method": ScManualPaymentMethod;
12133 "sc-menu": ScMenu;
12134 "sc-menu-divider": ScMenuDivider;
12135 "sc-menu-item": ScMenuItem;
12136 "sc-menu-label": ScMenuLabel;
12137 "sc-mollie-add-method": ScMollieAddMethod;
12138 "sc-order": ScOrder;
12139 "sc-order-billing-address": ScOrderBillingAddress;
12140 "sc-order-bump": ScOrderBump;
12141 "sc-order-bumps": ScOrderBumps;
12142 "sc-order-confirm-components-validator": ScOrderConfirmComponentsValidator;
12143 "sc-order-confirm-provider": ScOrderConfirmProvider;
12144 "sc-order-confirmation": ScOrderConfirmation;
12145 "sc-order-confirmation-customer": ScOrderConfirmationCustomer;
12146 "sc-order-confirmation-details": ScOrderConfirmationDetails;
12147 "sc-order-confirmation-line-items": ScOrderConfirmationLineItems;
12148 "sc-order-confirmation-totals": ScOrderConfirmationTotals;
12149 "sc-order-coupon-form": ScOrderCouponForm;
12150 "sc-order-detail": ScOrderDetail;
12151 "sc-order-fulfillment-badge": ScOrderFulfillmentBadge;
12152 "sc-order-manual-instructions": ScOrderManualInstructions;
12153 "sc-order-password": ScOrderPassword;
12154 "sc-order-return-badge": ScOrderReturnBadge;
12155 "sc-order-shipment-badge": ScOrderShipmentBadge;
12156 "sc-order-shipping-address": ScOrderShippingAddress;
12157 "sc-order-status-badge": ScOrderStatusBadge;
12158 "sc-order-submit": ScOrderSubmit;
12159 "sc-order-summary": ScOrderSummary;
12160 "sc-order-tax-id-input": ScOrderTaxIdInput;
12161 "sc-orders-list": ScOrdersList;
12162 "sc-pagination": ScPagination;
12163 "sc-password": ScPassword;
12164 "sc-password-nag": ScPasswordNag;
12165 "sc-payment": ScPayment;
12166 "sc-payment-method": ScPaymentMethod;
12167 "sc-payment-method-choice": ScPaymentMethodChoice;
12168 "sc-payment-method-details": ScPaymentMethodDetails;
12169 "sc-payment-methods-list": ScPaymentMethodsList;
12170 "sc-payment-selected": ScPaymentSelected;
12171 "sc-paypal-add-method": ScPaypalAddMethod;
12172 "sc-paypal-buttons": ScPaypalButtons;
12173 "sc-paystack-add-method": ScPaystackAddMethod;
12174 "sc-phone-input": ScPhoneInput;
12175 "sc-pill-option": ScPillOption;
12176 "sc-popover": ScPopover;
12177 "sc-premium-tag": ScPremiumTag;
12178 "sc-price": ScPrice;
12179 "sc-price-choice": ScPriceChoice;
12180 "sc-price-choice-container": ScPriceChoiceContainer;
12181 "sc-price-choices": ScPriceChoices;
12182 "sc-price-input": ScPriceInput;
12183 "sc-price-range": ScPriceRange;
12184 "sc-product-buy-button": ScProductBuyButton;
12185 "sc-product-donation-amount-choice": ScProductDonationAmountChoice;
12186 "sc-product-donation-choices": ScProductDonationChoices;
12187 "sc-product-donation-custom-amount": ScProductDonationCustomAmount;
12188 "sc-product-item": ScProductItem;
12189 "sc-product-item-image": ScProductItemImage;
12190 "sc-product-item-list": ScProductItemList;
12191 "sc-product-item-price": ScProductItemPrice;
12192 "sc-product-item-title": ScProductItemTitle;
12193 "sc-product-line-item": ScProductLineItem;
12194 "sc-product-line-item-note": ScProductLineItemNote;
12195 "sc-product-pills-variant-option": ScProductPillsVariantOption;
12196 "sc-product-price": ScProductPrice;
12197 "sc-product-price-choices": ScProductPriceChoices;
12198 "sc-product-price-modal": ScProductPriceModal;
12199 "sc-product-quantity": ScProductQuantity;
12200 "sc-product-selected-price": ScProductSelectedPrice;
12201 "sc-product-text": ScProductText;
12202 "sc-prose": ScProse;
12203 "sc-provider": ScProvider;
12204 "sc-provisional-banner": ScProvisionalBanner;
12205 "sc-purchase-downloads-list": ScPurchaseDownloadsList;
12206 "sc-quantity-select": ScQuantitySelect;
12207 "sc-radio": ScRadio;
12208 "sc-radio-group": ScRadioGroup;
12209 "sc-razorpay-add-method": ScRazorpayAddMethod;
12210 "sc-recurring-price-choice-container": ScRecurringPriceChoiceContainer;
12211 "sc-review-stars": ScReviewStars;
12212 "sc-rich-text": ScRichText;
12213 "sc-secure-notice": ScSecureNotice;
12214 "sc-select": ScSelect;
12215 "sc-session-provider": ScSessionProvider;
12216 "sc-shipping-choices": ScShippingChoices;
12217 "sc-skeleton": ScSkeleton;
12218 "sc-spacing": ScSpacing;
12219 "sc-spinner": ScSpinner;
12220 "sc-stacked-list": ScStackedList;
12221 "sc-stacked-list-row": ScStackedListRow;
12222 "sc-stripe-add-method": ScStripeAddMethod;
12223 "sc-stripe-element": ScStripeElement;
12224 "sc-stripe-payment-element": ScStripePaymentElement;
12225 "sc-stripe-payment-request": ScStripePaymentRequest;
12226 "sc-subscription": ScSubscription;
12227 "sc-subscription-ad-hoc-confirm": ScSubscriptionAdHocConfirm;
12228 "sc-subscription-cancel": ScSubscriptionCancel;
12229 "sc-subscription-details": ScSubscriptionDetails;
12230 "sc-subscription-next-payment": ScSubscriptionNextPayment;
12231 "sc-subscription-payment": ScSubscriptionPayment;
12232 "sc-subscription-payment-method": ScSubscriptionPaymentMethod;
12233 "sc-subscription-reactivate": ScSubscriptionReactivate;
12234 "sc-subscription-status-badge": ScSubscriptionStatusBadge;
12235 "sc-subscription-switch": ScSubscriptionSwitch;
12236 "sc-subscription-variation-confirm": ScSubscriptionVariationConfirm;
12237 "sc-subscriptions-list": ScSubscriptionsList;
12238 "sc-summary": ScSummary;
12239 "sc-swap": ScSwap;
12240 "sc-switch": ScSwitch;
12241 "sc-tab": ScTab;
12242 "sc-tab-group": ScTabGroup;
12243 "sc-tab-panel": ScTabPanel;
12244 "sc-table": ScTable;
12245 "sc-table-cell": ScTableCell;
12246 "sc-table-head": ScTableHead;
12247 "sc-table-row": ScTableRow;
12248 "sc-tag": ScTag;
12249 "sc-tax-id-input": ScTaxIdInput;
12250 "sc-test-mode-info": ScTestModeInfo;
12251 "sc-text": ScText;
12252 "sc-textarea": ScTextarea;
12253 "sc-toggle": ScToggle;
12254 "sc-toggles": ScToggles;
12255 "sc-tooltip": ScTooltip;
12256 "sc-total": ScTotal;
12257 "sc-upcoming-invoice": ScUpcomingInvoice;
12258 "sc-upgrade-required": ScUpgradeRequired;
12259 "sc-upsell": ScUpsell;
12260 "sc-upsell-countdown-timer": ScUpsellCountdownTimer;
12261 "sc-upsell-no-thanks-button": ScUpsellNoThanksButton;
12262 "sc-upsell-submit-button": ScUpsellSubmitButton;
12263 "sc-upsell-totals": ScUpsellTotals;
12264 "sc-verification-code": ScVerificationCode;
12265 "sc-visually-hidden": ScVisuallyHidden;
12266 "sc-wordpress-password-edit": ScWordpressPasswordEdit;
12267 "sc-wordpress-user": ScWordpressUser;
12268 "sc-wordpress-user-edit": ScWordpressUserEdit;
12269 }
12270 }
12271 export { LocalJSX as JSX };
12272 declare module "@stencil/core" {
12273 export namespace JSX {
12274 interface IntrinsicElements {
12275 "sc-address": LocalJSX.ScAddress & JSXBase.HTMLAttributes<HTMLScAddressElement>;
12276 "sc-address-suggestions": LocalJSX.ScAddressSuggestions & JSXBase.HTMLAttributes<HTMLScAddressSuggestionsElement>;
12277 "sc-alert": LocalJSX.ScAlert & JSXBase.HTMLAttributes<HTMLScAlertElement>;
12278 "sc-avatar": LocalJSX.ScAvatar & JSXBase.HTMLAttributes<HTMLScAvatarElement>;
12279 "sc-badge-notice": LocalJSX.ScBadgeNotice & JSXBase.HTMLAttributes<HTMLScBadgeNoticeElement>;
12280 "sc-block-ui": LocalJSX.ScBlockUi & JSXBase.HTMLAttributes<HTMLScBlockUiElement>;
12281 "sc-breadcrumb": LocalJSX.ScBreadcrumb & JSXBase.HTMLAttributes<HTMLScBreadcrumbElement>;
12282 "sc-breadcrumbs": LocalJSX.ScBreadcrumbs & JSXBase.HTMLAttributes<HTMLScBreadcrumbsElement>;
12283 "sc-button": LocalJSX.ScButton & JSXBase.HTMLAttributes<HTMLScButtonElement>;
12284 "sc-button-group": LocalJSX.ScButtonGroup & JSXBase.HTMLAttributes<HTMLScButtonGroupElement>;
12285 "sc-cancel-dialog": LocalJSX.ScCancelDialog & JSXBase.HTMLAttributes<HTMLScCancelDialogElement>;
12286 "sc-cancel-discount": LocalJSX.ScCancelDiscount & JSXBase.HTMLAttributes<HTMLScCancelDiscountElement>;
12287 "sc-cancel-survey": LocalJSX.ScCancelSurvey & JSXBase.HTMLAttributes<HTMLScCancelSurveyElement>;
12288 "sc-card": LocalJSX.ScCard & JSXBase.HTMLAttributes<HTMLScCardElement>;
12289 "sc-cart": LocalJSX.ScCart & JSXBase.HTMLAttributes<HTMLScCartElement>;
12290 "sc-cart-button": LocalJSX.ScCartButton & JSXBase.HTMLAttributes<HTMLScCartButtonElement>;
12291 "sc-cart-form": LocalJSX.ScCartForm & JSXBase.HTMLAttributes<HTMLScCartFormElement>;
12292 "sc-cart-form-submit": LocalJSX.ScCartFormSubmit & JSXBase.HTMLAttributes<HTMLScCartFormSubmitElement>;
12293 "sc-cart-header": LocalJSX.ScCartHeader & JSXBase.HTMLAttributes<HTMLScCartHeaderElement>;
12294 "sc-cart-icon": LocalJSX.ScCartIcon & JSXBase.HTMLAttributes<HTMLScCartIconElement>;
12295 "sc-cart-loader": LocalJSX.ScCartLoader & JSXBase.HTMLAttributes<HTMLScCartLoaderElement>;
12296 "sc-cart-session-provider": LocalJSX.ScCartSessionProvider & JSXBase.HTMLAttributes<HTMLScCartSessionProviderElement>;
12297 "sc-cart-submit": LocalJSX.ScCartSubmit & JSXBase.HTMLAttributes<HTMLScCartSubmitElement>;
12298 "sc-cc-logo": LocalJSX.ScCcLogo & JSXBase.HTMLAttributes<HTMLScCcLogoElement>;
12299 "sc-charges-list": LocalJSX.ScChargesList & JSXBase.HTMLAttributes<HTMLScChargesListElement>;
12300 "sc-checkbox": LocalJSX.ScCheckbox & JSXBase.HTMLAttributes<HTMLScCheckboxElement>;
12301 "sc-checkout": LocalJSX.ScCheckout & JSXBase.HTMLAttributes<HTMLScCheckoutElement>;
12302 "sc-checkout-autofill-provider": LocalJSX.ScCheckoutAutofillProvider & JSXBase.HTMLAttributes<HTMLScCheckoutAutofillProviderElement>;
12303 /**
12304 * This component listens for a confirmed event and redirects to the success url.
12305 */
12306 "sc-checkout-form-errors": LocalJSX.ScCheckoutFormErrors & JSXBase.HTMLAttributes<HTMLScCheckoutFormErrorsElement>;
12307 /**
12308 * Explains why location is requested (e.g. regional / purchasing-power-parity pricing) and gates
12309 * the browser geolocation prompt behind an explicit opt-in when capture is enabled by the merchant.
12310 */
12311 "sc-checkout-geo-permission": LocalJSX.ScCheckoutGeoPermission & JSXBase.HTMLAttributes<HTMLScCheckoutGeoPermissionElement>;
12312 "sc-checkout-mollie-payment": LocalJSX.ScCheckoutMolliePayment & JSXBase.HTMLAttributes<HTMLScCheckoutMolliePaymentElement>;
12313 "sc-checkout-paystack-payment-provider": LocalJSX.ScCheckoutPaystackPaymentProvider & JSXBase.HTMLAttributes<HTMLScCheckoutPaystackPaymentProviderElement>;
12314 /**
12315 * Checkout-side picker for bundle component variants. Mirrors the PDP bundle
12316 * picker (the scope-aware `surecart/product-variant-pills` block) but writes the
12317 * selection straight into the bundle line item's `bundle_component_variants`.
12318 */
12319 "sc-checkout-product-bundle-component-variants": LocalJSX.ScCheckoutProductBundleComponentVariants & JSXBase.HTMLAttributes<HTMLScCheckoutProductBundleComponentVariantsElement>;
12320 "sc-checkout-product-price-variant-selector": LocalJSX.ScCheckoutProductPriceVariantSelector & JSXBase.HTMLAttributes<HTMLScCheckoutProductPriceVariantSelectorElement>;
12321 "sc-checkout-razorpay-payment-provider": LocalJSX.ScCheckoutRazorpayPaymentProvider & JSXBase.HTMLAttributes<HTMLScCheckoutRazorpayPaymentProviderElement>;
12322 /**
12323 * This component listens for stock requirements and displays a dialog to the user.
12324 */
12325 "sc-checkout-stock-alert": LocalJSX.ScCheckoutStockAlert & JSXBase.HTMLAttributes<HTMLScCheckoutStockAlertElement>;
12326 /**
12327 * This component listens to the order status
12328 * and confirms the order when payment is successful.
12329 */
12330 "sc-checkout-test-complete": LocalJSX.ScCheckoutTestComplete & JSXBase.HTMLAttributes<HTMLScCheckoutTestCompleteElement>;
12331 "sc-checkout-unsaved-changes-warning": LocalJSX.ScCheckoutUnsavedChangesWarning & JSXBase.HTMLAttributes<HTMLScCheckoutUnsavedChangesWarningElement>;
12332 "sc-choice": LocalJSX.ScChoice & JSXBase.HTMLAttributes<HTMLScChoiceElement>;
12333 "sc-choice-container": LocalJSX.ScChoiceContainer & JSXBase.HTMLAttributes<HTMLScChoiceContainerElement>;
12334 "sc-choices": LocalJSX.ScChoices & JSXBase.HTMLAttributes<HTMLScChoicesElement>;
12335 "sc-column": LocalJSX.ScColumn & JSXBase.HTMLAttributes<HTMLScColumnElement>;
12336 "sc-columns": LocalJSX.ScColumns & JSXBase.HTMLAttributes<HTMLScColumnsElement>;
12337 "sc-compact-address": LocalJSX.ScCompactAddress & JSXBase.HTMLAttributes<HTMLScCompactAddressElement>;
12338 "sc-conditional-form": LocalJSX.ScConditionalForm & JSXBase.HTMLAttributes<HTMLScConditionalFormElement>;
12339 "sc-consumer": LocalJSX.ScConsumer & JSXBase.HTMLAttributes<HTMLScConsumerElement>;
12340 "sc-coupon-form": LocalJSX.ScCouponForm & JSXBase.HTMLAttributes<HTMLScCouponFormElement>;
12341 "sc-custom-order-price-input": LocalJSX.ScCustomOrderPriceInput & JSXBase.HTMLAttributes<HTMLScCustomOrderPriceInputElement>;
12342 "sc-customer-details": LocalJSX.ScCustomerDetails & JSXBase.HTMLAttributes<HTMLScCustomerDetailsElement>;
12343 "sc-customer-edit": LocalJSX.ScCustomerEdit & JSXBase.HTMLAttributes<HTMLScCustomerEditElement>;
12344 "sc-customer-email": LocalJSX.ScCustomerEmail & JSXBase.HTMLAttributes<HTMLScCustomerEmailElement>;
12345 "sc-customer-firstname": LocalJSX.ScCustomerFirstname & JSXBase.HTMLAttributes<HTMLScCustomerFirstnameElement>;
12346 "sc-customer-lastname": LocalJSX.ScCustomerLastname & JSXBase.HTMLAttributes<HTMLScCustomerLastnameElement>;
12347 "sc-customer-login": LocalJSX.ScCustomerLogin & JSXBase.HTMLAttributes<HTMLScCustomerLoginElement>;
12348 "sc-customer-name": LocalJSX.ScCustomerName & JSXBase.HTMLAttributes<HTMLScCustomerNameElement>;
12349 "sc-customer-phone": LocalJSX.ScCustomerPhone & JSXBase.HTMLAttributes<HTMLScCustomerPhoneElement>;
12350 "sc-dashboard-customer-details": LocalJSX.ScDashboardCustomerDetails & JSXBase.HTMLAttributes<HTMLScDashboardCustomerDetailsElement>;
12351 "sc-dashboard-downloads-list": LocalJSX.ScDashboardDownloadsList & JSXBase.HTMLAttributes<HTMLScDashboardDownloadsListElement>;
12352 "sc-dashboard-module": LocalJSX.ScDashboardModule & JSXBase.HTMLAttributes<HTMLScDashboardModuleElement>;
12353 "sc-dialog": LocalJSX.ScDialog & JSXBase.HTMLAttributes<HTMLScDialogElement>;
12354 "sc-divider": LocalJSX.ScDivider & JSXBase.HTMLAttributes<HTMLScDividerElement>;
12355 "sc-donation-choices": LocalJSX.ScDonationChoices & JSXBase.HTMLAttributes<HTMLScDonationChoicesElement>;
12356 "sc-downloads-list": LocalJSX.ScDownloadsList & JSXBase.HTMLAttributes<HTMLScDownloadsListElement>;
12357 "sc-drawer": LocalJSX.ScDrawer & JSXBase.HTMLAttributes<HTMLScDrawerElement>;
12358 "sc-dropdown": LocalJSX.ScDropdown & JSXBase.HTMLAttributes<HTMLScDropdownElement>;
12359 "sc-empty": LocalJSX.ScEmpty & JSXBase.HTMLAttributes<HTMLScEmptyElement>;
12360 "sc-error": LocalJSX.ScError & JSXBase.HTMLAttributes<HTMLScErrorElement>;
12361 "sc-express-payment": LocalJSX.ScExpressPayment & JSXBase.HTMLAttributes<HTMLScExpressPaymentElement>;
12362 "sc-feature-demo-banner": LocalJSX.ScFeatureDemoBanner & JSXBase.HTMLAttributes<HTMLScFeatureDemoBannerElement>;
12363 "sc-flex": LocalJSX.ScFlex & JSXBase.HTMLAttributes<HTMLScFlexElement>;
12364 "sc-form": LocalJSX.ScForm & JSXBase.HTMLAttributes<HTMLScFormElement>;
12365 "sc-form-components-validator": LocalJSX.ScFormComponentsValidator & JSXBase.HTMLAttributes<HTMLScFormComponentsValidatorElement>;
12366 "sc-form-control": LocalJSX.ScFormControl & JSXBase.HTMLAttributes<HTMLScFormControlElement>;
12367 /**
12368 * This component checks to make sure there is an error component
12369 * and adds one if it's missing.
12370 */
12371 "sc-form-error-provider": LocalJSX.ScFormErrorProvider & JSXBase.HTMLAttributes<HTMLScFormErrorProviderElement>;
12372 "sc-form-row": LocalJSX.ScFormRow & JSXBase.HTMLAttributes<HTMLScFormRowElement>;
12373 /**
12374 * This component listens for a confirmed event and redirects to the success url.
12375 */
12376 "sc-form-state-provider": LocalJSX.ScFormStateProvider & JSXBase.HTMLAttributes<HTMLScFormStateProviderElement>;
12377 "sc-format-bytes": LocalJSX.ScFormatBytes & JSXBase.HTMLAttributes<HTMLScFormatBytesElement>;
12378 "sc-format-interval": LocalJSX.ScFormatInterval & JSXBase.HTMLAttributes<HTMLScFormatIntervalElement>;
12379 "sc-format-number": LocalJSX.ScFormatNumber & JSXBase.HTMLAttributes<HTMLScFormatNumberElement>;
12380 "sc-fulfillment-shipping-status-badge": LocalJSX.ScFulfillmentShippingStatusBadge & JSXBase.HTMLAttributes<HTMLScFulfillmentShippingStatusBadgeElement>;
12381 "sc-fulfillments": LocalJSX.ScFulfillments & JSXBase.HTMLAttributes<HTMLScFulfillmentsElement>;
12382 "sc-heading": LocalJSX.ScHeading & JSXBase.HTMLAttributes<HTMLScHeadingElement>;
12383 "sc-icon": LocalJSX.ScIcon & JSXBase.HTMLAttributes<HTMLScIconElement>;
12384 "sc-image-slider": LocalJSX.ScImageSlider & JSXBase.HTMLAttributes<HTMLScImageSliderElement>;
12385 "sc-input": LocalJSX.ScInput & JSXBase.HTMLAttributes<HTMLScInputElement>;
12386 "sc-invoice-details": LocalJSX.ScInvoiceDetails & JSXBase.HTMLAttributes<HTMLScInvoiceDetailsElement>;
12387 "sc-invoice-memo": LocalJSX.ScInvoiceMemo & JSXBase.HTMLAttributes<HTMLScInvoiceMemoElement>;
12388 "sc-invoice-status-badge": LocalJSX.ScInvoiceStatusBadge & JSXBase.HTMLAttributes<HTMLScInvoiceStatusBadgeElement>;
12389 "sc-invoices-list": LocalJSX.ScInvoicesList & JSXBase.HTMLAttributes<HTMLScInvoicesListElement>;
12390 "sc-license": LocalJSX.ScLicense & JSXBase.HTMLAttributes<HTMLScLicenseElement>;
12391 "sc-licenses-list": LocalJSX.ScLicensesList & JSXBase.HTMLAttributes<HTMLScLicensesListElement>;
12392 "sc-line-item": LocalJSX.ScLineItem & JSXBase.HTMLAttributes<HTMLScLineItemElement>;
12393 "sc-line-item-bump": LocalJSX.ScLineItemBump & JSXBase.HTMLAttributes<HTMLScLineItemBumpElement>;
12394 "sc-line-item-invoice-due-date": LocalJSX.ScLineItemInvoiceDueDate & JSXBase.HTMLAttributes<HTMLScLineItemInvoiceDueDateElement>;
12395 "sc-line-item-invoice-number": LocalJSX.ScLineItemInvoiceNumber & JSXBase.HTMLAttributes<HTMLScLineItemInvoiceNumberElement>;
12396 "sc-line-item-invoice-receipt-download": LocalJSX.ScLineItemInvoiceReceiptDownload & JSXBase.HTMLAttributes<HTMLScLineItemInvoiceReceiptDownloadElement>;
12397 "sc-line-item-shipping": LocalJSX.ScLineItemShipping & JSXBase.HTMLAttributes<HTMLScLineItemShippingElement>;
12398 "sc-line-item-tax": LocalJSX.ScLineItemTax & JSXBase.HTMLAttributes<HTMLScLineItemTaxElement>;
12399 "sc-line-item-total": LocalJSX.ScLineItemTotal & JSXBase.HTMLAttributes<HTMLScLineItemTotalElement>;
12400 "sc-line-item-trial": LocalJSX.ScLineItemTrial & JSXBase.HTMLAttributes<HTMLScLineItemTrialElement>;
12401 "sc-line-items": LocalJSX.ScLineItems & JSXBase.HTMLAttributes<HTMLScLineItemsElement>;
12402 "sc-line-items-provider": LocalJSX.ScLineItemsProvider & JSXBase.HTMLAttributes<HTMLScLineItemsProviderElement>;
12403 "sc-login-form": LocalJSX.ScLoginForm & JSXBase.HTMLAttributes<HTMLScLoginFormElement>;
12404 "sc-login-provider": LocalJSX.ScLoginProvider & JSXBase.HTMLAttributes<HTMLScLoginProviderElement>;
12405 "sc-manual-payment-method": LocalJSX.ScManualPaymentMethod & JSXBase.HTMLAttributes<HTMLScManualPaymentMethodElement>;
12406 "sc-menu": LocalJSX.ScMenu & JSXBase.HTMLAttributes<HTMLScMenuElement>;
12407 "sc-menu-divider": LocalJSX.ScMenuDivider & JSXBase.HTMLAttributes<HTMLScMenuDividerElement>;
12408 "sc-menu-item": LocalJSX.ScMenuItem & JSXBase.HTMLAttributes<HTMLScMenuItemElement>;
12409 "sc-menu-label": LocalJSX.ScMenuLabel & JSXBase.HTMLAttributes<HTMLScMenuLabelElement>;
12410 "sc-mollie-add-method": LocalJSX.ScMollieAddMethod & JSXBase.HTMLAttributes<HTMLScMollieAddMethodElement>;
12411 "sc-order": LocalJSX.ScOrder & JSXBase.HTMLAttributes<HTMLScOrderElement>;
12412 "sc-order-billing-address": LocalJSX.ScOrderBillingAddress & JSXBase.HTMLAttributes<HTMLScOrderBillingAddressElement>;
12413 "sc-order-bump": LocalJSX.ScOrderBump & JSXBase.HTMLAttributes<HTMLScOrderBumpElement>;
12414 "sc-order-bumps": LocalJSX.ScOrderBumps & JSXBase.HTMLAttributes<HTMLScOrderBumpsElement>;
12415 "sc-order-confirm-components-validator": LocalJSX.ScOrderConfirmComponentsValidator & JSXBase.HTMLAttributes<HTMLScOrderConfirmComponentsValidatorElement>;
12416 /**
12417 * This component listens to the order status
12418 * and confirms the order when payment is successful.
12419 */
12420 "sc-order-confirm-provider": LocalJSX.ScOrderConfirmProvider & JSXBase.HTMLAttributes<HTMLScOrderConfirmProviderElement>;
12421 "sc-order-confirmation": LocalJSX.ScOrderConfirmation & JSXBase.HTMLAttributes<HTMLScOrderConfirmationElement>;
12422 "sc-order-confirmation-customer": LocalJSX.ScOrderConfirmationCustomer & JSXBase.HTMLAttributes<HTMLScOrderConfirmationCustomerElement>;
12423 "sc-order-confirmation-details": LocalJSX.ScOrderConfirmationDetails & JSXBase.HTMLAttributes<HTMLScOrderConfirmationDetailsElement>;
12424 "sc-order-confirmation-line-items": LocalJSX.ScOrderConfirmationLineItems & JSXBase.HTMLAttributes<HTMLScOrderConfirmationLineItemsElement>;
12425 "sc-order-confirmation-totals": LocalJSX.ScOrderConfirmationTotals & JSXBase.HTMLAttributes<HTMLScOrderConfirmationTotalsElement>;
12426 "sc-order-coupon-form": LocalJSX.ScOrderCouponForm & JSXBase.HTMLAttributes<HTMLScOrderCouponFormElement>;
12427 "sc-order-detail": LocalJSX.ScOrderDetail & JSXBase.HTMLAttributes<HTMLScOrderDetailElement>;
12428 "sc-order-fulfillment-badge": LocalJSX.ScOrderFulfillmentBadge & JSXBase.HTMLAttributes<HTMLScOrderFulfillmentBadgeElement>;
12429 "sc-order-manual-instructions": LocalJSX.ScOrderManualInstructions & JSXBase.HTMLAttributes<HTMLScOrderManualInstructionsElement>;
12430 "sc-order-password": LocalJSX.ScOrderPassword & JSXBase.HTMLAttributes<HTMLScOrderPasswordElement>;
12431 "sc-order-return-badge": LocalJSX.ScOrderReturnBadge & JSXBase.HTMLAttributes<HTMLScOrderReturnBadgeElement>;
12432 "sc-order-shipment-badge": LocalJSX.ScOrderShipmentBadge & JSXBase.HTMLAttributes<HTMLScOrderShipmentBadgeElement>;
12433 "sc-order-shipping-address": LocalJSX.ScOrderShippingAddress & JSXBase.HTMLAttributes<HTMLScOrderShippingAddressElement>;
12434 "sc-order-status-badge": LocalJSX.ScOrderStatusBadge & JSXBase.HTMLAttributes<HTMLScOrderStatusBadgeElement>;
12435 "sc-order-submit": LocalJSX.ScOrderSubmit & JSXBase.HTMLAttributes<HTMLScOrderSubmitElement>;
12436 "sc-order-summary": LocalJSX.ScOrderSummary & JSXBase.HTMLAttributes<HTMLScOrderSummaryElement>;
12437 "sc-order-tax-id-input": LocalJSX.ScOrderTaxIdInput & JSXBase.HTMLAttributes<HTMLScOrderTaxIdInputElement>;
12438 "sc-orders-list": LocalJSX.ScOrdersList & JSXBase.HTMLAttributes<HTMLScOrdersListElement>;
12439 "sc-pagination": LocalJSX.ScPagination & JSXBase.HTMLAttributes<HTMLScPaginationElement>;
12440 "sc-password": LocalJSX.ScPassword & JSXBase.HTMLAttributes<HTMLScPasswordElement>;
12441 "sc-password-nag": LocalJSX.ScPasswordNag & JSXBase.HTMLAttributes<HTMLScPasswordNagElement>;
12442 "sc-payment": LocalJSX.ScPayment & JSXBase.HTMLAttributes<HTMLScPaymentElement>;
12443 "sc-payment-method": LocalJSX.ScPaymentMethod & JSXBase.HTMLAttributes<HTMLScPaymentMethodElement>;
12444 "sc-payment-method-choice": LocalJSX.ScPaymentMethodChoice & JSXBase.HTMLAttributes<HTMLScPaymentMethodChoiceElement>;
12445 "sc-payment-method-details": LocalJSX.ScPaymentMethodDetails & JSXBase.HTMLAttributes<HTMLScPaymentMethodDetailsElement>;
12446 "sc-payment-methods-list": LocalJSX.ScPaymentMethodsList & JSXBase.HTMLAttributes<HTMLScPaymentMethodsListElement>;
12447 "sc-payment-selected": LocalJSX.ScPaymentSelected & JSXBase.HTMLAttributes<HTMLScPaymentSelectedElement>;
12448 "sc-paypal-add-method": LocalJSX.ScPaypalAddMethod & JSXBase.HTMLAttributes<HTMLScPaypalAddMethodElement>;
12449 "sc-paypal-buttons": LocalJSX.ScPaypalButtons & JSXBase.HTMLAttributes<HTMLScPaypalButtonsElement>;
12450 "sc-paystack-add-method": LocalJSX.ScPaystackAddMethod & JSXBase.HTMLAttributes<HTMLScPaystackAddMethodElement>;
12451 "sc-phone-input": LocalJSX.ScPhoneInput & JSXBase.HTMLAttributes<HTMLScPhoneInputElement>;
12452 "sc-pill-option": LocalJSX.ScPillOption & JSXBase.HTMLAttributes<HTMLScPillOptionElement>;
12453 "sc-popover": LocalJSX.ScPopover & JSXBase.HTMLAttributes<HTMLScPopoverElement>;
12454 "sc-premium-tag": LocalJSX.ScPremiumTag & JSXBase.HTMLAttributes<HTMLScPremiumTagElement>;
12455 /**
12456 * Internal dependencies.
12457 */
12458 "sc-price": LocalJSX.ScPrice & JSXBase.HTMLAttributes<HTMLScPriceElement>;
12459 "sc-price-choice": LocalJSX.ScPriceChoice & JSXBase.HTMLAttributes<HTMLScPriceChoiceElement>;
12460 "sc-price-choice-container": LocalJSX.ScPriceChoiceContainer & JSXBase.HTMLAttributes<HTMLScPriceChoiceContainerElement>;
12461 "sc-price-choices": LocalJSX.ScPriceChoices & JSXBase.HTMLAttributes<HTMLScPriceChoicesElement>;
12462 "sc-price-input": LocalJSX.ScPriceInput & JSXBase.HTMLAttributes<HTMLScPriceInputElement>;
12463 "sc-price-range": LocalJSX.ScPriceRange & JSXBase.HTMLAttributes<HTMLScPriceRangeElement>;
12464 "sc-product-buy-button": LocalJSX.ScProductBuyButton & JSXBase.HTMLAttributes<HTMLScProductBuyButtonElement>;
12465 "sc-product-donation-amount-choice": LocalJSX.ScProductDonationAmountChoice & JSXBase.HTMLAttributes<HTMLScProductDonationAmountChoiceElement>;
12466 "sc-product-donation-choices": LocalJSX.ScProductDonationChoices & JSXBase.HTMLAttributes<HTMLScProductDonationChoicesElement>;
12467 "sc-product-donation-custom-amount": LocalJSX.ScProductDonationCustomAmount & JSXBase.HTMLAttributes<HTMLScProductDonationCustomAmountElement>;
12468 "sc-product-item": LocalJSX.ScProductItem & JSXBase.HTMLAttributes<HTMLScProductItemElement>;
12469 "sc-product-item-image": LocalJSX.ScProductItemImage & JSXBase.HTMLAttributes<HTMLScProductItemImageElement>;
12470 "sc-product-item-list": LocalJSX.ScProductItemList & JSXBase.HTMLAttributes<HTMLScProductItemListElement>;
12471 "sc-product-item-price": LocalJSX.ScProductItemPrice & JSXBase.HTMLAttributes<HTMLScProductItemPriceElement>;
12472 "sc-product-item-title": LocalJSX.ScProductItemTitle & JSXBase.HTMLAttributes<HTMLScProductItemTitleElement>;
12473 "sc-product-line-item": LocalJSX.ScProductLineItem & JSXBase.HTMLAttributes<HTMLScProductLineItemElement>;
12474 "sc-product-line-item-note": LocalJSX.ScProductLineItemNote & JSXBase.HTMLAttributes<HTMLScProductLineItemNoteElement>;
12475 "sc-product-pills-variant-option": LocalJSX.ScProductPillsVariantOption & JSXBase.HTMLAttributes<HTMLScProductPillsVariantOptionElement>;
12476 "sc-product-price": LocalJSX.ScProductPrice & JSXBase.HTMLAttributes<HTMLScProductPriceElement>;
12477 "sc-product-price-choices": LocalJSX.ScProductPriceChoices & JSXBase.HTMLAttributes<HTMLScProductPriceChoicesElement>;
12478 "sc-product-price-modal": LocalJSX.ScProductPriceModal & JSXBase.HTMLAttributes<HTMLScProductPriceModalElement>;
12479 "sc-product-quantity": LocalJSX.ScProductQuantity & JSXBase.HTMLAttributes<HTMLScProductQuantityElement>;
12480 "sc-product-selected-price": LocalJSX.ScProductSelectedPrice & JSXBase.HTMLAttributes<HTMLScProductSelectedPriceElement>;
12481 "sc-product-text": LocalJSX.ScProductText & JSXBase.HTMLAttributes<HTMLScProductTextElement>;
12482 "sc-prose": LocalJSX.ScProse & JSXBase.HTMLAttributes<HTMLScProseElement>;
12483 "sc-provider": LocalJSX.ScProvider & JSXBase.HTMLAttributes<HTMLScProviderElement>;
12484 "sc-provisional-banner": LocalJSX.ScProvisionalBanner & JSXBase.HTMLAttributes<HTMLScProvisionalBannerElement>;
12485 "sc-purchase-downloads-list": LocalJSX.ScPurchaseDownloadsList & JSXBase.HTMLAttributes<HTMLScPurchaseDownloadsListElement>;
12486 "sc-quantity-select": LocalJSX.ScQuantitySelect & JSXBase.HTMLAttributes<HTMLScQuantitySelectElement>;
12487 "sc-radio": LocalJSX.ScRadio & JSXBase.HTMLAttributes<HTMLScRadioElement>;
12488 "sc-radio-group": LocalJSX.ScRadioGroup & JSXBase.HTMLAttributes<HTMLScRadioGroupElement>;
12489 "sc-razorpay-add-method": LocalJSX.ScRazorpayAddMethod & JSXBase.HTMLAttributes<HTMLScRazorpayAddMethodElement>;
12490 "sc-recurring-price-choice-container": LocalJSX.ScRecurringPriceChoiceContainer & JSXBase.HTMLAttributes<HTMLScRecurringPriceChoiceContainerElement>;
12491 "sc-review-stars": LocalJSX.ScReviewStars & JSXBase.HTMLAttributes<HTMLScReviewStarsElement>;
12492 "sc-rich-text": LocalJSX.ScRichText & JSXBase.HTMLAttributes<HTMLScRichTextElement>;
12493 "sc-secure-notice": LocalJSX.ScSecureNotice & JSXBase.HTMLAttributes<HTMLScSecureNoticeElement>;
12494 "sc-select": LocalJSX.ScSelect & JSXBase.HTMLAttributes<HTMLScSelectElement>;
12495 "sc-session-provider": LocalJSX.ScSessionProvider & JSXBase.HTMLAttributes<HTMLScSessionProviderElement>;
12496 "sc-shipping-choices": LocalJSX.ScShippingChoices & JSXBase.HTMLAttributes<HTMLScShippingChoicesElement>;
12497 "sc-skeleton": LocalJSX.ScSkeleton & JSXBase.HTMLAttributes<HTMLScSkeletonElement>;
12498 "sc-spacing": LocalJSX.ScSpacing & JSXBase.HTMLAttributes<HTMLScSpacingElement>;
12499 "sc-spinner": LocalJSX.ScSpinner & JSXBase.HTMLAttributes<HTMLScSpinnerElement>;
12500 "sc-stacked-list": LocalJSX.ScStackedList & JSXBase.HTMLAttributes<HTMLScStackedListElement>;
12501 "sc-stacked-list-row": LocalJSX.ScStackedListRow & JSXBase.HTMLAttributes<HTMLScStackedListRowElement>;
12502 "sc-stripe-add-method": LocalJSX.ScStripeAddMethod & JSXBase.HTMLAttributes<HTMLScStripeAddMethodElement>;
12503 "sc-stripe-element": LocalJSX.ScStripeElement & JSXBase.HTMLAttributes<HTMLScStripeElementElement>;
12504 "sc-stripe-payment-element": LocalJSX.ScStripePaymentElement & JSXBase.HTMLAttributes<HTMLScStripePaymentElementElement>;
12505 "sc-stripe-payment-request": LocalJSX.ScStripePaymentRequest & JSXBase.HTMLAttributes<HTMLScStripePaymentRequestElement>;
12506 "sc-subscription": LocalJSX.ScSubscription & JSXBase.HTMLAttributes<HTMLScSubscriptionElement>;
12507 "sc-subscription-ad-hoc-confirm": LocalJSX.ScSubscriptionAdHocConfirm & JSXBase.HTMLAttributes<HTMLScSubscriptionAdHocConfirmElement>;
12508 "sc-subscription-cancel": LocalJSX.ScSubscriptionCancel & JSXBase.HTMLAttributes<HTMLScSubscriptionCancelElement>;
12509 "sc-subscription-details": LocalJSX.ScSubscriptionDetails & JSXBase.HTMLAttributes<HTMLScSubscriptionDetailsElement>;
12510 "sc-subscription-next-payment": LocalJSX.ScSubscriptionNextPayment & JSXBase.HTMLAttributes<HTMLScSubscriptionNextPaymentElement>;
12511 "sc-subscription-payment": LocalJSX.ScSubscriptionPayment & JSXBase.HTMLAttributes<HTMLScSubscriptionPaymentElement>;
12512 "sc-subscription-payment-method": LocalJSX.ScSubscriptionPaymentMethod & JSXBase.HTMLAttributes<HTMLScSubscriptionPaymentMethodElement>;
12513 "sc-subscription-reactivate": LocalJSX.ScSubscriptionReactivate & JSXBase.HTMLAttributes<HTMLScSubscriptionReactivateElement>;
12514 "sc-subscription-status-badge": LocalJSX.ScSubscriptionStatusBadge & JSXBase.HTMLAttributes<HTMLScSubscriptionStatusBadgeElement>;
12515 "sc-subscription-switch": LocalJSX.ScSubscriptionSwitch & JSXBase.HTMLAttributes<HTMLScSubscriptionSwitchElement>;
12516 "sc-subscription-variation-confirm": LocalJSX.ScSubscriptionVariationConfirm & JSXBase.HTMLAttributes<HTMLScSubscriptionVariationConfirmElement>;
12517 "sc-subscriptions-list": LocalJSX.ScSubscriptionsList & JSXBase.HTMLAttributes<HTMLScSubscriptionsListElement>;
12518 "sc-summary": LocalJSX.ScSummary & JSXBase.HTMLAttributes<HTMLScSummaryElement>;
12519 "sc-swap": LocalJSX.ScSwap & JSXBase.HTMLAttributes<HTMLScSwapElement>;
12520 "sc-switch": LocalJSX.ScSwitch & JSXBase.HTMLAttributes<HTMLScSwitchElement>;
12521 "sc-tab": LocalJSX.ScTab & JSXBase.HTMLAttributes<HTMLScTabElement>;
12522 "sc-tab-group": LocalJSX.ScTabGroup & JSXBase.HTMLAttributes<HTMLScTabGroupElement>;
12523 "sc-tab-panel": LocalJSX.ScTabPanel & JSXBase.HTMLAttributes<HTMLScTabPanelElement>;
12524 "sc-table": LocalJSX.ScTable & JSXBase.HTMLAttributes<HTMLScTableElement>;
12525 "sc-table-cell": LocalJSX.ScTableCell & JSXBase.HTMLAttributes<HTMLScTableCellElement>;
12526 "sc-table-head": LocalJSX.ScTableHead & JSXBase.HTMLAttributes<HTMLScTableHeadElement>;
12527 "sc-table-row": LocalJSX.ScTableRow & JSXBase.HTMLAttributes<HTMLScTableRowElement>;
12528 "sc-tag": LocalJSX.ScTag & JSXBase.HTMLAttributes<HTMLScTagElement>;
12529 "sc-tax-id-input": LocalJSX.ScTaxIdInput & JSXBase.HTMLAttributes<HTMLScTaxIdInputElement>;
12530 "sc-test-mode-info": LocalJSX.ScTestModeInfo & JSXBase.HTMLAttributes<HTMLScTestModeInfoElement>;
12531 "sc-text": LocalJSX.ScText & JSXBase.HTMLAttributes<HTMLScTextElement>;
12532 "sc-textarea": LocalJSX.ScTextarea & JSXBase.HTMLAttributes<HTMLScTextareaElement>;
12533 "sc-toggle": LocalJSX.ScToggle & JSXBase.HTMLAttributes<HTMLScToggleElement>;
12534 "sc-toggles": LocalJSX.ScToggles & JSXBase.HTMLAttributes<HTMLScTogglesElement>;
12535 "sc-tooltip": LocalJSX.ScTooltip & JSXBase.HTMLAttributes<HTMLScTooltipElement>;
12536 "sc-total": LocalJSX.ScTotal & JSXBase.HTMLAttributes<HTMLScTotalElement>;
12537 "sc-upcoming-invoice": LocalJSX.ScUpcomingInvoice & JSXBase.HTMLAttributes<HTMLScUpcomingInvoiceElement>;
12538 "sc-upgrade-required": LocalJSX.ScUpgradeRequired & JSXBase.HTMLAttributes<HTMLScUpgradeRequiredElement>;
12539 "sc-upsell": LocalJSX.ScUpsell & JSXBase.HTMLAttributes<HTMLScUpsellElement>;
12540 "sc-upsell-countdown-timer": LocalJSX.ScUpsellCountdownTimer & JSXBase.HTMLAttributes<HTMLScUpsellCountdownTimerElement>;
12541 "sc-upsell-no-thanks-button": LocalJSX.ScUpsellNoThanksButton & JSXBase.HTMLAttributes<HTMLScUpsellNoThanksButtonElement>;
12542 "sc-upsell-submit-button": LocalJSX.ScUpsellSubmitButton & JSXBase.HTMLAttributes<HTMLScUpsellSubmitButtonElement>;
12543 "sc-upsell-totals": LocalJSX.ScUpsellTotals & JSXBase.HTMLAttributes<HTMLScUpsellTotalsElement>;
12544 "sc-verification-code": LocalJSX.ScVerificationCode & JSXBase.HTMLAttributes<HTMLScVerificationCodeElement>;
12545 "sc-visually-hidden": LocalJSX.ScVisuallyHidden & JSXBase.HTMLAttributes<HTMLScVisuallyHiddenElement>;
12546 "sc-wordpress-password-edit": LocalJSX.ScWordpressPasswordEdit & JSXBase.HTMLAttributes<HTMLScWordpressPasswordEditElement>;
12547 "sc-wordpress-user": LocalJSX.ScWordpressUser & JSXBase.HTMLAttributes<HTMLScWordpressUserElement>;
12548 "sc-wordpress-user-edit": LocalJSX.ScWordpressUserEdit & JSXBase.HTMLAttributes<HTMLScWordpressUserEditElement>;
12549 }
12550 }
12551 }
12552