PluginProbe ʕ •ᴥ•ʔ
SureCart – Ecommerce Made Easy For Selling Physical Products, Digital Downloads, Subscriptions, Donations, & Payments / 4.5.1
SureCart – Ecommerce Made Easy For Selling Physical Products, Digital Downloads, Subscriptions, Donations, & Payments v4.5.1
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 week ago store 1 week ago testing 1 year ago components.d.ts 1 week ago global.d.ts 4 years ago index.d.ts 1 week ago stencil-public-runtime.d.ts 1 year ago types.d.ts 1 week ago
components.d.ts
12443 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 * If the address is required
75 */
76 "required": boolean;
77 }
78 interface ScAlert {
79 /**
80 * Makes the alert closable.
81 */
82 "closable": boolean;
83 /**
84 * 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`.
85 */
86 "duration": number;
87 /**
88 * Hides the alert
89 */
90 "hide": () => Promise<void>;
91 /**
92 * No icon
93 */
94 "noIcon": boolean;
95 /**
96 * Indicates whether or not the alert is open. You can use this in lieu of the show/hide methods.
97 */
98 "open": boolean;
99 /**
100 * Scroll margin
101 */
102 "scrollMargin": string;
103 /**
104 * Scroll into view.
105 */
106 "scrollOnOpen": boolean;
107 /**
108 * Shows the alert.
109 */
110 "show": () => Promise<void>;
111 /**
112 * The title.
113 */
114 "title": string;
115 /**
116 * The type of alert.
117 */
118 "type": 'primary' | 'success' | 'info' | 'warning' | 'danger';
119 }
120 interface ScAvatar {
121 /**
122 * The image source to use for the avatar.
123 */
124 "image": string;
125 /**
126 * Initials to use as a fallback when no image is available (1-2 characters max recommended).
127 */
128 "initials": string;
129 /**
130 * A label to use to describe the avatar to assistive devices.
131 */
132 "label": string;
133 /**
134 * Indicates how the browser should load the image.
135 */
136 "loading": 'eager' | 'lazy';
137 /**
138 * The shape of the avatar.
139 */
140 "shape": 'circle' | 'square' | 'rounded';
141 }
142 interface ScBadgeNotice {
143 "label": string;
144 "size": 'small' | 'medium' | 'large';
145 "type": 'primary' | 'success' | 'info' | 'warning' | 'danger' | 'default';
146 }
147 interface ScBlockUi {
148 "spinner": boolean;
149 "transparent": boolean;
150 "zIndex": number;
151 }
152 interface ScBreadcrumb {
153 /**
154 * 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.
155 */
156 "href"?: string;
157 /**
158 * The `rel` attribute to use on the link. Only used when `href` is set.
159 */
160 "rel": string;
161 /**
162 * Tells the browser where to open the link. Only used when `href` is set.
163 */
164 "target"?: '_blank' | '_parent' | '_self' | '_top';
165 }
166 interface ScBreadcrumbs {
167 /**
168 * 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.
169 */
170 "label": string;
171 }
172 interface ScButton {
173 /**
174 * Tells the browser to autofocus.
175 */
176 "autofocus": boolean;
177 /**
178 * Draws the button in a busy state.
179 */
180 "busy"?: boolean;
181 /**
182 * Draws the button with a caret for use with dropdowns, popovers, etc.
183 */
184 "caret"?: boolean;
185 /**
186 * Draws a circle button.
187 */
188 "circle"?: boolean;
189 /**
190 * Disables the button.
191 */
192 "disabled"?: boolean;
193 /**
194 * Tells the browser to download the linked file as this filename. Only used when `href` is set.
195 */
196 "download": string;
197 /**
198 * Draws the button full-width.
199 */
200 "full"?: boolean;
201 /**
202 * When set, the underlying button will be rendered as an `<a>` with this `href` instead of a `<button>`.
203 */
204 "href": string;
205 /**
206 * Draws the button in a loading state.
207 */
208 "loading"?: boolean;
209 /**
210 * An optional name for the button. Ignored when `href` is set.
211 */
212 "name": string;
213 /**
214 * Draws an outlined button.
215 */
216 "outline"?: boolean;
217 /**
218 * Draws a pill-style button with rounded edges.
219 */
220 "pill"?: boolean;
221 /**
222 * The button's size.
223 */
224 "size": 'small' | 'medium' | 'large';
225 /**
226 * Indicates if activating the button should submit the form. Ignored when `href` is set.
227 */
228 "submit"?: boolean;
229 /**
230 * Tells the browser where to open the link. Only used when `href` is set.
231 */
232 "target": '_blank' | '_parent' | '_self' | '_top';
233 /**
234 * The button's type.
235 */
236 "type": 'default' | 'primary' | 'success' | 'info' | 'warning' | 'danger' | 'text' | 'link';
237 /**
238 * An optional value for the button. Ignored when `href` is set.
239 */
240 "value": string;
241 }
242 interface ScButtonGroup {
243 "label": string;
244 "separate": boolean;
245 }
246 interface ScCancelDialog {
247 "open": boolean;
248 "protocol": SubscriptionProtocol;
249 "subscription": Subscription;
250 }
251 interface ScCancelDiscount {
252 "comment": string;
253 "protocol": SubscriptionProtocol;
254 "reason": CancellationReason;
255 "subscription": Subscription;
256 }
257 interface ScCancelSurvey {
258 "protocol": SubscriptionProtocol;
259 "reasons": CancellationReason[];
260 }
261 interface ScCard {
262 /**
263 * Is this card borderless.
264 */
265 "borderless": boolean;
266 /**
267 * A link for the card.
268 */
269 "href": string;
270 /**
271 * Is this card loading.
272 */
273 "loading": boolean;
274 /**
275 * Eliminate the divider
276 */
277 "noDivider": boolean;
278 /**
279 * Remove padding
280 */
281 "noPadding": boolean;
282 }
283 interface ScCart {
284 /**
285 * Should we force show the cart, even if there's a form on the page?
286 */
287 "alwaysShow": boolean;
288 /**
289 * The template for the cart to inject when opened.
290 */
291 "cartTemplate": string;
292 "checkoutLink": string;
293 /**
294 * The checkout url for the button.
295 */
296 "checkoutUrl": string;
297 /**
298 * Whether the floating button should be visible
299 */
300 "floatingIconEnabled": boolean;
301 /**
302 * The form id to use for the cart.
303 */
304 "formId": string;
305 /**
306 * The header for the popout.
307 */
308 "header": string;
309 /**
310 * Are we in test or live mode.
311 */
312 "mode": 'test' | 'live';
313 }
314 interface ScCartButton {
315 /**
316 * Whether the cart icon is always shown when the cart is empty
317 */
318 "cartMenuAlwaysShown": boolean;
319 /**
320 * The form id to use for the cart.
321 */
322 "formId": string;
323 /**
324 * Are we in test or live mode.
325 */
326 "mode": 'test' | 'live';
327 /**
328 * Whether the cart count will be shown or not when the cart is empty
329 */
330 "showEmptyCount": boolean;
331 }
332 interface ScCartForm {
333 /**
334 * The form id to use for the cart.
335 */
336 "formId": string;
337 /**
338 * Are we in test or live mode.
339 */
340 "mode": 'test' | 'live';
341 /**
342 * The price id to add.
343 */
344 "priceId": string;
345 /**
346 * The quantity
347 */
348 "quantity": number;
349 /**
350 * The variant id to add.
351 */
352 "variantId": string;
353 }
354 interface ScCartFormSubmit {
355 /**
356 * Show a full-width button.
357 */
358 "full": boolean;
359 /**
360 * Icon to show.
361 */
362 "icon": string;
363 /**
364 * The button's size.
365 */
366 "size": 'small' | 'medium' | 'large';
367 /**
368 * The button type.
369 */
370 "type": 'default' | 'primary' | 'success' | 'info' | 'warning' | 'danger' | 'text' | 'link';
371 }
372 interface ScCartHeader {
373 }
374 interface ScCartIcon {
375 /**
376 * The icon to show.
377 */
378 "icon": string;
379 }
380 interface ScCartLoader {
381 /**
382 * The cart template to inject when opened.
383 */
384 "template": string;
385 }
386 interface ScCartSessionProvider {
387 }
388 interface ScCartSubmit {
389 /**
390 * Is the cart busy
391 */
392 "busy": boolean;
393 }
394 interface ScCcLogo {
395 "brand": string;
396 }
397 interface ScChargesList {
398 "allLink": string;
399 "heading": string;
400 /**
401 * Query to fetch charges
402 */
403 "query": {
404 page: number;
405 per_page: number;
406 };
407 "showPagination": boolean;
408 }
409 interface ScCheckbox {
410 /**
411 * Draws the checkbox in a checked state.
412 */
413 "checked": boolean;
414 /**
415 * Disables the checkbox.
416 */
417 "disabled": boolean;
418 /**
419 * Makes this edit and not editable.
420 */
421 "edit": boolean;
422 /**
423 * Draws the checkbox in an indeterminate state.
424 */
425 "indeterminate": boolean;
426 /**
427 * This will be true when the control is in an invalid state. Validity is determined by the `required` prop.
428 */
429 "invalid": boolean;
430 /**
431 * The checkbox's name attribute.
432 */
433 "name": string;
434 /**
435 * Checks for validity and shows the browser's validation message if the control is invalid.
436 */
437 "reportValidity": () => Promise<boolean>;
438 /**
439 * Makes the checkbox a required field.
440 */
441 "required": boolean;
442 /**
443 * Removes focus from the checkbox.
444 */
445 "triggerBlur": () => Promise<void>;
446 /**
447 * Simulates a click on the checkbox.
448 */
449 "triggerClick": () => Promise<void>;
450 /**
451 * Sets focus on the checkbox.
452 */
453 "triggerFocus": (options?: FocusOptions) => Promise<void>;
454 /**
455 * The checkbox's value attribute.
456 */
457 "value": string;
458 }
459 interface ScCheckout {
460 /**
461 * Is abandoned checkout enabled.
462 */
463 "abandonedCheckoutEnabled": boolean;
464 /**
465 * Alignment
466 */
467 "alignment": 'center' | 'wide' | 'full';
468 /**
469 * Currency to use for this checkout.
470 */
471 "currencyCode": string;
472 /**
473 * Stores the current customer
474 */
475 "customer": Customer;
476 /**
477 * Should we disable components validation
478 */
479 "disableComponentsValidation": boolean;
480 /**
481 * Can we edit line items?
482 */
483 "editLineItems": boolean;
484 /**
485 * The checkout form id
486 */
487 "formId": number;
488 /**
489 * Manual payment methods enabled for this form.
490 */
491 "manualPaymentMethods": ManualPaymentMethod[];
492 /**
493 * Are we in test or live mode.
494 */
495 "mode": 'test' | 'live';
496 /**
497 * When the form was modified.
498 */
499 "modified": string;
500 /**
501 * Whether to persist the session in the browser between visits.
502 */
503 "persistSession": boolean;
504 /**
505 * An array of prices to pre-fill in the form.
506 */
507 "prices": Array<PriceChoice>;
508 /**
509 * Processors enabled for this form.
510 */
511 "processors": Processor[];
512 /**
513 * A product to pre-fill the form.
514 */
515 "product": Product;
516 /**
517 * Can we remove line items?
518 */
519 "removeLineItems": boolean;
520 /**
521 * Use the Stripe payment element.
522 */
523 "stripePaymentElement": boolean;
524 /**
525 * Submit the form
526 */
527 "submit": ({ skip_validation }?: { skip_validation: boolean; }) => Promise<Checkout | NodeJS.Timeout | Error>;
528 /**
529 * Where to go on success
530 */
531 "successUrl": string;
532 /**
533 * The account tax protocol
534 */
535 "taxProtocol": TaxProtocol;
536 /**
537 * Validate the form.
538 */
539 "validate": () => Promise<boolean>;
540 }
541 interface ScCheckoutAutofillProvider {
542 }
543 /**
544 * This component listens for a confirmed event and redirects to the success url.
545 */
546 interface ScCheckoutFormErrors {
547 }
548 /**
549 * Explains why location is requested (e.g. regional / purchasing-power-parity pricing) and gates
550 * the browser geolocation prompt behind an explicit opt-in when capture is enabled by the merchant.
551 */
552 interface ScCheckoutGeoPermission {
553 }
554 interface ScCheckoutMolliePayment {
555 "method": string;
556 "processorId": string;
557 }
558 interface ScCheckoutPaystackPaymentProvider {
559 }
560 interface ScCheckoutProductPriceVariantSelector {
561 /**
562 * The label for the price.
563 */
564 "label": string;
565 /**
566 * The product.
567 */
568 "product": Product;
569 "reportValidity": () => Promise<boolean>;
570 /**
571 * The title for price and variant selections
572 */
573 "selectorTitle": string;
574 }
575 interface ScCheckoutRazorpayPaymentProvider {
576 /**
577 * Razorpay processor id. Required for the recurring `payment_method_types` fetch.
578 */
579 "processorId": string;
580 }
581 /**
582 * This component listens for stock requirements and displays a dialog to the user.
583 */
584 interface ScCheckoutStockAlert {
585 }
586 /**
587 * This component listens to the order status
588 * and confirms the order when payment is successful.
589 */
590 interface ScCheckoutTestComplete {
591 /**
592 * Checkout status to listen and do payment related stuff.
593 */
594 "checkoutStatus": string;
595 /**
596 * Success url.
597 */
598 "successUrl": string;
599 }
600 interface ScCheckoutUnsavedChangesWarning {
601 "state": FormState;
602 }
603 interface ScChoice {
604 /**
605 * Draws the choice in a checked state.
606 */
607 "checked": boolean;
608 /**
609 * Is the choice disabled
610 */
611 "disabled": boolean;
612 /**
613 * This will be true when the control is in an invalid state. Validity is determined by the `required` prop.
614 */
615 "invalid": boolean;
616 /**
617 * The choice name attribute
618 */
619 "name": string;
620 /**
621 * Checks for validity and shows the browser's validation message if the control is invalid.
622 */
623 "reportValidity": () => Promise<boolean>;
624 /**
625 * Is this required
626 */
627 "required": boolean;
628 /**
629 * Sets a custom validation message. If `message` is not empty, the field will be considered invalid.
630 */
631 "setCustomValidity": (message: string) => Promise<void>;
632 /**
633 * Show the radio/checkbox control
634 */
635 "showControl": boolean;
636 /**
637 * Show the label
638 */
639 "showLabel": boolean;
640 /**
641 * Show the price
642 */
643 "showPrice": boolean;
644 /**
645 * The size.
646 */
647 "size": 'small' | 'medium' | 'large';
648 /**
649 * Simulates a click on the choice.
650 */
651 "triggerClick": () => Promise<void>;
652 "triggerFocus": () => Promise<void>;
653 /**
654 * The choice name attribute
655 */
656 "type": 'radio' | 'checkbox';
657 /**
658 * The choice value
659 */
660 "value": string;
661 }
662 interface ScChoiceContainer {
663 /**
664 * Draws the choice in a checked state.
665 */
666 "checked": boolean;
667 /**
668 * Is the choice disabled
669 */
670 "disabled": boolean;
671 /**
672 * This will be true when the control is in an invalid state. Validity is determined by the `required` prop.
673 */
674 "invalid": boolean;
675 /**
676 * The choice name attribute
677 */
678 "name": string;
679 /**
680 * Checks for validity and shows the browser's validation message if the control is invalid.
681 */
682 "reportValidity": () => Promise<boolean>;
683 /**
684 * Is this required
685 */
686 "required": boolean;
687 /**
688 * Role of radio/checkbox control
689 */
690 "role": string;
691 /**
692 * Sets a custom validation message. If `message` is not empty, the field will be considered invalid.
693 */
694 "setCustomValidity": (message: string) => Promise<void>;
695 /**
696 * Show the radio/checkbox control
697 */
698 "showControl": boolean;
699 /**
700 * The size.
701 */
702 "size": 'small' | 'medium' | 'large';
703 /**
704 * Simulates a click on the choice.
705 */
706 "triggerClick": () => Promise<void>;
707 "triggerFocus": () => Promise<void>;
708 /**
709 * The choice name attribute
710 */
711 "type": 'radio' | 'checkbox';
712 /**
713 * The choice value
714 */
715 "value": string;
716 }
717 interface ScChoices {
718 "autoWidth": boolean;
719 /**
720 * Number of columns on desktop
721 */
722 "columns": number;
723 /**
724 * Validation error message.
725 */
726 "errorMessage": string;
727 /**
728 * The input's help text.
729 */
730 "help": string;
731 /**
732 * Hides the fieldset and legend that surrounds the group. The label will still be read by screen readers.
733 */
734 "hideLabel": boolean;
735 /**
736 * The group label. Required for proper accessibility. Alternatively, you can use the label slot.
737 */
738 "label": string;
739 /**
740 * Required
741 */
742 "required": boolean;
743 /**
744 * Should we show the label
745 */
746 "showLabel": boolean;
747 /**
748 * Input size
749 */
750 "size": 'small' | 'medium' | 'large';
751 "triggerFocus": () => Promise<void>;
752 }
753 interface ScColumn {
754 }
755 interface ScColumns {
756 /**
757 * Is this full vertical height
758 */
759 "isFullHeight": boolean;
760 /**
761 * Is this reverse ordered on mobile
762 */
763 "isReversedOnMobile": boolean;
764 /**
765 * Is this stacked on mobile
766 */
767 "isStackedOnMobile": boolean;
768 /**
769 * The vertical alignment of the columns.
770 */
771 "verticalAlignment": string;
772 }
773 interface ScCompactAddress {
774 /**
775 * The address.
776 */
777 "address": Partial<Address>;
778 /**
779 * Label for the address
780 */
781 "label": string;
782 /**
783 * Is this loading
784 */
785 "loading": boolean;
786 "names": Partial<Address>;
787 /**
788 * Placeholders
789 */
790 "placeholders": Partial<Address>;
791 "reportValidity": () => Promise<boolean>;
792 /**
793 * Is this required?
794 */
795 "required": boolean;
796 }
797 interface ScConditionalForm {
798 /**
799 * Selector label
800 */
801 "rule_groups": RuleGroup[];
802 }
803 interface ScConsumer {
804 "renderer": any;
805 }
806 interface ScCouponForm {
807 /**
808 * Is the form calculating
809 */
810 "busy": boolean;
811 /**
812 * The text for apply button
813 */
814 "buttonText": string;
815 "collapsed": boolean;
816 /**
817 * Currency
818 */
819 "currency": string;
820 /**
821 * The discount
822 */
823 "discount": DiscountResponse;
824 /**
825 * The discount amount
826 */
827 "discountAmount": number;
828 /**
829 * The discounts display amount
830 */
831 "discountsDisplayAmount": string;
832 /**
833 * Is the form editable
834 */
835 "editable": boolean;
836 /**
837 * The error message
838 */
839 "error": string;
840 /**
841 * Force the form to show
842 */
843 "forceOpen": boolean;
844 /**
845 * The label for the coupon form
846 */
847 "label": string;
848 /**
849 * Is the form loading
850 */
851 "loading": boolean;
852 /**
853 * Is it open
854 */
855 "open": boolean;
856 /**
857 * The placeholder for the input
858 */
859 "placeholder": string;
860 /**
861 * Has recurring
862 */
863 "showInterval": boolean;
864 /**
865 * Focus the input.
866 */
867 "triggerFocus": () => Promise<void>;
868 }
869 interface ScCustomOrderPriceInput {
870 /**
871 * Is this busy
872 */
873 "busy": boolean;
874 /**
875 * Help text.
876 */
877 "help": string;
878 /**
879 * Label for the field.
880 */
881 "label": string;
882 /**
883 * Label for the choice.
884 */
885 "lineItems": LineItem[];
886 /**
887 * Is this loading
888 */
889 "loading": boolean;
890 /**
891 * Input placeholder.
892 */
893 "placeholder": string;
894 /**
895 * Stores the price
896 */
897 "price": Price;
898 /**
899 * Id of the price.
900 */
901 "priceId": string;
902 /**
903 * Is this required?
904 */
905 "required": boolean;
906 /**
907 * Show the currency code?
908 */
909 "showCode": boolean;
910 }
911 interface ScCustomerDetails {
912 "customer": Customer;
913 "editLink": string;
914 "error": string;
915 "heading": string;
916 "loading": boolean;
917 }
918 interface ScCustomerEdit {
919 "customer": Customer;
920 "heading": string;
921 "successUrl": string;
922 }
923 interface ScCustomerEmail {
924 /**
925 * The input's autofocus attribute.
926 */
927 "autofocus": boolean;
928 /**
929 * Disables the input.
930 */
931 "disabled": boolean;
932 /**
933 * Inputs focus
934 */
935 "hasFocus": boolean;
936 /**
937 * The input's help text.
938 */
939 "help": string;
940 /**
941 * 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.
942 */
943 "invalid": boolean;
944 /**
945 * The input's label.
946 */
947 "label": string;
948 /**
949 * Draws a pill-style input with rounded edges.
950 */
951 "pill": boolean;
952 /**
953 * The input's placeholder text.
954 */
955 "placeholder": string;
956 /**
957 * Makes the input readonly.
958 */
959 "readonly": boolean;
960 "reportValidity": () => Promise<boolean>;
961 /**
962 * Makes the input a required field.
963 */
964 "required": boolean;
965 /**
966 * Should we show the label
967 */
968 "showLabel": boolean;
969 /**
970 * The input's size.
971 */
972 "size": 'small' | 'medium' | 'large';
973 /**
974 * A message for tracking confirmation.
975 */
976 "trackingConfirmationMessage": string;
977 /**
978 * The input's value attribute.
979 */
980 "value": string;
981 }
982 interface ScCustomerFirstname {
983 /**
984 * The input's autofocus attribute.
985 */
986 "autofocus": boolean;
987 /**
988 * Disables the input.
989 */
990 "disabled": boolean;
991 /**
992 * Inputs focus
993 */
994 "hasFocus": boolean;
995 /**
996 * The input's help text.
997 */
998 "help": string;
999 /**
1000 * 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.
1001 */
1002 "invalid": boolean;
1003 /**
1004 * The input's label.
1005 */
1006 "label": string;
1007 /**
1008 * Is the user logged in.
1009 */
1010 "loggedIn": boolean;
1011 /**
1012 * Draws a pill-style input with rounded edges.
1013 */
1014 "pill": boolean;
1015 /**
1016 * The input's placeholder text.
1017 */
1018 "placeholder": string;
1019 /**
1020 * Makes the input readonly.
1021 */
1022 "readonly": boolean;
1023 "reportValidity": () => Promise<boolean>;
1024 /**
1025 * Makes the input a required field.
1026 */
1027 "required": boolean;
1028 /**
1029 * Should we show the label
1030 */
1031 "showLabel": boolean;
1032 /**
1033 * The input's size.
1034 */
1035 "size": 'small' | 'medium' | 'large';
1036 /**
1037 * The input's value attribute.
1038 */
1039 "value": string;
1040 }
1041 interface ScCustomerLastname {
1042 /**
1043 * The input's autofocus attribute.
1044 */
1045 "autofocus": boolean;
1046 /**
1047 * Disables the input.
1048 */
1049 "disabled": boolean;
1050 /**
1051 * Inputs focus
1052 */
1053 "hasFocus": boolean;
1054 /**
1055 * The input's help text.
1056 */
1057 "help": string;
1058 /**
1059 * 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.
1060 */
1061 "invalid": boolean;
1062 /**
1063 * The input's label.
1064 */
1065 "label": string;
1066 /**
1067 * Is the user logged in.
1068 */
1069 "loggedIn": boolean;
1070 /**
1071 * Draws a pill-style input with rounded edges.
1072 */
1073 "pill": boolean;
1074 /**
1075 * The input's placeholder text.
1076 */
1077 "placeholder": string;
1078 /**
1079 * Makes the input readonly.
1080 */
1081 "readonly": boolean;
1082 /**
1083 * Don't allow a blank space as an input here.
1084 */
1085 "reportValidity": () => Promise<boolean>;
1086 /**
1087 * Makes the input a required field.
1088 */
1089 "required": boolean;
1090 /**
1091 * Should we show the label
1092 */
1093 "showLabel": boolean;
1094 /**
1095 * The input's size.
1096 */
1097 "size": 'small' | 'medium' | 'large';
1098 /**
1099 * The input's value attribute.
1100 */
1101 "value": any;
1102 }
1103 interface ScCustomerLogin {
1104 /**
1105 * Code Error coming from the parent
1106 */
1107 "codeError": string;
1108 /**
1109 * Lets the parent open in password mode (used on 429 fallback).
1110 */
1111 "initialMode": 'code' | 'password';
1112 }
1113 interface ScCustomerName {
1114 /**
1115 * The input's autofocus attribute.
1116 */
1117 "autofocus": boolean;
1118 /**
1119 * Disables the input.
1120 */
1121 "disabled": boolean;
1122 /**
1123 * Inputs focus
1124 */
1125 "hasFocus": boolean;
1126 /**
1127 * The input's help text.
1128 */
1129 "help": string;
1130 /**
1131 * 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.
1132 */
1133 "invalid": boolean;
1134 /**
1135 * The input's label.
1136 */
1137 "label": string;
1138 /**
1139 * Draws a pill-style input with rounded edges.
1140 */
1141 "pill": boolean;
1142 /**
1143 * The input's placeholder text.
1144 */
1145 "placeholder": string;
1146 /**
1147 * Makes the input readonly.
1148 */
1149 "readonly": boolean;
1150 /**
1151 * Don't allow a blank space as an input here.
1152 */
1153 "reportValidity": () => Promise<boolean>;
1154 /**
1155 * Makes the input a required field.
1156 */
1157 "required": boolean;
1158 /**
1159 * Should we show the label
1160 */
1161 "showLabel": boolean;
1162 /**
1163 * The input's size.
1164 */
1165 "size": 'small' | 'medium' | 'large';
1166 /**
1167 * The input's value attribute.
1168 */
1169 "value": any;
1170 }
1171 interface ScCustomerPhone {
1172 /**
1173 * The input's autofocus attribute.
1174 */
1175 "autofocus": boolean;
1176 /**
1177 * Disables the input.
1178 */
1179 "disabled": boolean;
1180 /**
1181 * Error focus
1182 */
1183 "error": boolean;
1184 /**
1185 * Inputs focus
1186 */
1187 "hasFocus": boolean;
1188 /**
1189 * The input's help text.
1190 */
1191 "help": string;
1192 /**
1193 * 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.
1194 */
1195 "invalid": boolean;
1196 /**
1197 * The input's label.
1198 */
1199 "label": string;
1200 /**
1201 * Draws a pill-style input with rounded edges.
1202 */
1203 "pill": boolean;
1204 /**
1205 * The input's placeholder text.
1206 */
1207 "placeholder": string;
1208 /**
1209 * Makes the input readonly.
1210 */
1211 "readonly": boolean;
1212 "reportValidity": () => Promise<boolean>;
1213 /**
1214 * Makes the input a required field.
1215 */
1216 "required": boolean;
1217 /**
1218 * Should we show the label
1219 */
1220 "showLabel": boolean;
1221 /**
1222 * The input's size.
1223 */
1224 "size": 'small' | 'medium' | 'large';
1225 /**
1226 * The input's value attribute.
1227 */
1228 "value": string;
1229 }
1230 interface ScDashboardCustomerDetails {
1231 "customerId": string;
1232 "heading": string;
1233 }
1234 interface ScDashboardDownloadsList {
1235 "allLink": string;
1236 "heading": string;
1237 "isCustomer": boolean;
1238 /**
1239 * Customer id to fetch subscriptions
1240 */
1241 "query": any;
1242 "requestNonce": string;
1243 }
1244 interface ScDashboardModule {
1245 "error": string;
1246 "heading": string;
1247 "loading": boolean;
1248 }
1249 interface ScDialog {
1250 /**
1251 * 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.
1252 */
1253 "label": string;
1254 /**
1255 * 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.
1256 */
1257 "noHeader": boolean;
1258 /**
1259 * Indicates whether or not the dialog is open. You can use this in lieu of the show/hide methods.
1260 */
1261 "open": boolean;
1262 }
1263 interface ScDivider {
1264 }
1265 interface ScDonationChoices {
1266 "busy": boolean;
1267 /**
1268 * Currency code for the donation.
1269 */
1270 "currencyCode": string;
1271 /**
1272 * The default amount to load the page with.
1273 */
1274 "defaultAmount": string;
1275 /**
1276 * The label for the field.
1277 */
1278 "label": string;
1279 /**
1280 * Order line items.
1281 */
1282 "lineItems": LineItem[];
1283 /**
1284 * Is this loading
1285 */
1286 "loading": boolean;
1287 /**
1288 * The price id for the fields.
1289 */
1290 "priceId": string;
1291 "removeInvalid": boolean;
1292 "reportValidity": () => Promise<boolean>;
1293 }
1294 interface ScDownloadsList {
1295 "customerId": string;
1296 "heading": string;
1297 "productId": string;
1298 "query": any;
1299 "variantId": string;
1300 }
1301 interface ScDrawer {
1302 /**
1303 * 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.
1304 */
1305 "contained": boolean;
1306 /**
1307 * 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.
1308 */
1309 "label": string;
1310 /**
1311 * 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.
1312 */
1313 "noHeader": boolean;
1314 /**
1315 * Indicates whether or not the drawer is open. You can use this in lieu of the show/hide methods.
1316 */
1317 "open": boolean;
1318 /**
1319 * The direction from which the drawer will open.
1320 */
1321 "placement": 'top' | 'end' | 'bottom' | 'start';
1322 "requestClose": (source?: 'close-button' | 'keyboard' | 'overlay' | 'method') => Promise<void>;
1323 /**
1324 * Sticky drawer footer
1325 */
1326 "stickyFooter": boolean;
1327 /**
1328 * Sticky drawer header
1329 */
1330 "stickyHeader": boolean;
1331 }
1332 interface ScDropdown {
1333 "clickEl"?: HTMLElement;
1334 /**
1335 * Determines whether the dropdown should hide when a menu item is selected
1336 */
1337 "closeOnSelect": boolean;
1338 /**
1339 * Is this disabled.
1340 */
1341 "disabled": boolean;
1342 /**
1343 * The distance in pixels from which to offset the panel away from its trigger.
1344 */
1345 "distance": number;
1346 /**
1347 * Enable this option to prevent the panel from being clipped when the component is placed inside a container with `overflow: auto|scroll`.
1348 */
1349 "hoist": boolean;
1350 /**
1351 * Indicates whether or not the dropdown is open. You can use this in lieu of the show/hide methods.
1352 */
1353 "open"?: boolean;
1354 /**
1355 * The placement of the dropdown.
1356 */
1357 "placement": | 'top'
1358 | 'top-start'
1359 | 'top-end'
1360 | 'bottom'
1361 | 'bottom-start'
1362 | 'bottom-end'
1363 | 'right'
1364 | 'right-start'
1365 | 'right-end'
1366 | 'left'
1367 | 'left-start'
1368 | 'left-end';
1369 /**
1370 * The placement of the dropdown panel
1371 */
1372 "position": 'top-left' | 'top-right' | 'bottom-left' | 'bottom-right';
1373 /**
1374 * The distance in pixels from which to offset the panel along its trigger.
1375 */
1376 "skidding": number;
1377 }
1378 interface ScEmpty {
1379 "icon": string;
1380 }
1381 interface ScError {
1382 /**
1383 * Error to display.
1384 */
1385 "error": ResponseError | null;
1386 }
1387 interface ScExpressPayment {
1388 "debug": boolean;
1389 "dividerText": string;
1390 "hasPaymentOptions": boolean;
1391 "processor": ProcessorName;
1392 }
1393 interface ScFeatureDemoBanner {
1394 "buttonText": string;
1395 "url": string;
1396 }
1397 interface ScFlex {
1398 "alignItems": string;
1399 "columnGap": string;
1400 "flexDirection": string;
1401 "flexWrap": string;
1402 "justifyContent": string;
1403 "stack": string;
1404 }
1405 interface ScForm {
1406 /**
1407 * Serializes all form controls elements and returns a `FormData` object.
1408 */
1409 "getFormData": () => Promise<FormData>;
1410 "getFormJson": () => Promise<Record<string, unknown>>;
1411 /**
1412 * Prevent the form from validating inputs before submitting.
1413 */
1414 "novalidate": boolean;
1415 "submit": () => Promise<void>;
1416 "validate": () => Promise<boolean>;
1417 }
1418 interface ScFormComponentsValidator {
1419 /**
1420 * Disable validation?
1421 */
1422 "disabled": boolean;
1423 /**
1424 * The tax protocol
1425 */
1426 "taxProtocol": TaxProtocol;
1427 }
1428 interface ScFormControl {
1429 /**
1430 * Help text
1431 */
1432 "help": string;
1433 /**
1434 * Help id
1435 */
1436 "helpId": string;
1437 /**
1438 * Input id.
1439 */
1440 "inputId": string;
1441 /**
1442 * Input label.
1443 */
1444 "label": string;
1445 /**
1446 * Input label id.
1447 */
1448 "labelId": string;
1449 /**
1450 * Name for the input. Used for validation errors.
1451 */
1452 "name": string;
1453 /**
1454 * Whether the input is required.
1455 */
1456 "required": boolean;
1457 /**
1458 * Show the label.
1459 */
1460 "showLabel": boolean;
1461 /**
1462 * Size of the label
1463 */
1464 "size": 'small' | 'medium' | 'large';
1465 }
1466 /**
1467 * This component checks to make sure there is an error component
1468 * and adds one if it's missing.
1469 */
1470 interface ScFormErrorProvider {
1471 }
1472 interface ScFormRow {
1473 }
1474 /**
1475 * This component listens for a confirmed event and redirects to the success url.
1476 */
1477 interface ScFormStateProvider {
1478 }
1479 interface ScFormatBytes {
1480 /**
1481 * Determines how to display the result, e.g. "100 bytes", "100 b", or "100b".
1482 */
1483 "display": 'long' | 'short' | 'narrow';
1484 /**
1485 * The locale to use when formatting the number.
1486 */
1487 "locale": string;
1488 /**
1489 * The unit to display.
1490 */
1491 "unit": 'byte' | 'bit';
1492 /**
1493 * The number to format in bytes.
1494 */
1495 "value": number;
1496 }
1497 interface ScFormatInterval {
1498 "every": string;
1499 "fallback": string;
1500 "interval": string;
1501 /**
1502 * The number to format.
1503 */
1504 "value": number;
1505 }
1506 interface ScFormatNumber {
1507 /**
1508 * The currency to use when formatting. Must be an ISO 4217 currency code such as `USD` or `EUR`.
1509 */
1510 "currency": string;
1511 /**
1512 * How to display the currency.
1513 */
1514 "currencyDisplay": 'symbol' | 'narrowSymbol' | 'code' | 'name';
1515 /**
1516 * The locale to use when formatting the number.
1517 */
1518 "locale": string;
1519 /**
1520 * The maximum number of fraction digits to use. Possible values are 0 - 20.
1521 */
1522 "maximumFractionDigits": number;
1523 /**
1524 * The maximum number of significant digits to use,. Possible values are 1 - 21.
1525 */
1526 "maximumSignificantDigits": number;
1527 /**
1528 * The minimum number of fraction digits to use. Possible values are 0 - 20.
1529 */
1530 "minimumFractionDigits": number;
1531 /**
1532 * The minimum number of integer digits to use. Possible values are 1 - 21.
1533 */
1534 "minimumIntegerDigits": number;
1535 /**
1536 * The minimum number of significant digits to use. Possible values are 1 - 21.
1537 */
1538 "minimumSignificantDigits": number;
1539 /**
1540 * Should we convert
1541 */
1542 "noConvert": boolean;
1543 /**
1544 * Turns off grouping separators.
1545 */
1546 "noGrouping": boolean;
1547 /**
1548 * The formatting style to use.
1549 */
1550 "type": 'currency' | 'decimal' | 'percent' | 'unit';
1551 /**
1552 * The unit to use when formatting.
1553 */
1554 "unit": string;
1555 /**
1556 * The number to format.
1557 */
1558 "value": number;
1559 }
1560 interface ScFulfillmentShippingStatusBadge {
1561 /**
1562 * Makes the tag clearable.
1563 */
1564 "clearable": boolean;
1565 /**
1566 * Draws a pill-style tag with rounded edges.
1567 */
1568 "pill": boolean;
1569 /**
1570 * The tag's size.
1571 */
1572 "size": 'small' | 'medium' | 'large';
1573 /**
1574 * The tag's statux type.
1575 */
1576 "status": FulfillmentStatus;
1577 }
1578 interface ScFulfillments {
1579 "heading": string;
1580 "orderId": string;
1581 }
1582 interface ScHeading {
1583 "size": 'small' | 'medium' | 'large';
1584 }
1585 interface ScIcon {
1586 /**
1587 * An alternative description to use for accessibility. If omitted, the name or src will be used to generate it.
1588 */
1589 "label": string;
1590 /**
1591 * The name of a registered custom icon library.
1592 */
1593 "library": string;
1594 /**
1595 * Mutate the icon
1596 */
1597 "mutate": boolean;
1598 /**
1599 * The name of the icon to draw.
1600 */
1601 "name": string;
1602 /**
1603 * An external URL of an SVG file.
1604 */
1605 "src": string;
1606 }
1607 interface ScImageSlider {
1608 "autoHeight": boolean;
1609 "hasThumbnails": boolean;
1610 /**
1611 * Accept a string or an array of objects
1612 */
1613 "images": string | { src: string; alt: string; srcset; width: number; height: number; sizes: string; title: string }[];
1614 "thumbnails": string | { src: string; alt: string; srcset; width: number; height: number; sizes: string; title: string }[];
1615 "thumbnailsPerPage": number;
1616 }
1617 interface ScInput {
1618 /**
1619 * The input's autocomplete attribute.
1620 */
1621 "autocomplete": string;
1622 /**
1623 * The input's autocorrect attribute.
1624 */
1625 "autocorrect": string;
1626 /**
1627 * The input's autofocus attribute.
1628 */
1629 "autofocus": boolean;
1630 /**
1631 * Adds a clear button when the input is populated.
1632 */
1633 "clearable": boolean;
1634 /**
1635 * Custom validation message to show when the input is invalid (replaces browser default).
1636 */
1637 "customValidity": string;
1638 /**
1639 * Disables the input.
1640 */
1641 "disabled": boolean;
1642 /**
1643 * Inputs focus
1644 */
1645 "hasFocus": boolean;
1646 /**
1647 * The input's help text.
1648 */
1649 "help": string;
1650 /**
1651 * Hidden
1652 */
1653 "hidden": boolean;
1654 /**
1655 * The input's inputmode attribute.
1656 */
1657 "inputmode": 'none' | 'text' | 'decimal' | 'numeric' | 'tel' | 'search' | 'email' | 'url';
1658 /**
1659 * 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.
1660 */
1661 "invalid": boolean;
1662 /**
1663 * The input's label.
1664 */
1665 "label": string;
1666 /**
1667 * The input's maximum value.
1668 */
1669 "max": number | string;
1670 /**
1671 * The maximum length of input that will be considered valid.
1672 */
1673 "maxlength": number;
1674 /**
1675 * The input's minimum value.
1676 */
1677 "min": number | string;
1678 /**
1679 * The minimum length of input that will be considered valid.
1680 */
1681 "minlength": number;
1682 /**
1683 * The input's name attribute.
1684 */
1685 "name": string;
1686 /**
1687 * A pattern to validate input against.
1688 */
1689 "pattern": string;
1690 /**
1691 * Draws a pill-style input with rounded edges.
1692 */
1693 "pill": boolean;
1694 /**
1695 * The input's placeholder text.
1696 */
1697 "placeholder": string;
1698 /**
1699 * Makes the input readonly.
1700 */
1701 "readonly": boolean;
1702 "reportValidity": () => Promise<boolean>;
1703 /**
1704 * Makes the input a required field.
1705 */
1706 "required": boolean;
1707 /**
1708 * Sets a custom validation message. If `message` is not empty, the field will be considered invalid.
1709 */
1710 "setCustomValidity": (message: string) => Promise<void>;
1711 /**
1712 * Should we show the label
1713 */
1714 "showLabel": boolean;
1715 /**
1716 * The input's size.
1717 */
1718 "size": 'small' | 'medium' | 'large';
1719 /**
1720 * Enables spell checking on the input.
1721 */
1722 "spellcheck": boolean;
1723 "squared": boolean;
1724 "squaredBottom": boolean;
1725 "squaredLeft": boolean;
1726 "squaredRight": boolean;
1727 "squaredTop": boolean;
1728 /**
1729 * The input's step attribute.
1730 */
1731 "step": number;
1732 /**
1733 * Adds a password toggle button to password inputs.
1734 */
1735 "togglePassword": boolean;
1736 /**
1737 * Removes focus from the input.
1738 */
1739 "triggerBlur": () => Promise<void>;
1740 /**
1741 * Sets focus on the input.
1742 */
1743 "triggerFocus": (options?: FocusOptions) => Promise<void>;
1744 /**
1745 * The input's type.
1746 */
1747 "type": 'email' | 'number' | 'password' | 'search' | 'tel' | 'text' | 'url' | 'hidden';
1748 /**
1749 * The input's value attribute.
1750 */
1751 "value": string;
1752 }
1753 interface ScInvoiceDetails {
1754 }
1755 interface ScInvoiceMemo {
1756 /**
1757 * Memo Label
1758 */
1759 "text": string;
1760 }
1761 interface ScInvoiceStatusBadge {
1762 /**
1763 * Makes the tag clearable.
1764 */
1765 "clearable": boolean;
1766 /**
1767 * Draws a pill-style tag with rounded edges.
1768 */
1769 "pill": boolean;
1770 /**
1771 * The tag's size.
1772 */
1773 "size": 'small' | 'medium' | 'large';
1774 /**
1775 * The tag's statux type.
1776 */
1777 "status": InvoiceStatus;
1778 }
1779 interface ScInvoicesList {
1780 "allLink": string;
1781 "heading": string;
1782 "isCustomer": boolean;
1783 /**
1784 * Query to fetch invoices
1785 */
1786 "query": {
1787 page: number;
1788 per_page: number;
1789 };
1790 }
1791 interface ScLicense {
1792 /**
1793 * The license id
1794 */
1795 "licenseId": string;
1796 /**
1797 * Query to fetch Activations
1798 */
1799 "query": {
1800 page: number;
1801 per_page: number;
1802 };
1803 }
1804 interface ScLicensesList {
1805 /**
1806 * View all link
1807 */
1808 "allLink": string;
1809 /**
1810 * The heading of the licenses
1811 */
1812 "heading": string;
1813 /**
1814 * Whether the current user is customer
1815 */
1816 "isCustomer": boolean;
1817 "licenses": License[];
1818 /**
1819 * Query to fetch licenses
1820 */
1821 "query": {
1822 page: number;
1823 per_page: number;
1824 };
1825 }
1826 interface ScLineItem {
1827 /**
1828 * Currency symbol
1829 */
1830 "currency": string;
1831 /**
1832 * Price of the item
1833 */
1834 "price": string;
1835 }
1836 interface ScLineItemBump {
1837 "label": string;
1838 "loading": boolean;
1839 }
1840 interface ScLineItemInvoiceDueDate {
1841 }
1842 interface ScLineItemInvoiceNumber {
1843 }
1844 interface ScLineItemInvoiceReceiptDownload {
1845 "checkout": Checkout;
1846 }
1847 interface ScLineItemShipping {
1848 /**
1849 * Label
1850 */
1851 "label": string;
1852 }
1853 interface ScLineItemTax {
1854 "loading": boolean;
1855 "order": Checkout;
1856 }
1857 interface ScLineItemTotal {
1858 "checkout": Checkout;
1859 "size": 'large' | 'medium';
1860 "total": 'total' | 'subtotal';
1861 }
1862 interface ScLineItemTrial {
1863 /**
1864 * The label for the trial item
1865 */
1866 "label": string;
1867 }
1868 interface ScLineItems {
1869 /**
1870 * Is the line item editable?
1871 */
1872 "editable": boolean;
1873 /**
1874 * Is the line item removable?
1875 */
1876 "removable": boolean;
1877 }
1878 interface ScLineItemsProvider {
1879 /**
1880 * Order Object
1881 */
1882 "order": Checkout;
1883 }
1884 interface ScLoginForm {
1885 }
1886 interface ScLoginProvider {
1887 /**
1888 * Is the user logged in.
1889 */
1890 "loggedIn": boolean;
1891 "order": Checkout;
1892 }
1893 interface ScManualPaymentMethod {
1894 "paymentMethod": ManualPaymentMethod;
1895 "showDescription": boolean;
1896 }
1897 interface ScMenu {
1898 "ariaLabel": string;
1899 "setCurrentItem": (item: HTMLScMenuItemElement) => Promise<void>;
1900 }
1901 interface ScMenuDivider {
1902 }
1903 interface ScMenuItem {
1904 /**
1905 * Draws the item in a checked state.
1906 */
1907 "checked": boolean;
1908 /**
1909 * Draws the menu item in a disabled state.
1910 */
1911 "disabled": boolean;
1912 /**
1913 * Optional link to follow.
1914 */
1915 "href": string;
1916 /**
1917 * Removes focus from the button.
1918 */
1919 "setBlur": () => Promise<void>;
1920 /**
1921 * Sets focus on the button.
1922 */
1923 "setFocus": (options?: FocusOptions) => Promise<void>;
1924 /**
1925 * The target of the link.
1926 */
1927 "target": string;
1928 /**
1929 * A unique value to store in the menu item. This can be used as a way to identify menu items when selected.
1930 */
1931 "value": string;
1932 }
1933 interface ScMenuLabel {
1934 }
1935 interface ScMollieAddMethod {
1936 "country": string;
1937 "currency": string;
1938 "customerId": string;
1939 "liveMode": boolean;
1940 "processorId": string;
1941 "successUrl": string;
1942 }
1943 interface ScOrder {
1944 "customerIds": string[];
1945 "heading": string;
1946 "orderId": string;
1947 }
1948 interface ScOrderBillingAddress {
1949 /**
1950 * Default country for address
1951 */
1952 "defaultCountry": string;
1953 /**
1954 * Label for the field
1955 */
1956 "label": string;
1957 /**
1958 * Name placeholder
1959 */
1960 "namePlaceholder": string;
1961 "reportValidity": () => Promise<boolean>;
1962 /**
1963 * Show the name field
1964 */
1965 "showName": boolean;
1966 /**
1967 * Toggle label
1968 */
1969 "toggleLabel": string;
1970 }
1971 interface ScOrderBump {
1972 /**
1973 * The bump
1974 */
1975 "bump": Bump;
1976 /**
1977 * Should we show the controls (classic design)
1978 */
1979 "showControl": boolean;
1980 }
1981 interface ScOrderBumps {
1982 "help": string;
1983 /**
1984 * Hide bumps that have already been added to the checkout.
1985 */
1986 "hideAddedItems": boolean;
1987 "label": string;
1988 /**
1989 * Should we show the controls (classic design)
1990 */
1991 "showControl": boolean;
1992 }
1993 interface ScOrderConfirmComponentsValidator {
1994 /**
1995 * The checkout
1996 */
1997 "checkout": Checkout;
1998 }
1999 /**
2000 * This component listens to the order status
2001 * and confirms the order when payment is successful.
2002 */
2003 interface ScOrderConfirmProvider {
2004 /**
2005 * Checkout status to listen and do payment related stuff.
2006 */
2007 "checkoutStatus": string;
2008 /**
2009 * Success url.
2010 */
2011 "successUrl": string;
2012 }
2013 interface ScOrderConfirmation {
2014 "order": Checkout;
2015 }
2016 interface ScOrderConfirmationCustomer {
2017 /**
2018 * The customer
2019 */
2020 "customer": Customer;
2021 /**
2022 * Error message.
2023 */
2024 "error": string;
2025 /**
2026 * The heading
2027 */
2028 "heading": string;
2029 /**
2030 * Is this loading?
2031 */
2032 "loading": boolean;
2033 /**
2034 * The Order
2035 */
2036 "order": Checkout;
2037 }
2038 interface ScOrderConfirmationDetails {
2039 "loading": boolean;
2040 "order": Order;
2041 }
2042 interface ScOrderConfirmationLineItems {
2043 "loading": boolean;
2044 "order": Checkout;
2045 }
2046 interface ScOrderConfirmationTotals {
2047 "order": Checkout;
2048 }
2049 interface ScOrderCouponForm {
2050 "buttonText": string;
2051 "collapsed": boolean;
2052 "label": string;
2053 "loading": boolean;
2054 "placeholder": string;
2055 }
2056 interface ScOrderDetail {
2057 "fallback": string;
2058 "label": string;
2059 "loading": boolean;
2060 "metaKey": string;
2061 "order": Checkout;
2062 "value": string;
2063 }
2064 interface ScOrderFulfillmentBadge {
2065 /**
2066 * Makes the tag clearable.
2067 */
2068 "clearable": boolean;
2069 /**
2070 * Draws a pill-style tag with rounded edges.
2071 */
2072 "pill": boolean;
2073 /**
2074 * The tag's size.
2075 */
2076 "size": 'small' | 'medium' | 'large';
2077 /**
2078 * The tag's statux type.
2079 */
2080 "status": OrderFulFillmentStatus;
2081 }
2082 interface ScOrderManualInstructions {
2083 "manualPaymentInstructions": string;
2084 "manualPaymentTitle": string;
2085 }
2086 interface ScOrderPassword {
2087 /**
2088 * The input's autofocus attribute.
2089 */
2090 "autofocus": boolean;
2091 /**
2092 * The input's password confirmation attribute.
2093 */
2094 "confirmation": boolean;
2095 /**
2096 * The input's confirmation help text.
2097 */
2098 "confirmationHelp": string;
2099 /**
2100 * The input's confirmation label text.
2101 */
2102 "confirmationLabel": string;
2103 /**
2104 * The input's confirmation placeholder text.
2105 */
2106 "confirmationPlaceholder": string;
2107 /**
2108 * Disables the input.
2109 */
2110 "disabled": boolean;
2111 /**
2112 * Does the email exist?
2113 */
2114 "emailExists": boolean;
2115 /**
2116 * Ensures strong password validation.
2117 */
2118 "enableValidation": boolean;
2119 /**
2120 * The input's help text.
2121 */
2122 "help": string;
2123 /**
2124 * The input's label.
2125 */
2126 "label": string;
2127 "loggedIn": boolean;
2128 /**
2129 * Draws a pill-style input with rounded edges.
2130 */
2131 "pill": boolean;
2132 /**
2133 * The input's placeholder text.
2134 */
2135 "placeholder": string;
2136 /**
2137 * Makes the input readonly.
2138 */
2139 "readonly": boolean;
2140 "reportValidity": () => Promise<boolean>;
2141 /**
2142 * Makes the input a required field.
2143 */
2144 "required": boolean;
2145 /**
2146 * Should we show the label
2147 */
2148 "showLabel": boolean;
2149 /**
2150 * The input's size.
2151 */
2152 "size": 'small' | 'medium' | 'large';
2153 /**
2154 * The input's value attribute.
2155 */
2156 "value": string;
2157 }
2158 interface ScOrderReturnBadge {
2159 /**
2160 * Makes the tag clearable.
2161 */
2162 "clearable": boolean;
2163 /**
2164 * Draws a pill-style tag with rounded edges.
2165 */
2166 "pill": boolean;
2167 /**
2168 * The tag's size.
2169 */
2170 "size": 'small' | 'medium' | 'large';
2171 /**
2172 * The tag's statux type.
2173 */
2174 "status": ReturnRequestStatus;
2175 }
2176 interface ScOrderShipmentBadge {
2177 /**
2178 * Makes the tag clearable.
2179 */
2180 "clearable": boolean;
2181 /**
2182 * Draws a pill-style tag with rounded edges.
2183 */
2184 "pill": boolean;
2185 /**
2186 * The tag's size.
2187 */
2188 "size": 'small' | 'medium' | 'large';
2189 /**
2190 * The tag's statux type.
2191 */
2192 "status": OrderShipmentStatus;
2193 }
2194 interface ScOrderShippingAddress {
2195 /**
2196 * Default country for address
2197 */
2198 "defaultCountry": string;
2199 /**
2200 * Show the address
2201 */
2202 "full": boolean;
2203 /**
2204 * Label for the field.
2205 */
2206 "label": string;
2207 "reportValidity": () => Promise<boolean>;
2208 /**
2209 * Whether to require the name in the address
2210 */
2211 "requireName": boolean;
2212 /**
2213 * Is this required (defaults to false)
2214 */
2215 "required": boolean;
2216 /**
2217 * Show the line 2 field.
2218 */
2219 "showLine2": boolean;
2220 /**
2221 * Show the name field.
2222 */
2223 "showName": boolean;
2224 }
2225 interface ScOrderStatusBadge {
2226 /**
2227 * Makes the tag clearable.
2228 */
2229 "clearable": boolean;
2230 /**
2231 * Draws a pill-style tag with rounded edges.
2232 */
2233 "pill": boolean;
2234 /**
2235 * The tag's size.
2236 */
2237 "size": 'small' | 'medium' | 'large';
2238 /**
2239 * The tag's statux type.
2240 */
2241 "status": OrderStatus;
2242 }
2243 interface ScOrderSubmit {
2244 "backgroundColor": string;
2245 /**
2246 * Currency Code
2247 */
2248 "currencyCode": string;
2249 /**
2250 * Show a full-width button.
2251 */
2252 "full": boolean;
2253 /**
2254 * Icon to show.
2255 */
2256 "icon": string;
2257 /**
2258 * Is the order loading.
2259 */
2260 "loading": boolean;
2261 /**
2262 * The current order.
2263 */
2264 "order": Checkout;
2265 /**
2266 * Is the order paying.
2267 */
2268 "paying": boolean;
2269 /**
2270 * The selected processor.
2271 */
2272 "processor": ProcessorName;
2273 /**
2274 * Keys and secrets for processors.
2275 */
2276 "processors": Processor[];
2277 /**
2278 * Show the secure notice
2279 */
2280 "secureNotice": boolean;
2281 /**
2282 * Secure
2283 */
2284 "secureNoticeText": string;
2285 /**
2286 * Show the total.
2287 */
2288 "showTotal": boolean;
2289 /**
2290 * The button's size.
2291 */
2292 "size": 'small' | 'medium' | 'large';
2293 "textColor": string;
2294 /**
2295 * The button type.
2296 */
2297 "type": 'default' | 'primary' | 'success' | 'info' | 'warning' | 'danger' | 'text' | 'link';
2298 }
2299 interface ScOrderSummary {
2300 "busy": boolean;
2301 "collapsed": boolean;
2302 "collapsedOnDesktop": boolean;
2303 "collapsedOnMobile": boolean;
2304 "collapsible": boolean;
2305 "invoiceSummaryText": string;
2306 "order": Checkout;
2307 "orderSummaryText": string;
2308 }
2309 interface ScOrderTaxIdInput {
2310 /**
2311 * AU zone label
2312 */
2313 "auAbnLabel": string;
2314 /**
2315 * GST zone label
2316 */
2317 "caGstLabel": string;
2318 /**
2319 * EU zone label
2320 */
2321 "euVatLabel": string;
2322 /**
2323 * UK zone label
2324 */
2325 "gbVatLabel": string;
2326 /**
2327 * Help text
2328 */
2329 "helpText": string;
2330 /**
2331 * Other zones label
2332 */
2333 "otherLabel": string;
2334 "reportValidity": () => Promise<boolean>;
2335 /**
2336 * Whether tax input is required
2337 */
2338 "required": boolean;
2339 /**
2340 * Force show the field.
2341 */
2342 "show": boolean;
2343 /**
2344 * Tax ID Types which will be shown Eg: '["eu_vat", "gb_vat"]'
2345 */
2346 "taxIdTypes": string | string[];
2347 }
2348 interface ScOrdersList {
2349 "allLink": string;
2350 "heading": string;
2351 "isCustomer": boolean;
2352 /**
2353 * Query to fetch orders
2354 */
2355 "query": {
2356 page: number;
2357 per_page: number;
2358 };
2359 }
2360 interface ScPagination {
2361 "page": number;
2362 "perPage": number;
2363 "total": number;
2364 "totalPages": number;
2365 "totalShowing": number;
2366 }
2367 interface ScPassword {
2368 /**
2369 * The input's autofocus attribute.
2370 */
2371 "autofocus": boolean;
2372 /**
2373 * The input's password confirmation attribute.
2374 */
2375 "confirmation": boolean;
2376 /**
2377 * The input's confirmation help text.
2378 */
2379 "confirmationHelp": string;
2380 /**
2381 * The input's confirmation label text.
2382 */
2383 "confirmationLabel": string;
2384 /**
2385 * The input's confirmation placeholder text.
2386 */
2387 "confirmationPlaceholder": string;
2388 /**
2389 * Disables the input.
2390 */
2391 "disabled": boolean;
2392 /**
2393 * Ensures strong password validation.
2394 */
2395 "enableValidation": boolean;
2396 /**
2397 * The input's help text.
2398 */
2399 "help": string;
2400 /**
2401 * The input's label.
2402 */
2403 "label": string;
2404 /**
2405 * The name for the input.
2406 */
2407 "name": string;
2408 /**
2409 * Draws a pill-style input with rounded edges.
2410 */
2411 "pill": boolean;
2412 /**
2413 * The input's placeholder text.
2414 */
2415 "placeholder": string;
2416 /**
2417 * Makes the input readonly.
2418 */
2419 "readonly": boolean;
2420 "reportValidity": () => Promise<boolean>;
2421 /**
2422 * Makes the input a required field.
2423 */
2424 "required": boolean;
2425 /**
2426 * Should we show the label
2427 */
2428 "showLabel": boolean;
2429 /**
2430 * The input's size.
2431 */
2432 "size": 'small' | 'medium' | 'large';
2433 /**
2434 * Sets focus on the input.
2435 */
2436 "triggerFocus": (options?: FocusOptions) => Promise<void>;
2437 /**
2438 * The input's value attribute.
2439 */
2440 "value": string;
2441 }
2442 interface ScPasswordNag {
2443 /**
2444 * Ensures strong password validation.
2445 */
2446 "enableValidation": boolean;
2447 "open": boolean;
2448 /**
2449 * The success url.
2450 */
2451 "successUrl": string;
2452 /**
2453 * The type of alert.
2454 */
2455 "type": 'primary' | 'success' | 'info' | 'warning' | 'danger';
2456 }
2457 interface ScPayment {
2458 /**
2459 * Disabled processor types
2460 */
2461 "disabledProcessorTypes": string[];
2462 /**
2463 * Hide the test mode badge
2464 */
2465 "hideTestModeBadge": boolean;
2466 /**
2467 * The input's label.
2468 */
2469 "label": string;
2470 "secureNotice": string;
2471 "stripePaymentElement": boolean;
2472 }
2473 interface ScPaymentMethod {
2474 "externalLink": string;
2475 "externalLinkTooltipText": string;
2476 "full": boolean;
2477 "paymentMethod": PaymentMethod;
2478 }
2479 interface ScPaymentMethodChoice {
2480 /**
2481 * Should we show this in a card?
2482 */
2483 "card": boolean;
2484 /**
2485 * Is this a manual processor
2486 */
2487 "isManual": boolean;
2488 /**
2489 * The method id
2490 */
2491 "methodId": string;
2492 /**
2493 * The processor ID
2494 */
2495 "processorId": string;
2496 }
2497 interface ScPaymentMethodDetails {
2498 "editHandler": () => void;
2499 "paymentMethod": PaymentMethod;
2500 }
2501 interface ScPaymentMethodsList {
2502 /**
2503 * Whether default payment method can be detached
2504 */
2505 "canDetachDefaultPaymentMethod": boolean;
2506 /**
2507 * The heading
2508 */
2509 "heading": string;
2510 /**
2511 * Is this a customer
2512 */
2513 "isCustomer": boolean;
2514 /**
2515 * Query to fetch paymentMethods
2516 */
2517 "query": object;
2518 }
2519 interface ScPaymentSelected {
2520 "iconName": string;
2521 "label": string;
2522 }
2523 interface ScPaypalAddMethod {
2524 "currency": string;
2525 "customerId": string;
2526 "liveMode": boolean;
2527 "successUrl": string;
2528 }
2529 interface ScPaypalButtons {
2530 /**
2531 * Is this busy?
2532 */
2533 "busy": boolean;
2534 /**
2535 * Buttons to render
2536 */
2537 "buttons": string[];
2538 /**
2539 * Client id for the script.
2540 */
2541 "clientId": string;
2542 /**
2543 * Button color.
2544 */
2545 "color": 'gold' | 'blue' | 'silver' | 'black' | 'white';
2546 /**
2547 * Label for the button.
2548 */
2549 "label": 'paypal' | 'checkout' | 'buynow' | 'pay' | 'installment';
2550 /**
2551 * The merchant id for paypal.
2552 */
2553 "merchantId": string;
2554 /**
2555 * Merchant initiated billing enabled.
2556 */
2557 "merchantInitiated": boolean;
2558 /**
2559 * Test or live mode.
2560 */
2561 "mode": 'test' | 'live';
2562 /**
2563 * The order.
2564 */
2565 "order": Checkout;
2566 }
2567 interface ScPaystackAddMethod {
2568 "currency": string;
2569 "customerId": string;
2570 "liveMode": boolean;
2571 "successUrl": string;
2572 }
2573 interface ScPhoneInput {
2574 /**
2575 * The input's autocomplete attribute.
2576 */
2577 "autocomplete": string;
2578 /**
2579 * The input's autocorrect attribute.
2580 */
2581 "autocorrect": string;
2582 /**
2583 * The input's autofocus attribute.
2584 */
2585 "autofocus": boolean;
2586 /**
2587 * Adds a clear button when the input is populated.
2588 */
2589 "clearable": boolean;
2590 /**
2591 * Disables the input.
2592 */
2593 "disabled": boolean;
2594 /**
2595 * Inputs focus
2596 */
2597 "hasFocus": boolean;
2598 /**
2599 * The input's help text.
2600 */
2601 "help": string;
2602 /**
2603 * Hidden
2604 */
2605 "hidden": boolean;
2606 /**
2607 * 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.
2608 */
2609 "invalid": boolean;
2610 /**
2611 * The input's label.
2612 */
2613 "label": string;
2614 /**
2615 * The input's maximum value.
2616 */
2617 "max": number | string;
2618 /**
2619 * The maximum length of input that will be considered valid.
2620 */
2621 "maxlength": number;
2622 /**
2623 * The input's minimum value.
2624 */
2625 "min": number | string;
2626 /**
2627 * The minimum length of input that will be considered valid.
2628 */
2629 "minlength": number;
2630 /**
2631 * The input's name attribute.
2632 */
2633 "name": string;
2634 /**
2635 * A pattern to validate input against.
2636 */
2637 "pattern": string;
2638 /**
2639 * Draws a pill-style input with rounded edges.
2640 */
2641 "pill": boolean;
2642 /**
2643 * The input's placeholder text.
2644 */
2645 "placeholder": string;
2646 /**
2647 * Makes the input readonly.
2648 */
2649 "readonly": boolean;
2650 "reportValidity": () => Promise<boolean>;
2651 /**
2652 * Makes the input a required field.
2653 */
2654 "required": boolean;
2655 /**
2656 * Sets a custom validation message. If `message` is not empty, the field will be considered invalid.
2657 */
2658 "setCustomValidity": (message: string) => Promise<void>;
2659 /**
2660 * Should we show the label
2661 */
2662 "showLabel": boolean;
2663 /**
2664 * The input's size.
2665 */
2666 "size": 'small' | 'medium' | 'large';
2667 /**
2668 * Enables spell checking on the input.
2669 */
2670 "spellcheck": boolean;
2671 "squared": boolean;
2672 "squaredBottom": boolean;
2673 "squaredLeft": boolean;
2674 "squaredRight": boolean;
2675 "squaredTop": boolean;
2676 /**
2677 * The input's step attribute.
2678 */
2679 "step": number;
2680 /**
2681 * Adds a password toggle button to password inputs.
2682 */
2683 "togglePassword": boolean;
2684 /**
2685 * Removes focus from the input.
2686 */
2687 "triggerBlur": () => Promise<void>;
2688 /**
2689 * Sets focus on the input.
2690 */
2691 "triggerFocus": (options?: FocusOptions) => Promise<void>;
2692 /**
2693 * The input's value attribute.
2694 */
2695 "value": string;
2696 }
2697 interface ScPillOption {
2698 /**
2699 * Label
2700 */
2701 "isSelected": boolean;
2702 "isUnavailable": boolean;
2703 }
2704 interface ScPopover {
2705 /**
2706 * Is this disabled.
2707 */
2708 "disabled": boolean;
2709 /**
2710 * The distance in pixels from which to offset the panel away from its trigger.
2711 */
2712 "distance": number;
2713 /**
2714 * Enable this option to prevent the panel from being clipped when the component is placed inside a container with `overflow: auto|scroll`.
2715 */
2716 "hoist": boolean;
2717 /**
2718 * Indicates whether or not the popover is open. You can use this in lieu of the show/hide methods.
2719 */
2720 "open"?: boolean;
2721 /**
2722 * The placement of the popover.
2723 */
2724 "placement": | 'top'
2725 | 'top-start'
2726 | 'top-end'
2727 | 'bottom'
2728 | 'bottom-start'
2729 | 'bottom-end'
2730 | 'right'
2731 | 'right-start'
2732 | 'right-end'
2733 | 'left'
2734 | 'left-start'
2735 | 'left-end';
2736 /**
2737 * The distance in pixels from which to offset the panel along its trigger.
2738 */
2739 "skidding": number;
2740 }
2741 interface ScPremiumTag {
2742 /**
2743 * The tag's size.
2744 */
2745 "size": 'small' | 'medium' | 'large';
2746 }
2747 /**
2748 * Internal dependencies.
2749 */
2750 interface ScPrice {
2751 /**
2752 * Is the product ad_hoc?
2753 */
2754 "adHoc": boolean;
2755 /**
2756 * The amount
2757 */
2758 "amount": number;
2759 /**
2760 * The currency.
2761 */
2762 "currency": string;
2763 /**
2764 * The display amount
2765 */
2766 "displayAmount": string;
2767 /**
2768 * The recurring interval
2769 */
2770 "recurringInterval": 'week' | 'month' | 'year' | 'never';
2771 /**
2772 * The recurring interval count
2773 */
2774 "recurringIntervalCount": number;
2775 /**
2776 * The recurring period count
2777 */
2778 "recurringPeriodCount": number;
2779 /**
2780 * The sale text
2781 */
2782 "saleText": string;
2783 /**
2784 * The scratch amount
2785 */
2786 "scratchAmount": number;
2787 /**
2788 * The scratch display amount
2789 */
2790 "scratchDisplayAmount": string;
2791 /**
2792 * The setup fee amount
2793 */
2794 "setupFeeAmount": number;
2795 /**
2796 * The setup fee name
2797 */
2798 "setupFeeName": string;
2799 /**
2800 * The setup fee text
2801 */
2802 "setupFeeText": string;
2803 /**
2804 * The trial duration days
2805 */
2806 "trialDurationDays": number;
2807 }
2808 interface ScPriceChoice {
2809 /**
2810 * Is this blank?
2811 */
2812 "blank": boolean;
2813 /**
2814 * Is this checked by default
2815 */
2816 "checked": boolean;
2817 /**
2818 * Label for the choice.
2819 */
2820 "description": string;
2821 /**
2822 * Errors from response
2823 */
2824 "error": ResponseError;
2825 /**
2826 * Is this an ad-hoc price choice
2827 */
2828 "isAdHoc": Boolean;
2829 /**
2830 * Label for the choice.
2831 */
2832 "label": string;
2833 /**
2834 * Is this loading
2835 */
2836 "loading": boolean;
2837 /**
2838 * Session
2839 */
2840 "order": Checkout;
2841 /**
2842 * Stores the price
2843 */
2844 "price": Price;
2845 /**
2846 * Id of the price.
2847 */
2848 "priceId": string;
2849 /**
2850 * Price entities
2851 */
2852 "prices": Prices;
2853 /**
2854 * Stores the price
2855 */
2856 "product": Product;
2857 /**
2858 * Product entity
2859 */
2860 "products": Products;
2861 /**
2862 * Default quantity
2863 */
2864 "quantity": number;
2865 /**
2866 * Show the radio/checkbox control
2867 */
2868 "showControl": boolean;
2869 /**
2870 * Show the label
2871 */
2872 "showLabel": boolean;
2873 /**
2874 * Show the price amount
2875 */
2876 "showPrice": boolean;
2877 /**
2878 * Choice Type
2879 */
2880 "type": 'checkbox' | 'radio';
2881 }
2882 interface ScPriceChoiceContainer {
2883 /**
2884 * Is this checked by default
2885 */
2886 "checked": boolean;
2887 /**
2888 * Label for the choice.
2889 */
2890 "description": string;
2891 /**
2892 * Label for the choice.
2893 */
2894 "label": string;
2895 /**
2896 * Is this loading
2897 */
2898 "loading": boolean;
2899 /**
2900 * Stores the price
2901 */
2902 "price": string | Price;
2903 "required": boolean;
2904 /**
2905 * Show the radio/checkbox control
2906 */
2907 "showControl": boolean;
2908 /**
2909 * Show the label
2910 */
2911 "showLabel": boolean;
2912 /**
2913 * Show the price amount
2914 */
2915 "showPrice": boolean;
2916 /**
2917 * Choice Type
2918 */
2919 "type": 'checkbox' | 'radio';
2920 }
2921 interface ScPriceChoices {
2922 /**
2923 * Number of columns
2924 */
2925 "columns": number;
2926 /**
2927 * Selector label
2928 */
2929 "label": string;
2930 /**
2931 * Required by default
2932 */
2933 "required": boolean;
2934 }
2935 interface ScPriceInput {
2936 /**
2937 * The input's autofocus attribute.
2938 */
2939 "autofocus": boolean;
2940 /**
2941 * Adds a clear button when the input is populated.
2942 */
2943 "clearable": boolean;
2944 /**
2945 * 3 letter currency code for input
2946 */
2947 "currencyCode": string;
2948 /**
2949 * Disables the input.
2950 */
2951 "disabled": boolean;
2952 /**
2953 * Inputs focus
2954 */
2955 "hasFocus": boolean;
2956 /**
2957 * The input's help text.
2958 */
2959 "help": string;
2960 /**
2961 * 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.
2962 */
2963 "invalid": boolean;
2964 /**
2965 * The input's label.
2966 */
2967 "label": string;
2968 /**
2969 * The input's maximum value.
2970 */
2971 "max": number;
2972 /**
2973 * The maximum length of input that will be considered valid.
2974 */
2975 "maxlength": number;
2976 /**
2977 * The input's minimum value.
2978 */
2979 "min": number;
2980 /**
2981 * The minimum length of input that will be considered valid.
2982 */
2983 "minlength": number;
2984 /**
2985 * The input's name attribute.
2986 */
2987 "name": string;
2988 /**
2989 * Draws a pill-style input with rounded edges.
2990 */
2991 "pill": boolean;
2992 /**
2993 * The input's placeholder text.
2994 */
2995 "placeholder": string;
2996 /**
2997 * Makes the input readonly.
2998 */
2999 "readonly": boolean;
3000 "reportValidity": () => Promise<boolean>;
3001 /**
3002 * Makes the input a required field.
3003 */
3004 "required": boolean;
3005 /**
3006 * Sets a custom validation message. If `message` is not empty, the field will be considered invalid.
3007 */
3008 "setCustomValidity": (message: string) => Promise<void>;
3009 /**
3010 * Show the currency code with the input
3011 */
3012 "showCode": boolean;
3013 /**
3014 * Should we show the label
3015 */
3016 "showLabel": boolean;
3017 /**
3018 * The input's size.
3019 */
3020 "size": 'small' | 'medium' | 'large';
3021 /**
3022 * Removes focus from the input.
3023 */
3024 "triggerBlur": () => Promise<void>;
3025 /**
3026 * Sets focus on the input.
3027 */
3028 "triggerFocus": (options?: FocusOptions) => Promise<void>;
3029 /**
3030 * The input's value attribute.
3031 */
3032 "value": string;
3033 }
3034 interface ScPriceRange {
3035 /**
3036 * The array of price objects
3037 */
3038 "prices": Price[];
3039 }
3040 interface ScProductBuyButton {
3041 "addToCart": boolean;
3042 "checkoutLink": string;
3043 "formId": number;
3044 "mode": 'live' | 'test';
3045 "productId": string;
3046 }
3047 interface ScProductDonationAmountChoice {
3048 /**
3049 * The label for the field.
3050 */
3051 "label": string;
3052 /**
3053 * The product id for the fields.
3054 */
3055 "productId": string;
3056 /**
3057 * The value of the field.
3058 */
3059 "value": number;
3060 }
3061 interface ScProductDonationChoices {
3062 /**
3063 * The label for the field.
3064 */
3065 "label": string;
3066 /**
3067 * The product id for the fields.
3068 */
3069 "productId": string;
3070 "recurring": boolean;
3071 }
3072 interface ScProductDonationCustomAmount {
3073 /**
3074 * Selected Product Id for the donation.
3075 */
3076 "productId": string;
3077 /**
3078 * Custom Amount of the donation.
3079 */
3080 "value": number;
3081 }
3082 interface ScProductItem {
3083 "layoutConfig": LayoutConfig;
3084 "product": Product;
3085 }
3086 interface ScProductItemImage {
3087 "product": Product;
3088 "sizing": 'cover' | 'contain';
3089 }
3090 interface ScProductItemList {
3091 /**
3092 * Should we paginate?
3093 */
3094 "ajaxPagination": boolean;
3095 /**
3096 * Should allow collection filter
3097 */
3098 "collectionEnabled": boolean;
3099 /**
3100 * Show for a specific collection
3101 */
3102 "collectionId": string;
3103 /**
3104 * Show only featured products.
3105 */
3106 "featured": boolean;
3107 /**
3108 * Limit to a set of ids.
3109 */
3110 "ids": string[];
3111 "layoutConfig": LayoutConfig1;
3112 "limit": number;
3113 "page": number;
3114 /**
3115 * The page title
3116 */
3117 "pageTitle": string;
3118 /**
3119 * Pagination
3120 */
3121 "pagination": {
3122 total: number;
3123 total_pages: number;
3124 };
3125 "paginationAlignment": string;
3126 /**
3127 * Should we auto-scroll to the top when paginating via ajax
3128 */
3129 "paginationAutoScroll": boolean;
3130 /**
3131 * Should we paginate?
3132 */
3133 "paginationEnabled": boolean;
3134 "products"?: Product[];
3135 /**
3136 * Query to search for
3137 */
3138 "query": string;
3139 /**
3140 * Should allow search
3141 */
3142 "searchEnabled": boolean;
3143 /**
3144 * Sort
3145 */
3146 "sort": string;
3147 /**
3148 * Should allow search
3149 */
3150 "sortEnabled": boolean;
3151 }
3152 interface ScProductItemPrice {
3153 /**
3154 * Product metrics
3155 */
3156 "metrics": ProductMetrics;
3157 "prices": Price[];
3158 /**
3159 * Show price range?
3160 */
3161 "range": boolean;
3162 }
3163 interface ScProductItemTitle {
3164 }
3165 interface ScProductLineItem {
3166 /**
3167 * Product monetary amount
3168 */
3169 "amount": string;
3170 /**
3171 * Product display amount
3172 */
3173 "displayAmount": string;
3174 /**
3175 * Can we select the quantity
3176 */
3177 "editable": boolean;
3178 /**
3179 * Product line item fees.
3180 */
3181 "fees": Fee[];
3182 /**
3183 * Image attributes.
3184 */
3185 "image": ImageAttributes;
3186 /**
3187 * Recurring interval (i.e. monthly, once, etc.)
3188 */
3189 "interval": string;
3190 /**
3191 * The max allowed.
3192 */
3193 "max": number;
3194 /**
3195 * Product name
3196 */
3197 "name": string;
3198 /**
3199 * The line item note
3200 */
3201 "note": string;
3202 /**
3203 * Price name
3204 */
3205 "price"?: string;
3206 /**
3207 * The purchasable status display
3208 */
3209 "purchasableStatus": string;
3210 /**
3211 * Quantity
3212 */
3213 "quantity": number;
3214 /**
3215 * Is the line item removable
3216 */
3217 "removable": boolean;
3218 /**
3219 * The review button link. If set, a review button will be shown linking to this URL.
3220 */
3221 "reviewButtonLink": string;
3222 /**
3223 * The line item scratch amount
3224 */
3225 "scratch": string;
3226 /**
3227 * Product scratch display amount
3228 */
3229 "scratchDisplayAmount": string;
3230 /**
3231 * The SKU.
3232 */
3233 "sku": string;
3234 /**
3235 * Trial text
3236 */
3237 "trial": string;
3238 /**
3239 * Product variant label
3240 */
3241 "variant": string;
3242 }
3243 interface ScProductLineItemNote {
3244 "note": string;
3245 }
3246 interface ScProductPillsVariantOption {
3247 /**
3248 * Label
3249 */
3250 "label": string;
3251 /**
3252 * Which option number?
3253 */
3254 "optionNumber": 1 | 2 | 3;
3255 /**
3256 * The product id
3257 */
3258 "productId": string;
3259 }
3260 interface ScProductPrice {
3261 /**
3262 * The product's prices.
3263 */
3264 "prices": Price[];
3265 /**
3266 * The product id
3267 */
3268 "productId": string;
3269 /**
3270 * The sale text
3271 */
3272 "saleText": string;
3273 }
3274 interface ScProductPriceChoices {
3275 /**
3276 * The product price choice label
3277 */
3278 "label": string;
3279 /**
3280 * The product id
3281 */
3282 "productId": string;
3283 /**
3284 * Whether to show the price
3285 */
3286 "showPrice": boolean;
3287 }
3288 interface ScProductPriceModal {
3289 /**
3290 * Whether to add to cart
3291 */
3292 "addToCart": boolean;
3293 /**
3294 * The button text
3295 */
3296 "buttonText": string;
3297 /**
3298 * The product id
3299 */
3300 "productId": string;
3301 }
3302 interface ScProductQuantity {
3303 /**
3304 * Display server-side validation errors.
3305 */
3306 "errors": any;
3307 /**
3308 * Help text
3309 */
3310 "help": string;
3311 /**
3312 * Input label.
3313 */
3314 "label": string;
3315 /**
3316 * Name for the input. Used for validation errors.
3317 */
3318 "name": string;
3319 /**
3320 * The product id
3321 */
3322 "productId": string;
3323 /**
3324 * Whether the input is required.
3325 */
3326 "required": boolean;
3327 /**
3328 * Show the label.
3329 */
3330 "showLabel": boolean;
3331 /**
3332 * Size of the control
3333 */
3334 "size": 'small' | 'medium' | 'large';
3335 }
3336 interface ScProductSelectedPrice {
3337 /**
3338 * The product id.
3339 */
3340 "productId": string;
3341 }
3342 interface ScProductText {
3343 "productId": string;
3344 "text": 'name' | 'description';
3345 }
3346 interface ScProse {
3347 }
3348 interface ScProvider {
3349 "STENCIL_CONTEXT": { [key: string]: any };
3350 }
3351 interface ScProvisionalBanner {
3352 /**
3353 * Claim URL.
3354 */
3355 "claimUrl": string;
3356 /**
3357 * Whether the claim window has expired.
3358 */
3359 "expired": boolean;
3360 }
3361 interface ScPurchaseDownloadsList {
3362 "allLink": string;
3363 "busy": boolean;
3364 "error": string;
3365 "heading": string;
3366 "loading": boolean;
3367 "purchases": Array<Purchase>;
3368 "requestNonce": string;
3369 }
3370 interface ScQuantitySelect {
3371 "clickEl"?: HTMLElement;
3372 "disabled": boolean;
3373 /**
3374 * Inputs focus
3375 */
3376 "hasFocus": boolean;
3377 "max": number;
3378 "min": number;
3379 "productName": string;
3380 "quantity": number;
3381 "size": 'small' | 'medium' | 'large';
3382 }
3383 interface ScRadio {
3384 /**
3385 * Simulates a click on the radio.
3386 */
3387 "ceClick": () => Promise<void>;
3388 /**
3389 * Draws the radio in a checked state.
3390 */
3391 "checked": boolean;
3392 /**
3393 * Is the radio disabled
3394 */
3395 "disabled": boolean;
3396 /**
3397 * This will be true as a workaround in the block editor to focus on the content.
3398 */
3399 "edit": boolean;
3400 /**
3401 * This will be true when the control is in an invalid state. Validity is determined by the `required` prop.
3402 */
3403 "invalid": boolean;
3404 /**
3405 * The radios name attribute
3406 */
3407 "name": string;
3408 /**
3409 * Checks for validity and shows the browser's validation message if the control is invalid.
3410 */
3411 "reportValidity": () => Promise<boolean>;
3412 /**
3413 * Is this required
3414 */
3415 "required": boolean;
3416 /**
3417 * The radios value
3418 */
3419 "value": string;
3420 }
3421 interface ScRadioGroup {
3422 /**
3423 * 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.
3424 */
3425 "invalid": boolean;
3426 /**
3427 * The radio group label. Required for proper accessibility.
3428 */
3429 "label": string;
3430 /**
3431 * Checks for validity and shows the browser's validation message if the control is invalid.
3432 */
3433 "reportValidity": () => Promise<boolean>;
3434 /**
3435 * Is one of these items required.
3436 */
3437 "required": boolean;
3438 /**
3439 * The selected value of the control.
3440 */
3441 "value": string;
3442 }
3443 interface ScRazorpayAddMethod {
3444 "currency": string;
3445 "customerId": string;
3446 "liveMode": boolean;
3447 "successUrl": string;
3448 }
3449 interface ScRecurringPriceChoiceContainer {
3450 /**
3451 * Label for the choice.
3452 */
3453 "label": string;
3454 /**
3455 * The prices to choose from.
3456 */
3457 "prices": Price[];
3458 /**
3459 * The product.
3460 */
3461 "product": Product;
3462 /**
3463 * The currently selected price
3464 */
3465 "selectedPrice": Price;
3466 /**
3467 * Should we show the price?
3468 */
3469 "showAmount": boolean;
3470 /**
3471 * Show the radio/checkbox control
3472 */
3473 "showControl": boolean;
3474 /**
3475 * Should we show the price details?
3476 */
3477 "showDetails": boolean;
3478 }
3479 interface ScReviewStars {
3480 "rating": number;
3481 "size": number;
3482 }
3483 interface ScRichText {
3484 /**
3485 * Disables the textarea.
3486 */
3487 "disabled": boolean;
3488 /**
3489 * The textarea's help text. Alternatively, you can use the help-text slot.
3490 */
3491 "help": string;
3492 /**
3493 * The textarea's label. Alternatively, you can use the label slot.
3494 */
3495 "label": string;
3496 /**
3497 * The max length.
3498 */
3499 "maxlength": number;
3500 /**
3501 * The textarea's name attribute.
3502 */
3503 "name": string;
3504 /**
3505 * The textarea's placeholder text.
3506 */
3507 "placeholder": string;
3508 /**
3509 * Makes the textarea readonly.
3510 */
3511 "readonly": boolean;
3512 /**
3513 * Makes the textarea a required field.
3514 */
3515 "required": boolean;
3516 /**
3517 * Should we show the label
3518 */
3519 "showLabel": boolean;
3520 /**
3521 * The textarea's size.
3522 */
3523 "size": 'small' | 'medium' | 'large';
3524 /**
3525 * The textarea's value attribute.
3526 */
3527 "value": string;
3528 }
3529 interface ScSecureNotice {
3530 }
3531 interface ScSelect {
3532 /**
3533 * The input's autocomplete attribute.
3534 */
3535 "autocomplete": string;
3536 /**
3537 * The input's value attribute.
3538 */
3539 "choices": Array<ChoiceItem>;
3540 "closeOnSelect": boolean;
3541 "disabled": boolean;
3542 /**
3543 * Some help text for the input.
3544 */
3545 "help": string;
3546 "hoist": boolean;
3547 /**
3548 * 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.
3549 */
3550 "invalid": boolean;
3551 /**
3552 * The input's label.
3553 */
3554 "label": string;
3555 "loading": boolean;
3556 /**
3557 * The input's name attribute.
3558 */
3559 "name": string;
3560 /**
3561 * Is this open
3562 */
3563 "open": boolean;
3564 /**
3565 * Placeholder for no value
3566 */
3567 "placeholder": string;
3568 /**
3569 * The placement of the dropdown.
3570 */
3571 "placement": | 'top'
3572 | 'top-start'
3573 | 'top-end'
3574 | 'bottom'
3575 | 'bottom-start'
3576 | 'bottom-end'
3577 | 'right'
3578 | 'right-start'
3579 | 'right-end'
3580 | 'left'
3581 | 'left-start'
3582 | 'left-end';
3583 "position": 'bottom-left' | 'bottom-right' | 'top-left' | 'top-right';
3584 "reportValidity": () => Promise<boolean>;
3585 "required": boolean;
3586 /**
3587 * Is search enabled?
3588 */
3589 "search": boolean;
3590 /**
3591 * Placeholder for search
3592 */
3593 "searchPlaceholder": string;
3594 /**
3595 * Sets a custom validation message. If `message` is not empty, the field will be considered invalid.
3596 */
3597 "setCustomValidity": (message: string) => Promise<void>;
3598 "showParentLabel": boolean;
3599 /**
3600 * The input's size.
3601 */
3602 "size": 'small' | 'medium' | 'large';
3603 "squared": boolean;
3604 "squaredBottom": boolean;
3605 "squaredLeft": boolean;
3606 "squaredRight": boolean;
3607 "squaredTop": boolean;
3608 /**
3609 * Can we unselect items.
3610 */
3611 "unselect": boolean;
3612 /**
3613 * The input's value attribute.
3614 */
3615 "value": string;
3616 }
3617 interface ScSessionProvider {
3618 /**
3619 * Finalize the order.
3620 * @returns
3621 */
3622 "finalize": () => Promise<Checkout | NodeJS.Timeout | Error>;
3623 /**
3624 * Should we persist the session.
3625 */
3626 "persist": boolean;
3627 /**
3628 * An array of prices to pre-fill in the form.
3629 */
3630 "prices": Array<PriceChoice>;
3631 }
3632 interface ScShippingChoices {
3633 /**
3634 * The shipping section label
3635 */
3636 "label": string;
3637 /**
3638 * Override shipping choices data (used for editor preview)
3639 */
3640 "shippingChoices": any[] | undefined;
3641 /**
3642 * Whether to show the shipping choice description
3643 */
3644 "showDescription": boolean;
3645 }
3646 interface ScSkeleton {
3647 /**
3648 * Animation effect
3649 */
3650 "effect": 'pulse' | 'sheen' | 'none';
3651 }
3652 interface ScSpacing {
3653 }
3654 interface ScSpinner {
3655 }
3656 interface ScStackedList {
3657 }
3658 interface ScStackedListRow {
3659 "href": string;
3660 "mobileSize": number;
3661 "target": string;
3662 }
3663 interface ScStripeAddMethod {
3664 "customerId": string;
3665 "liveMode": boolean;
3666 "successUrl": string;
3667 }
3668 interface ScStripeElement {
3669 /**
3670 * Confirm card payment
3671 */
3672 "confirmCardPayment": (secret: any) => Promise<any>;
3673 /**
3674 * Confirm card setup.
3675 */
3676 "confirmCardSetup": (secret: any) => Promise<any>;
3677 /**
3678 * Whether this field is disabled
3679 */
3680 "disabled": boolean;
3681 /**
3682 * The form state
3683 */
3684 "formState": FormState;
3685 /**
3686 * Inputs focus
3687 */
3688 "hasFocus": boolean;
3689 /**
3690 * The input's label. Alternatively, you can use the label slot.
3691 */
3692 "label": string;
3693 /**
3694 * Mode for the payment
3695 */
3696 "mode": 'live' | 'test';
3697 /**
3698 * The checkout session object for finalizing intents
3699 */
3700 "order": Checkout;
3701 /**
3702 * The input's help text. Alternatively, you can use the help-text slot.
3703 */
3704 "secureText": string;
3705 /**
3706 * The selected processor id
3707 */
3708 "selectedProcessorId": ProcessorName;
3709 /**
3710 * Should we show the label
3711 */
3712 "showLabel": boolean;
3713 /**
3714 * The input's size.
3715 */
3716 "size": 'small' | 'medium' | 'large';
3717 }
3718 interface ScStripePaymentElement {
3719 "confirm": (type: 'setup' | 'payment', args?: {}) => Promise<void>;
3720 }
3721 interface ScStripePaymentRequest {
3722 /**
3723 * Amount
3724 */
3725 "amount": number;
3726 /**
3727 * Country
3728 */
3729 "country": string;
3730 /**
3731 * Is this in debug mode.
3732 */
3733 "debug": boolean;
3734 "error": ResponseError | null;
3735 /**
3736 * Label
3737 */
3738 "label": string;
3739 /**
3740 * Prices
3741 */
3742 "prices": Prices;
3743 /**
3744 * Stripe publishable key
3745 */
3746 "publishableKey": string;
3747 /**
3748 * Your stripe connected account id.
3749 */
3750 "stripeAccountId": string;
3751 /**
3752 * Payment request theme
3753 */
3754 "theme": string;
3755 }
3756 interface ScSubscription {
3757 /**
3758 * Heading to display
3759 */
3760 "heading": string;
3761 /**
3762 * The subscription protocol
3763 */
3764 "protocol": SubscriptionProtocol;
3765 /**
3766 * Query to pass to the API
3767 */
3768 "query": object;
3769 /**
3770 * Whether to show the cancel button
3771 */
3772 "showCancel": boolean;
3773 /**
3774 * The subscription
3775 */
3776 "subscription": Subscription;
3777 /**
3778 * The subscription ID
3779 */
3780 "subscriptionId": string;
3781 /**
3782 * Update the payment method url
3783 */
3784 "updatePaymentMethodUrl": string;
3785 }
3786 interface ScSubscriptionAdHocConfirm {
3787 "currencyCode": string;
3788 "heading": string;
3789 "price": Price;
3790 }
3791 interface ScSubscriptionCancel {
3792 "backUrl": string;
3793 "comment": string;
3794 "heading": string;
3795 "protocol": SubscriptionProtocol;
3796 "reason": CancellationReason;
3797 "subscription": Subscription;
3798 "successUrl": string;
3799 }
3800 interface ScSubscriptionDetails {
3801 "hideRenewalText": boolean;
3802 "pendingPrice": Price;
3803 "subscription": Subscription;
3804 }
3805 interface ScSubscriptionNextPayment {
3806 "subscription": Subscription;
3807 /**
3808 * Update the payment method url
3809 */
3810 "updatePaymentMethodUrl": string;
3811 }
3812 interface ScSubscriptionPayment {
3813 "backUrl": string;
3814 "customerIds": Array<string>;
3815 "paymentMethods": Array<PaymentMethod>;
3816 "subscription": Subscription;
3817 "subscriptionId": string;
3818 "successUrl": string;
3819 }
3820 interface ScSubscriptionPaymentMethod {
3821 /**
3822 * The heading
3823 */
3824 "heading": string;
3825 /**
3826 * The subscription
3827 */
3828 "subscription": Subscription;
3829 }
3830 interface ScSubscriptionReactivate {
3831 /**
3832 * Whether it is open
3833 */
3834 "open": boolean;
3835 /**
3836 * The subscription to reactivate
3837 */
3838 "subscription": Subscription;
3839 }
3840 interface ScSubscriptionStatusBadge {
3841 /**
3842 * Makes the tag clearable.
3843 */
3844 "clearable": boolean;
3845 /**
3846 * Draws a pill-style tag with rounded edges.
3847 */
3848 "pill": boolean;
3849 /**
3850 * The tag's size.
3851 */
3852 "size": 'small' | 'medium' | 'large';
3853 /**
3854 * Subscription status
3855 */
3856 "status": SubscriptionStatus;
3857 /**
3858 * The tag's status type.
3859 */
3860 "subscription": Subscription;
3861 }
3862 interface ScSubscriptionSwitch {
3863 "filterAbove": number;
3864 "heading": string;
3865 "productGroupId": ProductGroup;
3866 "productId": string;
3867 /**
3868 * Customer id to fetch subscriptions
3869 */
3870 "query": object;
3871 "subscription": Subscription;
3872 "successUrl": string;
3873 }
3874 interface ScSubscriptionVariationConfirm {
3875 "heading": string;
3876 "price": Price;
3877 "product": Product;
3878 "subscription": Subscription;
3879 }
3880 interface ScSubscriptionsList {
3881 "allLink": string;
3882 "cancelBehavior": 'period_end' | 'immediate';
3883 "heading": string;
3884 "isCustomer": boolean;
3885 /**
3886 * Customer id to fetch subscriptions
3887 */
3888 "query": {
3889 page: number;
3890 per_page: number;
3891 };
3892 }
3893 interface ScSummary {
3894 "busy": boolean;
3895 "closedText": string;
3896 "collapsed": boolean;
3897 "collapsedOnDesktop": boolean;
3898 "collapsedOnMobile": boolean;
3899 "collapsible": boolean;
3900 "loading": boolean;
3901 "openText": string;
3902 }
3903 interface ScSwap {
3904 /**
3905 * The product id.
3906 */
3907 "lineItem": LineItem;
3908 }
3909 interface ScSwitch {
3910 /**
3911 * Draws the switch in a checked state.
3912 */
3913 "checked": boolean;
3914 /**
3915 * Disables the switch.
3916 */
3917 "disabled": boolean;
3918 /**
3919 * This will be true as a workaround in the block editor to focus on the content.
3920 */
3921 "edit": boolean;
3922 /**
3923 * This will be true when the control is in an invalid state. Validity is determined by the `required` prop.
3924 */
3925 "invalid": boolean;
3926 /**
3927 * The switch's name attribute.
3928 */
3929 "name": string;
3930 /**
3931 * Checks for validity and shows the browser's validation message if the control is invalid.
3932 */
3933 "reportValidity": () => Promise<boolean>;
3934 /**
3935 * Makes the switch a required field.
3936 */
3937 "required": boolean;
3938 "reversed": boolean;
3939 /**
3940 * The switch's value attribute.
3941 */
3942 "value": string;
3943 }
3944 interface ScTab {
3945 /**
3946 * Draws the tab in an active state.
3947 */
3948 "active": boolean;
3949 "count": string;
3950 /**
3951 * Draws the tab in a disabled state.
3952 */
3953 "disabled": boolean;
3954 "href": string;
3955 /**
3956 * The name of the tab panel the tab will control. The panel must be located in the same tab group.
3957 */
3958 "panel": string;
3959 /**
3960 * Removes focus from the tab.
3961 */
3962 "triggerBlur": () => Promise<void>;
3963 /**
3964 * Sets focus to the tab.
3965 */
3966 "triggerFocus": (options?: FocusOptions) => Promise<void>;
3967 }
3968 interface ScTabGroup {
3969 }
3970 interface ScTabPanel {
3971 /**
3972 * When true, the tab panel will be shown.
3973 */
3974 "active": boolean;
3975 /**
3976 * The tab panel's name.
3977 */
3978 "name": string;
3979 }
3980 interface ScTable {
3981 }
3982 interface ScTableCell {
3983 }
3984 interface ScTableHead {
3985 }
3986 interface ScTableRow {
3987 "href": string;
3988 }
3989 interface ScTag {
3990 /**
3991 * Aria label
3992 */
3993 "ariaLabel": string;
3994 /**
3995 * Makes the tag clearable.
3996 */
3997 "clearable": boolean;
3998 /**
3999 * Draws a pill-style tag with rounded edges.
4000 */
4001 "pill": boolean;
4002 /**
4003 * The tag's size.
4004 */
4005 "size": 'small' | 'medium' | 'large';
4006 /**
4007 * The tag's type.
4008 */
4009 "type": 'primary' | 'success' | 'info' | 'warning' | 'danger' | 'default';
4010 }
4011 interface ScTaxIdInput {
4012 /**
4013 * AU zone label
4014 */
4015 "auAbnLabel": string;
4016 /**
4017 * GST zone label
4018 */
4019 "caGstLabel": string;
4020 /**
4021 * The country code.
4022 */
4023 "country": string;
4024 /**
4025 * EU zone label
4026 */
4027 "euVatLabel": string;
4028 /**
4029 * UK zone label
4030 */
4031 "gbVatLabel": string;
4032 /**
4033 * Help text.
4034 */
4035 "help": string;
4036 /**
4037 * Is this loading?
4038 */
4039 "loading": boolean;
4040 /**
4041 * Tax ID Number
4042 */
4043 "number": string;
4044 /**
4045 * Other zones label
4046 */
4047 "otherLabel": string;
4048 "reportValidity": () => Promise<boolean>;
4049 /**
4050 * Whether tax input is required
4051 */
4052 "required": boolean;
4053 /**
4054 * Force show the field.
4055 */
4056 "show": boolean;
4057 /**
4058 * The status
4059 */
4060 "status": 'valid' | 'invalid' | 'unknown';
4061 /**
4062 * Tax ID Types which will be shown
4063 */
4064 "taxIdTypes": string[];
4065 /**
4066 * Type of tax id
4067 */
4068 "type": string;
4069 }
4070 interface ScTestModeInfo {
4071 }
4072 interface ScText {
4073 "tag": 'h1' | 'h2' | 'h3' | 'h4' | 'h5' | 'h6' | 'p';
4074 "truncate": boolean;
4075 }
4076 interface ScTextarea {
4077 /**
4078 * The textarea's autocapitalize attribute.
4079 */
4080 "autocapitalize": 'off' | 'none' | 'on' | 'sentences' | 'words' | 'characters';
4081 /**
4082 * The textarea's autocomplete attribute.
4083 */
4084 "autocomplete": string;
4085 /**
4086 * The textarea's autocorrect attribute.
4087 */
4088 "autocorrect": string;
4089 /**
4090 * The textarea's autofocus attribute.
4091 */
4092 "autofocus": boolean;
4093 /**
4094 * Disables the textarea.
4095 */
4096 "disabled": boolean;
4097 /**
4098 * The input's enterkeyhint attribute. This can be used to customize the label or icon of the Enter key on virtual keyboards.
4099 */
4100 "enterkeyhint": 'enter' | 'done' | 'go' | 'next' | 'previous' | 'search' | 'send';
4101 /**
4102 * Draws a filled textarea.
4103 */
4104 "filled": boolean;
4105 /**
4106 * The textarea's help text. Alternatively, you can use the help-text slot.
4107 */
4108 "help": string;
4109 /**
4110 * The textarea's inputmode attribute.
4111 */
4112 "inputmode": 'none' | 'text' | 'decimal' | 'numeric' | 'tel' | 'search' | 'email' | 'url';
4113 /**
4114 * 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.
4115 */
4116 "invalid": boolean;
4117 /**
4118 * The textarea's label. Alternatively, you can use the label slot.
4119 */
4120 "label": string;
4121 /**
4122 * The maximum length of input that will be considered valid.
4123 */
4124 "maxlength": number;
4125 /**
4126 * The minimum length of input that will be considered valid.
4127 */
4128 "minlength": number;
4129 /**
4130 * The textarea's name attribute.
4131 */
4132 "name": string;
4133 /**
4134 * The textarea's placeholder text.
4135 */
4136 "placeholder": string;
4137 /**
4138 * Makes the textarea readonly.
4139 */
4140 "readonly": boolean;
4141 /**
4142 * Checks for validity and shows the browser's validation message if the control is invalid.
4143 */
4144 "reportValidity": () => Promise<boolean>;
4145 /**
4146 * Makes the textarea a required field.
4147 */
4148 "required": boolean;
4149 /**
4150 * Controls how the textarea can be resized.
4151 */
4152 "resize": 'none' | 'vertical' | 'auto';
4153 /**
4154 * The number of rows to display by default.
4155 */
4156 "rows": number;
4157 /**
4158 * Should we show the label
4159 */
4160 "showLabel": boolean;
4161 /**
4162 * The textarea's size.
4163 */
4164 "size": 'small' | 'medium' | 'large';
4165 /**
4166 * Enables spell checking on the textarea.
4167 */
4168 "spellcheck": boolean;
4169 /**
4170 * Sets focus on the input.
4171 */
4172 "triggerFocus": (options?: FocusOptions) => Promise<void>;
4173 /**
4174 * The textarea's value attribute.
4175 */
4176 "value": string;
4177 }
4178 interface ScToggle {
4179 /**
4180 * Is this a borderless toggle?
4181 */
4182 "borderless": boolean;
4183 /**
4184 * Are these collapsible?
4185 */
4186 "collapsible": boolean;
4187 /**
4188 * Disables the details so it can't be toggled.
4189 */
4190 "disabled": boolean;
4191 /**
4192 * Indicates whether or not the details is open. You can use this in lieu of the show/hide methods.
4193 */
4194 "open": boolean;
4195 /**
4196 * Is this a shady
4197 */
4198 "shady": boolean;
4199 /**
4200 * Should we show a radio control?
4201 */
4202 "showControl": boolean;
4203 /**
4204 * Should we show the arrow icon?
4205 */
4206 "showIcon": boolean;
4207 /**
4208 * The summary to show in the details header. If you need to display HTML, use the `summary` slot instead.
4209 */
4210 "summary": string;
4211 }
4212 interface ScToggles {
4213 /**
4214 * Should this function as an accordion?
4215 */
4216 "accordion": boolean;
4217 /**
4218 * Are these collapsible?
4219 */
4220 "collapsible": boolean;
4221 /**
4222 * Theme for the toggles
4223 */
4224 "theme": 'default' | 'container';
4225 }
4226 interface ScTooltip {
4227 /**
4228 * Freeze open or closed.
4229 */
4230 "freeze": boolean;
4231 /**
4232 * Open or not
4233 */
4234 "open": boolean;
4235 /**
4236 * The tooltip's padding.
4237 */
4238 "padding": number;
4239 /**
4240 * The tooltip's placement relative to the trigger.
4241 */
4242 "placement": 'top' | 'bottom' | 'left' | 'right';
4243 /**
4244 * Tooltip text
4245 */
4246 "text": string;
4247 /**
4248 * 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.
4249 */
4250 "type": 'primary' | 'success' | 'info' | 'warning' | 'danger' | 'text' | 'dark';
4251 /**
4252 * Tooltip fixed width
4253 */
4254 "width": string;
4255 }
4256 interface ScTotal {
4257 "checkout"?: Checkout;
4258 "total": 'total' | 'subtotal' | 'amount_due';
4259 }
4260 interface ScUpcomingInvoice {
4261 "adHocAmount": number;
4262 "discount": {
4263 promotion_code?: string;
4264 coupon?: string;
4265 };
4266 "heading": string;
4267 "payment_method": PaymentMethod;
4268 "priceId": string;
4269 "quantity": number;
4270 "quantityUpdatesEnabled": boolean;
4271 "subscriptionId": string;
4272 "successUrl": string;
4273 "variantId": string;
4274 }
4275 interface ScUpgradeRequired {
4276 /**
4277 * Whether to render upgrade modal by default
4278 */
4279 "open": boolean;
4280 /**
4281 * Is this required?
4282 */
4283 "required": boolean;
4284 /**
4285 * The tag's size.
4286 */
4287 "size": 'small' | 'medium' | 'large';
4288 }
4289 interface ScUpsell {
4290 }
4291 interface ScUpsellCountdownTimer {
4292 /**
4293 * Whether to show the icon.
4294 */
4295 "showIcon": boolean;
4296 }
4297 interface ScUpsellNoThanksButton {
4298 }
4299 interface ScUpsellSubmitButton {
4300 }
4301 interface ScUpsellTotals {
4302 }
4303 interface ScVerificationCode {
4304 /**
4305 * Whether the component is in a loading/verifying state
4306 */
4307 "loading": boolean;
4308 /**
4309 * On change verification code
4310 */
4311 "onChange": (value: string) => void;
4312 /**
4313 * Total number of inputs
4314 */
4315 "total": number;
4316 /**
4317 * Focus the first code input.
4318 */
4319 "triggerFocus": () => Promise<void>;
4320 }
4321 interface ScVisuallyHidden {
4322 }
4323 interface ScWordpressPasswordEdit {
4324 /**
4325 * Ensures strong password validation.
4326 */
4327 "enableValidation": boolean;
4328 "heading": string;
4329 "successUrl": string;
4330 "user": WordPressUser;
4331 }
4332 interface ScWordpressUser {
4333 "heading": string;
4334 "user": WordPressUser;
4335 }
4336 interface ScWordpressUserEdit {
4337 "heading": string;
4338 "successUrl": string;
4339 "user": WordPressUser;
4340 }
4341 }
4342 export interface ScAddressCustomEvent<T> extends CustomEvent<T> {
4343 detail: T;
4344 target: HTMLScAddressElement;
4345 }
4346 export interface ScAddressSuggestionsCustomEvent<T> extends CustomEvent<T> {
4347 detail: T;
4348 target: HTMLScAddressSuggestionsElement;
4349 }
4350 export interface ScAlertCustomEvent<T> extends CustomEvent<T> {
4351 detail: T;
4352 target: HTMLScAlertElement;
4353 }
4354 export interface ScButtonCustomEvent<T> extends CustomEvent<T> {
4355 detail: T;
4356 target: HTMLScButtonElement;
4357 }
4358 export interface ScCancelDialogCustomEvent<T> extends CustomEvent<T> {
4359 detail: T;
4360 target: HTMLScCancelDialogElement;
4361 }
4362 export interface ScCancelDiscountCustomEvent<T> extends CustomEvent<T> {
4363 detail: T;
4364 target: HTMLScCancelDiscountElement;
4365 }
4366 export interface ScCancelSurveyCustomEvent<T> extends CustomEvent<T> {
4367 detail: T;
4368 target: HTMLScCancelSurveyElement;
4369 }
4370 export interface ScCartHeaderCustomEvent<T> extends CustomEvent<T> {
4371 detail: T;
4372 target: HTMLScCartHeaderElement;
4373 }
4374 export interface ScCartSessionProviderCustomEvent<T> extends CustomEvent<T> {
4375 detail: T;
4376 target: HTMLScCartSessionProviderElement;
4377 }
4378 export interface ScCheckboxCustomEvent<T> extends CustomEvent<T> {
4379 detail: T;
4380 target: HTMLScCheckboxElement;
4381 }
4382 export interface ScCheckoutCustomEvent<T> extends CustomEvent<T> {
4383 detail: T;
4384 target: HTMLScCheckoutElement;
4385 }
4386 export interface ScCheckoutStockAlertCustomEvent<T> extends CustomEvent<T> {
4387 detail: T;
4388 target: HTMLScCheckoutStockAlertElement;
4389 }
4390 export interface ScCheckoutTestCompleteCustomEvent<T> extends CustomEvent<T> {
4391 detail: T;
4392 target: HTMLScCheckoutTestCompleteElement;
4393 }
4394 export interface ScChoiceCustomEvent<T> extends CustomEvent<T> {
4395 detail: T;
4396 target: HTMLScChoiceElement;
4397 }
4398 export interface ScChoiceContainerCustomEvent<T> extends CustomEvent<T> {
4399 detail: T;
4400 target: HTMLScChoiceContainerElement;
4401 }
4402 export interface ScCompactAddressCustomEvent<T> extends CustomEvent<T> {
4403 detail: T;
4404 target: HTMLScCompactAddressElement;
4405 }
4406 export interface ScConsumerCustomEvent<T> extends CustomEvent<T> {
4407 detail: T;
4408 target: HTMLScConsumerElement;
4409 }
4410 export interface ScCouponFormCustomEvent<T> extends CustomEvent<T> {
4411 detail: T;
4412 target: HTMLScCouponFormElement;
4413 }
4414 export interface ScCustomOrderPriceInputCustomEvent<T> extends CustomEvent<T> {
4415 detail: T;
4416 target: HTMLScCustomOrderPriceInputElement;
4417 }
4418 export interface ScCustomerEmailCustomEvent<T> extends CustomEvent<T> {
4419 detail: T;
4420 target: HTMLScCustomerEmailElement;
4421 }
4422 export interface ScCustomerFirstnameCustomEvent<T> extends CustomEvent<T> {
4423 detail: T;
4424 target: HTMLScCustomerFirstnameElement;
4425 }
4426 export interface ScCustomerLastnameCustomEvent<T> extends CustomEvent<T> {
4427 detail: T;
4428 target: HTMLScCustomerLastnameElement;
4429 }
4430 export interface ScCustomerNameCustomEvent<T> extends CustomEvent<T> {
4431 detail: T;
4432 target: HTMLScCustomerNameElement;
4433 }
4434 export interface ScCustomerPhoneCustomEvent<T> extends CustomEvent<T> {
4435 detail: T;
4436 target: HTMLScCustomerPhoneElement;
4437 }
4438 export interface ScDialogCustomEvent<T> extends CustomEvent<T> {
4439 detail: T;
4440 target: HTMLScDialogElement;
4441 }
4442 export interface ScDonationChoicesCustomEvent<T> extends CustomEvent<T> {
4443 detail: T;
4444 target: HTMLScDonationChoicesElement;
4445 }
4446 export interface ScDrawerCustomEvent<T> extends CustomEvent<T> {
4447 detail: T;
4448 target: HTMLScDrawerElement;
4449 }
4450 export interface ScDropdownCustomEvent<T> extends CustomEvent<T> {
4451 detail: T;
4452 target: HTMLScDropdownElement;
4453 }
4454 export interface ScErrorCustomEvent<T> extends CustomEvent<T> {
4455 detail: T;
4456 target: HTMLScErrorElement;
4457 }
4458 export interface ScFormCustomEvent<T> extends CustomEvent<T> {
4459 detail: T;
4460 target: HTMLScFormElement;
4461 }
4462 export interface ScFormStateProviderCustomEvent<T> extends CustomEvent<T> {
4463 detail: T;
4464 target: HTMLScFormStateProviderElement;
4465 }
4466 export interface ScIconCustomEvent<T> extends CustomEvent<T> {
4467 detail: T;
4468 target: HTMLScIconElement;
4469 }
4470 export interface ScInputCustomEvent<T> extends CustomEvent<T> {
4471 detail: T;
4472 target: HTMLScInputElement;
4473 }
4474 export interface ScLineItemsProviderCustomEvent<T> extends CustomEvent<T> {
4475 detail: T;
4476 target: HTMLScLineItemsProviderElement;
4477 }
4478 export interface ScLoginProviderCustomEvent<T> extends CustomEvent<T> {
4479 detail: T;
4480 target: HTMLScLoginProviderElement;
4481 }
4482 export interface ScMenuCustomEvent<T> extends CustomEvent<T> {
4483 detail: T;
4484 target: HTMLScMenuElement;
4485 }
4486 export interface ScOrderConfirmProviderCustomEvent<T> extends CustomEvent<T> {
4487 detail: T;
4488 target: HTMLScOrderConfirmProviderElement;
4489 }
4490 export interface ScOrderSummaryCustomEvent<T> extends CustomEvent<T> {
4491 detail: T;
4492 target: HTMLScOrderSummaryElement;
4493 }
4494 export interface ScPaginationCustomEvent<T> extends CustomEvent<T> {
4495 detail: T;
4496 target: HTMLScPaginationElement;
4497 }
4498 export interface ScPaypalButtonsCustomEvent<T> extends CustomEvent<T> {
4499 detail: T;
4500 target: HTMLScPaypalButtonsElement;
4501 }
4502 export interface ScPhoneInputCustomEvent<T> extends CustomEvent<T> {
4503 detail: T;
4504 target: HTMLScPhoneInputElement;
4505 }
4506 export interface ScPopoverCustomEvent<T> extends CustomEvent<T> {
4507 detail: T;
4508 target: HTMLScPopoverElement;
4509 }
4510 export interface ScPriceChoiceCustomEvent<T> extends CustomEvent<T> {
4511 detail: T;
4512 target: HTMLScPriceChoiceElement;
4513 }
4514 export interface ScPriceChoiceContainerCustomEvent<T> extends CustomEvent<T> {
4515 detail: T;
4516 target: HTMLScPriceChoiceContainerElement;
4517 }
4518 export interface ScPriceChoicesCustomEvent<T> extends CustomEvent<T> {
4519 detail: T;
4520 target: HTMLScPriceChoicesElement;
4521 }
4522 export interface ScPriceInputCustomEvent<T> extends CustomEvent<T> {
4523 detail: T;
4524 target: HTMLScPriceInputElement;
4525 }
4526 export interface ScProductItemListCustomEvent<T> extends CustomEvent<T> {
4527 detail: T;
4528 target: HTMLScProductItemListElement;
4529 }
4530 export interface ScProductLineItemCustomEvent<T> extends CustomEvent<T> {
4531 detail: T;
4532 target: HTMLScProductLineItemElement;
4533 }
4534 export interface ScProductSelectedPriceCustomEvent<T> extends CustomEvent<T> {
4535 detail: T;
4536 target: HTMLScProductSelectedPriceElement;
4537 }
4538 export interface ScProviderCustomEvent<T> extends CustomEvent<T> {
4539 detail: T;
4540 target: HTMLScProviderElement;
4541 }
4542 export interface ScQuantitySelectCustomEvent<T> extends CustomEvent<T> {
4543 detail: T;
4544 target: HTMLScQuantitySelectElement;
4545 }
4546 export interface ScRadioCustomEvent<T> extends CustomEvent<T> {
4547 detail: T;
4548 target: HTMLScRadioElement;
4549 }
4550 export interface ScRadioGroupCustomEvent<T> extends CustomEvent<T> {
4551 detail: T;
4552 target: HTMLScRadioGroupElement;
4553 }
4554 export interface ScRecurringPriceChoiceContainerCustomEvent<T> extends CustomEvent<T> {
4555 detail: T;
4556 target: HTMLScRecurringPriceChoiceContainerElement;
4557 }
4558 export interface ScRichTextCustomEvent<T> extends CustomEvent<T> {
4559 detail: T;
4560 target: HTMLScRichTextElement;
4561 }
4562 export interface ScSelectCustomEvent<T> extends CustomEvent<T> {
4563 detail: T;
4564 target: HTMLScSelectElement;
4565 }
4566 export interface ScSessionProviderCustomEvent<T> extends CustomEvent<T> {
4567 detail: T;
4568 target: HTMLScSessionProviderElement;
4569 }
4570 export interface ScStripeElementCustomEvent<T> extends CustomEvent<T> {
4571 detail: T;
4572 target: HTMLScStripeElementElement;
4573 }
4574 export interface ScStripePaymentElementCustomEvent<T> extends CustomEvent<T> {
4575 detail: T;
4576 target: HTMLScStripePaymentElementElement;
4577 }
4578 export interface ScStripePaymentRequestCustomEvent<T> extends CustomEvent<T> {
4579 detail: T;
4580 target: HTMLScStripePaymentRequestElement;
4581 }
4582 export interface ScSubscriptionCancelCustomEvent<T> extends CustomEvent<T> {
4583 detail: T;
4584 target: HTMLScSubscriptionCancelElement;
4585 }
4586 export interface ScSubscriptionReactivateCustomEvent<T> extends CustomEvent<T> {
4587 detail: T;
4588 target: HTMLScSubscriptionReactivateElement;
4589 }
4590 export interface ScSummaryCustomEvent<T> extends CustomEvent<T> {
4591 detail: T;
4592 target: HTMLScSummaryElement;
4593 }
4594 export interface ScSwitchCustomEvent<T> extends CustomEvent<T> {
4595 detail: T;
4596 target: HTMLScSwitchElement;
4597 }
4598 export interface ScTabCustomEvent<T> extends CustomEvent<T> {
4599 detail: T;
4600 target: HTMLScTabElement;
4601 }
4602 export interface ScTabGroupCustomEvent<T> extends CustomEvent<T> {
4603 detail: T;
4604 target: HTMLScTabGroupElement;
4605 }
4606 export interface ScTagCustomEvent<T> extends CustomEvent<T> {
4607 detail: T;
4608 target: HTMLScTagElement;
4609 }
4610 export interface ScTaxIdInputCustomEvent<T> extends CustomEvent<T> {
4611 detail: T;
4612 target: HTMLScTaxIdInputElement;
4613 }
4614 export interface ScTextareaCustomEvent<T> extends CustomEvent<T> {
4615 detail: T;
4616 target: HTMLScTextareaElement;
4617 }
4618 export interface ScToggleCustomEvent<T> extends CustomEvent<T> {
4619 detail: T;
4620 target: HTMLScToggleElement;
4621 }
4622 declare global {
4623 interface HTMLScAddressElementEventMap {
4624 "scChangeAddress": Partial<Address>;
4625 "scInputAddress": Partial<Address>;
4626 }
4627 interface HTMLScAddressElement extends Components.ScAddress, HTMLStencilElement {
4628 addEventListener<K extends keyof HTMLScAddressElementEventMap>(type: K, listener: (this: HTMLScAddressElement, ev: ScAddressCustomEvent<HTMLScAddressElementEventMap[K]>) => any, options?: boolean | AddEventListenerOptions): void;
4629 addEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
4630 addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
4631 addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
4632 removeEventListener<K extends keyof HTMLScAddressElementEventMap>(type: K, listener: (this: HTMLScAddressElement, ev: ScAddressCustomEvent<HTMLScAddressElementEventMap[K]>) => any, options?: boolean | EventListenerOptions): void;
4633 removeEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
4634 removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
4635 removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
4636 }
4637 var HTMLScAddressElement: {
4638 prototype: HTMLScAddressElement;
4639 new (): HTMLScAddressElement;
4640 };
4641 interface HTMLScAddressSuggestionsElementEventMap {
4642 "scChangeAddress": Address;
4643 "scShowAddressFields": void;
4644 "scHideAddressFields": void;
4645 }
4646 interface HTMLScAddressSuggestionsElement extends Components.ScAddressSuggestions, HTMLStencilElement {
4647 addEventListener<K extends keyof HTMLScAddressSuggestionsElementEventMap>(type: K, listener: (this: HTMLScAddressSuggestionsElement, ev: ScAddressSuggestionsCustomEvent<HTMLScAddressSuggestionsElementEventMap[K]>) => any, options?: boolean | AddEventListenerOptions): void;
4648 addEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
4649 addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
4650 addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
4651 removeEventListener<K extends keyof HTMLScAddressSuggestionsElementEventMap>(type: K, listener: (this: HTMLScAddressSuggestionsElement, ev: ScAddressSuggestionsCustomEvent<HTMLScAddressSuggestionsElementEventMap[K]>) => any, options?: boolean | EventListenerOptions): void;
4652 removeEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
4653 removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
4654 removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
4655 }
4656 var HTMLScAddressSuggestionsElement: {
4657 prototype: HTMLScAddressSuggestionsElement;
4658 new (): HTMLScAddressSuggestionsElement;
4659 };
4660 interface HTMLScAlertElementEventMap {
4661 "scHide": void;
4662 "scShow": void;
4663 }
4664 interface HTMLScAlertElement extends Components.ScAlert, HTMLStencilElement {
4665 addEventListener<K extends keyof HTMLScAlertElementEventMap>(type: K, listener: (this: HTMLScAlertElement, ev: ScAlertCustomEvent<HTMLScAlertElementEventMap[K]>) => any, options?: boolean | AddEventListenerOptions): void;
4666 addEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
4667 addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
4668 addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
4669 removeEventListener<K extends keyof HTMLScAlertElementEventMap>(type: K, listener: (this: HTMLScAlertElement, ev: ScAlertCustomEvent<HTMLScAlertElementEventMap[K]>) => any, options?: boolean | EventListenerOptions): void;
4670 removeEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
4671 removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
4672 removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
4673 }
4674 var HTMLScAlertElement: {
4675 prototype: HTMLScAlertElement;
4676 new (): HTMLScAlertElement;
4677 };
4678 interface HTMLScAvatarElement extends Components.ScAvatar, HTMLStencilElement {
4679 }
4680 var HTMLScAvatarElement: {
4681 prototype: HTMLScAvatarElement;
4682 new (): HTMLScAvatarElement;
4683 };
4684 interface HTMLScBadgeNoticeElement extends Components.ScBadgeNotice, HTMLStencilElement {
4685 }
4686 var HTMLScBadgeNoticeElement: {
4687 prototype: HTMLScBadgeNoticeElement;
4688 new (): HTMLScBadgeNoticeElement;
4689 };
4690 interface HTMLScBlockUiElement extends Components.ScBlockUi, HTMLStencilElement {
4691 }
4692 var HTMLScBlockUiElement: {
4693 prototype: HTMLScBlockUiElement;
4694 new (): HTMLScBlockUiElement;
4695 };
4696 interface HTMLScBreadcrumbElement extends Components.ScBreadcrumb, HTMLStencilElement {
4697 }
4698 var HTMLScBreadcrumbElement: {
4699 prototype: HTMLScBreadcrumbElement;
4700 new (): HTMLScBreadcrumbElement;
4701 };
4702 interface HTMLScBreadcrumbsElement extends Components.ScBreadcrumbs, HTMLStencilElement {
4703 }
4704 var HTMLScBreadcrumbsElement: {
4705 prototype: HTMLScBreadcrumbsElement;
4706 new (): HTMLScBreadcrumbsElement;
4707 };
4708 interface HTMLScButtonElementEventMap {
4709 "scBlur": void;
4710 "scFocus": void;
4711 }
4712 interface HTMLScButtonElement extends Components.ScButton, HTMLStencilElement {
4713 addEventListener<K extends keyof HTMLScButtonElementEventMap>(type: K, listener: (this: HTMLScButtonElement, ev: ScButtonCustomEvent<HTMLScButtonElementEventMap[K]>) => any, options?: boolean | AddEventListenerOptions): void;
4714 addEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
4715 addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
4716 addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
4717 removeEventListener<K extends keyof HTMLScButtonElementEventMap>(type: K, listener: (this: HTMLScButtonElement, ev: ScButtonCustomEvent<HTMLScButtonElementEventMap[K]>) => any, options?: boolean | EventListenerOptions): void;
4718 removeEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
4719 removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
4720 removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
4721 }
4722 var HTMLScButtonElement: {
4723 prototype: HTMLScButtonElement;
4724 new (): HTMLScButtonElement;
4725 };
4726 interface HTMLScButtonGroupElement extends Components.ScButtonGroup, HTMLStencilElement {
4727 }
4728 var HTMLScButtonGroupElement: {
4729 prototype: HTMLScButtonGroupElement;
4730 new (): HTMLScButtonGroupElement;
4731 };
4732 interface HTMLScCancelDialogElementEventMap {
4733 "scRequestClose": 'close-button' | 'keyboard' | 'overlay';
4734 "scRefresh": void;
4735 }
4736 interface HTMLScCancelDialogElement extends Components.ScCancelDialog, HTMLStencilElement {
4737 addEventListener<K extends keyof HTMLScCancelDialogElementEventMap>(type: K, listener: (this: HTMLScCancelDialogElement, ev: ScCancelDialogCustomEvent<HTMLScCancelDialogElementEventMap[K]>) => any, options?: boolean | AddEventListenerOptions): void;
4738 addEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
4739 addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
4740 addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
4741 removeEventListener<K extends keyof HTMLScCancelDialogElementEventMap>(type: K, listener: (this: HTMLScCancelDialogElement, ev: ScCancelDialogCustomEvent<HTMLScCancelDialogElementEventMap[K]>) => any, options?: boolean | EventListenerOptions): void;
4742 removeEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
4743 removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
4744 removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
4745 }
4746 var HTMLScCancelDialogElement: {
4747 prototype: HTMLScCancelDialogElement;
4748 new (): HTMLScCancelDialogElement;
4749 };
4750 interface HTMLScCancelDiscountElementEventMap {
4751 "scCancel": void;
4752 "scPreserved": void;
4753 }
4754 interface HTMLScCancelDiscountElement extends Components.ScCancelDiscount, HTMLStencilElement {
4755 addEventListener<K extends keyof HTMLScCancelDiscountElementEventMap>(type: K, listener: (this: HTMLScCancelDiscountElement, ev: ScCancelDiscountCustomEvent<HTMLScCancelDiscountElementEventMap[K]>) => any, options?: boolean | AddEventListenerOptions): void;
4756 addEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
4757 addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
4758 addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
4759 removeEventListener<K extends keyof HTMLScCancelDiscountElementEventMap>(type: K, listener: (this: HTMLScCancelDiscountElement, ev: ScCancelDiscountCustomEvent<HTMLScCancelDiscountElementEventMap[K]>) => any, options?: boolean | EventListenerOptions): void;
4760 removeEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
4761 removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
4762 removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
4763 }
4764 var HTMLScCancelDiscountElement: {
4765 prototype: HTMLScCancelDiscountElement;
4766 new (): HTMLScCancelDiscountElement;
4767 };
4768 interface HTMLScCancelSurveyElementEventMap {
4769 "scAbandon": void;
4770 "scSubmitReason": { reason: CancellationReason; comment: string };
4771 }
4772 interface HTMLScCancelSurveyElement extends Components.ScCancelSurvey, HTMLStencilElement {
4773 addEventListener<K extends keyof HTMLScCancelSurveyElementEventMap>(type: K, listener: (this: HTMLScCancelSurveyElement, ev: ScCancelSurveyCustomEvent<HTMLScCancelSurveyElementEventMap[K]>) => any, options?: boolean | AddEventListenerOptions): void;
4774 addEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
4775 addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
4776 addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
4777 removeEventListener<K extends keyof HTMLScCancelSurveyElementEventMap>(type: K, listener: (this: HTMLScCancelSurveyElement, ev: ScCancelSurveyCustomEvent<HTMLScCancelSurveyElementEventMap[K]>) => any, options?: boolean | EventListenerOptions): void;
4778 removeEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
4779 removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
4780 removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
4781 }
4782 var HTMLScCancelSurveyElement: {
4783 prototype: HTMLScCancelSurveyElement;
4784 new (): HTMLScCancelSurveyElement;
4785 };
4786 interface HTMLScCardElement extends Components.ScCard, HTMLStencilElement {
4787 }
4788 var HTMLScCardElement: {
4789 prototype: HTMLScCardElement;
4790 new (): HTMLScCardElement;
4791 };
4792 interface HTMLScCartElement extends Components.ScCart, HTMLStencilElement {
4793 }
4794 var HTMLScCartElement: {
4795 prototype: HTMLScCartElement;
4796 new (): HTMLScCartElement;
4797 };
4798 interface HTMLScCartButtonElement extends Components.ScCartButton, HTMLStencilElement {
4799 }
4800 var HTMLScCartButtonElement: {
4801 prototype: HTMLScCartButtonElement;
4802 new (): HTMLScCartButtonElement;
4803 };
4804 interface HTMLScCartFormElement extends Components.ScCartForm, HTMLStencilElement {
4805 }
4806 var HTMLScCartFormElement: {
4807 prototype: HTMLScCartFormElement;
4808 new (): HTMLScCartFormElement;
4809 };
4810 interface HTMLScCartFormSubmitElement extends Components.ScCartFormSubmit, HTMLStencilElement {
4811 }
4812 var HTMLScCartFormSubmitElement: {
4813 prototype: HTMLScCartFormSubmitElement;
4814 new (): HTMLScCartFormSubmitElement;
4815 };
4816 interface HTMLScCartHeaderElementEventMap {
4817 "scCloseCart": void;
4818 }
4819 interface HTMLScCartHeaderElement extends Components.ScCartHeader, HTMLStencilElement {
4820 addEventListener<K extends keyof HTMLScCartHeaderElementEventMap>(type: K, listener: (this: HTMLScCartHeaderElement, ev: ScCartHeaderCustomEvent<HTMLScCartHeaderElementEventMap[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 HTMLScCartHeaderElementEventMap>(type: K, listener: (this: HTMLScCartHeaderElement, ev: ScCartHeaderCustomEvent<HTMLScCartHeaderElementEventMap[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 HTMLScCartHeaderElement: {
4830 prototype: HTMLScCartHeaderElement;
4831 new (): HTMLScCartHeaderElement;
4832 };
4833 interface HTMLScCartIconElement extends Components.ScCartIcon, HTMLStencilElement {
4834 }
4835 var HTMLScCartIconElement: {
4836 prototype: HTMLScCartIconElement;
4837 new (): HTMLScCartIconElement;
4838 };
4839 interface HTMLScCartLoaderElement extends Components.ScCartLoader, HTMLStencilElement {
4840 }
4841 var HTMLScCartLoaderElement: {
4842 prototype: HTMLScCartLoaderElement;
4843 new (): HTMLScCartLoaderElement;
4844 };
4845 interface HTMLScCartSessionProviderElementEventMap {
4846 "scSetState": 'loading' | 'busy' | 'navigating' | 'idle';
4847 }
4848 interface HTMLScCartSessionProviderElement extends Components.ScCartSessionProvider, HTMLStencilElement {
4849 addEventListener<K extends keyof HTMLScCartSessionProviderElementEventMap>(type: K, listener: (this: HTMLScCartSessionProviderElement, ev: ScCartSessionProviderCustomEvent<HTMLScCartSessionProviderElementEventMap[K]>) => any, options?: boolean | AddEventListenerOptions): void;
4850 addEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
4851 addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
4852 addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
4853 removeEventListener<K extends keyof HTMLScCartSessionProviderElementEventMap>(type: K, listener: (this: HTMLScCartSessionProviderElement, ev: ScCartSessionProviderCustomEvent<HTMLScCartSessionProviderElementEventMap[K]>) => any, options?: boolean | EventListenerOptions): void;
4854 removeEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
4855 removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
4856 removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
4857 }
4858 var HTMLScCartSessionProviderElement: {
4859 prototype: HTMLScCartSessionProviderElement;
4860 new (): HTMLScCartSessionProviderElement;
4861 };
4862 interface HTMLScCartSubmitElement extends Components.ScCartSubmit, HTMLStencilElement {
4863 }
4864 var HTMLScCartSubmitElement: {
4865 prototype: HTMLScCartSubmitElement;
4866 new (): HTMLScCartSubmitElement;
4867 };
4868 interface HTMLScCcLogoElement extends Components.ScCcLogo, HTMLStencilElement {
4869 }
4870 var HTMLScCcLogoElement: {
4871 prototype: HTMLScCcLogoElement;
4872 new (): HTMLScCcLogoElement;
4873 };
4874 interface HTMLScChargesListElement extends Components.ScChargesList, HTMLStencilElement {
4875 }
4876 var HTMLScChargesListElement: {
4877 prototype: HTMLScChargesListElement;
4878 new (): HTMLScChargesListElement;
4879 };
4880 interface HTMLScCheckboxElementEventMap {
4881 "scBlur": void;
4882 "scChange": void;
4883 "scFocus": void;
4884 }
4885 interface HTMLScCheckboxElement extends Components.ScCheckbox, HTMLStencilElement {
4886 addEventListener<K extends keyof HTMLScCheckboxElementEventMap>(type: K, listener: (this: HTMLScCheckboxElement, ev: ScCheckboxCustomEvent<HTMLScCheckboxElementEventMap[K]>) => any, options?: boolean | AddEventListenerOptions): void;
4887 addEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
4888 addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
4889 addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
4890 removeEventListener<K extends keyof HTMLScCheckboxElementEventMap>(type: K, listener: (this: HTMLScCheckboxElement, ev: ScCheckboxCustomEvent<HTMLScCheckboxElementEventMap[K]>) => any, options?: boolean | EventListenerOptions): void;
4891 removeEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
4892 removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
4893 removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
4894 }
4895 var HTMLScCheckboxElement: {
4896 prototype: HTMLScCheckboxElement;
4897 new (): HTMLScCheckboxElement;
4898 };
4899 interface HTMLScCheckoutElementEventMap {
4900 "scOrderUpdated": Checkout;
4901 "scOrderFinalized": Checkout;
4902 "scOrderError": ResponseError;
4903 }
4904 interface HTMLScCheckoutElement extends Components.ScCheckout, HTMLStencilElement {
4905 addEventListener<K extends keyof HTMLScCheckoutElementEventMap>(type: K, listener: (this: HTMLScCheckoutElement, ev: ScCheckoutCustomEvent<HTMLScCheckoutElementEventMap[K]>) => any, options?: boolean | AddEventListenerOptions): void;
4906 addEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
4907 addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
4908 addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
4909 removeEventListener<K extends keyof HTMLScCheckoutElementEventMap>(type: K, listener: (this: HTMLScCheckoutElement, ev: ScCheckoutCustomEvent<HTMLScCheckoutElementEventMap[K]>) => any, options?: boolean | EventListenerOptions): void;
4910 removeEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
4911 removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
4912 removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
4913 }
4914 var HTMLScCheckoutElement: {
4915 prototype: HTMLScCheckoutElement;
4916 new (): HTMLScCheckoutElement;
4917 };
4918 interface HTMLScCheckoutAutofillProviderElement extends Components.ScCheckoutAutofillProvider, HTMLStencilElement {
4919 }
4920 var HTMLScCheckoutAutofillProviderElement: {
4921 prototype: HTMLScCheckoutAutofillProviderElement;
4922 new (): HTMLScCheckoutAutofillProviderElement;
4923 };
4924 /**
4925 * This component listens for a confirmed event and redirects to the success url.
4926 */
4927 interface HTMLScCheckoutFormErrorsElement extends Components.ScCheckoutFormErrors, HTMLStencilElement {
4928 }
4929 var HTMLScCheckoutFormErrorsElement: {
4930 prototype: HTMLScCheckoutFormErrorsElement;
4931 new (): HTMLScCheckoutFormErrorsElement;
4932 };
4933 /**
4934 * Explains why location is requested (e.g. regional / purchasing-power-parity pricing) and gates
4935 * the browser geolocation prompt behind an explicit opt-in when capture is enabled by the merchant.
4936 */
4937 interface HTMLScCheckoutGeoPermissionElement extends Components.ScCheckoutGeoPermission, HTMLStencilElement {
4938 }
4939 var HTMLScCheckoutGeoPermissionElement: {
4940 prototype: HTMLScCheckoutGeoPermissionElement;
4941 new (): HTMLScCheckoutGeoPermissionElement;
4942 };
4943 interface HTMLScCheckoutMolliePaymentElement extends Components.ScCheckoutMolliePayment, HTMLStencilElement {
4944 }
4945 var HTMLScCheckoutMolliePaymentElement: {
4946 prototype: HTMLScCheckoutMolliePaymentElement;
4947 new (): HTMLScCheckoutMolliePaymentElement;
4948 };
4949 interface HTMLScCheckoutPaystackPaymentProviderElement extends Components.ScCheckoutPaystackPaymentProvider, HTMLStencilElement {
4950 }
4951 var HTMLScCheckoutPaystackPaymentProviderElement: {
4952 prototype: HTMLScCheckoutPaystackPaymentProviderElement;
4953 new (): HTMLScCheckoutPaystackPaymentProviderElement;
4954 };
4955 interface HTMLScCheckoutProductPriceVariantSelectorElement extends Components.ScCheckoutProductPriceVariantSelector, HTMLStencilElement {
4956 }
4957 var HTMLScCheckoutProductPriceVariantSelectorElement: {
4958 prototype: HTMLScCheckoutProductPriceVariantSelectorElement;
4959 new (): HTMLScCheckoutProductPriceVariantSelectorElement;
4960 };
4961 interface HTMLScCheckoutRazorpayPaymentProviderElement extends Components.ScCheckoutRazorpayPaymentProvider, HTMLStencilElement {
4962 }
4963 var HTMLScCheckoutRazorpayPaymentProviderElement: {
4964 prototype: HTMLScCheckoutRazorpayPaymentProviderElement;
4965 new (): HTMLScCheckoutRazorpayPaymentProviderElement;
4966 };
4967 interface HTMLScCheckoutStockAlertElementEventMap {
4968 "scUpdateLineItem": LineItemData;
4969 }
4970 /**
4971 * This component listens for stock requirements and displays a dialog to the user.
4972 */
4973 interface HTMLScCheckoutStockAlertElement extends Components.ScCheckoutStockAlert, HTMLStencilElement {
4974 addEventListener<K extends keyof HTMLScCheckoutStockAlertElementEventMap>(type: K, listener: (this: HTMLScCheckoutStockAlertElement, ev: ScCheckoutStockAlertCustomEvent<HTMLScCheckoutStockAlertElementEventMap[K]>) => any, options?: boolean | AddEventListenerOptions): void;
4975 addEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
4976 addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
4977 addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
4978 removeEventListener<K extends keyof HTMLScCheckoutStockAlertElementEventMap>(type: K, listener: (this: HTMLScCheckoutStockAlertElement, ev: ScCheckoutStockAlertCustomEvent<HTMLScCheckoutStockAlertElementEventMap[K]>) => any, options?: boolean | EventListenerOptions): void;
4979 removeEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
4980 removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
4981 removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
4982 }
4983 var HTMLScCheckoutStockAlertElement: {
4984 prototype: HTMLScCheckoutStockAlertElement;
4985 new (): HTMLScCheckoutStockAlertElement;
4986 };
4987 interface HTMLScCheckoutTestCompleteElementEventMap {
4988 "scOrderPaid": Checkout;
4989 "scSetState": string;
4990 }
4991 /**
4992 * This component listens to the order status
4993 * and confirms the order when payment is successful.
4994 */
4995 interface HTMLScCheckoutTestCompleteElement extends Components.ScCheckoutTestComplete, HTMLStencilElement {
4996 addEventListener<K extends keyof HTMLScCheckoutTestCompleteElementEventMap>(type: K, listener: (this: HTMLScCheckoutTestCompleteElement, ev: ScCheckoutTestCompleteCustomEvent<HTMLScCheckoutTestCompleteElementEventMap[K]>) => any, options?: boolean | AddEventListenerOptions): void;
4997 addEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
4998 addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
4999 addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
5000 removeEventListener<K extends keyof HTMLScCheckoutTestCompleteElementEventMap>(type: K, listener: (this: HTMLScCheckoutTestCompleteElement, ev: ScCheckoutTestCompleteCustomEvent<HTMLScCheckoutTestCompleteElementEventMap[K]>) => any, options?: boolean | EventListenerOptions): void;
5001 removeEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
5002 removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
5003 removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
5004 }
5005 var HTMLScCheckoutTestCompleteElement: {
5006 prototype: HTMLScCheckoutTestCompleteElement;
5007 new (): HTMLScCheckoutTestCompleteElement;
5008 };
5009 interface HTMLScCheckoutUnsavedChangesWarningElement extends Components.ScCheckoutUnsavedChangesWarning, HTMLStencilElement {
5010 }
5011 var HTMLScCheckoutUnsavedChangesWarningElement: {
5012 prototype: HTMLScCheckoutUnsavedChangesWarningElement;
5013 new (): HTMLScCheckoutUnsavedChangesWarningElement;
5014 };
5015 interface HTMLScChoiceElementEventMap {
5016 "scBlur": void;
5017 "scChange": boolean;
5018 "scFocus": void;
5019 }
5020 interface HTMLScChoiceElement extends Components.ScChoice, HTMLStencilElement {
5021 addEventListener<K extends keyof HTMLScChoiceElementEventMap>(type: K, listener: (this: HTMLScChoiceElement, ev: ScChoiceCustomEvent<HTMLScChoiceElementEventMap[K]>) => any, options?: boolean | AddEventListenerOptions): void;
5022 addEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
5023 addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
5024 addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
5025 removeEventListener<K extends keyof HTMLScChoiceElementEventMap>(type: K, listener: (this: HTMLScChoiceElement, ev: ScChoiceCustomEvent<HTMLScChoiceElementEventMap[K]>) => any, options?: boolean | EventListenerOptions): void;
5026 removeEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
5027 removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
5028 removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
5029 }
5030 var HTMLScChoiceElement: {
5031 prototype: HTMLScChoiceElement;
5032 new (): HTMLScChoiceElement;
5033 };
5034 interface HTMLScChoiceContainerElementEventMap {
5035 "scBlur": void;
5036 "scChange": boolean;
5037 "scFocus": void;
5038 }
5039 interface HTMLScChoiceContainerElement extends Components.ScChoiceContainer, HTMLStencilElement {
5040 addEventListener<K extends keyof HTMLScChoiceContainerElementEventMap>(type: K, listener: (this: HTMLScChoiceContainerElement, ev: ScChoiceContainerCustomEvent<HTMLScChoiceContainerElementEventMap[K]>) => any, options?: boolean | AddEventListenerOptions): void;
5041 addEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
5042 addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
5043 addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
5044 removeEventListener<K extends keyof HTMLScChoiceContainerElementEventMap>(type: K, listener: (this: HTMLScChoiceContainerElement, ev: ScChoiceContainerCustomEvent<HTMLScChoiceContainerElementEventMap[K]>) => any, options?: boolean | EventListenerOptions): void;
5045 removeEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
5046 removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
5047 removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
5048 }
5049 var HTMLScChoiceContainerElement: {
5050 prototype: HTMLScChoiceContainerElement;
5051 new (): HTMLScChoiceContainerElement;
5052 };
5053 interface HTMLScChoicesElement extends Components.ScChoices, HTMLStencilElement {
5054 }
5055 var HTMLScChoicesElement: {
5056 prototype: HTMLScChoicesElement;
5057 new (): HTMLScChoicesElement;
5058 };
5059 interface HTMLScColumnElement extends Components.ScColumn, HTMLStencilElement {
5060 }
5061 var HTMLScColumnElement: {
5062 prototype: HTMLScColumnElement;
5063 new (): HTMLScColumnElement;
5064 };
5065 interface HTMLScColumnsElement extends Components.ScColumns, HTMLStencilElement {
5066 }
5067 var HTMLScColumnsElement: {
5068 prototype: HTMLScColumnsElement;
5069 new (): HTMLScColumnsElement;
5070 };
5071 interface HTMLScCompactAddressElementEventMap {
5072 "scChangeAddress": Partial<Address>;
5073 "scInputAddress": Partial<Address>;
5074 }
5075 interface HTMLScCompactAddressElement extends Components.ScCompactAddress, HTMLStencilElement {
5076 addEventListener<K extends keyof HTMLScCompactAddressElementEventMap>(type: K, listener: (this: HTMLScCompactAddressElement, ev: ScCompactAddressCustomEvent<HTMLScCompactAddressElementEventMap[K]>) => any, options?: boolean | AddEventListenerOptions): void;
5077 addEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
5078 addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
5079 addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
5080 removeEventListener<K extends keyof HTMLScCompactAddressElementEventMap>(type: K, listener: (this: HTMLScCompactAddressElement, ev: ScCompactAddressCustomEvent<HTMLScCompactAddressElementEventMap[K]>) => any, options?: boolean | EventListenerOptions): void;
5081 removeEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
5082 removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
5083 removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
5084 }
5085 var HTMLScCompactAddressElement: {
5086 prototype: HTMLScCompactAddressElement;
5087 new (): HTMLScCompactAddressElement;
5088 };
5089 interface HTMLScConditionalFormElement extends Components.ScConditionalForm, HTMLStencilElement {
5090 }
5091 var HTMLScConditionalFormElement: {
5092 prototype: HTMLScConditionalFormElement;
5093 new (): HTMLScConditionalFormElement;
5094 };
5095 interface HTMLScConsumerElementEventMap {
5096 "mountConsumer": any;
5097 }
5098 interface HTMLScConsumerElement extends Components.ScConsumer, HTMLStencilElement {
5099 addEventListener<K extends keyof HTMLScConsumerElementEventMap>(type: K, listener: (this: HTMLScConsumerElement, ev: ScConsumerCustomEvent<HTMLScConsumerElementEventMap[K]>) => any, options?: boolean | AddEventListenerOptions): void;
5100 addEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
5101 addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
5102 addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
5103 removeEventListener<K extends keyof HTMLScConsumerElementEventMap>(type: K, listener: (this: HTMLScConsumerElement, ev: ScConsumerCustomEvent<HTMLScConsumerElementEventMap[K]>) => any, options?: boolean | EventListenerOptions): void;
5104 removeEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
5105 removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
5106 removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
5107 }
5108 var HTMLScConsumerElement: {
5109 prototype: HTMLScConsumerElement;
5110 new (): HTMLScConsumerElement;
5111 };
5112 interface HTMLScCouponFormElementEventMap {
5113 "scApplyCoupon": string;
5114 }
5115 interface HTMLScCouponFormElement extends Components.ScCouponForm, HTMLStencilElement {
5116 addEventListener<K extends keyof HTMLScCouponFormElementEventMap>(type: K, listener: (this: HTMLScCouponFormElement, ev: ScCouponFormCustomEvent<HTMLScCouponFormElementEventMap[K]>) => any, options?: boolean | AddEventListenerOptions): void;
5117 addEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
5118 addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
5119 addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
5120 removeEventListener<K extends keyof HTMLScCouponFormElementEventMap>(type: K, listener: (this: HTMLScCouponFormElement, ev: ScCouponFormCustomEvent<HTMLScCouponFormElementEventMap[K]>) => any, options?: boolean | EventListenerOptions): void;
5121 removeEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
5122 removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
5123 removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
5124 }
5125 var HTMLScCouponFormElement: {
5126 prototype: HTMLScCouponFormElement;
5127 new (): HTMLScCouponFormElement;
5128 };
5129 interface HTMLScCustomOrderPriceInputElementEventMap {
5130 "scUpdateLineItem": LineItemData1;
5131 }
5132 interface HTMLScCustomOrderPriceInputElement extends Components.ScCustomOrderPriceInput, HTMLStencilElement {
5133 addEventListener<K extends keyof HTMLScCustomOrderPriceInputElementEventMap>(type: K, listener: (this: HTMLScCustomOrderPriceInputElement, ev: ScCustomOrderPriceInputCustomEvent<HTMLScCustomOrderPriceInputElementEventMap[K]>) => any, options?: boolean | AddEventListenerOptions): void;
5134 addEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
5135 addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
5136 addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
5137 removeEventListener<K extends keyof HTMLScCustomOrderPriceInputElementEventMap>(type: K, listener: (this: HTMLScCustomOrderPriceInputElement, ev: ScCustomOrderPriceInputCustomEvent<HTMLScCustomOrderPriceInputElementEventMap[K]>) => any, options?: boolean | EventListenerOptions): void;
5138 removeEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
5139 removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
5140 removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
5141 }
5142 var HTMLScCustomOrderPriceInputElement: {
5143 prototype: HTMLScCustomOrderPriceInputElement;
5144 new (): HTMLScCustomOrderPriceInputElement;
5145 };
5146 interface HTMLScCustomerDetailsElement extends Components.ScCustomerDetails, HTMLStencilElement {
5147 }
5148 var HTMLScCustomerDetailsElement: {
5149 prototype: HTMLScCustomerDetailsElement;
5150 new (): HTMLScCustomerDetailsElement;
5151 };
5152 interface HTMLScCustomerEditElement extends Components.ScCustomerEdit, HTMLStencilElement {
5153 }
5154 var HTMLScCustomerEditElement: {
5155 prototype: HTMLScCustomerEditElement;
5156 new (): HTMLScCustomerEditElement;
5157 };
5158 interface HTMLScCustomerEmailElementEventMap {
5159 "scChange": void;
5160 "scClear": void;
5161 "scInput": void;
5162 "scFocus": void;
5163 "scBlur": void;
5164 "scUpdateOrderState": Checkout;
5165 "scUpdateAbandonedCart": boolean;
5166 "scLoginPrompt": void;
5167 }
5168 interface HTMLScCustomerEmailElement extends Components.ScCustomerEmail, HTMLStencilElement {
5169 addEventListener<K extends keyof HTMLScCustomerEmailElementEventMap>(type: K, listener: (this: HTMLScCustomerEmailElement, ev: ScCustomerEmailCustomEvent<HTMLScCustomerEmailElementEventMap[K]>) => any, options?: boolean | AddEventListenerOptions): void;
5170 addEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
5171 addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
5172 addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
5173 removeEventListener<K extends keyof HTMLScCustomerEmailElementEventMap>(type: K, listener: (this: HTMLScCustomerEmailElement, ev: ScCustomerEmailCustomEvent<HTMLScCustomerEmailElementEventMap[K]>) => any, options?: boolean | EventListenerOptions): void;
5174 removeEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
5175 removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
5176 removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
5177 }
5178 var HTMLScCustomerEmailElement: {
5179 prototype: HTMLScCustomerEmailElement;
5180 new (): HTMLScCustomerEmailElement;
5181 };
5182 interface HTMLScCustomerFirstnameElementEventMap {
5183 "scChange": void;
5184 "scUpdateOrderState": Partial<Checkout>;
5185 "scClear": void;
5186 "scInput": void;
5187 "scFocus": void;
5188 "scBlur": void;
5189 "scUpdateCustomer": { email: string };
5190 }
5191 interface HTMLScCustomerFirstnameElement extends Components.ScCustomerFirstname, HTMLStencilElement {
5192 addEventListener<K extends keyof HTMLScCustomerFirstnameElementEventMap>(type: K, listener: (this: HTMLScCustomerFirstnameElement, ev: ScCustomerFirstnameCustomEvent<HTMLScCustomerFirstnameElementEventMap[K]>) => any, options?: boolean | AddEventListenerOptions): void;
5193 addEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
5194 addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
5195 addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
5196 removeEventListener<K extends keyof HTMLScCustomerFirstnameElementEventMap>(type: K, listener: (this: HTMLScCustomerFirstnameElement, ev: ScCustomerFirstnameCustomEvent<HTMLScCustomerFirstnameElementEventMap[K]>) => any, options?: boolean | EventListenerOptions): void;
5197 removeEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
5198 removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
5199 removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
5200 }
5201 var HTMLScCustomerFirstnameElement: {
5202 prototype: HTMLScCustomerFirstnameElement;
5203 new (): HTMLScCustomerFirstnameElement;
5204 };
5205 interface HTMLScCustomerLastnameElementEventMap {
5206 "scInput": void;
5207 "scFocus": void;
5208 "scBlur": void;
5209 }
5210 interface HTMLScCustomerLastnameElement extends Components.ScCustomerLastname, HTMLStencilElement {
5211 addEventListener<K extends keyof HTMLScCustomerLastnameElementEventMap>(type: K, listener: (this: HTMLScCustomerLastnameElement, ev: ScCustomerLastnameCustomEvent<HTMLScCustomerLastnameElementEventMap[K]>) => any, options?: boolean | AddEventListenerOptions): void;
5212 addEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
5213 addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
5214 addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
5215 removeEventListener<K extends keyof HTMLScCustomerLastnameElementEventMap>(type: K, listener: (this: HTMLScCustomerLastnameElement, ev: ScCustomerLastnameCustomEvent<HTMLScCustomerLastnameElementEventMap[K]>) => any, options?: boolean | EventListenerOptions): void;
5216 removeEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
5217 removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
5218 removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
5219 }
5220 var HTMLScCustomerLastnameElement: {
5221 prototype: HTMLScCustomerLastnameElement;
5222 new (): HTMLScCustomerLastnameElement;
5223 };
5224 interface HTMLScCustomerLoginElement extends Components.ScCustomerLogin, HTMLStencilElement {
5225 }
5226 var HTMLScCustomerLoginElement: {
5227 prototype: HTMLScCustomerLoginElement;
5228 new (): HTMLScCustomerLoginElement;
5229 };
5230 interface HTMLScCustomerNameElementEventMap {
5231 "scInput": void;
5232 "scFocus": void;
5233 "scBlur": void;
5234 }
5235 interface HTMLScCustomerNameElement extends Components.ScCustomerName, HTMLStencilElement {
5236 addEventListener<K extends keyof HTMLScCustomerNameElementEventMap>(type: K, listener: (this: HTMLScCustomerNameElement, ev: ScCustomerNameCustomEvent<HTMLScCustomerNameElementEventMap[K]>) => any, options?: boolean | AddEventListenerOptions): void;
5237 addEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
5238 addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
5239 addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
5240 removeEventListener<K extends keyof HTMLScCustomerNameElementEventMap>(type: K, listener: (this: HTMLScCustomerNameElement, ev: ScCustomerNameCustomEvent<HTMLScCustomerNameElementEventMap[K]>) => any, options?: boolean | EventListenerOptions): void;
5241 removeEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
5242 removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
5243 removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
5244 }
5245 var HTMLScCustomerNameElement: {
5246 prototype: HTMLScCustomerNameElement;
5247 new (): HTMLScCustomerNameElement;
5248 };
5249 interface HTMLScCustomerPhoneElementEventMap {
5250 "scChange": void;
5251 "scClear": void;
5252 "scInput": void;
5253 "scFocus": void;
5254 "scBlur": void;
5255 }
5256 interface HTMLScCustomerPhoneElement extends Components.ScCustomerPhone, HTMLStencilElement {
5257 addEventListener<K extends keyof HTMLScCustomerPhoneElementEventMap>(type: K, listener: (this: HTMLScCustomerPhoneElement, ev: ScCustomerPhoneCustomEvent<HTMLScCustomerPhoneElementEventMap[K]>) => any, options?: boolean | AddEventListenerOptions): void;
5258 addEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
5259 addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
5260 addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
5261 removeEventListener<K extends keyof HTMLScCustomerPhoneElementEventMap>(type: K, listener: (this: HTMLScCustomerPhoneElement, ev: ScCustomerPhoneCustomEvent<HTMLScCustomerPhoneElementEventMap[K]>) => any, options?: boolean | EventListenerOptions): void;
5262 removeEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
5263 removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
5264 removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
5265 }
5266 var HTMLScCustomerPhoneElement: {
5267 prototype: HTMLScCustomerPhoneElement;
5268 new (): HTMLScCustomerPhoneElement;
5269 };
5270 interface HTMLScDashboardCustomerDetailsElement extends Components.ScDashboardCustomerDetails, HTMLStencilElement {
5271 }
5272 var HTMLScDashboardCustomerDetailsElement: {
5273 prototype: HTMLScDashboardCustomerDetailsElement;
5274 new (): HTMLScDashboardCustomerDetailsElement;
5275 };
5276 interface HTMLScDashboardDownloadsListElement extends Components.ScDashboardDownloadsList, HTMLStencilElement {
5277 }
5278 var HTMLScDashboardDownloadsListElement: {
5279 prototype: HTMLScDashboardDownloadsListElement;
5280 new (): HTMLScDashboardDownloadsListElement;
5281 };
5282 interface HTMLScDashboardModuleElement extends Components.ScDashboardModule, HTMLStencilElement {
5283 }
5284 var HTMLScDashboardModuleElement: {
5285 prototype: HTMLScDashboardModuleElement;
5286 new (): HTMLScDashboardModuleElement;
5287 };
5288 interface HTMLScDialogElementEventMap {
5289 "scRequestClose": 'close-button' | 'keyboard' | 'overlay';
5290 "scShow": void;
5291 "scAfterShow": void;
5292 "scHide": void;
5293 "scAfterHide": void;
5294 "scInitialFocus": void;
5295 }
5296 interface HTMLScDialogElement extends Components.ScDialog, HTMLStencilElement {
5297 addEventListener<K extends keyof HTMLScDialogElementEventMap>(type: K, listener: (this: HTMLScDialogElement, ev: ScDialogCustomEvent<HTMLScDialogElementEventMap[K]>) => any, options?: boolean | AddEventListenerOptions): void;
5298 addEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
5299 addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
5300 addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
5301 removeEventListener<K extends keyof HTMLScDialogElementEventMap>(type: K, listener: (this: HTMLScDialogElement, ev: ScDialogCustomEvent<HTMLScDialogElementEventMap[K]>) => any, options?: boolean | EventListenerOptions): void;
5302 removeEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
5303 removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
5304 removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
5305 }
5306 var HTMLScDialogElement: {
5307 prototype: HTMLScDialogElement;
5308 new (): HTMLScDialogElement;
5309 };
5310 interface HTMLScDividerElement extends Components.ScDivider, HTMLStencilElement {
5311 }
5312 var HTMLScDividerElement: {
5313 prototype: HTMLScDividerElement;
5314 new (): HTMLScDividerElement;
5315 };
5316 interface HTMLScDonationChoicesElementEventMap {
5317 "scRemoveLineItem": LineItemData1;
5318 "scUpdateLineItem": LineItemData1;
5319 "scAddLineItem": LineItemData1;
5320 }
5321 interface HTMLScDonationChoicesElement extends Components.ScDonationChoices, HTMLStencilElement {
5322 addEventListener<K extends keyof HTMLScDonationChoicesElementEventMap>(type: K, listener: (this: HTMLScDonationChoicesElement, ev: ScDonationChoicesCustomEvent<HTMLScDonationChoicesElementEventMap[K]>) => any, options?: boolean | AddEventListenerOptions): void;
5323 addEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
5324 addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
5325 addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
5326 removeEventListener<K extends keyof HTMLScDonationChoicesElementEventMap>(type: K, listener: (this: HTMLScDonationChoicesElement, ev: ScDonationChoicesCustomEvent<HTMLScDonationChoicesElementEventMap[K]>) => any, options?: boolean | EventListenerOptions): void;
5327 removeEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
5328 removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
5329 removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
5330 }
5331 var HTMLScDonationChoicesElement: {
5332 prototype: HTMLScDonationChoicesElement;
5333 new (): HTMLScDonationChoicesElement;
5334 };
5335 interface HTMLScDownloadsListElement extends Components.ScDownloadsList, HTMLStencilElement {
5336 }
5337 var HTMLScDownloadsListElement: {
5338 prototype: HTMLScDownloadsListElement;
5339 new (): HTMLScDownloadsListElement;
5340 };
5341 interface HTMLScDrawerElementEventMap {
5342 "scInitialFocus": void;
5343 "scRequestClose": 'close-button' | 'keyboard' | 'overlay' | 'method';
5344 "scShow": void;
5345 "scHide": void;
5346 "scAfterShow": void;
5347 "scAfterHide": void;
5348 }
5349 interface HTMLScDrawerElement extends Components.ScDrawer, HTMLStencilElement {
5350 addEventListener<K extends keyof HTMLScDrawerElementEventMap>(type: K, listener: (this: HTMLScDrawerElement, ev: ScDrawerCustomEvent<HTMLScDrawerElementEventMap[K]>) => any, options?: boolean | AddEventListenerOptions): void;
5351 addEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
5352 addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
5353 addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
5354 removeEventListener<K extends keyof HTMLScDrawerElementEventMap>(type: K, listener: (this: HTMLScDrawerElement, ev: ScDrawerCustomEvent<HTMLScDrawerElementEventMap[K]>) => any, options?: boolean | EventListenerOptions): void;
5355 removeEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
5356 removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
5357 removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
5358 }
5359 var HTMLScDrawerElement: {
5360 prototype: HTMLScDrawerElement;
5361 new (): HTMLScDrawerElement;
5362 };
5363 interface HTMLScDropdownElementEventMap {
5364 "scShow": void;
5365 "scHide": void;
5366 }
5367 interface HTMLScDropdownElement extends Components.ScDropdown, HTMLStencilElement {
5368 addEventListener<K extends keyof HTMLScDropdownElementEventMap>(type: K, listener: (this: HTMLScDropdownElement, ev: ScDropdownCustomEvent<HTMLScDropdownElementEventMap[K]>) => any, options?: boolean | AddEventListenerOptions): void;
5369 addEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
5370 addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
5371 addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
5372 removeEventListener<K extends keyof HTMLScDropdownElementEventMap>(type: K, listener: (this: HTMLScDropdownElement, ev: ScDropdownCustomEvent<HTMLScDropdownElementEventMap[K]>) => any, options?: boolean | EventListenerOptions): void;
5373 removeEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
5374 removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
5375 removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
5376 }
5377 var HTMLScDropdownElement: {
5378 prototype: HTMLScDropdownElement;
5379 new (): HTMLScDropdownElement;
5380 };
5381 interface HTMLScEmptyElement extends Components.ScEmpty, HTMLStencilElement {
5382 }
5383 var HTMLScEmptyElement: {
5384 prototype: HTMLScEmptyElement;
5385 new (): HTMLScEmptyElement;
5386 };
5387 interface HTMLScErrorElementEventMap {
5388 "scUpdateError": ResponseError;
5389 }
5390 interface HTMLScErrorElement extends Components.ScError, HTMLStencilElement {
5391 addEventListener<K extends keyof HTMLScErrorElementEventMap>(type: K, listener: (this: HTMLScErrorElement, ev: ScErrorCustomEvent<HTMLScErrorElementEventMap[K]>) => any, options?: boolean | AddEventListenerOptions): void;
5392 addEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
5393 addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
5394 addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
5395 removeEventListener<K extends keyof HTMLScErrorElementEventMap>(type: K, listener: (this: HTMLScErrorElement, ev: ScErrorCustomEvent<HTMLScErrorElementEventMap[K]>) => any, options?: boolean | EventListenerOptions): void;
5396 removeEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
5397 removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
5398 removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
5399 }
5400 var HTMLScErrorElement: {
5401 prototype: HTMLScErrorElement;
5402 new (): HTMLScErrorElement;
5403 };
5404 interface HTMLScExpressPaymentElement extends Components.ScExpressPayment, HTMLStencilElement {
5405 }
5406 var HTMLScExpressPaymentElement: {
5407 prototype: HTMLScExpressPaymentElement;
5408 new (): HTMLScExpressPaymentElement;
5409 };
5410 interface HTMLScFeatureDemoBannerElement extends Components.ScFeatureDemoBanner, HTMLStencilElement {
5411 }
5412 var HTMLScFeatureDemoBannerElement: {
5413 prototype: HTMLScFeatureDemoBannerElement;
5414 new (): HTMLScFeatureDemoBannerElement;
5415 };
5416 interface HTMLScFlexElement extends Components.ScFlex, HTMLStencilElement {
5417 }
5418 var HTMLScFlexElement: {
5419 prototype: HTMLScFlexElement;
5420 new (): HTMLScFlexElement;
5421 };
5422 interface HTMLScFormElementEventMap {
5423 "scSubmit": void;
5424 "scFormSubmit": void;
5425 "scFormChange": Object;
5426 }
5427 interface HTMLScFormElement extends Components.ScForm, HTMLStencilElement {
5428 addEventListener<K extends keyof HTMLScFormElementEventMap>(type: K, listener: (this: HTMLScFormElement, ev: ScFormCustomEvent<HTMLScFormElementEventMap[K]>) => any, options?: boolean | AddEventListenerOptions): void;
5429 addEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
5430 addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
5431 addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
5432 removeEventListener<K extends keyof HTMLScFormElementEventMap>(type: K, listener: (this: HTMLScFormElement, ev: ScFormCustomEvent<HTMLScFormElementEventMap[K]>) => any, options?: boolean | EventListenerOptions): void;
5433 removeEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
5434 removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
5435 removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
5436 }
5437 var HTMLScFormElement: {
5438 prototype: HTMLScFormElement;
5439 new (): HTMLScFormElement;
5440 };
5441 interface HTMLScFormComponentsValidatorElement extends Components.ScFormComponentsValidator, HTMLStencilElement {
5442 }
5443 var HTMLScFormComponentsValidatorElement: {
5444 prototype: HTMLScFormComponentsValidatorElement;
5445 new (): HTMLScFormComponentsValidatorElement;
5446 };
5447 interface HTMLScFormControlElement extends Components.ScFormControl, HTMLStencilElement {
5448 }
5449 var HTMLScFormControlElement: {
5450 prototype: HTMLScFormControlElement;
5451 new (): HTMLScFormControlElement;
5452 };
5453 /**
5454 * This component checks to make sure there is an error component
5455 * and adds one if it's missing.
5456 */
5457 interface HTMLScFormErrorProviderElement extends Components.ScFormErrorProvider, HTMLStencilElement {
5458 }
5459 var HTMLScFormErrorProviderElement: {
5460 prototype: HTMLScFormErrorProviderElement;
5461 new (): HTMLScFormErrorProviderElement;
5462 };
5463 interface HTMLScFormRowElement extends Components.ScFormRow, HTMLStencilElement {
5464 }
5465 var HTMLScFormRowElement: {
5466 prototype: HTMLScFormRowElement;
5467 new (): HTMLScFormRowElement;
5468 };
5469 interface HTMLScFormStateProviderElementEventMap {
5470 "scSetCheckoutFormState": FormState;
5471 }
5472 /**
5473 * This component listens for a confirmed event and redirects to the success url.
5474 */
5475 interface HTMLScFormStateProviderElement extends Components.ScFormStateProvider, HTMLStencilElement {
5476 addEventListener<K extends keyof HTMLScFormStateProviderElementEventMap>(type: K, listener: (this: HTMLScFormStateProviderElement, ev: ScFormStateProviderCustomEvent<HTMLScFormStateProviderElementEventMap[K]>) => any, options?: boolean | AddEventListenerOptions): void;
5477 addEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
5478 addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
5479 addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
5480 removeEventListener<K extends keyof HTMLScFormStateProviderElementEventMap>(type: K, listener: (this: HTMLScFormStateProviderElement, ev: ScFormStateProviderCustomEvent<HTMLScFormStateProviderElementEventMap[K]>) => any, options?: boolean | EventListenerOptions): void;
5481 removeEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
5482 removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
5483 removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
5484 }
5485 var HTMLScFormStateProviderElement: {
5486 prototype: HTMLScFormStateProviderElement;
5487 new (): HTMLScFormStateProviderElement;
5488 };
5489 interface HTMLScFormatBytesElement extends Components.ScFormatBytes, HTMLStencilElement {
5490 }
5491 var HTMLScFormatBytesElement: {
5492 prototype: HTMLScFormatBytesElement;
5493 new (): HTMLScFormatBytesElement;
5494 };
5495 interface HTMLScFormatIntervalElement extends Components.ScFormatInterval, HTMLStencilElement {
5496 }
5497 var HTMLScFormatIntervalElement: {
5498 prototype: HTMLScFormatIntervalElement;
5499 new (): HTMLScFormatIntervalElement;
5500 };
5501 interface HTMLScFormatNumberElement extends Components.ScFormatNumber, HTMLStencilElement {
5502 }
5503 var HTMLScFormatNumberElement: {
5504 prototype: HTMLScFormatNumberElement;
5505 new (): HTMLScFormatNumberElement;
5506 };
5507 interface HTMLScFulfillmentShippingStatusBadgeElement extends Components.ScFulfillmentShippingStatusBadge, HTMLStencilElement {
5508 }
5509 var HTMLScFulfillmentShippingStatusBadgeElement: {
5510 prototype: HTMLScFulfillmentShippingStatusBadgeElement;
5511 new (): HTMLScFulfillmentShippingStatusBadgeElement;
5512 };
5513 interface HTMLScFulfillmentsElement extends Components.ScFulfillments, HTMLStencilElement {
5514 }
5515 var HTMLScFulfillmentsElement: {
5516 prototype: HTMLScFulfillmentsElement;
5517 new (): HTMLScFulfillmentsElement;
5518 };
5519 interface HTMLScHeadingElement extends Components.ScHeading, HTMLStencilElement {
5520 }
5521 var HTMLScHeadingElement: {
5522 prototype: HTMLScHeadingElement;
5523 new (): HTMLScHeadingElement;
5524 };
5525 interface HTMLScIconElementEventMap {
5526 "scLoad": void;
5527 }
5528 interface HTMLScIconElement extends Components.ScIcon, HTMLStencilElement {
5529 addEventListener<K extends keyof HTMLScIconElementEventMap>(type: K, listener: (this: HTMLScIconElement, ev: ScIconCustomEvent<HTMLScIconElementEventMap[K]>) => any, options?: boolean | AddEventListenerOptions): void;
5530 addEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
5531 addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
5532 addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
5533 removeEventListener<K extends keyof HTMLScIconElementEventMap>(type: K, listener: (this: HTMLScIconElement, ev: ScIconCustomEvent<HTMLScIconElementEventMap[K]>) => any, options?: boolean | EventListenerOptions): void;
5534 removeEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
5535 removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
5536 removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
5537 }
5538 var HTMLScIconElement: {
5539 prototype: HTMLScIconElement;
5540 new (): HTMLScIconElement;
5541 };
5542 interface HTMLScImageSliderElement extends Components.ScImageSlider, HTMLStencilElement {
5543 }
5544 var HTMLScImageSliderElement: {
5545 prototype: HTMLScImageSliderElement;
5546 new (): HTMLScImageSliderElement;
5547 };
5548 interface HTMLScInputElementEventMap {
5549 "scChange": void;
5550 "scClear": void;
5551 "scInput": void;
5552 "scFocus": void;
5553 "scBlur": void;
5554 }
5555 interface HTMLScInputElement extends Components.ScInput, HTMLStencilElement {
5556 addEventListener<K extends keyof HTMLScInputElementEventMap>(type: K, listener: (this: HTMLScInputElement, ev: ScInputCustomEvent<HTMLScInputElementEventMap[K]>) => any, options?: boolean | AddEventListenerOptions): void;
5557 addEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
5558 addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
5559 addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
5560 removeEventListener<K extends keyof HTMLScInputElementEventMap>(type: K, listener: (this: HTMLScInputElement, ev: ScInputCustomEvent<HTMLScInputElementEventMap[K]>) => any, options?: boolean | EventListenerOptions): void;
5561 removeEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
5562 removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
5563 removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
5564 }
5565 var HTMLScInputElement: {
5566 prototype: HTMLScInputElement;
5567 new (): HTMLScInputElement;
5568 };
5569 interface HTMLScInvoiceDetailsElement extends Components.ScInvoiceDetails, HTMLStencilElement {
5570 }
5571 var HTMLScInvoiceDetailsElement: {
5572 prototype: HTMLScInvoiceDetailsElement;
5573 new (): HTMLScInvoiceDetailsElement;
5574 };
5575 interface HTMLScInvoiceMemoElement extends Components.ScInvoiceMemo, HTMLStencilElement {
5576 }
5577 var HTMLScInvoiceMemoElement: {
5578 prototype: HTMLScInvoiceMemoElement;
5579 new (): HTMLScInvoiceMemoElement;
5580 };
5581 interface HTMLScInvoiceStatusBadgeElement extends Components.ScInvoiceStatusBadge, HTMLStencilElement {
5582 }
5583 var HTMLScInvoiceStatusBadgeElement: {
5584 prototype: HTMLScInvoiceStatusBadgeElement;
5585 new (): HTMLScInvoiceStatusBadgeElement;
5586 };
5587 interface HTMLScInvoicesListElement extends Components.ScInvoicesList, HTMLStencilElement {
5588 }
5589 var HTMLScInvoicesListElement: {
5590 prototype: HTMLScInvoicesListElement;
5591 new (): HTMLScInvoicesListElement;
5592 };
5593 interface HTMLScLicenseElement extends Components.ScLicense, HTMLStencilElement {
5594 }
5595 var HTMLScLicenseElement: {
5596 prototype: HTMLScLicenseElement;
5597 new (): HTMLScLicenseElement;
5598 };
5599 interface HTMLScLicensesListElement extends Components.ScLicensesList, HTMLStencilElement {
5600 }
5601 var HTMLScLicensesListElement: {
5602 prototype: HTMLScLicensesListElement;
5603 new (): HTMLScLicensesListElement;
5604 };
5605 interface HTMLScLineItemElement extends Components.ScLineItem, HTMLStencilElement {
5606 }
5607 var HTMLScLineItemElement: {
5608 prototype: HTMLScLineItemElement;
5609 new (): HTMLScLineItemElement;
5610 };
5611 interface HTMLScLineItemBumpElement extends Components.ScLineItemBump, HTMLStencilElement {
5612 }
5613 var HTMLScLineItemBumpElement: {
5614 prototype: HTMLScLineItemBumpElement;
5615 new (): HTMLScLineItemBumpElement;
5616 };
5617 interface HTMLScLineItemInvoiceDueDateElement extends Components.ScLineItemInvoiceDueDate, HTMLStencilElement {
5618 }
5619 var HTMLScLineItemInvoiceDueDateElement: {
5620 prototype: HTMLScLineItemInvoiceDueDateElement;
5621 new (): HTMLScLineItemInvoiceDueDateElement;
5622 };
5623 interface HTMLScLineItemInvoiceNumberElement extends Components.ScLineItemInvoiceNumber, HTMLStencilElement {
5624 }
5625 var HTMLScLineItemInvoiceNumberElement: {
5626 prototype: HTMLScLineItemInvoiceNumberElement;
5627 new (): HTMLScLineItemInvoiceNumberElement;
5628 };
5629 interface HTMLScLineItemInvoiceReceiptDownloadElement extends Components.ScLineItemInvoiceReceiptDownload, HTMLStencilElement {
5630 }
5631 var HTMLScLineItemInvoiceReceiptDownloadElement: {
5632 prototype: HTMLScLineItemInvoiceReceiptDownloadElement;
5633 new (): HTMLScLineItemInvoiceReceiptDownloadElement;
5634 };
5635 interface HTMLScLineItemShippingElement extends Components.ScLineItemShipping, HTMLStencilElement {
5636 }
5637 var HTMLScLineItemShippingElement: {
5638 prototype: HTMLScLineItemShippingElement;
5639 new (): HTMLScLineItemShippingElement;
5640 };
5641 interface HTMLScLineItemTaxElement extends Components.ScLineItemTax, HTMLStencilElement {
5642 }
5643 var HTMLScLineItemTaxElement: {
5644 prototype: HTMLScLineItemTaxElement;
5645 new (): HTMLScLineItemTaxElement;
5646 };
5647 interface HTMLScLineItemTotalElement extends Components.ScLineItemTotal, HTMLStencilElement {
5648 }
5649 var HTMLScLineItemTotalElement: {
5650 prototype: HTMLScLineItemTotalElement;
5651 new (): HTMLScLineItemTotalElement;
5652 };
5653 interface HTMLScLineItemTrialElement extends Components.ScLineItemTrial, HTMLStencilElement {
5654 }
5655 var HTMLScLineItemTrialElement: {
5656 prototype: HTMLScLineItemTrialElement;
5657 new (): HTMLScLineItemTrialElement;
5658 };
5659 interface HTMLScLineItemsElement extends Components.ScLineItems, HTMLStencilElement {
5660 }
5661 var HTMLScLineItemsElement: {
5662 prototype: HTMLScLineItemsElement;
5663 new (): HTMLScLineItemsElement;
5664 };
5665 interface HTMLScLineItemsProviderElementEventMap {
5666 "scUpdateLineItems": Array<LineItemData1>;
5667 }
5668 interface HTMLScLineItemsProviderElement extends Components.ScLineItemsProvider, HTMLStencilElement {
5669 addEventListener<K extends keyof HTMLScLineItemsProviderElementEventMap>(type: K, listener: (this: HTMLScLineItemsProviderElement, ev: ScLineItemsProviderCustomEvent<HTMLScLineItemsProviderElementEventMap[K]>) => any, options?: boolean | AddEventListenerOptions): void;
5670 addEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
5671 addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
5672 addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
5673 removeEventListener<K extends keyof HTMLScLineItemsProviderElementEventMap>(type: K, listener: (this: HTMLScLineItemsProviderElement, ev: ScLineItemsProviderCustomEvent<HTMLScLineItemsProviderElementEventMap[K]>) => any, options?: boolean | EventListenerOptions): void;
5674 removeEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
5675 removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
5676 removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
5677 }
5678 var HTMLScLineItemsProviderElement: {
5679 prototype: HTMLScLineItemsProviderElement;
5680 new (): HTMLScLineItemsProviderElement;
5681 };
5682 interface HTMLScLoginFormElement extends Components.ScLoginForm, HTMLStencilElement {
5683 }
5684 var HTMLScLoginFormElement: {
5685 prototype: HTMLScLoginFormElement;
5686 new (): HTMLScLoginFormElement;
5687 };
5688 interface HTMLScLoginProviderElementEventMap {
5689 "scSetLoggedIn": boolean;
5690 "scSetCustomer": { email: string; name?: string };
5691 }
5692 interface HTMLScLoginProviderElement extends Components.ScLoginProvider, HTMLStencilElement {
5693 addEventListener<K extends keyof HTMLScLoginProviderElementEventMap>(type: K, listener: (this: HTMLScLoginProviderElement, ev: ScLoginProviderCustomEvent<HTMLScLoginProviderElementEventMap[K]>) => any, options?: boolean | AddEventListenerOptions): void;
5694 addEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
5695 addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
5696 addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
5697 removeEventListener<K extends keyof HTMLScLoginProviderElementEventMap>(type: K, listener: (this: HTMLScLoginProviderElement, ev: ScLoginProviderCustomEvent<HTMLScLoginProviderElementEventMap[K]>) => any, options?: boolean | EventListenerOptions): void;
5698 removeEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
5699 removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
5700 removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
5701 }
5702 var HTMLScLoginProviderElement: {
5703 prototype: HTMLScLoginProviderElement;
5704 new (): HTMLScLoginProviderElement;
5705 };
5706 interface HTMLScManualPaymentMethodElement extends Components.ScManualPaymentMethod, HTMLStencilElement {
5707 }
5708 var HTMLScManualPaymentMethodElement: {
5709 prototype: HTMLScManualPaymentMethodElement;
5710 new (): HTMLScManualPaymentMethodElement;
5711 };
5712 interface HTMLScMenuElementEventMap {
5713 "scSelect": { item: HTMLScMenuItemElement };
5714 }
5715 interface HTMLScMenuElement extends Components.ScMenu, HTMLStencilElement {
5716 addEventListener<K extends keyof HTMLScMenuElementEventMap>(type: K, listener: (this: HTMLScMenuElement, ev: ScMenuCustomEvent<HTMLScMenuElementEventMap[K]>) => any, options?: boolean | AddEventListenerOptions): void;
5717 addEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
5718 addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
5719 addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
5720 removeEventListener<K extends keyof HTMLScMenuElementEventMap>(type: K, listener: (this: HTMLScMenuElement, ev: ScMenuCustomEvent<HTMLScMenuElementEventMap[K]>) => any, options?: boolean | EventListenerOptions): void;
5721 removeEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
5722 removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
5723 removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
5724 }
5725 var HTMLScMenuElement: {
5726 prototype: HTMLScMenuElement;
5727 new (): HTMLScMenuElement;
5728 };
5729 interface HTMLScMenuDividerElement extends Components.ScMenuDivider, HTMLStencilElement {
5730 }
5731 var HTMLScMenuDividerElement: {
5732 prototype: HTMLScMenuDividerElement;
5733 new (): HTMLScMenuDividerElement;
5734 };
5735 interface HTMLScMenuItemElement extends Components.ScMenuItem, HTMLStencilElement {
5736 }
5737 var HTMLScMenuItemElement: {
5738 prototype: HTMLScMenuItemElement;
5739 new (): HTMLScMenuItemElement;
5740 };
5741 interface HTMLScMenuLabelElement extends Components.ScMenuLabel, HTMLStencilElement {
5742 }
5743 var HTMLScMenuLabelElement: {
5744 prototype: HTMLScMenuLabelElement;
5745 new (): HTMLScMenuLabelElement;
5746 };
5747 interface HTMLScMollieAddMethodElement extends Components.ScMollieAddMethod, HTMLStencilElement {
5748 }
5749 var HTMLScMollieAddMethodElement: {
5750 prototype: HTMLScMollieAddMethodElement;
5751 new (): HTMLScMollieAddMethodElement;
5752 };
5753 interface HTMLScOrderElement extends Components.ScOrder, HTMLStencilElement {
5754 }
5755 var HTMLScOrderElement: {
5756 prototype: HTMLScOrderElement;
5757 new (): HTMLScOrderElement;
5758 };
5759 interface HTMLScOrderBillingAddressElement extends Components.ScOrderBillingAddress, HTMLStencilElement {
5760 }
5761 var HTMLScOrderBillingAddressElement: {
5762 prototype: HTMLScOrderBillingAddressElement;
5763 new (): HTMLScOrderBillingAddressElement;
5764 };
5765 interface HTMLScOrderBumpElement extends Components.ScOrderBump, HTMLStencilElement {
5766 }
5767 var HTMLScOrderBumpElement: {
5768 prototype: HTMLScOrderBumpElement;
5769 new (): HTMLScOrderBumpElement;
5770 };
5771 interface HTMLScOrderBumpsElement extends Components.ScOrderBumps, HTMLStencilElement {
5772 }
5773 var HTMLScOrderBumpsElement: {
5774 prototype: HTMLScOrderBumpsElement;
5775 new (): HTMLScOrderBumpsElement;
5776 };
5777 interface HTMLScOrderConfirmComponentsValidatorElement extends Components.ScOrderConfirmComponentsValidator, HTMLStencilElement {
5778 }
5779 var HTMLScOrderConfirmComponentsValidatorElement: {
5780 prototype: HTMLScOrderConfirmComponentsValidatorElement;
5781 new (): HTMLScOrderConfirmComponentsValidatorElement;
5782 };
5783 interface HTMLScOrderConfirmProviderElementEventMap {
5784 "scOrderPaid": Checkout;
5785 "scSetState": string;
5786 }
5787 /**
5788 * This component listens to the order status
5789 * and confirms the order when payment is successful.
5790 */
5791 interface HTMLScOrderConfirmProviderElement extends Components.ScOrderConfirmProvider, HTMLStencilElement {
5792 addEventListener<K extends keyof HTMLScOrderConfirmProviderElementEventMap>(type: K, listener: (this: HTMLScOrderConfirmProviderElement, ev: ScOrderConfirmProviderCustomEvent<HTMLScOrderConfirmProviderElementEventMap[K]>) => any, options?: boolean | AddEventListenerOptions): void;
5793 addEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
5794 addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
5795 addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
5796 removeEventListener<K extends keyof HTMLScOrderConfirmProviderElementEventMap>(type: K, listener: (this: HTMLScOrderConfirmProviderElement, ev: ScOrderConfirmProviderCustomEvent<HTMLScOrderConfirmProviderElementEventMap[K]>) => any, options?: boolean | EventListenerOptions): void;
5797 removeEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
5798 removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
5799 removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
5800 }
5801 var HTMLScOrderConfirmProviderElement: {
5802 prototype: HTMLScOrderConfirmProviderElement;
5803 new (): HTMLScOrderConfirmProviderElement;
5804 };
5805 interface HTMLScOrderConfirmationElement extends Components.ScOrderConfirmation, HTMLStencilElement {
5806 }
5807 var HTMLScOrderConfirmationElement: {
5808 prototype: HTMLScOrderConfirmationElement;
5809 new (): HTMLScOrderConfirmationElement;
5810 };
5811 interface HTMLScOrderConfirmationCustomerElement extends Components.ScOrderConfirmationCustomer, HTMLStencilElement {
5812 }
5813 var HTMLScOrderConfirmationCustomerElement: {
5814 prototype: HTMLScOrderConfirmationCustomerElement;
5815 new (): HTMLScOrderConfirmationCustomerElement;
5816 };
5817 interface HTMLScOrderConfirmationDetailsElement extends Components.ScOrderConfirmationDetails, HTMLStencilElement {
5818 }
5819 var HTMLScOrderConfirmationDetailsElement: {
5820 prototype: HTMLScOrderConfirmationDetailsElement;
5821 new (): HTMLScOrderConfirmationDetailsElement;
5822 };
5823 interface HTMLScOrderConfirmationLineItemsElement extends Components.ScOrderConfirmationLineItems, HTMLStencilElement {
5824 }
5825 var HTMLScOrderConfirmationLineItemsElement: {
5826 prototype: HTMLScOrderConfirmationLineItemsElement;
5827 new (): HTMLScOrderConfirmationLineItemsElement;
5828 };
5829 interface HTMLScOrderConfirmationTotalsElement extends Components.ScOrderConfirmationTotals, HTMLStencilElement {
5830 }
5831 var HTMLScOrderConfirmationTotalsElement: {
5832 prototype: HTMLScOrderConfirmationTotalsElement;
5833 new (): HTMLScOrderConfirmationTotalsElement;
5834 };
5835 interface HTMLScOrderCouponFormElement extends Components.ScOrderCouponForm, HTMLStencilElement {
5836 }
5837 var HTMLScOrderCouponFormElement: {
5838 prototype: HTMLScOrderCouponFormElement;
5839 new (): HTMLScOrderCouponFormElement;
5840 };
5841 interface HTMLScOrderDetailElement extends Components.ScOrderDetail, HTMLStencilElement {
5842 }
5843 var HTMLScOrderDetailElement: {
5844 prototype: HTMLScOrderDetailElement;
5845 new (): HTMLScOrderDetailElement;
5846 };
5847 interface HTMLScOrderFulfillmentBadgeElement extends Components.ScOrderFulfillmentBadge, HTMLStencilElement {
5848 }
5849 var HTMLScOrderFulfillmentBadgeElement: {
5850 prototype: HTMLScOrderFulfillmentBadgeElement;
5851 new (): HTMLScOrderFulfillmentBadgeElement;
5852 };
5853 interface HTMLScOrderManualInstructionsElement extends Components.ScOrderManualInstructions, HTMLStencilElement {
5854 }
5855 var HTMLScOrderManualInstructionsElement: {
5856 prototype: HTMLScOrderManualInstructionsElement;
5857 new (): HTMLScOrderManualInstructionsElement;
5858 };
5859 interface HTMLScOrderPasswordElement extends Components.ScOrderPassword, HTMLStencilElement {
5860 }
5861 var HTMLScOrderPasswordElement: {
5862 prototype: HTMLScOrderPasswordElement;
5863 new (): HTMLScOrderPasswordElement;
5864 };
5865 interface HTMLScOrderReturnBadgeElement extends Components.ScOrderReturnBadge, HTMLStencilElement {
5866 }
5867 var HTMLScOrderReturnBadgeElement: {
5868 prototype: HTMLScOrderReturnBadgeElement;
5869 new (): HTMLScOrderReturnBadgeElement;
5870 };
5871 interface HTMLScOrderShipmentBadgeElement extends Components.ScOrderShipmentBadge, HTMLStencilElement {
5872 }
5873 var HTMLScOrderShipmentBadgeElement: {
5874 prototype: HTMLScOrderShipmentBadgeElement;
5875 new (): HTMLScOrderShipmentBadgeElement;
5876 };
5877 interface HTMLScOrderShippingAddressElement extends Components.ScOrderShippingAddress, HTMLStencilElement {
5878 }
5879 var HTMLScOrderShippingAddressElement: {
5880 prototype: HTMLScOrderShippingAddressElement;
5881 new (): HTMLScOrderShippingAddressElement;
5882 };
5883 interface HTMLScOrderStatusBadgeElement extends Components.ScOrderStatusBadge, HTMLStencilElement {
5884 }
5885 var HTMLScOrderStatusBadgeElement: {
5886 prototype: HTMLScOrderStatusBadgeElement;
5887 new (): HTMLScOrderStatusBadgeElement;
5888 };
5889 interface HTMLScOrderSubmitElement extends Components.ScOrderSubmit, HTMLStencilElement {
5890 }
5891 var HTMLScOrderSubmitElement: {
5892 prototype: HTMLScOrderSubmitElement;
5893 new (): HTMLScOrderSubmitElement;
5894 };
5895 interface HTMLScOrderSummaryElementEventMap {
5896 "scShow": void;
5897 "scHide": void;
5898 }
5899 interface HTMLScOrderSummaryElement extends Components.ScOrderSummary, HTMLStencilElement {
5900 addEventListener<K extends keyof HTMLScOrderSummaryElementEventMap>(type: K, listener: (this: HTMLScOrderSummaryElement, ev: ScOrderSummaryCustomEvent<HTMLScOrderSummaryElementEventMap[K]>) => any, options?: boolean | AddEventListenerOptions): void;
5901 addEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
5902 addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
5903 addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
5904 removeEventListener<K extends keyof HTMLScOrderSummaryElementEventMap>(type: K, listener: (this: HTMLScOrderSummaryElement, ev: ScOrderSummaryCustomEvent<HTMLScOrderSummaryElementEventMap[K]>) => any, options?: boolean | EventListenerOptions): void;
5905 removeEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
5906 removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
5907 removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
5908 }
5909 var HTMLScOrderSummaryElement: {
5910 prototype: HTMLScOrderSummaryElement;
5911 new (): HTMLScOrderSummaryElement;
5912 };
5913 interface HTMLScOrderTaxIdInputElement extends Components.ScOrderTaxIdInput, HTMLStencilElement {
5914 }
5915 var HTMLScOrderTaxIdInputElement: {
5916 prototype: HTMLScOrderTaxIdInputElement;
5917 new (): HTMLScOrderTaxIdInputElement;
5918 };
5919 interface HTMLScOrdersListElement extends Components.ScOrdersList, HTMLStencilElement {
5920 }
5921 var HTMLScOrdersListElement: {
5922 prototype: HTMLScOrdersListElement;
5923 new (): HTMLScOrdersListElement;
5924 };
5925 interface HTMLScPaginationElementEventMap {
5926 "scPrevPage": void;
5927 "scNextPage": void;
5928 }
5929 interface HTMLScPaginationElement extends Components.ScPagination, HTMLStencilElement {
5930 addEventListener<K extends keyof HTMLScPaginationElementEventMap>(type: K, listener: (this: HTMLScPaginationElement, ev: ScPaginationCustomEvent<HTMLScPaginationElementEventMap[K]>) => any, options?: boolean | AddEventListenerOptions): void;
5931 addEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
5932 addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
5933 addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
5934 removeEventListener<K extends keyof HTMLScPaginationElementEventMap>(type: K, listener: (this: HTMLScPaginationElement, ev: ScPaginationCustomEvent<HTMLScPaginationElementEventMap[K]>) => any, options?: boolean | EventListenerOptions): void;
5935 removeEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
5936 removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
5937 removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
5938 }
5939 var HTMLScPaginationElement: {
5940 prototype: HTMLScPaginationElement;
5941 new (): HTMLScPaginationElement;
5942 };
5943 interface HTMLScPasswordElement extends Components.ScPassword, HTMLStencilElement {
5944 }
5945 var HTMLScPasswordElement: {
5946 prototype: HTMLScPasswordElement;
5947 new (): HTMLScPasswordElement;
5948 };
5949 interface HTMLScPasswordNagElement extends Components.ScPasswordNag, HTMLStencilElement {
5950 }
5951 var HTMLScPasswordNagElement: {
5952 prototype: HTMLScPasswordNagElement;
5953 new (): HTMLScPasswordNagElement;
5954 };
5955 interface HTMLScPaymentElement extends Components.ScPayment, HTMLStencilElement {
5956 }
5957 var HTMLScPaymentElement: {
5958 prototype: HTMLScPaymentElement;
5959 new (): HTMLScPaymentElement;
5960 };
5961 interface HTMLScPaymentMethodElement extends Components.ScPaymentMethod, HTMLStencilElement {
5962 }
5963 var HTMLScPaymentMethodElement: {
5964 prototype: HTMLScPaymentMethodElement;
5965 new (): HTMLScPaymentMethodElement;
5966 };
5967 interface HTMLScPaymentMethodChoiceElement extends Components.ScPaymentMethodChoice, HTMLStencilElement {
5968 }
5969 var HTMLScPaymentMethodChoiceElement: {
5970 prototype: HTMLScPaymentMethodChoiceElement;
5971 new (): HTMLScPaymentMethodChoiceElement;
5972 };
5973 interface HTMLScPaymentMethodDetailsElement extends Components.ScPaymentMethodDetails, HTMLStencilElement {
5974 }
5975 var HTMLScPaymentMethodDetailsElement: {
5976 prototype: HTMLScPaymentMethodDetailsElement;
5977 new (): HTMLScPaymentMethodDetailsElement;
5978 };
5979 interface HTMLScPaymentMethodsListElement extends Components.ScPaymentMethodsList, HTMLStencilElement {
5980 }
5981 var HTMLScPaymentMethodsListElement: {
5982 prototype: HTMLScPaymentMethodsListElement;
5983 new (): HTMLScPaymentMethodsListElement;
5984 };
5985 interface HTMLScPaymentSelectedElement extends Components.ScPaymentSelected, HTMLStencilElement {
5986 }
5987 var HTMLScPaymentSelectedElement: {
5988 prototype: HTMLScPaymentSelectedElement;
5989 new (): HTMLScPaymentSelectedElement;
5990 };
5991 interface HTMLScPaypalAddMethodElement extends Components.ScPaypalAddMethod, HTMLStencilElement {
5992 }
5993 var HTMLScPaypalAddMethodElement: {
5994 prototype: HTMLScPaypalAddMethodElement;
5995 new (): HTMLScPaypalAddMethodElement;
5996 };
5997 interface HTMLScPaypalButtonsElementEventMap {
5998 "scSetState": string;
5999 "scPaid": void;
6000 }
6001 interface HTMLScPaypalButtonsElement extends Components.ScPaypalButtons, HTMLStencilElement {
6002 addEventListener<K extends keyof HTMLScPaypalButtonsElementEventMap>(type: K, listener: (this: HTMLScPaypalButtonsElement, ev: ScPaypalButtonsCustomEvent<HTMLScPaypalButtonsElementEventMap[K]>) => any, options?: boolean | AddEventListenerOptions): void;
6003 addEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
6004 addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
6005 addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
6006 removeEventListener<K extends keyof HTMLScPaypalButtonsElementEventMap>(type: K, listener: (this: HTMLScPaypalButtonsElement, ev: ScPaypalButtonsCustomEvent<HTMLScPaypalButtonsElementEventMap[K]>) => any, options?: boolean | EventListenerOptions): void;
6007 removeEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
6008 removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
6009 removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
6010 }
6011 var HTMLScPaypalButtonsElement: {
6012 prototype: HTMLScPaypalButtonsElement;
6013 new (): HTMLScPaypalButtonsElement;
6014 };
6015 interface HTMLScPaystackAddMethodElement extends Components.ScPaystackAddMethod, HTMLStencilElement {
6016 }
6017 var HTMLScPaystackAddMethodElement: {
6018 prototype: HTMLScPaystackAddMethodElement;
6019 new (): HTMLScPaystackAddMethodElement;
6020 };
6021 interface HTMLScPhoneInputElementEventMap {
6022 "scChange": void;
6023 "scClear": void;
6024 "scInput": void;
6025 "scFocus": void;
6026 "scBlur": void;
6027 }
6028 interface HTMLScPhoneInputElement extends Components.ScPhoneInput, HTMLStencilElement {
6029 addEventListener<K extends keyof HTMLScPhoneInputElementEventMap>(type: K, listener: (this: HTMLScPhoneInputElement, ev: ScPhoneInputCustomEvent<HTMLScPhoneInputElementEventMap[K]>) => any, options?: boolean | AddEventListenerOptions): void;
6030 addEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
6031 addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
6032 addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
6033 removeEventListener<K extends keyof HTMLScPhoneInputElementEventMap>(type: K, listener: (this: HTMLScPhoneInputElement, ev: ScPhoneInputCustomEvent<HTMLScPhoneInputElementEventMap[K]>) => any, options?: boolean | EventListenerOptions): void;
6034 removeEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
6035 removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
6036 removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
6037 }
6038 var HTMLScPhoneInputElement: {
6039 prototype: HTMLScPhoneInputElement;
6040 new (): HTMLScPhoneInputElement;
6041 };
6042 interface HTMLScPillOptionElement extends Components.ScPillOption, HTMLStencilElement {
6043 }
6044 var HTMLScPillOptionElement: {
6045 prototype: HTMLScPillOptionElement;
6046 new (): HTMLScPillOptionElement;
6047 };
6048 interface HTMLScPopoverElementEventMap {
6049 "scShow": void;
6050 "scHide": void;
6051 }
6052 interface HTMLScPopoverElement extends Components.ScPopover, HTMLStencilElement {
6053 addEventListener<K extends keyof HTMLScPopoverElementEventMap>(type: K, listener: (this: HTMLScPopoverElement, ev: ScPopoverCustomEvent<HTMLScPopoverElementEventMap[K]>) => any, options?: boolean | AddEventListenerOptions): void;
6054 addEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
6055 addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
6056 addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
6057 removeEventListener<K extends keyof HTMLScPopoverElementEventMap>(type: K, listener: (this: HTMLScPopoverElement, ev: ScPopoverCustomEvent<HTMLScPopoverElementEventMap[K]>) => any, options?: boolean | EventListenerOptions): void;
6058 removeEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
6059 removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
6060 removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
6061 }
6062 var HTMLScPopoverElement: {
6063 prototype: HTMLScPopoverElement;
6064 new (): HTMLScPopoverElement;
6065 };
6066 interface HTMLScPremiumTagElement extends Components.ScPremiumTag, HTMLStencilElement {
6067 }
6068 var HTMLScPremiumTagElement: {
6069 prototype: HTMLScPremiumTagElement;
6070 new (): HTMLScPremiumTagElement;
6071 };
6072 /**
6073 * Internal dependencies.
6074 */
6075 interface HTMLScPriceElement extends Components.ScPrice, HTMLStencilElement {
6076 }
6077 var HTMLScPriceElement: {
6078 prototype: HTMLScPriceElement;
6079 new (): HTMLScPriceElement;
6080 };
6081 interface HTMLScPriceChoiceElementEventMap {
6082 "scUpdateLineItem": LineItemData1;
6083 "scRemoveLineItem": LineItemData1;
6084 "scAddEntities": any;
6085 }
6086 interface HTMLScPriceChoiceElement extends Components.ScPriceChoice, HTMLStencilElement {
6087 addEventListener<K extends keyof HTMLScPriceChoiceElementEventMap>(type: K, listener: (this: HTMLScPriceChoiceElement, ev: ScPriceChoiceCustomEvent<HTMLScPriceChoiceElementEventMap[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 HTMLScPriceChoiceElementEventMap>(type: K, listener: (this: HTMLScPriceChoiceElement, ev: ScPriceChoiceCustomEvent<HTMLScPriceChoiceElementEventMap[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 HTMLScPriceChoiceElement: {
6097 prototype: HTMLScPriceChoiceElement;
6098 new (): HTMLScPriceChoiceElement;
6099 };
6100 interface HTMLScPriceChoiceContainerElementEventMap {
6101 "scChange": void;
6102 }
6103 interface HTMLScPriceChoiceContainerElement extends Components.ScPriceChoiceContainer, HTMLStencilElement {
6104 addEventListener<K extends keyof HTMLScPriceChoiceContainerElementEventMap>(type: K, listener: (this: HTMLScPriceChoiceContainerElement, ev: ScPriceChoiceContainerCustomEvent<HTMLScPriceChoiceContainerElementEventMap[K]>) => any, options?: boolean | AddEventListenerOptions): void;
6105 addEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
6106 addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
6107 addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
6108 removeEventListener<K extends keyof HTMLScPriceChoiceContainerElementEventMap>(type: K, listener: (this: HTMLScPriceChoiceContainerElement, ev: ScPriceChoiceContainerCustomEvent<HTMLScPriceChoiceContainerElementEventMap[K]>) => any, options?: boolean | EventListenerOptions): void;
6109 removeEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
6110 removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
6111 removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
6112 }
6113 var HTMLScPriceChoiceContainerElement: {
6114 prototype: HTMLScPriceChoiceContainerElement;
6115 new (): HTMLScPriceChoiceContainerElement;
6116 };
6117 interface HTMLScPriceChoicesElementEventMap {
6118 "scRemoveLineItem": LineItemData1;
6119 "scUpdateLineItem": LineItemData1;
6120 }
6121 interface HTMLScPriceChoicesElement extends Components.ScPriceChoices, HTMLStencilElement {
6122 addEventListener<K extends keyof HTMLScPriceChoicesElementEventMap>(type: K, listener: (this: HTMLScPriceChoicesElement, ev: ScPriceChoicesCustomEvent<HTMLScPriceChoicesElementEventMap[K]>) => any, options?: boolean | AddEventListenerOptions): void;
6123 addEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
6124 addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
6125 addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
6126 removeEventListener<K extends keyof HTMLScPriceChoicesElementEventMap>(type: K, listener: (this: HTMLScPriceChoicesElement, ev: ScPriceChoicesCustomEvent<HTMLScPriceChoicesElementEventMap[K]>) => any, options?: boolean | EventListenerOptions): void;
6127 removeEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
6128 removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
6129 removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
6130 }
6131 var HTMLScPriceChoicesElement: {
6132 prototype: HTMLScPriceChoicesElement;
6133 new (): HTMLScPriceChoicesElement;
6134 };
6135 interface HTMLScPriceInputElementEventMap {
6136 "scChange": void;
6137 "scInput": void;
6138 "scFocus": void;
6139 "scBlur": void;
6140 }
6141 interface HTMLScPriceInputElement extends Components.ScPriceInput, HTMLStencilElement {
6142 addEventListener<K extends keyof HTMLScPriceInputElementEventMap>(type: K, listener: (this: HTMLScPriceInputElement, ev: ScPriceInputCustomEvent<HTMLScPriceInputElementEventMap[K]>) => any, options?: boolean | AddEventListenerOptions): void;
6143 addEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
6144 addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
6145 addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
6146 removeEventListener<K extends keyof HTMLScPriceInputElementEventMap>(type: K, listener: (this: HTMLScPriceInputElement, ev: ScPriceInputCustomEvent<HTMLScPriceInputElementEventMap[K]>) => any, options?: boolean | EventListenerOptions): void;
6147 removeEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
6148 removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
6149 removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
6150 }
6151 var HTMLScPriceInputElement: {
6152 prototype: HTMLScPriceInputElement;
6153 new (): HTMLScPriceInputElement;
6154 };
6155 interface HTMLScPriceRangeElement extends Components.ScPriceRange, HTMLStencilElement {
6156 }
6157 var HTMLScPriceRangeElement: {
6158 prototype: HTMLScPriceRangeElement;
6159 new (): HTMLScPriceRangeElement;
6160 };
6161 interface HTMLScProductBuyButtonElement extends Components.ScProductBuyButton, HTMLStencilElement {
6162 }
6163 var HTMLScProductBuyButtonElement: {
6164 prototype: HTMLScProductBuyButtonElement;
6165 new (): HTMLScProductBuyButtonElement;
6166 };
6167 interface HTMLScProductDonationAmountChoiceElement extends Components.ScProductDonationAmountChoice, HTMLStencilElement {
6168 }
6169 var HTMLScProductDonationAmountChoiceElement: {
6170 prototype: HTMLScProductDonationAmountChoiceElement;
6171 new (): HTMLScProductDonationAmountChoiceElement;
6172 };
6173 interface HTMLScProductDonationChoicesElement extends Components.ScProductDonationChoices, HTMLStencilElement {
6174 }
6175 var HTMLScProductDonationChoicesElement: {
6176 prototype: HTMLScProductDonationChoicesElement;
6177 new (): HTMLScProductDonationChoicesElement;
6178 };
6179 interface HTMLScProductDonationCustomAmountElement extends Components.ScProductDonationCustomAmount, HTMLStencilElement {
6180 }
6181 var HTMLScProductDonationCustomAmountElement: {
6182 prototype: HTMLScProductDonationCustomAmountElement;
6183 new (): HTMLScProductDonationCustomAmountElement;
6184 };
6185 interface HTMLScProductItemElement extends Components.ScProductItem, HTMLStencilElement {
6186 }
6187 var HTMLScProductItemElement: {
6188 prototype: HTMLScProductItemElement;
6189 new (): HTMLScProductItemElement;
6190 };
6191 interface HTMLScProductItemImageElement extends Components.ScProductItemImage, HTMLStencilElement {
6192 }
6193 var HTMLScProductItemImageElement: {
6194 prototype: HTMLScProductItemImageElement;
6195 new (): HTMLScProductItemImageElement;
6196 };
6197 interface HTMLScProductItemListElementEventMap {
6198 "scSearched": ProductsSearchedParams;
6199 "scProductsViewed": ProductsViewedParams;
6200 }
6201 interface HTMLScProductItemListElement extends Components.ScProductItemList, HTMLStencilElement {
6202 addEventListener<K extends keyof HTMLScProductItemListElementEventMap>(type: K, listener: (this: HTMLScProductItemListElement, ev: ScProductItemListCustomEvent<HTMLScProductItemListElementEventMap[K]>) => any, options?: boolean | AddEventListenerOptions): void;
6203 addEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
6204 addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
6205 addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
6206 removeEventListener<K extends keyof HTMLScProductItemListElementEventMap>(type: K, listener: (this: HTMLScProductItemListElement, ev: ScProductItemListCustomEvent<HTMLScProductItemListElementEventMap[K]>) => any, options?: boolean | EventListenerOptions): void;
6207 removeEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
6208 removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
6209 removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
6210 }
6211 var HTMLScProductItemListElement: {
6212 prototype: HTMLScProductItemListElement;
6213 new (): HTMLScProductItemListElement;
6214 };
6215 interface HTMLScProductItemPriceElement extends Components.ScProductItemPrice, HTMLStencilElement {
6216 }
6217 var HTMLScProductItemPriceElement: {
6218 prototype: HTMLScProductItemPriceElement;
6219 new (): HTMLScProductItemPriceElement;
6220 };
6221 interface HTMLScProductItemTitleElement extends Components.ScProductItemTitle, HTMLStencilElement {
6222 }
6223 var HTMLScProductItemTitleElement: {
6224 prototype: HTMLScProductItemTitleElement;
6225 new (): HTMLScProductItemTitleElement;
6226 };
6227 interface HTMLScProductLineItemElementEventMap {
6228 "scUpdateQuantity": number;
6229 "scRemove": void;
6230 }
6231 interface HTMLScProductLineItemElement extends Components.ScProductLineItem, HTMLStencilElement {
6232 addEventListener<K extends keyof HTMLScProductLineItemElementEventMap>(type: K, listener: (this: HTMLScProductLineItemElement, ev: ScProductLineItemCustomEvent<HTMLScProductLineItemElementEventMap[K]>) => any, options?: boolean | AddEventListenerOptions): void;
6233 addEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
6234 addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
6235 addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
6236 removeEventListener<K extends keyof HTMLScProductLineItemElementEventMap>(type: K, listener: (this: HTMLScProductLineItemElement, ev: ScProductLineItemCustomEvent<HTMLScProductLineItemElementEventMap[K]>) => any, options?: boolean | EventListenerOptions): void;
6237 removeEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
6238 removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
6239 removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
6240 }
6241 var HTMLScProductLineItemElement: {
6242 prototype: HTMLScProductLineItemElement;
6243 new (): HTMLScProductLineItemElement;
6244 };
6245 interface HTMLScProductLineItemNoteElement extends Components.ScProductLineItemNote, HTMLStencilElement {
6246 }
6247 var HTMLScProductLineItemNoteElement: {
6248 prototype: HTMLScProductLineItemNoteElement;
6249 new (): HTMLScProductLineItemNoteElement;
6250 };
6251 interface HTMLScProductPillsVariantOptionElement extends Components.ScProductPillsVariantOption, HTMLStencilElement {
6252 }
6253 var HTMLScProductPillsVariantOptionElement: {
6254 prototype: HTMLScProductPillsVariantOptionElement;
6255 new (): HTMLScProductPillsVariantOptionElement;
6256 };
6257 interface HTMLScProductPriceElement extends Components.ScProductPrice, HTMLStencilElement {
6258 }
6259 var HTMLScProductPriceElement: {
6260 prototype: HTMLScProductPriceElement;
6261 new (): HTMLScProductPriceElement;
6262 };
6263 interface HTMLScProductPriceChoicesElement extends Components.ScProductPriceChoices, HTMLStencilElement {
6264 }
6265 var HTMLScProductPriceChoicesElement: {
6266 prototype: HTMLScProductPriceChoicesElement;
6267 new (): HTMLScProductPriceChoicesElement;
6268 };
6269 interface HTMLScProductPriceModalElement extends Components.ScProductPriceModal, HTMLStencilElement {
6270 }
6271 var HTMLScProductPriceModalElement: {
6272 prototype: HTMLScProductPriceModalElement;
6273 new (): HTMLScProductPriceModalElement;
6274 };
6275 interface HTMLScProductQuantityElement extends Components.ScProductQuantity, HTMLStencilElement {
6276 }
6277 var HTMLScProductQuantityElement: {
6278 prototype: HTMLScProductQuantityElement;
6279 new (): HTMLScProductQuantityElement;
6280 };
6281 interface HTMLScProductSelectedPriceElementEventMap {
6282 "scUpdateLineItem": LineItemData;
6283 }
6284 interface HTMLScProductSelectedPriceElement extends Components.ScProductSelectedPrice, HTMLStencilElement {
6285 addEventListener<K extends keyof HTMLScProductSelectedPriceElementEventMap>(type: K, listener: (this: HTMLScProductSelectedPriceElement, ev: ScProductSelectedPriceCustomEvent<HTMLScProductSelectedPriceElementEventMap[K]>) => any, options?: boolean | AddEventListenerOptions): void;
6286 addEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
6287 addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
6288 addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
6289 removeEventListener<K extends keyof HTMLScProductSelectedPriceElementEventMap>(type: K, listener: (this: HTMLScProductSelectedPriceElement, ev: ScProductSelectedPriceCustomEvent<HTMLScProductSelectedPriceElementEventMap[K]>) => any, options?: boolean | EventListenerOptions): void;
6290 removeEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
6291 removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
6292 removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
6293 }
6294 var HTMLScProductSelectedPriceElement: {
6295 prototype: HTMLScProductSelectedPriceElement;
6296 new (): HTMLScProductSelectedPriceElement;
6297 };
6298 interface HTMLScProductTextElement extends Components.ScProductText, HTMLStencilElement {
6299 }
6300 var HTMLScProductTextElement: {
6301 prototype: HTMLScProductTextElement;
6302 new (): HTMLScProductTextElement;
6303 };
6304 interface HTMLScProseElement extends Components.ScProse, HTMLStencilElement {
6305 }
6306 var HTMLScProseElement: {
6307 prototype: HTMLScProseElement;
6308 new (): HTMLScProseElement;
6309 };
6310 interface HTMLScProviderElementEventMap {
6311 "mountConsumer": any;
6312 }
6313 interface HTMLScProviderElement extends Components.ScProvider, HTMLStencilElement {
6314 addEventListener<K extends keyof HTMLScProviderElementEventMap>(type: K, listener: (this: HTMLScProviderElement, ev: ScProviderCustomEvent<HTMLScProviderElementEventMap[K]>) => any, options?: boolean | AddEventListenerOptions): void;
6315 addEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
6316 addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
6317 addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
6318 removeEventListener<K extends keyof HTMLScProviderElementEventMap>(type: K, listener: (this: HTMLScProviderElement, ev: ScProviderCustomEvent<HTMLScProviderElementEventMap[K]>) => any, options?: boolean | EventListenerOptions): void;
6319 removeEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
6320 removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
6321 removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
6322 }
6323 var HTMLScProviderElement: {
6324 prototype: HTMLScProviderElement;
6325 new (): HTMLScProviderElement;
6326 };
6327 interface HTMLScProvisionalBannerElement extends Components.ScProvisionalBanner, HTMLStencilElement {
6328 }
6329 var HTMLScProvisionalBannerElement: {
6330 prototype: HTMLScProvisionalBannerElement;
6331 new (): HTMLScProvisionalBannerElement;
6332 };
6333 interface HTMLScPurchaseDownloadsListElement extends Components.ScPurchaseDownloadsList, HTMLStencilElement {
6334 }
6335 var HTMLScPurchaseDownloadsListElement: {
6336 prototype: HTMLScPurchaseDownloadsListElement;
6337 new (): HTMLScPurchaseDownloadsListElement;
6338 };
6339 interface HTMLScQuantitySelectElementEventMap {
6340 "scChange": number;
6341 "scInput": number;
6342 "scFocus": void;
6343 "scBlur": void;
6344 }
6345 interface HTMLScQuantitySelectElement extends Components.ScQuantitySelect, HTMLStencilElement {
6346 addEventListener<K extends keyof HTMLScQuantitySelectElementEventMap>(type: K, listener: (this: HTMLScQuantitySelectElement, ev: ScQuantitySelectCustomEvent<HTMLScQuantitySelectElementEventMap[K]>) => any, options?: boolean | AddEventListenerOptions): void;
6347 addEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
6348 addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
6349 addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
6350 removeEventListener<K extends keyof HTMLScQuantitySelectElementEventMap>(type: K, listener: (this: HTMLScQuantitySelectElement, ev: ScQuantitySelectCustomEvent<HTMLScQuantitySelectElementEventMap[K]>) => any, options?: boolean | EventListenerOptions): void;
6351 removeEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
6352 removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
6353 removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
6354 }
6355 var HTMLScQuantitySelectElement: {
6356 prototype: HTMLScQuantitySelectElement;
6357 new (): HTMLScQuantitySelectElement;
6358 };
6359 interface HTMLScRadioElementEventMap {
6360 "scBlur": void;
6361 "scChange": void;
6362 "scFocus": void;
6363 }
6364 interface HTMLScRadioElement extends Components.ScRadio, HTMLStencilElement {
6365 addEventListener<K extends keyof HTMLScRadioElementEventMap>(type: K, listener: (this: HTMLScRadioElement, ev: ScRadioCustomEvent<HTMLScRadioElementEventMap[K]>) => any, options?: boolean | AddEventListenerOptions): void;
6366 addEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
6367 addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
6368 addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
6369 removeEventListener<K extends keyof HTMLScRadioElementEventMap>(type: K, listener: (this: HTMLScRadioElement, ev: ScRadioCustomEvent<HTMLScRadioElementEventMap[K]>) => any, options?: boolean | EventListenerOptions): void;
6370 removeEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
6371 removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
6372 removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
6373 }
6374 var HTMLScRadioElement: {
6375 prototype: HTMLScRadioElement;
6376 new (): HTMLScRadioElement;
6377 };
6378 interface HTMLScRadioGroupElementEventMap {
6379 "scChange": string;
6380 }
6381 interface HTMLScRadioGroupElement extends Components.ScRadioGroup, HTMLStencilElement {
6382 addEventListener<K extends keyof HTMLScRadioGroupElementEventMap>(type: K, listener: (this: HTMLScRadioGroupElement, ev: ScRadioGroupCustomEvent<HTMLScRadioGroupElementEventMap[K]>) => any, options?: boolean | AddEventListenerOptions): void;
6383 addEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
6384 addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
6385 addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
6386 removeEventListener<K extends keyof HTMLScRadioGroupElementEventMap>(type: K, listener: (this: HTMLScRadioGroupElement, ev: ScRadioGroupCustomEvent<HTMLScRadioGroupElementEventMap[K]>) => any, options?: boolean | EventListenerOptions): void;
6387 removeEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
6388 removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
6389 removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
6390 }
6391 var HTMLScRadioGroupElement: {
6392 prototype: HTMLScRadioGroupElement;
6393 new (): HTMLScRadioGroupElement;
6394 };
6395 interface HTMLScRazorpayAddMethodElement extends Components.ScRazorpayAddMethod, HTMLStencilElement {
6396 }
6397 var HTMLScRazorpayAddMethodElement: {
6398 prototype: HTMLScRazorpayAddMethodElement;
6399 new (): HTMLScRazorpayAddMethodElement;
6400 };
6401 interface HTMLScRecurringPriceChoiceContainerElementEventMap {
6402 "scChange": string;
6403 }
6404 interface HTMLScRecurringPriceChoiceContainerElement extends Components.ScRecurringPriceChoiceContainer, HTMLStencilElement {
6405 addEventListener<K extends keyof HTMLScRecurringPriceChoiceContainerElementEventMap>(type: K, listener: (this: HTMLScRecurringPriceChoiceContainerElement, ev: ScRecurringPriceChoiceContainerCustomEvent<HTMLScRecurringPriceChoiceContainerElementEventMap[K]>) => any, options?: boolean | AddEventListenerOptions): void;
6406 addEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
6407 addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
6408 addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
6409 removeEventListener<K extends keyof HTMLScRecurringPriceChoiceContainerElementEventMap>(type: K, listener: (this: HTMLScRecurringPriceChoiceContainerElement, ev: ScRecurringPriceChoiceContainerCustomEvent<HTMLScRecurringPriceChoiceContainerElementEventMap[K]>) => any, options?: boolean | EventListenerOptions): void;
6410 removeEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
6411 removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
6412 removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
6413 }
6414 var HTMLScRecurringPriceChoiceContainerElement: {
6415 prototype: HTMLScRecurringPriceChoiceContainerElement;
6416 new (): HTMLScRecurringPriceChoiceContainerElement;
6417 };
6418 interface HTMLScReviewStarsElement extends Components.ScReviewStars, HTMLStencilElement {
6419 }
6420 var HTMLScReviewStarsElement: {
6421 prototype: HTMLScReviewStarsElement;
6422 new (): HTMLScReviewStarsElement;
6423 };
6424 interface HTMLScRichTextElementEventMap {
6425 "scChange": void;
6426 "scInput": void;
6427 "scBlur": void;
6428 "scFocus": void;
6429 }
6430 interface HTMLScRichTextElement extends Components.ScRichText, HTMLStencilElement {
6431 addEventListener<K extends keyof HTMLScRichTextElementEventMap>(type: K, listener: (this: HTMLScRichTextElement, ev: ScRichTextCustomEvent<HTMLScRichTextElementEventMap[K]>) => any, options?: boolean | AddEventListenerOptions): void;
6432 addEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
6433 addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
6434 addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
6435 removeEventListener<K extends keyof HTMLScRichTextElementEventMap>(type: K, listener: (this: HTMLScRichTextElement, ev: ScRichTextCustomEvent<HTMLScRichTextElementEventMap[K]>) => any, options?: boolean | EventListenerOptions): void;
6436 removeEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
6437 removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
6438 removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
6439 }
6440 var HTMLScRichTextElement: {
6441 prototype: HTMLScRichTextElement;
6442 new (): HTMLScRichTextElement;
6443 };
6444 interface HTMLScSecureNoticeElement extends Components.ScSecureNotice, HTMLStencilElement {
6445 }
6446 var HTMLScSecureNoticeElement: {
6447 prototype: HTMLScSecureNoticeElement;
6448 new (): HTMLScSecureNoticeElement;
6449 };
6450 interface HTMLScSelectElementEventMap {
6451 "scSearch": string;
6452 "scOpen": string;
6453 "scClose": string;
6454 "scBlur": void;
6455 "scFocus": void;
6456 "scChange": ChoiceItem;
6457 "scScrollEnd": void;
6458 }
6459 interface HTMLScSelectElement extends Components.ScSelect, HTMLStencilElement {
6460 addEventListener<K extends keyof HTMLScSelectElementEventMap>(type: K, listener: (this: HTMLScSelectElement, ev: ScSelectCustomEvent<HTMLScSelectElementEventMap[K]>) => any, options?: boolean | AddEventListenerOptions): void;
6461 addEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
6462 addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
6463 addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
6464 removeEventListener<K extends keyof HTMLScSelectElementEventMap>(type: K, listener: (this: HTMLScSelectElement, ev: ScSelectCustomEvent<HTMLScSelectElementEventMap[K]>) => any, options?: boolean | EventListenerOptions): void;
6465 removeEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
6466 removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
6467 removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
6468 }
6469 var HTMLScSelectElement: {
6470 prototype: HTMLScSelectElement;
6471 new (): HTMLScSelectElement;
6472 };
6473 interface HTMLScSessionProviderElementEventMap {
6474 "scUpdateOrderState": Checkout;
6475 "scUpdateDraftState": Checkout;
6476 "scPaid": void;
6477 "scSetState": FormStateSetter;
6478 }
6479 interface HTMLScSessionProviderElement extends Components.ScSessionProvider, HTMLStencilElement {
6480 addEventListener<K extends keyof HTMLScSessionProviderElementEventMap>(type: K, listener: (this: HTMLScSessionProviderElement, ev: ScSessionProviderCustomEvent<HTMLScSessionProviderElementEventMap[K]>) => any, options?: boolean | AddEventListenerOptions): void;
6481 addEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
6482 addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
6483 addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
6484 removeEventListener<K extends keyof HTMLScSessionProviderElementEventMap>(type: K, listener: (this: HTMLScSessionProviderElement, ev: ScSessionProviderCustomEvent<HTMLScSessionProviderElementEventMap[K]>) => any, options?: boolean | EventListenerOptions): void;
6485 removeEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
6486 removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
6487 removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
6488 }
6489 var HTMLScSessionProviderElement: {
6490 prototype: HTMLScSessionProviderElement;
6491 new (): HTMLScSessionProviderElement;
6492 };
6493 interface HTMLScShippingChoicesElement extends Components.ScShippingChoices, HTMLStencilElement {
6494 }
6495 var HTMLScShippingChoicesElement: {
6496 prototype: HTMLScShippingChoicesElement;
6497 new (): HTMLScShippingChoicesElement;
6498 };
6499 interface HTMLScSkeletonElement extends Components.ScSkeleton, HTMLStencilElement {
6500 }
6501 var HTMLScSkeletonElement: {
6502 prototype: HTMLScSkeletonElement;
6503 new (): HTMLScSkeletonElement;
6504 };
6505 interface HTMLScSpacingElement extends Components.ScSpacing, HTMLStencilElement {
6506 }
6507 var HTMLScSpacingElement: {
6508 prototype: HTMLScSpacingElement;
6509 new (): HTMLScSpacingElement;
6510 };
6511 interface HTMLScSpinnerElement extends Components.ScSpinner, HTMLStencilElement {
6512 }
6513 var HTMLScSpinnerElement: {
6514 prototype: HTMLScSpinnerElement;
6515 new (): HTMLScSpinnerElement;
6516 };
6517 interface HTMLScStackedListElement extends Components.ScStackedList, HTMLStencilElement {
6518 }
6519 var HTMLScStackedListElement: {
6520 prototype: HTMLScStackedListElement;
6521 new (): HTMLScStackedListElement;
6522 };
6523 interface HTMLScStackedListRowElement extends Components.ScStackedListRow, HTMLStencilElement {
6524 }
6525 var HTMLScStackedListRowElement: {
6526 prototype: HTMLScStackedListRowElement;
6527 new (): HTMLScStackedListRowElement;
6528 };
6529 interface HTMLScStripeAddMethodElement extends Components.ScStripeAddMethod, HTMLStencilElement {
6530 }
6531 var HTMLScStripeAddMethodElement: {
6532 prototype: HTMLScStripeAddMethodElement;
6533 new (): HTMLScStripeAddMethodElement;
6534 };
6535 interface HTMLScStripeElementElementEventMap {
6536 "scPaid": void;
6537 "scSetState": FormStateSetter;
6538 "scPaymentInfoAdded": PaymentInfoAddedParams;
6539 }
6540 interface HTMLScStripeElementElement extends Components.ScStripeElement, HTMLStencilElement {
6541 addEventListener<K extends keyof HTMLScStripeElementElementEventMap>(type: K, listener: (this: HTMLScStripeElementElement, ev: ScStripeElementCustomEvent<HTMLScStripeElementElementEventMap[K]>) => any, options?: boolean | AddEventListenerOptions): void;
6542 addEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
6543 addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
6544 addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
6545 removeEventListener<K extends keyof HTMLScStripeElementElementEventMap>(type: K, listener: (this: HTMLScStripeElementElement, ev: ScStripeElementCustomEvent<HTMLScStripeElementElementEventMap[K]>) => any, options?: boolean | EventListenerOptions): void;
6546 removeEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
6547 removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
6548 removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
6549 }
6550 var HTMLScStripeElementElement: {
6551 prototype: HTMLScStripeElementElement;
6552 new (): HTMLScStripeElementElement;
6553 };
6554 interface HTMLScStripePaymentElementElementEventMap {
6555 "scPaid": void;
6556 "scSetState": FormStateSetter;
6557 "scPaymentInfoAdded": PaymentInfoAddedParams;
6558 }
6559 interface HTMLScStripePaymentElementElement extends Components.ScStripePaymentElement, HTMLStencilElement {
6560 addEventListener<K extends keyof HTMLScStripePaymentElementElementEventMap>(type: K, listener: (this: HTMLScStripePaymentElementElement, ev: ScStripePaymentElementCustomEvent<HTMLScStripePaymentElementElementEventMap[K]>) => any, options?: boolean | AddEventListenerOptions): void;
6561 addEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
6562 addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
6563 addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
6564 removeEventListener<K extends keyof HTMLScStripePaymentElementElementEventMap>(type: K, listener: (this: HTMLScStripePaymentElementElement, ev: ScStripePaymentElementCustomEvent<HTMLScStripePaymentElementElementEventMap[K]>) => any, options?: boolean | EventListenerOptions): void;
6565 removeEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
6566 removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
6567 removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
6568 }
6569 var HTMLScStripePaymentElementElement: {
6570 prototype: HTMLScStripePaymentElementElement;
6571 new (): HTMLScStripePaymentElementElement;
6572 };
6573 interface HTMLScStripePaymentRequestElementEventMap {
6574 "scFormSubmit": any;
6575 "scPaid": void;
6576 "scPayError": any;
6577 "scSetState": string;
6578 "scPaymentRequestLoaded": boolean;
6579 "scUpdateOrderState": any;
6580 }
6581 interface HTMLScStripePaymentRequestElement extends Components.ScStripePaymentRequest, HTMLStencilElement {
6582 addEventListener<K extends keyof HTMLScStripePaymentRequestElementEventMap>(type: K, listener: (this: HTMLScStripePaymentRequestElement, ev: ScStripePaymentRequestCustomEvent<HTMLScStripePaymentRequestElementEventMap[K]>) => any, options?: boolean | AddEventListenerOptions): void;
6583 addEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
6584 addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
6585 addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
6586 removeEventListener<K extends keyof HTMLScStripePaymentRequestElementEventMap>(type: K, listener: (this: HTMLScStripePaymentRequestElement, ev: ScStripePaymentRequestCustomEvent<HTMLScStripePaymentRequestElementEventMap[K]>) => any, options?: boolean | EventListenerOptions): void;
6587 removeEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
6588 removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
6589 removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
6590 }
6591 var HTMLScStripePaymentRequestElement: {
6592 prototype: HTMLScStripePaymentRequestElement;
6593 new (): HTMLScStripePaymentRequestElement;
6594 };
6595 interface HTMLScSubscriptionElement extends Components.ScSubscription, HTMLStencilElement {
6596 }
6597 var HTMLScSubscriptionElement: {
6598 prototype: HTMLScSubscriptionElement;
6599 new (): HTMLScSubscriptionElement;
6600 };
6601 interface HTMLScSubscriptionAdHocConfirmElement extends Components.ScSubscriptionAdHocConfirm, HTMLStencilElement {
6602 }
6603 var HTMLScSubscriptionAdHocConfirmElement: {
6604 prototype: HTMLScSubscriptionAdHocConfirmElement;
6605 new (): HTMLScSubscriptionAdHocConfirmElement;
6606 };
6607 interface HTMLScSubscriptionCancelElementEventMap {
6608 "scAbandon": void;
6609 "scCancelled": void;
6610 }
6611 interface HTMLScSubscriptionCancelElement extends Components.ScSubscriptionCancel, HTMLStencilElement {
6612 addEventListener<K extends keyof HTMLScSubscriptionCancelElementEventMap>(type: K, listener: (this: HTMLScSubscriptionCancelElement, ev: ScSubscriptionCancelCustomEvent<HTMLScSubscriptionCancelElementEventMap[K]>) => any, options?: boolean | AddEventListenerOptions): void;
6613 addEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
6614 addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
6615 addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
6616 removeEventListener<K extends keyof HTMLScSubscriptionCancelElementEventMap>(type: K, listener: (this: HTMLScSubscriptionCancelElement, ev: ScSubscriptionCancelCustomEvent<HTMLScSubscriptionCancelElementEventMap[K]>) => any, options?: boolean | EventListenerOptions): void;
6617 removeEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
6618 removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
6619 removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
6620 }
6621 var HTMLScSubscriptionCancelElement: {
6622 prototype: HTMLScSubscriptionCancelElement;
6623 new (): HTMLScSubscriptionCancelElement;
6624 };
6625 interface HTMLScSubscriptionDetailsElement extends Components.ScSubscriptionDetails, HTMLStencilElement {
6626 }
6627 var HTMLScSubscriptionDetailsElement: {
6628 prototype: HTMLScSubscriptionDetailsElement;
6629 new (): HTMLScSubscriptionDetailsElement;
6630 };
6631 interface HTMLScSubscriptionNextPaymentElement extends Components.ScSubscriptionNextPayment, HTMLStencilElement {
6632 }
6633 var HTMLScSubscriptionNextPaymentElement: {
6634 prototype: HTMLScSubscriptionNextPaymentElement;
6635 new (): HTMLScSubscriptionNextPaymentElement;
6636 };
6637 interface HTMLScSubscriptionPaymentElement extends Components.ScSubscriptionPayment, HTMLStencilElement {
6638 }
6639 var HTMLScSubscriptionPaymentElement: {
6640 prototype: HTMLScSubscriptionPaymentElement;
6641 new (): HTMLScSubscriptionPaymentElement;
6642 };
6643 interface HTMLScSubscriptionPaymentMethodElement extends Components.ScSubscriptionPaymentMethod, HTMLStencilElement {
6644 }
6645 var HTMLScSubscriptionPaymentMethodElement: {
6646 prototype: HTMLScSubscriptionPaymentMethodElement;
6647 new (): HTMLScSubscriptionPaymentMethodElement;
6648 };
6649 interface HTMLScSubscriptionReactivateElementEventMap {
6650 "scRequestClose": 'close-button' | 'keyboard' | 'overlay';
6651 "scRefresh": void;
6652 }
6653 interface HTMLScSubscriptionReactivateElement extends Components.ScSubscriptionReactivate, HTMLStencilElement {
6654 addEventListener<K extends keyof HTMLScSubscriptionReactivateElementEventMap>(type: K, listener: (this: HTMLScSubscriptionReactivateElement, ev: ScSubscriptionReactivateCustomEvent<HTMLScSubscriptionReactivateElementEventMap[K]>) => any, options?: boolean | AddEventListenerOptions): void;
6655 addEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
6656 addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
6657 addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
6658 removeEventListener<K extends keyof HTMLScSubscriptionReactivateElementEventMap>(type: K, listener: (this: HTMLScSubscriptionReactivateElement, ev: ScSubscriptionReactivateCustomEvent<HTMLScSubscriptionReactivateElementEventMap[K]>) => any, options?: boolean | EventListenerOptions): void;
6659 removeEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
6660 removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
6661 removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
6662 }
6663 var HTMLScSubscriptionReactivateElement: {
6664 prototype: HTMLScSubscriptionReactivateElement;
6665 new (): HTMLScSubscriptionReactivateElement;
6666 };
6667 interface HTMLScSubscriptionStatusBadgeElement extends Components.ScSubscriptionStatusBadge, HTMLStencilElement {
6668 }
6669 var HTMLScSubscriptionStatusBadgeElement: {
6670 prototype: HTMLScSubscriptionStatusBadgeElement;
6671 new (): HTMLScSubscriptionStatusBadgeElement;
6672 };
6673 interface HTMLScSubscriptionSwitchElement extends Components.ScSubscriptionSwitch, HTMLStencilElement {
6674 }
6675 var HTMLScSubscriptionSwitchElement: {
6676 prototype: HTMLScSubscriptionSwitchElement;
6677 new (): HTMLScSubscriptionSwitchElement;
6678 };
6679 interface HTMLScSubscriptionVariationConfirmElement extends Components.ScSubscriptionVariationConfirm, HTMLStencilElement {
6680 }
6681 var HTMLScSubscriptionVariationConfirmElement: {
6682 prototype: HTMLScSubscriptionVariationConfirmElement;
6683 new (): HTMLScSubscriptionVariationConfirmElement;
6684 };
6685 interface HTMLScSubscriptionsListElement extends Components.ScSubscriptionsList, HTMLStencilElement {
6686 }
6687 var HTMLScSubscriptionsListElement: {
6688 prototype: HTMLScSubscriptionsListElement;
6689 new (): HTMLScSubscriptionsListElement;
6690 };
6691 interface HTMLScSummaryElementEventMap {
6692 "scShow": void;
6693 "scHide": void;
6694 }
6695 interface HTMLScSummaryElement extends Components.ScSummary, HTMLStencilElement {
6696 addEventListener<K extends keyof HTMLScSummaryElementEventMap>(type: K, listener: (this: HTMLScSummaryElement, ev: ScSummaryCustomEvent<HTMLScSummaryElementEventMap[K]>) => any, options?: boolean | AddEventListenerOptions): void;
6697 addEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
6698 addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
6699 addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
6700 removeEventListener<K extends keyof HTMLScSummaryElementEventMap>(type: K, listener: (this: HTMLScSummaryElement, ev: ScSummaryCustomEvent<HTMLScSummaryElementEventMap[K]>) => any, options?: boolean | EventListenerOptions): void;
6701 removeEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
6702 removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
6703 removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
6704 }
6705 var HTMLScSummaryElement: {
6706 prototype: HTMLScSummaryElement;
6707 new (): HTMLScSummaryElement;
6708 };
6709 interface HTMLScSwapElement extends Components.ScSwap, HTMLStencilElement {
6710 }
6711 var HTMLScSwapElement: {
6712 prototype: HTMLScSwapElement;
6713 new (): HTMLScSwapElement;
6714 };
6715 interface HTMLScSwitchElementEventMap {
6716 "scBlur": void;
6717 "scChange": void;
6718 "scFocus": void;
6719 }
6720 interface HTMLScSwitchElement extends Components.ScSwitch, HTMLStencilElement {
6721 addEventListener<K extends keyof HTMLScSwitchElementEventMap>(type: K, listener: (this: HTMLScSwitchElement, ev: ScSwitchCustomEvent<HTMLScSwitchElementEventMap[K]>) => any, options?: boolean | AddEventListenerOptions): void;
6722 addEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
6723 addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
6724 addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
6725 removeEventListener<K extends keyof HTMLScSwitchElementEventMap>(type: K, listener: (this: HTMLScSwitchElement, ev: ScSwitchCustomEvent<HTMLScSwitchElementEventMap[K]>) => any, options?: boolean | EventListenerOptions): void;
6726 removeEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
6727 removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
6728 removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
6729 }
6730 var HTMLScSwitchElement: {
6731 prototype: HTMLScSwitchElement;
6732 new (): HTMLScSwitchElement;
6733 };
6734 interface HTMLScTabElementEventMap {
6735 "scClose": void;
6736 }
6737 interface HTMLScTabElement extends Components.ScTab, HTMLStencilElement {
6738 addEventListener<K extends keyof HTMLScTabElementEventMap>(type: K, listener: (this: HTMLScTabElement, ev: ScTabCustomEvent<HTMLScTabElementEventMap[K]>) => any, options?: boolean | AddEventListenerOptions): void;
6739 addEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
6740 addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
6741 addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
6742 removeEventListener<K extends keyof HTMLScTabElementEventMap>(type: K, listener: (this: HTMLScTabElement, ev: ScTabCustomEvent<HTMLScTabElementEventMap[K]>) => any, options?: boolean | EventListenerOptions): void;
6743 removeEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
6744 removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
6745 removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
6746 }
6747 var HTMLScTabElement: {
6748 prototype: HTMLScTabElement;
6749 new (): HTMLScTabElement;
6750 };
6751 interface HTMLScTabGroupElementEventMap {
6752 "scTabHide": string;
6753 "scTabShow": string;
6754 }
6755 interface HTMLScTabGroupElement extends Components.ScTabGroup, HTMLStencilElement {
6756 addEventListener<K extends keyof HTMLScTabGroupElementEventMap>(type: K, listener: (this: HTMLScTabGroupElement, ev: ScTabGroupCustomEvent<HTMLScTabGroupElementEventMap[K]>) => any, options?: boolean | AddEventListenerOptions): void;
6757 addEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
6758 addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
6759 addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
6760 removeEventListener<K extends keyof HTMLScTabGroupElementEventMap>(type: K, listener: (this: HTMLScTabGroupElement, ev: ScTabGroupCustomEvent<HTMLScTabGroupElementEventMap[K]>) => any, options?: boolean | EventListenerOptions): void;
6761 removeEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
6762 removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
6763 removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
6764 }
6765 var HTMLScTabGroupElement: {
6766 prototype: HTMLScTabGroupElement;
6767 new (): HTMLScTabGroupElement;
6768 };
6769 interface HTMLScTabPanelElement extends Components.ScTabPanel, HTMLStencilElement {
6770 }
6771 var HTMLScTabPanelElement: {
6772 prototype: HTMLScTabPanelElement;
6773 new (): HTMLScTabPanelElement;
6774 };
6775 interface HTMLScTableElement extends Components.ScTable, HTMLStencilElement {
6776 }
6777 var HTMLScTableElement: {
6778 prototype: HTMLScTableElement;
6779 new (): HTMLScTableElement;
6780 };
6781 interface HTMLScTableCellElement extends Components.ScTableCell, HTMLStencilElement {
6782 }
6783 var HTMLScTableCellElement: {
6784 prototype: HTMLScTableCellElement;
6785 new (): HTMLScTableCellElement;
6786 };
6787 interface HTMLScTableHeadElement extends Components.ScTableHead, HTMLStencilElement {
6788 }
6789 var HTMLScTableHeadElement: {
6790 prototype: HTMLScTableHeadElement;
6791 new (): HTMLScTableHeadElement;
6792 };
6793 interface HTMLScTableRowElement extends Components.ScTableRow, HTMLStencilElement {
6794 }
6795 var HTMLScTableRowElement: {
6796 prototype: HTMLScTableRowElement;
6797 new (): HTMLScTableRowElement;
6798 };
6799 interface HTMLScTagElementEventMap {
6800 "scClear": ScTag;
6801 }
6802 interface HTMLScTagElement extends Components.ScTag, HTMLStencilElement {
6803 addEventListener<K extends keyof HTMLScTagElementEventMap>(type: K, listener: (this: HTMLScTagElement, ev: ScTagCustomEvent<HTMLScTagElementEventMap[K]>) => any, options?: boolean | AddEventListenerOptions): void;
6804 addEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
6805 addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
6806 addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
6807 removeEventListener<K extends keyof HTMLScTagElementEventMap>(type: K, listener: (this: HTMLScTagElement, ev: ScTagCustomEvent<HTMLScTagElementEventMap[K]>) => any, options?: boolean | EventListenerOptions): void;
6808 removeEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
6809 removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
6810 removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
6811 }
6812 var HTMLScTagElement: {
6813 prototype: HTMLScTagElement;
6814 new (): HTMLScTagElement;
6815 };
6816 interface HTMLScTaxIdInputElementEventMap {
6817 "scChange": { number: string; number_type: string };
6818 "scInput": Partial<{ number: string; number_type: string }>;
6819 "scInputType": string;
6820 "scSetState": string;
6821 }
6822 interface HTMLScTaxIdInputElement extends Components.ScTaxIdInput, HTMLStencilElement {
6823 addEventListener<K extends keyof HTMLScTaxIdInputElementEventMap>(type: K, listener: (this: HTMLScTaxIdInputElement, ev: ScTaxIdInputCustomEvent<HTMLScTaxIdInputElementEventMap[K]>) => any, options?: boolean | AddEventListenerOptions): void;
6824 addEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
6825 addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
6826 addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
6827 removeEventListener<K extends keyof HTMLScTaxIdInputElementEventMap>(type: K, listener: (this: HTMLScTaxIdInputElement, ev: ScTaxIdInputCustomEvent<HTMLScTaxIdInputElementEventMap[K]>) => any, options?: boolean | EventListenerOptions): void;
6828 removeEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
6829 removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
6830 removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
6831 }
6832 var HTMLScTaxIdInputElement: {
6833 prototype: HTMLScTaxIdInputElement;
6834 new (): HTMLScTaxIdInputElement;
6835 };
6836 interface HTMLScTestModeInfoElement extends Components.ScTestModeInfo, HTMLStencilElement {
6837 }
6838 var HTMLScTestModeInfoElement: {
6839 prototype: HTMLScTestModeInfoElement;
6840 new (): HTMLScTestModeInfoElement;
6841 };
6842 interface HTMLScTextElement extends Components.ScText, HTMLStencilElement {
6843 }
6844 var HTMLScTextElement: {
6845 prototype: HTMLScTextElement;
6846 new (): HTMLScTextElement;
6847 };
6848 interface HTMLScTextareaElementEventMap {
6849 "scChange": void;
6850 "scInput": void;
6851 "scBlur": void;
6852 "scFocus": void;
6853 }
6854 interface HTMLScTextareaElement extends Components.ScTextarea, HTMLStencilElement {
6855 addEventListener<K extends keyof HTMLScTextareaElementEventMap>(type: K, listener: (this: HTMLScTextareaElement, ev: ScTextareaCustomEvent<HTMLScTextareaElementEventMap[K]>) => any, options?: boolean | AddEventListenerOptions): void;
6856 addEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
6857 addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
6858 addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
6859 removeEventListener<K extends keyof HTMLScTextareaElementEventMap>(type: K, listener: (this: HTMLScTextareaElement, ev: ScTextareaCustomEvent<HTMLScTextareaElementEventMap[K]>) => any, options?: boolean | EventListenerOptions): void;
6860 removeEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
6861 removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
6862 removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
6863 }
6864 var HTMLScTextareaElement: {
6865 prototype: HTMLScTextareaElement;
6866 new (): HTMLScTextareaElement;
6867 };
6868 interface HTMLScToggleElementEventMap {
6869 "scShow": void;
6870 "scHide": void;
6871 }
6872 interface HTMLScToggleElement extends Components.ScToggle, HTMLStencilElement {
6873 addEventListener<K extends keyof HTMLScToggleElementEventMap>(type: K, listener: (this: HTMLScToggleElement, ev: ScToggleCustomEvent<HTMLScToggleElementEventMap[K]>) => any, options?: boolean | AddEventListenerOptions): void;
6874 addEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
6875 addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
6876 addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
6877 removeEventListener<K extends keyof HTMLScToggleElementEventMap>(type: K, listener: (this: HTMLScToggleElement, ev: ScToggleCustomEvent<HTMLScToggleElementEventMap[K]>) => any, options?: boolean | EventListenerOptions): void;
6878 removeEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
6879 removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
6880 removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
6881 }
6882 var HTMLScToggleElement: {
6883 prototype: HTMLScToggleElement;
6884 new (): HTMLScToggleElement;
6885 };
6886 interface HTMLScTogglesElement extends Components.ScToggles, HTMLStencilElement {
6887 }
6888 var HTMLScTogglesElement: {
6889 prototype: HTMLScTogglesElement;
6890 new (): HTMLScTogglesElement;
6891 };
6892 interface HTMLScTooltipElement extends Components.ScTooltip, HTMLStencilElement {
6893 }
6894 var HTMLScTooltipElement: {
6895 prototype: HTMLScTooltipElement;
6896 new (): HTMLScTooltipElement;
6897 };
6898 interface HTMLScTotalElement extends Components.ScTotal, HTMLStencilElement {
6899 }
6900 var HTMLScTotalElement: {
6901 prototype: HTMLScTotalElement;
6902 new (): HTMLScTotalElement;
6903 };
6904 interface HTMLScUpcomingInvoiceElement extends Components.ScUpcomingInvoice, HTMLStencilElement {
6905 }
6906 var HTMLScUpcomingInvoiceElement: {
6907 prototype: HTMLScUpcomingInvoiceElement;
6908 new (): HTMLScUpcomingInvoiceElement;
6909 };
6910 interface HTMLScUpgradeRequiredElement extends Components.ScUpgradeRequired, HTMLStencilElement {
6911 }
6912 var HTMLScUpgradeRequiredElement: {
6913 prototype: HTMLScUpgradeRequiredElement;
6914 new (): HTMLScUpgradeRequiredElement;
6915 };
6916 interface HTMLScUpsellElement extends Components.ScUpsell, HTMLStencilElement {
6917 }
6918 var HTMLScUpsellElement: {
6919 prototype: HTMLScUpsellElement;
6920 new (): HTMLScUpsellElement;
6921 };
6922 interface HTMLScUpsellCountdownTimerElement extends Components.ScUpsellCountdownTimer, HTMLStencilElement {
6923 }
6924 var HTMLScUpsellCountdownTimerElement: {
6925 prototype: HTMLScUpsellCountdownTimerElement;
6926 new (): HTMLScUpsellCountdownTimerElement;
6927 };
6928 interface HTMLScUpsellNoThanksButtonElement extends Components.ScUpsellNoThanksButton, HTMLStencilElement {
6929 }
6930 var HTMLScUpsellNoThanksButtonElement: {
6931 prototype: HTMLScUpsellNoThanksButtonElement;
6932 new (): HTMLScUpsellNoThanksButtonElement;
6933 };
6934 interface HTMLScUpsellSubmitButtonElement extends Components.ScUpsellSubmitButton, HTMLStencilElement {
6935 }
6936 var HTMLScUpsellSubmitButtonElement: {
6937 prototype: HTMLScUpsellSubmitButtonElement;
6938 new (): HTMLScUpsellSubmitButtonElement;
6939 };
6940 interface HTMLScUpsellTotalsElement extends Components.ScUpsellTotals, HTMLStencilElement {
6941 }
6942 var HTMLScUpsellTotalsElement: {
6943 prototype: HTMLScUpsellTotalsElement;
6944 new (): HTMLScUpsellTotalsElement;
6945 };
6946 interface HTMLScVerificationCodeElement extends Components.ScVerificationCode, HTMLStencilElement {
6947 }
6948 var HTMLScVerificationCodeElement: {
6949 prototype: HTMLScVerificationCodeElement;
6950 new (): HTMLScVerificationCodeElement;
6951 };
6952 interface HTMLScVisuallyHiddenElement extends Components.ScVisuallyHidden, HTMLStencilElement {
6953 }
6954 var HTMLScVisuallyHiddenElement: {
6955 prototype: HTMLScVisuallyHiddenElement;
6956 new (): HTMLScVisuallyHiddenElement;
6957 };
6958 interface HTMLScWordpressPasswordEditElement extends Components.ScWordpressPasswordEdit, HTMLStencilElement {
6959 }
6960 var HTMLScWordpressPasswordEditElement: {
6961 prototype: HTMLScWordpressPasswordEditElement;
6962 new (): HTMLScWordpressPasswordEditElement;
6963 };
6964 interface HTMLScWordpressUserElement extends Components.ScWordpressUser, HTMLStencilElement {
6965 }
6966 var HTMLScWordpressUserElement: {
6967 prototype: HTMLScWordpressUserElement;
6968 new (): HTMLScWordpressUserElement;
6969 };
6970 interface HTMLScWordpressUserEditElement extends Components.ScWordpressUserEdit, HTMLStencilElement {
6971 }
6972 var HTMLScWordpressUserEditElement: {
6973 prototype: HTMLScWordpressUserEditElement;
6974 new (): HTMLScWordpressUserEditElement;
6975 };
6976 interface HTMLElementTagNameMap {
6977 "sc-address": HTMLScAddressElement;
6978 "sc-address-suggestions": HTMLScAddressSuggestionsElement;
6979 "sc-alert": HTMLScAlertElement;
6980 "sc-avatar": HTMLScAvatarElement;
6981 "sc-badge-notice": HTMLScBadgeNoticeElement;
6982 "sc-block-ui": HTMLScBlockUiElement;
6983 "sc-breadcrumb": HTMLScBreadcrumbElement;
6984 "sc-breadcrumbs": HTMLScBreadcrumbsElement;
6985 "sc-button": HTMLScButtonElement;
6986 "sc-button-group": HTMLScButtonGroupElement;
6987 "sc-cancel-dialog": HTMLScCancelDialogElement;
6988 "sc-cancel-discount": HTMLScCancelDiscountElement;
6989 "sc-cancel-survey": HTMLScCancelSurveyElement;
6990 "sc-card": HTMLScCardElement;
6991 "sc-cart": HTMLScCartElement;
6992 "sc-cart-button": HTMLScCartButtonElement;
6993 "sc-cart-form": HTMLScCartFormElement;
6994 "sc-cart-form-submit": HTMLScCartFormSubmitElement;
6995 "sc-cart-header": HTMLScCartHeaderElement;
6996 "sc-cart-icon": HTMLScCartIconElement;
6997 "sc-cart-loader": HTMLScCartLoaderElement;
6998 "sc-cart-session-provider": HTMLScCartSessionProviderElement;
6999 "sc-cart-submit": HTMLScCartSubmitElement;
7000 "sc-cc-logo": HTMLScCcLogoElement;
7001 "sc-charges-list": HTMLScChargesListElement;
7002 "sc-checkbox": HTMLScCheckboxElement;
7003 "sc-checkout": HTMLScCheckoutElement;
7004 "sc-checkout-autofill-provider": HTMLScCheckoutAutofillProviderElement;
7005 "sc-checkout-form-errors": HTMLScCheckoutFormErrorsElement;
7006 "sc-checkout-geo-permission": HTMLScCheckoutGeoPermissionElement;
7007 "sc-checkout-mollie-payment": HTMLScCheckoutMolliePaymentElement;
7008 "sc-checkout-paystack-payment-provider": HTMLScCheckoutPaystackPaymentProviderElement;
7009 "sc-checkout-product-price-variant-selector": HTMLScCheckoutProductPriceVariantSelectorElement;
7010 "sc-checkout-razorpay-payment-provider": HTMLScCheckoutRazorpayPaymentProviderElement;
7011 "sc-checkout-stock-alert": HTMLScCheckoutStockAlertElement;
7012 "sc-checkout-test-complete": HTMLScCheckoutTestCompleteElement;
7013 "sc-checkout-unsaved-changes-warning": HTMLScCheckoutUnsavedChangesWarningElement;
7014 "sc-choice": HTMLScChoiceElement;
7015 "sc-choice-container": HTMLScChoiceContainerElement;
7016 "sc-choices": HTMLScChoicesElement;
7017 "sc-column": HTMLScColumnElement;
7018 "sc-columns": HTMLScColumnsElement;
7019 "sc-compact-address": HTMLScCompactAddressElement;
7020 "sc-conditional-form": HTMLScConditionalFormElement;
7021 "sc-consumer": HTMLScConsumerElement;
7022 "sc-coupon-form": HTMLScCouponFormElement;
7023 "sc-custom-order-price-input": HTMLScCustomOrderPriceInputElement;
7024 "sc-customer-details": HTMLScCustomerDetailsElement;
7025 "sc-customer-edit": HTMLScCustomerEditElement;
7026 "sc-customer-email": HTMLScCustomerEmailElement;
7027 "sc-customer-firstname": HTMLScCustomerFirstnameElement;
7028 "sc-customer-lastname": HTMLScCustomerLastnameElement;
7029 "sc-customer-login": HTMLScCustomerLoginElement;
7030 "sc-customer-name": HTMLScCustomerNameElement;
7031 "sc-customer-phone": HTMLScCustomerPhoneElement;
7032 "sc-dashboard-customer-details": HTMLScDashboardCustomerDetailsElement;
7033 "sc-dashboard-downloads-list": HTMLScDashboardDownloadsListElement;
7034 "sc-dashboard-module": HTMLScDashboardModuleElement;
7035 "sc-dialog": HTMLScDialogElement;
7036 "sc-divider": HTMLScDividerElement;
7037 "sc-donation-choices": HTMLScDonationChoicesElement;
7038 "sc-downloads-list": HTMLScDownloadsListElement;
7039 "sc-drawer": HTMLScDrawerElement;
7040 "sc-dropdown": HTMLScDropdownElement;
7041 "sc-empty": HTMLScEmptyElement;
7042 "sc-error": HTMLScErrorElement;
7043 "sc-express-payment": HTMLScExpressPaymentElement;
7044 "sc-feature-demo-banner": HTMLScFeatureDemoBannerElement;
7045 "sc-flex": HTMLScFlexElement;
7046 "sc-form": HTMLScFormElement;
7047 "sc-form-components-validator": HTMLScFormComponentsValidatorElement;
7048 "sc-form-control": HTMLScFormControlElement;
7049 "sc-form-error-provider": HTMLScFormErrorProviderElement;
7050 "sc-form-row": HTMLScFormRowElement;
7051 "sc-form-state-provider": HTMLScFormStateProviderElement;
7052 "sc-format-bytes": HTMLScFormatBytesElement;
7053 "sc-format-interval": HTMLScFormatIntervalElement;
7054 "sc-format-number": HTMLScFormatNumberElement;
7055 "sc-fulfillment-shipping-status-badge": HTMLScFulfillmentShippingStatusBadgeElement;
7056 "sc-fulfillments": HTMLScFulfillmentsElement;
7057 "sc-heading": HTMLScHeadingElement;
7058 "sc-icon": HTMLScIconElement;
7059 "sc-image-slider": HTMLScImageSliderElement;
7060 "sc-input": HTMLScInputElement;
7061 "sc-invoice-details": HTMLScInvoiceDetailsElement;
7062 "sc-invoice-memo": HTMLScInvoiceMemoElement;
7063 "sc-invoice-status-badge": HTMLScInvoiceStatusBadgeElement;
7064 "sc-invoices-list": HTMLScInvoicesListElement;
7065 "sc-license": HTMLScLicenseElement;
7066 "sc-licenses-list": HTMLScLicensesListElement;
7067 "sc-line-item": HTMLScLineItemElement;
7068 "sc-line-item-bump": HTMLScLineItemBumpElement;
7069 "sc-line-item-invoice-due-date": HTMLScLineItemInvoiceDueDateElement;
7070 "sc-line-item-invoice-number": HTMLScLineItemInvoiceNumberElement;
7071 "sc-line-item-invoice-receipt-download": HTMLScLineItemInvoiceReceiptDownloadElement;
7072 "sc-line-item-shipping": HTMLScLineItemShippingElement;
7073 "sc-line-item-tax": HTMLScLineItemTaxElement;
7074 "sc-line-item-total": HTMLScLineItemTotalElement;
7075 "sc-line-item-trial": HTMLScLineItemTrialElement;
7076 "sc-line-items": HTMLScLineItemsElement;
7077 "sc-line-items-provider": HTMLScLineItemsProviderElement;
7078 "sc-login-form": HTMLScLoginFormElement;
7079 "sc-login-provider": HTMLScLoginProviderElement;
7080 "sc-manual-payment-method": HTMLScManualPaymentMethodElement;
7081 "sc-menu": HTMLScMenuElement;
7082 "sc-menu-divider": HTMLScMenuDividerElement;
7083 "sc-menu-item": HTMLScMenuItemElement;
7084 "sc-menu-label": HTMLScMenuLabelElement;
7085 "sc-mollie-add-method": HTMLScMollieAddMethodElement;
7086 "sc-order": HTMLScOrderElement;
7087 "sc-order-billing-address": HTMLScOrderBillingAddressElement;
7088 "sc-order-bump": HTMLScOrderBumpElement;
7089 "sc-order-bumps": HTMLScOrderBumpsElement;
7090 "sc-order-confirm-components-validator": HTMLScOrderConfirmComponentsValidatorElement;
7091 "sc-order-confirm-provider": HTMLScOrderConfirmProviderElement;
7092 "sc-order-confirmation": HTMLScOrderConfirmationElement;
7093 "sc-order-confirmation-customer": HTMLScOrderConfirmationCustomerElement;
7094 "sc-order-confirmation-details": HTMLScOrderConfirmationDetailsElement;
7095 "sc-order-confirmation-line-items": HTMLScOrderConfirmationLineItemsElement;
7096 "sc-order-confirmation-totals": HTMLScOrderConfirmationTotalsElement;
7097 "sc-order-coupon-form": HTMLScOrderCouponFormElement;
7098 "sc-order-detail": HTMLScOrderDetailElement;
7099 "sc-order-fulfillment-badge": HTMLScOrderFulfillmentBadgeElement;
7100 "sc-order-manual-instructions": HTMLScOrderManualInstructionsElement;
7101 "sc-order-password": HTMLScOrderPasswordElement;
7102 "sc-order-return-badge": HTMLScOrderReturnBadgeElement;
7103 "sc-order-shipment-badge": HTMLScOrderShipmentBadgeElement;
7104 "sc-order-shipping-address": HTMLScOrderShippingAddressElement;
7105 "sc-order-status-badge": HTMLScOrderStatusBadgeElement;
7106 "sc-order-submit": HTMLScOrderSubmitElement;
7107 "sc-order-summary": HTMLScOrderSummaryElement;
7108 "sc-order-tax-id-input": HTMLScOrderTaxIdInputElement;
7109 "sc-orders-list": HTMLScOrdersListElement;
7110 "sc-pagination": HTMLScPaginationElement;
7111 "sc-password": HTMLScPasswordElement;
7112 "sc-password-nag": HTMLScPasswordNagElement;
7113 "sc-payment": HTMLScPaymentElement;
7114 "sc-payment-method": HTMLScPaymentMethodElement;
7115 "sc-payment-method-choice": HTMLScPaymentMethodChoiceElement;
7116 "sc-payment-method-details": HTMLScPaymentMethodDetailsElement;
7117 "sc-payment-methods-list": HTMLScPaymentMethodsListElement;
7118 "sc-payment-selected": HTMLScPaymentSelectedElement;
7119 "sc-paypal-add-method": HTMLScPaypalAddMethodElement;
7120 "sc-paypal-buttons": HTMLScPaypalButtonsElement;
7121 "sc-paystack-add-method": HTMLScPaystackAddMethodElement;
7122 "sc-phone-input": HTMLScPhoneInputElement;
7123 "sc-pill-option": HTMLScPillOptionElement;
7124 "sc-popover": HTMLScPopoverElement;
7125 "sc-premium-tag": HTMLScPremiumTagElement;
7126 "sc-price": HTMLScPriceElement;
7127 "sc-price-choice": HTMLScPriceChoiceElement;
7128 "sc-price-choice-container": HTMLScPriceChoiceContainerElement;
7129 "sc-price-choices": HTMLScPriceChoicesElement;
7130 "sc-price-input": HTMLScPriceInputElement;
7131 "sc-price-range": HTMLScPriceRangeElement;
7132 "sc-product-buy-button": HTMLScProductBuyButtonElement;
7133 "sc-product-donation-amount-choice": HTMLScProductDonationAmountChoiceElement;
7134 "sc-product-donation-choices": HTMLScProductDonationChoicesElement;
7135 "sc-product-donation-custom-amount": HTMLScProductDonationCustomAmountElement;
7136 "sc-product-item": HTMLScProductItemElement;
7137 "sc-product-item-image": HTMLScProductItemImageElement;
7138 "sc-product-item-list": HTMLScProductItemListElement;
7139 "sc-product-item-price": HTMLScProductItemPriceElement;
7140 "sc-product-item-title": HTMLScProductItemTitleElement;
7141 "sc-product-line-item": HTMLScProductLineItemElement;
7142 "sc-product-line-item-note": HTMLScProductLineItemNoteElement;
7143 "sc-product-pills-variant-option": HTMLScProductPillsVariantOptionElement;
7144 "sc-product-price": HTMLScProductPriceElement;
7145 "sc-product-price-choices": HTMLScProductPriceChoicesElement;
7146 "sc-product-price-modal": HTMLScProductPriceModalElement;
7147 "sc-product-quantity": HTMLScProductQuantityElement;
7148 "sc-product-selected-price": HTMLScProductSelectedPriceElement;
7149 "sc-product-text": HTMLScProductTextElement;
7150 "sc-prose": HTMLScProseElement;
7151 "sc-provider": HTMLScProviderElement;
7152 "sc-provisional-banner": HTMLScProvisionalBannerElement;
7153 "sc-purchase-downloads-list": HTMLScPurchaseDownloadsListElement;
7154 "sc-quantity-select": HTMLScQuantitySelectElement;
7155 "sc-radio": HTMLScRadioElement;
7156 "sc-radio-group": HTMLScRadioGroupElement;
7157 "sc-razorpay-add-method": HTMLScRazorpayAddMethodElement;
7158 "sc-recurring-price-choice-container": HTMLScRecurringPriceChoiceContainerElement;
7159 "sc-review-stars": HTMLScReviewStarsElement;
7160 "sc-rich-text": HTMLScRichTextElement;
7161 "sc-secure-notice": HTMLScSecureNoticeElement;
7162 "sc-select": HTMLScSelectElement;
7163 "sc-session-provider": HTMLScSessionProviderElement;
7164 "sc-shipping-choices": HTMLScShippingChoicesElement;
7165 "sc-skeleton": HTMLScSkeletonElement;
7166 "sc-spacing": HTMLScSpacingElement;
7167 "sc-spinner": HTMLScSpinnerElement;
7168 "sc-stacked-list": HTMLScStackedListElement;
7169 "sc-stacked-list-row": HTMLScStackedListRowElement;
7170 "sc-stripe-add-method": HTMLScStripeAddMethodElement;
7171 "sc-stripe-element": HTMLScStripeElementElement;
7172 "sc-stripe-payment-element": HTMLScStripePaymentElementElement;
7173 "sc-stripe-payment-request": HTMLScStripePaymentRequestElement;
7174 "sc-subscription": HTMLScSubscriptionElement;
7175 "sc-subscription-ad-hoc-confirm": HTMLScSubscriptionAdHocConfirmElement;
7176 "sc-subscription-cancel": HTMLScSubscriptionCancelElement;
7177 "sc-subscription-details": HTMLScSubscriptionDetailsElement;
7178 "sc-subscription-next-payment": HTMLScSubscriptionNextPaymentElement;
7179 "sc-subscription-payment": HTMLScSubscriptionPaymentElement;
7180 "sc-subscription-payment-method": HTMLScSubscriptionPaymentMethodElement;
7181 "sc-subscription-reactivate": HTMLScSubscriptionReactivateElement;
7182 "sc-subscription-status-badge": HTMLScSubscriptionStatusBadgeElement;
7183 "sc-subscription-switch": HTMLScSubscriptionSwitchElement;
7184 "sc-subscription-variation-confirm": HTMLScSubscriptionVariationConfirmElement;
7185 "sc-subscriptions-list": HTMLScSubscriptionsListElement;
7186 "sc-summary": HTMLScSummaryElement;
7187 "sc-swap": HTMLScSwapElement;
7188 "sc-switch": HTMLScSwitchElement;
7189 "sc-tab": HTMLScTabElement;
7190 "sc-tab-group": HTMLScTabGroupElement;
7191 "sc-tab-panel": HTMLScTabPanelElement;
7192 "sc-table": HTMLScTableElement;
7193 "sc-table-cell": HTMLScTableCellElement;
7194 "sc-table-head": HTMLScTableHeadElement;
7195 "sc-table-row": HTMLScTableRowElement;
7196 "sc-tag": HTMLScTagElement;
7197 "sc-tax-id-input": HTMLScTaxIdInputElement;
7198 "sc-test-mode-info": HTMLScTestModeInfoElement;
7199 "sc-text": HTMLScTextElement;
7200 "sc-textarea": HTMLScTextareaElement;
7201 "sc-toggle": HTMLScToggleElement;
7202 "sc-toggles": HTMLScTogglesElement;
7203 "sc-tooltip": HTMLScTooltipElement;
7204 "sc-total": HTMLScTotalElement;
7205 "sc-upcoming-invoice": HTMLScUpcomingInvoiceElement;
7206 "sc-upgrade-required": HTMLScUpgradeRequiredElement;
7207 "sc-upsell": HTMLScUpsellElement;
7208 "sc-upsell-countdown-timer": HTMLScUpsellCountdownTimerElement;
7209 "sc-upsell-no-thanks-button": HTMLScUpsellNoThanksButtonElement;
7210 "sc-upsell-submit-button": HTMLScUpsellSubmitButtonElement;
7211 "sc-upsell-totals": HTMLScUpsellTotalsElement;
7212 "sc-verification-code": HTMLScVerificationCodeElement;
7213 "sc-visually-hidden": HTMLScVisuallyHiddenElement;
7214 "sc-wordpress-password-edit": HTMLScWordpressPasswordEditElement;
7215 "sc-wordpress-user": HTMLScWordpressUserElement;
7216 "sc-wordpress-user-edit": HTMLScWordpressUserEditElement;
7217 }
7218 }
7219 declare namespace LocalJSX {
7220 interface ScAddress {
7221 /**
7222 * The address.
7223 */
7224 "address"?: Partial<Address>;
7225 /**
7226 * Is this disabled?
7227 */
7228 "disabled"?: boolean;
7229 /**
7230 * The label for the field.
7231 */
7232 "label"?: string;
7233 /**
7234 * Is this loading?
7235 */
7236 "loading"?: boolean;
7237 "names"?: Partial<Address>;
7238 /**
7239 * Address change event.
7240 */
7241 "onScChangeAddress"?: (event: ScAddressCustomEvent<Partial<Address>>) => void;
7242 /**
7243 * Address change event.
7244 */
7245 "onScInputAddress"?: (event: ScAddressCustomEvent<Partial<Address>>) => void;
7246 /**
7247 * Is the name required
7248 */
7249 "requireName"?: boolean;
7250 /**
7251 * Is this required?
7252 */
7253 "required"?: boolean;
7254 /**
7255 * Should we show name field?
7256 */
7257 "showLine2"?: boolean;
7258 /**
7259 * Should we show name field?
7260 */
7261 "showName"?: boolean;
7262 }
7263 interface ScAddressSuggestions {
7264 "address"?: Partial<Address>;
7265 /**
7266 * If the address input is disabled
7267 */
7268 "disabled"?: boolean;
7269 /**
7270 * Props for the input element
7271 */
7272 "inputProps"?: Record<string, unknown>;
7273 /**
7274 * The label for the address input
7275 */
7276 "label"?: string;
7277 "names"?: Partial<Address>;
7278 /**
7279 * Address changed — emitted to parent to update address state.
7280 */
7281 "onScChangeAddress"?: (event: ScAddressSuggestionsCustomEvent<Address>) => void;
7282 /**
7283 * Event to hide address fields
7284 */
7285 "onScHideAddressFields"?: (event: ScAddressSuggestionsCustomEvent<void>) => void;
7286 /**
7287 * Event to show address fields manually
7288 */
7289 "onScShowAddressFields"?: (event: ScAddressSuggestionsCustomEvent<void>) => void;
7290 /**
7291 * Holds the regions for a given country.
7292 */
7293 "regions"?: Array<{ value: string; label: string }>;
7294 /**
7295 * If the address is required
7296 */
7297 "required"?: boolean;
7298 }
7299 interface ScAlert {
7300 /**
7301 * Makes the alert closable.
7302 */
7303 "closable"?: boolean;
7304 /**
7305 * 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`.
7306 */
7307 "duration"?: number;
7308 /**
7309 * No icon
7310 */
7311 "noIcon"?: boolean;
7312 /**
7313 * When alert is hidden
7314 */
7315 "onScHide"?: (event: ScAlertCustomEvent<void>) => void;
7316 /**
7317 * When alert is shown
7318 */
7319 "onScShow"?: (event: ScAlertCustomEvent<void>) => void;
7320 /**
7321 * Indicates whether or not the alert is open. You can use this in lieu of the show/hide methods.
7322 */
7323 "open"?: boolean;
7324 /**
7325 * Scroll margin
7326 */
7327 "scrollMargin"?: string;
7328 /**
7329 * Scroll into view.
7330 */
7331 "scrollOnOpen"?: boolean;
7332 /**
7333 * The title.
7334 */
7335 "title"?: string;
7336 /**
7337 * The type of alert.
7338 */
7339 "type"?: 'primary' | 'success' | 'info' | 'warning' | 'danger';
7340 }
7341 interface ScAvatar {
7342 /**
7343 * The image source to use for the avatar.
7344 */
7345 "image"?: string;
7346 /**
7347 * Initials to use as a fallback when no image is available (1-2 characters max recommended).
7348 */
7349 "initials"?: string;
7350 /**
7351 * A label to use to describe the avatar to assistive devices.
7352 */
7353 "label"?: string;
7354 /**
7355 * Indicates how the browser should load the image.
7356 */
7357 "loading"?: 'eager' | 'lazy';
7358 /**
7359 * The shape of the avatar.
7360 */
7361 "shape"?: 'circle' | 'square' | 'rounded';
7362 }
7363 interface ScBadgeNotice {
7364 "label"?: string;
7365 "size"?: 'small' | 'medium' | 'large';
7366 "type"?: 'primary' | 'success' | 'info' | 'warning' | 'danger' | 'default';
7367 }
7368 interface ScBlockUi {
7369 "spinner"?: boolean;
7370 "transparent"?: boolean;
7371 "zIndex"?: number;
7372 }
7373 interface ScBreadcrumb {
7374 /**
7375 * 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.
7376 */
7377 "href"?: string;
7378 /**
7379 * The `rel` attribute to use on the link. Only used when `href` is set.
7380 */
7381 "rel"?: string;
7382 /**
7383 * Tells the browser where to open the link. Only used when `href` is set.
7384 */
7385 "target"?: '_blank' | '_parent' | '_self' | '_top';
7386 }
7387 interface ScBreadcrumbs {
7388 /**
7389 * 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.
7390 */
7391 "label"?: string;
7392 }
7393 interface ScButton {
7394 /**
7395 * Tells the browser to autofocus.
7396 */
7397 "autofocus"?: boolean;
7398 /**
7399 * Draws the button in a busy state.
7400 */
7401 "busy"?: boolean;
7402 /**
7403 * Draws the button with a caret for use with dropdowns, popovers, etc.
7404 */
7405 "caret"?: boolean;
7406 /**
7407 * Draws a circle button.
7408 */
7409 "circle"?: boolean;
7410 /**
7411 * Disables the button.
7412 */
7413 "disabled"?: boolean;
7414 /**
7415 * Tells the browser to download the linked file as this filename. Only used when `href` is set.
7416 */
7417 "download"?: string;
7418 /**
7419 * Draws the button full-width.
7420 */
7421 "full"?: boolean;
7422 /**
7423 * When set, the underlying button will be rendered as an `<a>` with this `href` instead of a `<button>`.
7424 */
7425 "href"?: string;
7426 /**
7427 * Draws the button in a loading state.
7428 */
7429 "loading"?: boolean;
7430 /**
7431 * An optional name for the button. Ignored when `href` is set.
7432 */
7433 "name"?: string;
7434 /**
7435 * Emitted when the button loses focus.
7436 */
7437 "onScBlur"?: (event: ScButtonCustomEvent<void>) => void;
7438 /**
7439 * Emitted when the button gains focus.
7440 */
7441 "onScFocus"?: (event: ScButtonCustomEvent<void>) => void;
7442 /**
7443 * Draws an outlined button.
7444 */
7445 "outline"?: boolean;
7446 /**
7447 * Draws a pill-style button with rounded edges.
7448 */
7449 "pill"?: boolean;
7450 /**
7451 * The button's size.
7452 */
7453 "size"?: 'small' | 'medium' | 'large';
7454 /**
7455 * Indicates if activating the button should submit the form. Ignored when `href` is set.
7456 */
7457 "submit"?: boolean;
7458 /**
7459 * Tells the browser where to open the link. Only used when `href` is set.
7460 */
7461 "target"?: '_blank' | '_parent' | '_self' | '_top';
7462 /**
7463 * The button's type.
7464 */
7465 "type"?: 'default' | 'primary' | 'success' | 'info' | 'warning' | 'danger' | 'text' | 'link';
7466 /**
7467 * An optional value for the button. Ignored when `href` is set.
7468 */
7469 "value"?: string;
7470 }
7471 interface ScButtonGroup {
7472 "label"?: string;
7473 "separate"?: boolean;
7474 }
7475 interface ScCancelDialog {
7476 "onScRefresh"?: (event: ScCancelDialogCustomEvent<void>) => void;
7477 "onScRequestClose"?: (event: ScCancelDialogCustomEvent<'close-button' | 'keyboard' | 'overlay'>) => void;
7478 "open"?: boolean;
7479 "protocol"?: SubscriptionProtocol;
7480 "subscription"?: Subscription;
7481 }
7482 interface ScCancelDiscount {
7483 "comment"?: string;
7484 "onScCancel"?: (event: ScCancelDiscountCustomEvent<void>) => void;
7485 "onScPreserved"?: (event: ScCancelDiscountCustomEvent<void>) => void;
7486 "protocol"?: SubscriptionProtocol;
7487 "reason"?: CancellationReason;
7488 "subscription"?: Subscription;
7489 }
7490 interface ScCancelSurvey {
7491 "onScAbandon"?: (event: ScCancelSurveyCustomEvent<void>) => void;
7492 "onScSubmitReason"?: (event: ScCancelSurveyCustomEvent<{ reason: CancellationReason; comment: string }>) => void;
7493 "protocol"?: SubscriptionProtocol;
7494 "reasons"?: CancellationReason[];
7495 }
7496 interface ScCard {
7497 /**
7498 * Is this card borderless.
7499 */
7500 "borderless"?: boolean;
7501 /**
7502 * A link for the card.
7503 */
7504 "href"?: string;
7505 /**
7506 * Is this card loading.
7507 */
7508 "loading"?: boolean;
7509 /**
7510 * Eliminate the divider
7511 */
7512 "noDivider"?: boolean;
7513 /**
7514 * Remove padding
7515 */
7516 "noPadding"?: boolean;
7517 }
7518 interface ScCart {
7519 /**
7520 * Should we force show the cart, even if there's a form on the page?
7521 */
7522 "alwaysShow"?: boolean;
7523 /**
7524 * The template for the cart to inject when opened.
7525 */
7526 "cartTemplate"?: string;
7527 "checkoutLink"?: string;
7528 /**
7529 * The checkout url for the button.
7530 */
7531 "checkoutUrl"?: string;
7532 /**
7533 * Whether the floating button should be visible
7534 */
7535 "floatingIconEnabled"?: boolean;
7536 /**
7537 * The form id to use for the cart.
7538 */
7539 "formId"?: string;
7540 /**
7541 * The header for the popout.
7542 */
7543 "header"?: string;
7544 /**
7545 * Are we in test or live mode.
7546 */
7547 "mode"?: 'test' | 'live';
7548 }
7549 interface ScCartButton {
7550 /**
7551 * Whether the cart icon is always shown when the cart is empty
7552 */
7553 "cartMenuAlwaysShown"?: boolean;
7554 /**
7555 * The form id to use for the cart.
7556 */
7557 "formId"?: string;
7558 /**
7559 * Are we in test or live mode.
7560 */
7561 "mode"?: 'test' | 'live';
7562 /**
7563 * Whether the cart count will be shown or not when the cart is empty
7564 */
7565 "showEmptyCount"?: boolean;
7566 }
7567 interface ScCartForm {
7568 /**
7569 * The form id to use for the cart.
7570 */
7571 "formId"?: string;
7572 /**
7573 * Are we in test or live mode.
7574 */
7575 "mode"?: 'test' | 'live';
7576 /**
7577 * The price id to add.
7578 */
7579 "priceId"?: string;
7580 /**
7581 * The quantity
7582 */
7583 "quantity"?: number;
7584 /**
7585 * The variant id to add.
7586 */
7587 "variantId"?: string;
7588 }
7589 interface ScCartFormSubmit {
7590 /**
7591 * Show a full-width button.
7592 */
7593 "full"?: boolean;
7594 /**
7595 * Icon to show.
7596 */
7597 "icon"?: string;
7598 /**
7599 * The button's size.
7600 */
7601 "size"?: 'small' | 'medium' | 'large';
7602 /**
7603 * The button type.
7604 */
7605 "type"?: 'default' | 'primary' | 'success' | 'info' | 'warning' | 'danger' | 'text' | 'link';
7606 }
7607 interface ScCartHeader {
7608 "onScCloseCart"?: (event: ScCartHeaderCustomEvent<void>) => void;
7609 }
7610 interface ScCartIcon {
7611 /**
7612 * The icon to show.
7613 */
7614 "icon"?: string;
7615 }
7616 interface ScCartLoader {
7617 /**
7618 * The cart template to inject when opened.
7619 */
7620 "template"?: string;
7621 }
7622 interface ScCartSessionProvider {
7623 /**
7624 * Set the state
7625 */
7626 "onScSetState"?: (event: ScCartSessionProviderCustomEvent<'loading' | 'busy' | 'navigating' | 'idle'>) => void;
7627 }
7628 interface ScCartSubmit {
7629 /**
7630 * Is the cart busy
7631 */
7632 "busy"?: boolean;
7633 }
7634 interface ScCcLogo {
7635 "brand"?: string;
7636 }
7637 interface ScChargesList {
7638 "allLink"?: string;
7639 "heading"?: string;
7640 /**
7641 * Query to fetch charges
7642 */
7643 "query"?: {
7644 page: number;
7645 per_page: number;
7646 };
7647 "showPagination"?: boolean;
7648 }
7649 interface ScCheckbox {
7650 /**
7651 * Draws the checkbox in a checked state.
7652 */
7653 "checked"?: boolean;
7654 /**
7655 * Disables the checkbox.
7656 */
7657 "disabled"?: boolean;
7658 /**
7659 * Makes this edit and not editable.
7660 */
7661 "edit"?: boolean;
7662 /**
7663 * Draws the checkbox in an indeterminate state.
7664 */
7665 "indeterminate"?: boolean;
7666 /**
7667 * This will be true when the control is in an invalid state. Validity is determined by the `required` prop.
7668 */
7669 "invalid"?: boolean;
7670 /**
7671 * The checkbox's name attribute.
7672 */
7673 "name"?: string;
7674 /**
7675 * Emitted when the control loses focus.
7676 */
7677 "onScBlur"?: (event: ScCheckboxCustomEvent<void>) => void;
7678 /**
7679 * Emitted when the control's checked state changes.
7680 */
7681 "onScChange"?: (event: ScCheckboxCustomEvent<void>) => void;
7682 /**
7683 * Emitted when the control gains focus.
7684 */
7685 "onScFocus"?: (event: ScCheckboxCustomEvent<void>) => void;
7686 /**
7687 * Makes the checkbox a required field.
7688 */
7689 "required"?: boolean;
7690 /**
7691 * The checkbox's value attribute.
7692 */
7693 "value"?: string;
7694 }
7695 interface ScCheckout {
7696 /**
7697 * Is abandoned checkout enabled.
7698 */
7699 "abandonedCheckoutEnabled"?: boolean;
7700 /**
7701 * Alignment
7702 */
7703 "alignment"?: 'center' | 'wide' | 'full';
7704 /**
7705 * Currency to use for this checkout.
7706 */
7707 "currencyCode"?: string;
7708 /**
7709 * Stores the current customer
7710 */
7711 "customer"?: Customer;
7712 /**
7713 * Should we disable components validation
7714 */
7715 "disableComponentsValidation"?: boolean;
7716 /**
7717 * Can we edit line items?
7718 */
7719 "editLineItems"?: boolean;
7720 /**
7721 * The checkout form id
7722 */
7723 "formId"?: number;
7724 /**
7725 * Manual payment methods enabled for this form.
7726 */
7727 "manualPaymentMethods"?: ManualPaymentMethod[];
7728 /**
7729 * Are we in test or live mode.
7730 */
7731 "mode"?: 'test' | 'live';
7732 /**
7733 * When the form was modified.
7734 */
7735 "modified"?: string;
7736 /**
7737 * Checkout has an error.
7738 */
7739 "onScOrderError"?: (event: ScCheckoutCustomEvent<ResponseError>) => void;
7740 /**
7741 * Checkout has been finalized.
7742 */
7743 "onScOrderFinalized"?: (event: ScCheckoutCustomEvent<Checkout>) => void;
7744 /**
7745 * Checkout has been updated.
7746 */
7747 "onScOrderUpdated"?: (event: ScCheckoutCustomEvent<Checkout>) => void;
7748 /**
7749 * Whether to persist the session in the browser between visits.
7750 */
7751 "persistSession"?: boolean;
7752 /**
7753 * An array of prices to pre-fill in the form.
7754 */
7755 "prices"?: Array<PriceChoice>;
7756 /**
7757 * Processors enabled for this form.
7758 */
7759 "processors"?: Processor[];
7760 /**
7761 * A product to pre-fill the form.
7762 */
7763 "product"?: Product;
7764 /**
7765 * Can we remove line items?
7766 */
7767 "removeLineItems"?: boolean;
7768 /**
7769 * Use the Stripe payment element.
7770 */
7771 "stripePaymentElement"?: boolean;
7772 /**
7773 * Where to go on success
7774 */
7775 "successUrl"?: string;
7776 /**
7777 * The account tax protocol
7778 */
7779 "taxProtocol"?: TaxProtocol;
7780 }
7781 interface ScCheckoutAutofillProvider {
7782 }
7783 /**
7784 * This component listens for a confirmed event and redirects to the success url.
7785 */
7786 interface ScCheckoutFormErrors {
7787 }
7788 /**
7789 * Explains why location is requested (e.g. regional / purchasing-power-parity pricing) and gates
7790 * the browser geolocation prompt behind an explicit opt-in when capture is enabled by the merchant.
7791 */
7792 interface ScCheckoutGeoPermission {
7793 }
7794 interface ScCheckoutMolliePayment {
7795 "method"?: string;
7796 "processorId"?: string;
7797 }
7798 interface ScCheckoutPaystackPaymentProvider {
7799 }
7800 interface ScCheckoutProductPriceVariantSelector {
7801 /**
7802 * The label for the price.
7803 */
7804 "label"?: string;
7805 /**
7806 * The product.
7807 */
7808 "product"?: Product;
7809 /**
7810 * The title for price and variant selections
7811 */
7812 "selectorTitle"?: string;
7813 }
7814 interface ScCheckoutRazorpayPaymentProvider {
7815 /**
7816 * Razorpay processor id. Required for the recurring `payment_method_types` fetch.
7817 */
7818 "processorId"?: string;
7819 }
7820 /**
7821 * This component listens for stock requirements and displays a dialog to the user.
7822 */
7823 interface ScCheckoutStockAlert {
7824 /**
7825 * Toggle line item event
7826 */
7827 "onScUpdateLineItem"?: (event: ScCheckoutStockAlertCustomEvent<LineItemData>) => void;
7828 }
7829 /**
7830 * This component listens to the order status
7831 * and confirms the order when payment is successful.
7832 */
7833 interface ScCheckoutTestComplete {
7834 /**
7835 * Checkout status to listen and do payment related stuff.
7836 */
7837 "checkoutStatus"?: string;
7838 /**
7839 * The order is paid event.
7840 */
7841 "onScOrderPaid"?: (event: ScCheckoutTestCompleteCustomEvent<Checkout>) => void;
7842 "onScSetState"?: (event: ScCheckoutTestCompleteCustomEvent<string>) => void;
7843 /**
7844 * Success url.
7845 */
7846 "successUrl"?: string;
7847 }
7848 interface ScCheckoutUnsavedChangesWarning {
7849 "state"?: FormState;
7850 }
7851 interface ScChoice {
7852 /**
7853 * Draws the choice in a checked state.
7854 */
7855 "checked"?: boolean;
7856 /**
7857 * Is the choice disabled
7858 */
7859 "disabled"?: boolean;
7860 /**
7861 * This will be true when the control is in an invalid state. Validity is determined by the `required` prop.
7862 */
7863 "invalid"?: boolean;
7864 /**
7865 * The choice name attribute
7866 */
7867 "name"?: string;
7868 /**
7869 * Emitted when the control loses focus.
7870 */
7871 "onScBlur"?: (event: ScChoiceCustomEvent<void>) => void;
7872 /**
7873 * Emitted when the control's checked state changes.
7874 */
7875 "onScChange"?: (event: ScChoiceCustomEvent<boolean>) => void;
7876 /**
7877 * Emitted when the control gains focus.
7878 */
7879 "onScFocus"?: (event: ScChoiceCustomEvent<void>) => void;
7880 /**
7881 * Is this required
7882 */
7883 "required"?: boolean;
7884 /**
7885 * Show the radio/checkbox control
7886 */
7887 "showControl"?: boolean;
7888 /**
7889 * Show the label
7890 */
7891 "showLabel"?: boolean;
7892 /**
7893 * Show the price
7894 */
7895 "showPrice"?: boolean;
7896 /**
7897 * The size.
7898 */
7899 "size"?: 'small' | 'medium' | 'large';
7900 /**
7901 * The choice name attribute
7902 */
7903 "type"?: 'radio' | 'checkbox';
7904 /**
7905 * The choice value
7906 */
7907 "value"?: string;
7908 }
7909 interface ScChoiceContainer {
7910 /**
7911 * Draws the choice in a checked state.
7912 */
7913 "checked"?: boolean;
7914 /**
7915 * Is the choice disabled
7916 */
7917 "disabled"?: boolean;
7918 /**
7919 * This will be true when the control is in an invalid state. Validity is determined by the `required` prop.
7920 */
7921 "invalid"?: boolean;
7922 /**
7923 * The choice name attribute
7924 */
7925 "name"?: string;
7926 /**
7927 * Emitted when the control loses focus.
7928 */
7929 "onScBlur"?: (event: ScChoiceContainerCustomEvent<void>) => void;
7930 /**
7931 * Emitted when the control's checked state changes.
7932 */
7933 "onScChange"?: (event: ScChoiceContainerCustomEvent<boolean>) => void;
7934 /**
7935 * Emitted when the control gains focus.
7936 */
7937 "onScFocus"?: (event: ScChoiceContainerCustomEvent<void>) => void;
7938 /**
7939 * Is this required
7940 */
7941 "required"?: boolean;
7942 /**
7943 * Role of radio/checkbox control
7944 */
7945 "role"?: string;
7946 /**
7947 * Show the radio/checkbox control
7948 */
7949 "showControl"?: boolean;
7950 /**
7951 * The size.
7952 */
7953 "size"?: 'small' | 'medium' | 'large';
7954 /**
7955 * The choice name attribute
7956 */
7957 "type"?: 'radio' | 'checkbox';
7958 /**
7959 * The choice value
7960 */
7961 "value"?: string;
7962 }
7963 interface ScChoices {
7964 "autoWidth"?: boolean;
7965 /**
7966 * Number of columns on desktop
7967 */
7968 "columns"?: number;
7969 /**
7970 * Validation error message.
7971 */
7972 "errorMessage"?: string;
7973 /**
7974 * The input's help text.
7975 */
7976 "help"?: string;
7977 /**
7978 * Hides the fieldset and legend that surrounds the group. The label will still be read by screen readers.
7979 */
7980 "hideLabel"?: boolean;
7981 /**
7982 * The group label. Required for proper accessibility. Alternatively, you can use the label slot.
7983 */
7984 "label"?: string;
7985 /**
7986 * Required
7987 */
7988 "required"?: boolean;
7989 /**
7990 * Should we show the label
7991 */
7992 "showLabel"?: boolean;
7993 /**
7994 * Input size
7995 */
7996 "size"?: 'small' | 'medium' | 'large';
7997 }
7998 interface ScColumn {
7999 }
8000 interface ScColumns {
8001 /**
8002 * Is this full vertical height
8003 */
8004 "isFullHeight"?: boolean;
8005 /**
8006 * Is this reverse ordered on mobile
8007 */
8008 "isReversedOnMobile"?: boolean;
8009 /**
8010 * Is this stacked on mobile
8011 */
8012 "isStackedOnMobile"?: boolean;
8013 /**
8014 * The vertical alignment of the columns.
8015 */
8016 "verticalAlignment"?: string;
8017 }
8018 interface ScCompactAddress {
8019 /**
8020 * The address.
8021 */
8022 "address"?: Partial<Address>;
8023 /**
8024 * Label for the address
8025 */
8026 "label"?: string;
8027 /**
8028 * Is this loading
8029 */
8030 "loading"?: boolean;
8031 "names"?: Partial<Address>;
8032 /**
8033 * Address change event.
8034 */
8035 "onScChangeAddress"?: (event: ScCompactAddressCustomEvent<Partial<Address>>) => void;
8036 /**
8037 * Address input event.
8038 */
8039 "onScInputAddress"?: (event: ScCompactAddressCustomEvent<Partial<Address>>) => void;
8040 /**
8041 * Placeholders
8042 */
8043 "placeholders"?: Partial<Address>;
8044 /**
8045 * Is this required?
8046 */
8047 "required"?: boolean;
8048 }
8049 interface ScConditionalForm {
8050 /**
8051 * Selector label
8052 */
8053 "rule_groups"?: RuleGroup[];
8054 }
8055 interface ScConsumer {
8056 "onMountConsumer"?: (event: ScConsumerCustomEvent<any>) => void;
8057 "renderer"?: any;
8058 }
8059 interface ScCouponForm {
8060 /**
8061 * Is the form calculating
8062 */
8063 "busy"?: boolean;
8064 /**
8065 * The text for apply button
8066 */
8067 "buttonText"?: string;
8068 "collapsed"?: boolean;
8069 /**
8070 * Currency
8071 */
8072 "currency"?: string;
8073 /**
8074 * The discount
8075 */
8076 "discount"?: DiscountResponse;
8077 /**
8078 * The discount amount
8079 */
8080 "discountAmount"?: number;
8081 /**
8082 * The discounts display amount
8083 */
8084 "discountsDisplayAmount"?: string;
8085 /**
8086 * Is the form editable
8087 */
8088 "editable"?: boolean;
8089 /**
8090 * The error message
8091 */
8092 "error"?: string;
8093 /**
8094 * Force the form to show
8095 */
8096 "forceOpen"?: boolean;
8097 /**
8098 * The label for the coupon form
8099 */
8100 "label"?: string;
8101 /**
8102 * Is the form loading
8103 */
8104 "loading"?: boolean;
8105 /**
8106 * When the coupon is applied
8107 */
8108 "onScApplyCoupon"?: (event: ScCouponFormCustomEvent<string>) => void;
8109 /**
8110 * Is it open
8111 */
8112 "open"?: boolean;
8113 /**
8114 * The placeholder for the input
8115 */
8116 "placeholder"?: string;
8117 /**
8118 * Has recurring
8119 */
8120 "showInterval"?: boolean;
8121 }
8122 interface ScCustomOrderPriceInput {
8123 /**
8124 * Is this busy
8125 */
8126 "busy"?: boolean;
8127 /**
8128 * Help text.
8129 */
8130 "help"?: string;
8131 /**
8132 * Label for the field.
8133 */
8134 "label"?: string;
8135 /**
8136 * Label for the choice.
8137 */
8138 "lineItems"?: LineItem[];
8139 /**
8140 * Is this loading
8141 */
8142 "loading"?: boolean;
8143 /**
8144 * Toggle line item event
8145 */
8146 "onScUpdateLineItem"?: (event: ScCustomOrderPriceInputCustomEvent<LineItemData1>) => void;
8147 /**
8148 * Input placeholder.
8149 */
8150 "placeholder"?: string;
8151 /**
8152 * Stores the price
8153 */
8154 "price"?: Price;
8155 /**
8156 * Id of the price.
8157 */
8158 "priceId"?: string;
8159 /**
8160 * Is this required?
8161 */
8162 "required"?: boolean;
8163 /**
8164 * Show the currency code?
8165 */
8166 "showCode"?: boolean;
8167 }
8168 interface ScCustomerDetails {
8169 "customer"?: Customer;
8170 "editLink"?: string;
8171 "error"?: string;
8172 "heading"?: string;
8173 "loading"?: boolean;
8174 }
8175 interface ScCustomerEdit {
8176 "customer"?: Customer;
8177 "heading"?: string;
8178 "successUrl"?: string;
8179 }
8180 interface ScCustomerEmail {
8181 /**
8182 * The input's autofocus attribute.
8183 */
8184 "autofocus"?: boolean;
8185 /**
8186 * Disables the input.
8187 */
8188 "disabled"?: boolean;
8189 /**
8190 * Inputs focus
8191 */
8192 "hasFocus"?: boolean;
8193 /**
8194 * The input's help text.
8195 */
8196 "help"?: string;
8197 /**
8198 * 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.
8199 */
8200 "invalid"?: boolean;
8201 /**
8202 * The input's label.
8203 */
8204 "label"?: string;
8205 /**
8206 * Emitted when the control loses focus.
8207 */
8208 "onScBlur"?: (event: ScCustomerEmailCustomEvent<void>) => void;
8209 /**
8210 * Emitted when the control's value changes.
8211 */
8212 "onScChange"?: (event: ScCustomerEmailCustomEvent<void>) => void;
8213 /**
8214 * Emitted when the clear button is activated.
8215 */
8216 "onScClear"?: (event: ScCustomerEmailCustomEvent<void>) => void;
8217 /**
8218 * Emitted when the control gains focus.
8219 */
8220 "onScFocus"?: (event: ScCustomerEmailCustomEvent<void>) => void;
8221 /**
8222 * Emitted when the control receives input.
8223 */
8224 "onScInput"?: (event: ScCustomerEmailCustomEvent<void>) => void;
8225 /**
8226 * Prompt for login.
8227 */
8228 "onScLoginPrompt"?: (event: ScCustomerEmailCustomEvent<void>) => void;
8229 /**
8230 * Update the abandoned cart.
8231 */
8232 "onScUpdateAbandonedCart"?: (event: ScCustomerEmailCustomEvent<boolean>) => void;
8233 /**
8234 * Update the order state.
8235 */
8236 "onScUpdateOrderState"?: (event: ScCustomerEmailCustomEvent<Checkout>) => void;
8237 /**
8238 * Draws a pill-style input with rounded edges.
8239 */
8240 "pill"?: boolean;
8241 /**
8242 * The input's placeholder text.
8243 */
8244 "placeholder"?: string;
8245 /**
8246 * Makes the input readonly.
8247 */
8248 "readonly"?: boolean;
8249 /**
8250 * Makes the input a required field.
8251 */
8252 "required"?: boolean;
8253 /**
8254 * Should we show the label
8255 */
8256 "showLabel"?: boolean;
8257 /**
8258 * The input's size.
8259 */
8260 "size"?: 'small' | 'medium' | 'large';
8261 /**
8262 * A message for tracking confirmation.
8263 */
8264 "trackingConfirmationMessage"?: string;
8265 /**
8266 * The input's value attribute.
8267 */
8268 "value"?: string;
8269 }
8270 interface ScCustomerFirstname {
8271 /**
8272 * The input's autofocus attribute.
8273 */
8274 "autofocus"?: boolean;
8275 /**
8276 * Disables the input.
8277 */
8278 "disabled"?: boolean;
8279 /**
8280 * Inputs focus
8281 */
8282 "hasFocus"?: boolean;
8283 /**
8284 * The input's help text.
8285 */
8286 "help"?: string;
8287 /**
8288 * 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.
8289 */
8290 "invalid"?: boolean;
8291 /**
8292 * The input's label.
8293 */
8294 "label"?: string;
8295 /**
8296 * Is the user logged in.
8297 */
8298 "loggedIn"?: boolean;
8299 /**
8300 * Emitted when the control loses focus.
8301 */
8302 "onScBlur"?: (event: ScCustomerFirstnameCustomEvent<void>) => void;
8303 /**
8304 * Emitted when the control's value changes.
8305 */
8306 "onScChange"?: (event: ScCustomerFirstnameCustomEvent<void>) => void;
8307 /**
8308 * Emitted when the clear button is activated.
8309 */
8310 "onScClear"?: (event: ScCustomerFirstnameCustomEvent<void>) => void;
8311 /**
8312 * Emitted when the control gains focus.
8313 */
8314 "onScFocus"?: (event: ScCustomerFirstnameCustomEvent<void>) => void;
8315 /**
8316 * Emitted when the control receives input.
8317 */
8318 "onScInput"?: (event: ScCustomerFirstnameCustomEvent<void>) => void;
8319 "onScUpdateCustomer"?: (event: ScCustomerFirstnameCustomEvent<{ email: string }>) => void;
8320 "onScUpdateOrderState"?: (event: ScCustomerFirstnameCustomEvent<Partial<Checkout>>) => void;
8321 /**
8322 * Draws a pill-style input with rounded edges.
8323 */
8324 "pill"?: boolean;
8325 /**
8326 * The input's placeholder text.
8327 */
8328 "placeholder"?: string;
8329 /**
8330 * Makes the input readonly.
8331 */
8332 "readonly"?: boolean;
8333 /**
8334 * Makes the input a required field.
8335 */
8336 "required"?: boolean;
8337 /**
8338 * Should we show the label
8339 */
8340 "showLabel"?: boolean;
8341 /**
8342 * The input's size.
8343 */
8344 "size"?: 'small' | 'medium' | 'large';
8345 /**
8346 * The input's value attribute.
8347 */
8348 "value"?: string;
8349 }
8350 interface ScCustomerLastname {
8351 /**
8352 * The input's autofocus attribute.
8353 */
8354 "autofocus"?: boolean;
8355 /**
8356 * Disables the input.
8357 */
8358 "disabled"?: boolean;
8359 /**
8360 * Inputs focus
8361 */
8362 "hasFocus"?: boolean;
8363 /**
8364 * The input's help text.
8365 */
8366 "help"?: string;
8367 /**
8368 * 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.
8369 */
8370 "invalid"?: boolean;
8371 /**
8372 * The input's label.
8373 */
8374 "label"?: string;
8375 /**
8376 * Is the user logged in.
8377 */
8378 "loggedIn"?: boolean;
8379 /**
8380 * Emitted when the control loses focus.
8381 */
8382 "onScBlur"?: (event: ScCustomerLastnameCustomEvent<void>) => void;
8383 /**
8384 * Emitted when the control gains focus.
8385 */
8386 "onScFocus"?: (event: ScCustomerLastnameCustomEvent<void>) => void;
8387 /**
8388 * Emitted when the control receives input.
8389 */
8390 "onScInput"?: (event: ScCustomerLastnameCustomEvent<void>) => 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"?: any;
8419 }
8420 interface ScCustomerLogin {
8421 /**
8422 * Code Error coming from the parent
8423 */
8424 "codeError"?: string;
8425 /**
8426 * Lets the parent open in password mode (used on 429 fallback).
8427 */
8428 "initialMode"?: 'code' | 'password';
8429 }
8430 interface ScCustomerName {
8431 /**
8432 * The input's autofocus attribute.
8433 */
8434 "autofocus"?: boolean;
8435 /**
8436 * Disables the input.
8437 */
8438 "disabled"?: boolean;
8439 /**
8440 * Inputs focus
8441 */
8442 "hasFocus"?: boolean;
8443 /**
8444 * The input's help text.
8445 */
8446 "help"?: string;
8447 /**
8448 * 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.
8449 */
8450 "invalid"?: boolean;
8451 /**
8452 * The input's label.
8453 */
8454 "label"?: string;
8455 /**
8456 * Emitted when the control loses focus.
8457 */
8458 "onScBlur"?: (event: ScCustomerNameCustomEvent<void>) => void;
8459 /**
8460 * Emitted when the control gains focus.
8461 */
8462 "onScFocus"?: (event: ScCustomerNameCustomEvent<void>) => void;
8463 /**
8464 * Emitted when the control receives input.
8465 */
8466 "onScInput"?: (event: ScCustomerNameCustomEvent<void>) => void;
8467 /**
8468 * Draws a pill-style input with rounded edges.
8469 */
8470 "pill"?: boolean;
8471 /**
8472 * The input's placeholder text.
8473 */
8474 "placeholder"?: string;
8475 /**
8476 * Makes the input readonly.
8477 */
8478 "readonly"?: boolean;
8479 /**
8480 * Makes the input a required field.
8481 */
8482 "required"?: boolean;
8483 /**
8484 * Should we show the label
8485 */
8486 "showLabel"?: boolean;
8487 /**
8488 * The input's size.
8489 */
8490 "size"?: 'small' | 'medium' | 'large';
8491 /**
8492 * The input's value attribute.
8493 */
8494 "value"?: any;
8495 }
8496 interface ScCustomerPhone {
8497 /**
8498 * The input's autofocus attribute.
8499 */
8500 "autofocus"?: boolean;
8501 /**
8502 * Disables the input.
8503 */
8504 "disabled"?: boolean;
8505 /**
8506 * Error focus
8507 */
8508 "error"?: 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: ScCustomerPhoneCustomEvent<void>) => void;
8529 /**
8530 * Emitted when the control's value changes.
8531 */
8532 "onScChange"?: (event: ScCustomerPhoneCustomEvent<void>) => void;
8533 /**
8534 * Emitted when the clear button is activated.
8535 */
8536 "onScClear"?: (event: ScCustomerPhoneCustomEvent<void>) => void;
8537 /**
8538 * Emitted when the control gains focus.
8539 */
8540 "onScFocus"?: (event: ScCustomerPhoneCustomEvent<void>) => void;
8541 /**
8542 * Emitted when the control receives input.
8543 */
8544 "onScInput"?: (event: ScCustomerPhoneCustomEvent<void>) => void;
8545 /**
8546 * Draws a pill-style input with rounded edges.
8547 */
8548 "pill"?: boolean;
8549 /**
8550 * The input's placeholder text.
8551 */
8552 "placeholder"?: string;
8553 /**
8554 * Makes the input readonly.
8555 */
8556 "readonly"?: boolean;
8557 /**
8558 * Makes the input a required field.
8559 */
8560 "required"?: boolean;
8561 /**
8562 * Should we show the label
8563 */
8564 "showLabel"?: boolean;
8565 /**
8566 * The input's size.
8567 */
8568 "size"?: 'small' | 'medium' | 'large';
8569 /**
8570 * The input's value attribute.
8571 */
8572 "value"?: string;
8573 }
8574 interface ScDashboardCustomerDetails {
8575 "customerId"?: string;
8576 "heading"?: string;
8577 }
8578 interface ScDashboardDownloadsList {
8579 "allLink"?: string;
8580 "heading"?: string;
8581 "isCustomer"?: boolean;
8582 /**
8583 * Customer id to fetch subscriptions
8584 */
8585 "query"?: any;
8586 "requestNonce"?: string;
8587 }
8588 interface ScDashboardModule {
8589 "error"?: string;
8590 "heading"?: string;
8591 "loading"?: boolean;
8592 }
8593 interface ScDialog {
8594 /**
8595 * 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.
8596 */
8597 "label"?: string;
8598 /**
8599 * 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.
8600 */
8601 "noHeader"?: boolean;
8602 "onScAfterHide"?: (event: ScDialogCustomEvent<void>) => void;
8603 "onScAfterShow"?: (event: ScDialogCustomEvent<void>) => void;
8604 "onScHide"?: (event: ScDialogCustomEvent<void>) => void;
8605 "onScInitialFocus"?: (event: ScDialogCustomEvent<void>) => void;
8606 /**
8607 * Request close event
8608 */
8609 "onScRequestClose"?: (event: ScDialogCustomEvent<'close-button' | 'keyboard' | 'overlay'>) => void;
8610 "onScShow"?: (event: ScDialogCustomEvent<void>) => void;
8611 /**
8612 * Indicates whether or not the dialog is open. You can use this in lieu of the show/hide methods.
8613 */
8614 "open"?: boolean;
8615 }
8616 interface ScDivider {
8617 }
8618 interface ScDonationChoices {
8619 "busy"?: boolean;
8620 /**
8621 * Currency code for the donation.
8622 */
8623 "currencyCode"?: string;
8624 /**
8625 * The default amount to load the page with.
8626 */
8627 "defaultAmount"?: string;
8628 /**
8629 * The label for the field.
8630 */
8631 "label"?: string;
8632 /**
8633 * Order line items.
8634 */
8635 "lineItems"?: LineItem[];
8636 /**
8637 * Is this loading
8638 */
8639 "loading"?: boolean;
8640 /**
8641 * Toggle line item event
8642 */
8643 "onScAddLineItem"?: (event: ScDonationChoicesCustomEvent<LineItemData1>) => void;
8644 /**
8645 * Toggle line item event
8646 */
8647 "onScRemoveLineItem"?: (event: ScDonationChoicesCustomEvent<LineItemData1>) => void;
8648 /**
8649 * Toggle line item event
8650 */
8651 "onScUpdateLineItem"?: (event: ScDonationChoicesCustomEvent<LineItemData1>) => void;
8652 /**
8653 * The price id for the fields.
8654 */
8655 "priceId"?: string;
8656 "removeInvalid"?: boolean;
8657 }
8658 interface ScDownloadsList {
8659 "customerId"?: string;
8660 "heading"?: string;
8661 "productId"?: string;
8662 "query"?: any;
8663 "variantId"?: string;
8664 }
8665 interface ScDrawer {
8666 /**
8667 * 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.
8668 */
8669 "contained"?: boolean;
8670 /**
8671 * 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.
8672 */
8673 "label"?: string;
8674 /**
8675 * 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.
8676 */
8677 "noHeader"?: boolean;
8678 "onScAfterHide"?: (event: ScDrawerCustomEvent<void>) => void;
8679 "onScAfterShow"?: (event: ScDrawerCustomEvent<void>) => void;
8680 "onScHide"?: (event: ScDrawerCustomEvent<void>) => void;
8681 "onScInitialFocus"?: (event: ScDrawerCustomEvent<void>) => void;
8682 "onScRequestClose"?: (event: ScDrawerCustomEvent<'close-button' | 'keyboard' | 'overlay' | 'method'>) => void;
8683 "onScShow"?: (event: ScDrawerCustomEvent<void>) => void;
8684 /**
8685 * Indicates whether or not the drawer is open. You can use this in lieu of the show/hide methods.
8686 */
8687 "open"?: boolean;
8688 /**
8689 * The direction from which the drawer will open.
8690 */
8691 "placement"?: 'top' | 'end' | 'bottom' | 'start';
8692 /**
8693 * Sticky drawer footer
8694 */
8695 "stickyFooter"?: boolean;
8696 /**
8697 * Sticky drawer header
8698 */
8699 "stickyHeader"?: boolean;
8700 }
8701 interface ScDropdown {
8702 "clickEl"?: HTMLElement;
8703 /**
8704 * Determines whether the dropdown should hide when a menu item is selected
8705 */
8706 "closeOnSelect"?: boolean;
8707 /**
8708 * Is this disabled.
8709 */
8710 "disabled"?: boolean;
8711 /**
8712 * The distance in pixels from which to offset the panel away from its trigger.
8713 */
8714 "distance"?: number;
8715 /**
8716 * Enable this option to prevent the panel from being clipped when the component is placed inside a container with `overflow: auto|scroll`.
8717 */
8718 "hoist"?: boolean;
8719 /**
8720 * Emitted when the dropdown closes. Calling `event.preventDefault()` will prevent it from being closed.
8721 */
8722 "onScHide"?: (event: ScDropdownCustomEvent<void>) => void;
8723 /**
8724 * Emitted when the dropdown opens. Calling `event.preventDefault()` will prevent it from being opened.
8725 */
8726 "onScShow"?: (event: ScDropdownCustomEvent<void>) => void;
8727 /**
8728 * Indicates whether or not the dropdown is open. You can use this in lieu of the show/hide methods.
8729 */
8730 "open"?: boolean;
8731 /**
8732 * The placement of the dropdown.
8733 */
8734 "placement"?: | 'top'
8735 | 'top-start'
8736 | 'top-end'
8737 | 'bottom'
8738 | 'bottom-start'
8739 | 'bottom-end'
8740 | 'right'
8741 | 'right-start'
8742 | 'right-end'
8743 | 'left'
8744 | 'left-start'
8745 | 'left-end';
8746 /**
8747 * The placement of the dropdown panel
8748 */
8749 "position"?: 'top-left' | 'top-right' | 'bottom-left' | 'bottom-right';
8750 /**
8751 * The distance in pixels from which to offset the panel along its trigger.
8752 */
8753 "skidding"?: number;
8754 }
8755 interface ScEmpty {
8756 "icon"?: string;
8757 }
8758 interface ScError {
8759 /**
8760 * Error to display.
8761 */
8762 "error"?: ResponseError | null;
8763 /**
8764 * Set the state.
8765 */
8766 "onScUpdateError"?: (event: ScErrorCustomEvent<ResponseError>) => void;
8767 }
8768 interface ScExpressPayment {
8769 "debug"?: boolean;
8770 "dividerText"?: string;
8771 "hasPaymentOptions"?: boolean;
8772 "processor"?: ProcessorName;
8773 }
8774 interface ScFeatureDemoBanner {
8775 "buttonText"?: string;
8776 "url"?: string;
8777 }
8778 interface ScFlex {
8779 "alignItems"?: string;
8780 "columnGap"?: string;
8781 "flexDirection"?: string;
8782 "flexWrap"?: string;
8783 "justifyContent"?: string;
8784 "stack"?: string;
8785 }
8786 interface ScForm {
8787 /**
8788 * Prevent the form from validating inputs before submitting.
8789 */
8790 "novalidate"?: boolean;
8791 /**
8792 * 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.
8793 */
8794 "onScFormChange"?: (event: ScFormCustomEvent<Object>) => void;
8795 /**
8796 * Backwards compat.
8797 */
8798 "onScFormSubmit"?: (event: ScFormCustomEvent<void>) => void;
8799 /**
8800 * 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.
8801 */
8802 "onScSubmit"?: (event: ScFormCustomEvent<void>) => void;
8803 }
8804 interface ScFormComponentsValidator {
8805 /**
8806 * Disable validation?
8807 */
8808 "disabled"?: boolean;
8809 /**
8810 * The tax protocol
8811 */
8812 "taxProtocol"?: TaxProtocol;
8813 }
8814 interface ScFormControl {
8815 /**
8816 * Help text
8817 */
8818 "help"?: string;
8819 /**
8820 * Help id
8821 */
8822 "helpId"?: string;
8823 /**
8824 * Input id.
8825 */
8826 "inputId"?: string;
8827 /**
8828 * Input label.
8829 */
8830 "label"?: string;
8831 /**
8832 * Input label id.
8833 */
8834 "labelId"?: string;
8835 /**
8836 * Name for the input. Used for validation errors.
8837 */
8838 "name"?: string;
8839 /**
8840 * Whether the input is required.
8841 */
8842 "required"?: boolean;
8843 /**
8844 * Show the label.
8845 */
8846 "showLabel"?: boolean;
8847 /**
8848 * Size of the label
8849 */
8850 "size"?: 'small' | 'medium' | 'large';
8851 }
8852 /**
8853 * This component checks to make sure there is an error component
8854 * and adds one if it's missing.
8855 */
8856 interface ScFormErrorProvider {
8857 }
8858 interface ScFormRow {
8859 }
8860 /**
8861 * This component listens for a confirmed event and redirects to the success url.
8862 */
8863 interface ScFormStateProvider {
8864 /**
8865 * Set the state.
8866 */
8867 "onScSetCheckoutFormState"?: (event: ScFormStateProviderCustomEvent<FormState>) => void;
8868 }
8869 interface ScFormatBytes {
8870 /**
8871 * Determines how to display the result, e.g. "100 bytes", "100 b", or "100b".
8872 */
8873 "display"?: 'long' | 'short' | 'narrow';
8874 /**
8875 * The locale to use when formatting the number.
8876 */
8877 "locale"?: string;
8878 /**
8879 * The unit to display.
8880 */
8881 "unit"?: 'byte' | 'bit';
8882 /**
8883 * The number to format in bytes.
8884 */
8885 "value"?: number;
8886 }
8887 interface ScFormatInterval {
8888 "every"?: string;
8889 "fallback"?: string;
8890 "interval"?: string;
8891 /**
8892 * The number to format.
8893 */
8894 "value"?: number;
8895 }
8896 interface ScFormatNumber {
8897 /**
8898 * The currency to use when formatting. Must be an ISO 4217 currency code such as `USD` or `EUR`.
8899 */
8900 "currency"?: string;
8901 /**
8902 * How to display the currency.
8903 */
8904 "currencyDisplay"?: 'symbol' | 'narrowSymbol' | 'code' | 'name';
8905 /**
8906 * The locale to use when formatting the number.
8907 */
8908 "locale"?: string;
8909 /**
8910 * The maximum number of fraction digits to use. Possible values are 0 - 20.
8911 */
8912 "maximumFractionDigits"?: number;
8913 /**
8914 * The maximum number of significant digits to use,. Possible values are 1 - 21.
8915 */
8916 "maximumSignificantDigits"?: number;
8917 /**
8918 * The minimum number of fraction digits to use. Possible values are 0 - 20.
8919 */
8920 "minimumFractionDigits"?: number;
8921 /**
8922 * The minimum number of integer digits to use. Possible values are 1 - 21.
8923 */
8924 "minimumIntegerDigits"?: number;
8925 /**
8926 * The minimum number of significant digits to use. Possible values are 1 - 21.
8927 */
8928 "minimumSignificantDigits"?: number;
8929 /**
8930 * Should we convert
8931 */
8932 "noConvert"?: boolean;
8933 /**
8934 * Turns off grouping separators.
8935 */
8936 "noGrouping"?: boolean;
8937 /**
8938 * The formatting style to use.
8939 */
8940 "type"?: 'currency' | 'decimal' | 'percent' | 'unit';
8941 /**
8942 * The unit to use when formatting.
8943 */
8944 "unit"?: string;
8945 /**
8946 * The number to format.
8947 */
8948 "value"?: number;
8949 }
8950 interface ScFulfillmentShippingStatusBadge {
8951 /**
8952 * Makes the tag clearable.
8953 */
8954 "clearable"?: boolean;
8955 /**
8956 * Draws a pill-style tag with rounded edges.
8957 */
8958 "pill"?: boolean;
8959 /**
8960 * The tag's size.
8961 */
8962 "size"?: 'small' | 'medium' | 'large';
8963 /**
8964 * The tag's statux type.
8965 */
8966 "status"?: FulfillmentStatus;
8967 }
8968 interface ScFulfillments {
8969 "heading"?: string;
8970 "orderId"?: string;
8971 }
8972 interface ScHeading {
8973 "size"?: 'small' | 'medium' | 'large';
8974 }
8975 interface ScIcon {
8976 /**
8977 * An alternative description to use for accessibility. If omitted, the name or src will be used to generate it.
8978 */
8979 "label"?: string;
8980 /**
8981 * The name of a registered custom icon library.
8982 */
8983 "library"?: string;
8984 /**
8985 * Mutate the icon
8986 */
8987 "mutate"?: boolean;
8988 /**
8989 * The name of the icon to draw.
8990 */
8991 "name"?: string;
8992 /**
8993 * Emitted when the icon has loaded.
8994 */
8995 "onScLoad"?: (event: ScIconCustomEvent<void>) => void;
8996 /**
8997 * An external URL of an SVG file.
8998 */
8999 "src"?: string;
9000 }
9001 interface ScImageSlider {
9002 "autoHeight"?: boolean;
9003 "hasThumbnails"?: boolean;
9004 /**
9005 * Accept a string or an array of objects
9006 */
9007 "images"?: string | { src: string; alt: string; srcset; width: number; height: number; sizes: string; title: string }[];
9008 "thumbnails"?: string | { src: string; alt: string; srcset; width: number; height: number; sizes: string; title: string }[];
9009 "thumbnailsPerPage"?: number;
9010 }
9011 interface ScInput {
9012 /**
9013 * The input's autocomplete attribute.
9014 */
9015 "autocomplete"?: string;
9016 /**
9017 * The input's autocorrect attribute.
9018 */
9019 "autocorrect"?: string;
9020 /**
9021 * The input's autofocus attribute.
9022 */
9023 "autofocus"?: boolean;
9024 /**
9025 * Adds a clear button when the input is populated.
9026 */
9027 "clearable"?: boolean;
9028 /**
9029 * Custom validation message to show when the input is invalid (replaces browser default).
9030 */
9031 "customValidity"?: string;
9032 /**
9033 * Disables the input.
9034 */
9035 "disabled"?: boolean;
9036 /**
9037 * Inputs focus
9038 */
9039 "hasFocus"?: boolean;
9040 /**
9041 * The input's help text.
9042 */
9043 "help"?: string;
9044 /**
9045 * Hidden
9046 */
9047 "hidden"?: boolean;
9048 /**
9049 * The input's inputmode attribute.
9050 */
9051 "inputmode"?: 'none' | 'text' | 'decimal' | 'numeric' | 'tel' | 'search' | 'email' | 'url';
9052 /**
9053 * 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.
9054 */
9055 "invalid"?: boolean;
9056 /**
9057 * The input's label.
9058 */
9059 "label"?: string;
9060 /**
9061 * The input's maximum value.
9062 */
9063 "max"?: number | string;
9064 /**
9065 * The maximum length of input that will be considered valid.
9066 */
9067 "maxlength"?: number;
9068 /**
9069 * The input's minimum value.
9070 */
9071 "min"?: number | string;
9072 /**
9073 * The minimum length of input that will be considered valid.
9074 */
9075 "minlength"?: number;
9076 /**
9077 * The input's name attribute.
9078 */
9079 "name"?: string;
9080 /**
9081 * Emitted when the control loses focus.
9082 */
9083 "onScBlur"?: (event: ScInputCustomEvent<void>) => void;
9084 /**
9085 * Emitted when the control's value changes.
9086 */
9087 "onScChange"?: (event: ScInputCustomEvent<void>) => void;
9088 /**
9089 * Emitted when the clear button is activated.
9090 */
9091 "onScClear"?: (event: ScInputCustomEvent<void>) => void;
9092 /**
9093 * Emitted when the control gains focus.
9094 */
9095 "onScFocus"?: (event: ScInputCustomEvent<void>) => void;
9096 /**
9097 * Emitted when the control receives input.
9098 */
9099 "onScInput"?: (event: ScInputCustomEvent<void>) => void;
9100 /**
9101 * A pattern to validate input against.
9102 */
9103 "pattern"?: string;
9104 /**
9105 * Draws a pill-style input with rounded edges.
9106 */
9107 "pill"?: boolean;
9108 /**
9109 * The input's placeholder text.
9110 */
9111 "placeholder"?: string;
9112 /**
9113 * Makes the input readonly.
9114 */
9115 "readonly"?: boolean;
9116 /**
9117 * Makes the input a required field.
9118 */
9119 "required"?: boolean;
9120 /**
9121 * Should we show the label
9122 */
9123 "showLabel"?: boolean;
9124 /**
9125 * The input's size.
9126 */
9127 "size"?: 'small' | 'medium' | 'large';
9128 /**
9129 * Enables spell checking on the input.
9130 */
9131 "spellcheck"?: boolean;
9132 "squared"?: boolean;
9133 "squaredBottom"?: boolean;
9134 "squaredLeft"?: boolean;
9135 "squaredRight"?: boolean;
9136 "squaredTop"?: boolean;
9137 /**
9138 * The input's step attribute.
9139 */
9140 "step"?: number;
9141 /**
9142 * Adds a password toggle button to password inputs.
9143 */
9144 "togglePassword"?: boolean;
9145 /**
9146 * The input's type.
9147 */
9148 "type"?: 'email' | 'number' | 'password' | 'search' | 'tel' | 'text' | 'url' | 'hidden';
9149 /**
9150 * The input's value attribute.
9151 */
9152 "value"?: string;
9153 }
9154 interface ScInvoiceDetails {
9155 }
9156 interface ScInvoiceMemo {
9157 /**
9158 * Memo Label
9159 */
9160 "text"?: string;
9161 }
9162 interface ScInvoiceStatusBadge {
9163 /**
9164 * Makes the tag clearable.
9165 */
9166 "clearable"?: boolean;
9167 /**
9168 * Draws a pill-style tag with rounded edges.
9169 */
9170 "pill"?: boolean;
9171 /**
9172 * The tag's size.
9173 */
9174 "size"?: 'small' | 'medium' | 'large';
9175 /**
9176 * The tag's statux type.
9177 */
9178 "status"?: InvoiceStatus;
9179 }
9180 interface ScInvoicesList {
9181 "allLink"?: string;
9182 "heading"?: string;
9183 "isCustomer"?: boolean;
9184 /**
9185 * Query to fetch invoices
9186 */
9187 "query"?: {
9188 page: number;
9189 per_page: number;
9190 };
9191 }
9192 interface ScLicense {
9193 /**
9194 * The license id
9195 */
9196 "licenseId"?: string;
9197 /**
9198 * Query to fetch Activations
9199 */
9200 "query"?: {
9201 page: number;
9202 per_page: number;
9203 };
9204 }
9205 interface ScLicensesList {
9206 /**
9207 * View all link
9208 */
9209 "allLink"?: string;
9210 /**
9211 * The heading of the licenses
9212 */
9213 "heading"?: string;
9214 /**
9215 * Whether the current user is customer
9216 */
9217 "isCustomer"?: boolean;
9218 "licenses"?: License[];
9219 /**
9220 * Query to fetch licenses
9221 */
9222 "query"?: {
9223 page: number;
9224 per_page: number;
9225 };
9226 }
9227 interface ScLineItem {
9228 /**
9229 * Currency symbol
9230 */
9231 "currency"?: string;
9232 /**
9233 * Price of the item
9234 */
9235 "price"?: string;
9236 }
9237 interface ScLineItemBump {
9238 "label"?: string;
9239 "loading"?: boolean;
9240 }
9241 interface ScLineItemInvoiceDueDate {
9242 }
9243 interface ScLineItemInvoiceNumber {
9244 }
9245 interface ScLineItemInvoiceReceiptDownload {
9246 "checkout"?: Checkout;
9247 }
9248 interface ScLineItemShipping {
9249 /**
9250 * Label
9251 */
9252 "label"?: string;
9253 }
9254 interface ScLineItemTax {
9255 "loading"?: boolean;
9256 "order"?: Checkout;
9257 }
9258 interface ScLineItemTotal {
9259 "checkout"?: Checkout;
9260 "size"?: 'large' | 'medium';
9261 "total"?: 'total' | 'subtotal';
9262 }
9263 interface ScLineItemTrial {
9264 /**
9265 * The label for the trial item
9266 */
9267 "label"?: string;
9268 }
9269 interface ScLineItems {
9270 /**
9271 * Is the line item editable?
9272 */
9273 "editable"?: boolean;
9274 /**
9275 * Is the line item removable?
9276 */
9277 "removable"?: boolean;
9278 }
9279 interface ScLineItemsProvider {
9280 /**
9281 * Update line items event
9282 */
9283 "onScUpdateLineItems"?: (event: ScLineItemsProviderCustomEvent<Array<LineItemData1>>) => void;
9284 /**
9285 * Order Object
9286 */
9287 "order"?: Checkout;
9288 }
9289 interface ScLoginForm {
9290 }
9291 interface ScLoginProvider {
9292 /**
9293 * Is the user logged in.
9294 */
9295 "loggedIn"?: boolean;
9296 "onScSetCustomer"?: (event: ScLoginProviderCustomEvent<{ email: string; name?: string }>) => void;
9297 "onScSetLoggedIn"?: (event: ScLoginProviderCustomEvent<boolean>) => void;
9298 "order"?: Checkout;
9299 }
9300 interface ScManualPaymentMethod {
9301 "paymentMethod"?: ManualPaymentMethod;
9302 "showDescription"?: boolean;
9303 }
9304 interface ScMenu {
9305 "ariaLabel"?: string;
9306 "onScSelect"?: (event: ScMenuCustomEvent<{ item: HTMLScMenuItemElement }>) => void;
9307 }
9308 interface ScMenuDivider {
9309 }
9310 interface ScMenuItem {
9311 /**
9312 * Draws the item in a checked state.
9313 */
9314 "checked"?: boolean;
9315 /**
9316 * Draws the menu item in a disabled state.
9317 */
9318 "disabled"?: boolean;
9319 /**
9320 * Optional link to follow.
9321 */
9322 "href"?: string;
9323 /**
9324 * The target of the link.
9325 */
9326 "target"?: string;
9327 /**
9328 * A unique value to store in the menu item. This can be used as a way to identify menu items when selected.
9329 */
9330 "value"?: string;
9331 }
9332 interface ScMenuLabel {
9333 }
9334 interface ScMollieAddMethod {
9335 "country"?: string;
9336 "currency"?: string;
9337 "customerId"?: string;
9338 "liveMode"?: boolean;
9339 "processorId"?: string;
9340 "successUrl"?: string;
9341 }
9342 interface ScOrder {
9343 "customerIds"?: string[];
9344 "heading"?: string;
9345 "orderId"?: string;
9346 }
9347 interface ScOrderBillingAddress {
9348 /**
9349 * Default country for address
9350 */
9351 "defaultCountry"?: string;
9352 /**
9353 * Label for the field
9354 */
9355 "label"?: string;
9356 /**
9357 * Name placeholder
9358 */
9359 "namePlaceholder"?: string;
9360 /**
9361 * Show the name field
9362 */
9363 "showName"?: boolean;
9364 /**
9365 * Toggle label
9366 */
9367 "toggleLabel"?: string;
9368 }
9369 interface ScOrderBump {
9370 /**
9371 * The bump
9372 */
9373 "bump"?: Bump;
9374 /**
9375 * Should we show the controls (classic design)
9376 */
9377 "showControl"?: boolean;
9378 }
9379 interface ScOrderBumps {
9380 "help"?: string;
9381 /**
9382 * Hide bumps that have already been added to the checkout.
9383 */
9384 "hideAddedItems"?: boolean;
9385 "label"?: string;
9386 /**
9387 * Should we show the controls (classic design)
9388 */
9389 "showControl"?: boolean;
9390 }
9391 interface ScOrderConfirmComponentsValidator {
9392 /**
9393 * The checkout
9394 */
9395 "checkout"?: Checkout;
9396 }
9397 /**
9398 * This component listens to the order status
9399 * and confirms the order when payment is successful.
9400 */
9401 interface ScOrderConfirmProvider {
9402 /**
9403 * Checkout status to listen and do payment related stuff.
9404 */
9405 "checkoutStatus"?: string;
9406 /**
9407 * The order is paid event.
9408 */
9409 "onScOrderPaid"?: (event: ScOrderConfirmProviderCustomEvent<Checkout>) => void;
9410 "onScSetState"?: (event: ScOrderConfirmProviderCustomEvent<string>) => void;
9411 /**
9412 * Success url.
9413 */
9414 "successUrl"?: string;
9415 }
9416 interface ScOrderConfirmation {
9417 "order"?: Checkout;
9418 }
9419 interface ScOrderConfirmationCustomer {
9420 /**
9421 * The customer
9422 */
9423 "customer"?: Customer;
9424 /**
9425 * Error message.
9426 */
9427 "error"?: string;
9428 /**
9429 * The heading
9430 */
9431 "heading"?: string;
9432 /**
9433 * Is this loading?
9434 */
9435 "loading"?: boolean;
9436 /**
9437 * The Order
9438 */
9439 "order"?: Checkout;
9440 }
9441 interface ScOrderConfirmationDetails {
9442 "loading"?: boolean;
9443 "order"?: Order;
9444 }
9445 interface ScOrderConfirmationLineItems {
9446 "loading"?: boolean;
9447 "order"?: Checkout;
9448 }
9449 interface ScOrderConfirmationTotals {
9450 "order"?: Checkout;
9451 }
9452 interface ScOrderCouponForm {
9453 "buttonText"?: string;
9454 "collapsed"?: boolean;
9455 "label"?: string;
9456 "loading"?: boolean;
9457 "placeholder"?: string;
9458 }
9459 interface ScOrderDetail {
9460 "fallback"?: string;
9461 "label"?: string;
9462 "loading"?: boolean;
9463 "metaKey"?: string;
9464 "order"?: Checkout;
9465 "value"?: string;
9466 }
9467 interface ScOrderFulfillmentBadge {
9468 /**
9469 * Makes the tag clearable.
9470 */
9471 "clearable"?: boolean;
9472 /**
9473 * Draws a pill-style tag with rounded edges.
9474 */
9475 "pill"?: boolean;
9476 /**
9477 * The tag's size.
9478 */
9479 "size"?: 'small' | 'medium' | 'large';
9480 /**
9481 * The tag's statux type.
9482 */
9483 "status"?: OrderFulFillmentStatus;
9484 }
9485 interface ScOrderManualInstructions {
9486 "manualPaymentInstructions"?: string;
9487 "manualPaymentTitle"?: string;
9488 }
9489 interface ScOrderPassword {
9490 /**
9491 * The input's autofocus attribute.
9492 */
9493 "autofocus"?: boolean;
9494 /**
9495 * The input's password confirmation attribute.
9496 */
9497 "confirmation"?: boolean;
9498 /**
9499 * The input's confirmation help text.
9500 */
9501 "confirmationHelp"?: string;
9502 /**
9503 * The input's confirmation label text.
9504 */
9505 "confirmationLabel"?: string;
9506 /**
9507 * The input's confirmation placeholder text.
9508 */
9509 "confirmationPlaceholder"?: string;
9510 /**
9511 * Disables the input.
9512 */
9513 "disabled"?: boolean;
9514 /**
9515 * Does the email exist?
9516 */
9517 "emailExists"?: boolean;
9518 /**
9519 * Ensures strong password validation.
9520 */
9521 "enableValidation"?: boolean;
9522 /**
9523 * The input's help text.
9524 */
9525 "help"?: string;
9526 /**
9527 * The input's label.
9528 */
9529 "label"?: string;
9530 "loggedIn"?: boolean;
9531 /**
9532 * Draws a pill-style input with rounded edges.
9533 */
9534 "pill"?: boolean;
9535 /**
9536 * The input's placeholder text.
9537 */
9538 "placeholder"?: string;
9539 /**
9540 * Makes the input readonly.
9541 */
9542 "readonly"?: boolean;
9543 /**
9544 * Makes the input a required field.
9545 */
9546 "required"?: boolean;
9547 /**
9548 * Should we show the label
9549 */
9550 "showLabel"?: boolean;
9551 /**
9552 * The input's size.
9553 */
9554 "size"?: 'small' | 'medium' | 'large';
9555 /**
9556 * The input's value attribute.
9557 */
9558 "value"?: string;
9559 }
9560 interface ScOrderReturnBadge {
9561 /**
9562 * Makes the tag clearable.
9563 */
9564 "clearable"?: boolean;
9565 /**
9566 * Draws a pill-style tag with rounded edges.
9567 */
9568 "pill"?: boolean;
9569 /**
9570 * The tag's size.
9571 */
9572 "size"?: 'small' | 'medium' | 'large';
9573 /**
9574 * The tag's statux type.
9575 */
9576 "status"?: ReturnRequestStatus;
9577 }
9578 interface ScOrderShipmentBadge {
9579 /**
9580 * Makes the tag clearable.
9581 */
9582 "clearable"?: boolean;
9583 /**
9584 * Draws a pill-style tag with rounded edges.
9585 */
9586 "pill"?: boolean;
9587 /**
9588 * The tag's size.
9589 */
9590 "size"?: 'small' | 'medium' | 'large';
9591 /**
9592 * The tag's statux type.
9593 */
9594 "status"?: OrderShipmentStatus;
9595 }
9596 interface ScOrderShippingAddress {
9597 /**
9598 * Default country for address
9599 */
9600 "defaultCountry"?: string;
9601 /**
9602 * Show the address
9603 */
9604 "full"?: boolean;
9605 /**
9606 * Label for the field.
9607 */
9608 "label"?: string;
9609 /**
9610 * Whether to require the name in the address
9611 */
9612 "requireName"?: boolean;
9613 /**
9614 * Is this required (defaults to false)
9615 */
9616 "required"?: boolean;
9617 /**
9618 * Show the line 2 field.
9619 */
9620 "showLine2"?: boolean;
9621 /**
9622 * Show the name field.
9623 */
9624 "showName"?: boolean;
9625 }
9626 interface ScOrderStatusBadge {
9627 /**
9628 * Makes the tag clearable.
9629 */
9630 "clearable"?: boolean;
9631 /**
9632 * Draws a pill-style tag with rounded edges.
9633 */
9634 "pill"?: boolean;
9635 /**
9636 * The tag's size.
9637 */
9638 "size"?: 'small' | 'medium' | 'large';
9639 /**
9640 * The tag's statux type.
9641 */
9642 "status"?: OrderStatus;
9643 }
9644 interface ScOrderSubmit {
9645 "backgroundColor"?: string;
9646 /**
9647 * Currency Code
9648 */
9649 "currencyCode"?: string;
9650 /**
9651 * Show a full-width button.
9652 */
9653 "full"?: boolean;
9654 /**
9655 * Icon to show.
9656 */
9657 "icon"?: string;
9658 /**
9659 * Is the order loading.
9660 */
9661 "loading"?: boolean;
9662 /**
9663 * The current order.
9664 */
9665 "order"?: Checkout;
9666 /**
9667 * Is the order paying.
9668 */
9669 "paying"?: boolean;
9670 /**
9671 * The selected processor.
9672 */
9673 "processor"?: ProcessorName;
9674 /**
9675 * Keys and secrets for processors.
9676 */
9677 "processors"?: Processor[];
9678 /**
9679 * Show the secure notice
9680 */
9681 "secureNotice"?: boolean;
9682 /**
9683 * Secure
9684 */
9685 "secureNoticeText"?: string;
9686 /**
9687 * Show the total.
9688 */
9689 "showTotal"?: boolean;
9690 /**
9691 * The button's size.
9692 */
9693 "size"?: 'small' | 'medium' | 'large';
9694 "textColor"?: string;
9695 /**
9696 * The button type.
9697 */
9698 "type"?: 'default' | 'primary' | 'success' | 'info' | 'warning' | 'danger' | 'text' | 'link';
9699 }
9700 interface ScOrderSummary {
9701 "busy"?: boolean;
9702 "collapsed"?: boolean;
9703 "collapsedOnDesktop"?: boolean;
9704 "collapsedOnMobile"?: boolean;
9705 "collapsible"?: boolean;
9706 "invoiceSummaryText"?: string;
9707 /**
9708 * Show the toggle
9709 */
9710 "onScHide"?: (event: ScOrderSummaryCustomEvent<void>) => void;
9711 /**
9712 * Show the toggle
9713 */
9714 "onScShow"?: (event: ScOrderSummaryCustomEvent<void>) => void;
9715 "order"?: Checkout;
9716 "orderSummaryText"?: string;
9717 }
9718 interface ScOrderTaxIdInput {
9719 /**
9720 * AU zone label
9721 */
9722 "auAbnLabel"?: string;
9723 /**
9724 * GST zone label
9725 */
9726 "caGstLabel"?: string;
9727 /**
9728 * EU zone label
9729 */
9730 "euVatLabel"?: string;
9731 /**
9732 * UK zone label
9733 */
9734 "gbVatLabel"?: string;
9735 /**
9736 * Help text
9737 */
9738 "helpText"?: string;
9739 /**
9740 * Other zones label
9741 */
9742 "otherLabel"?: string;
9743 /**
9744 * Whether tax input is required
9745 */
9746 "required"?: boolean;
9747 /**
9748 * Force show the field.
9749 */
9750 "show"?: boolean;
9751 /**
9752 * Tax ID Types which will be shown Eg: '["eu_vat", "gb_vat"]'
9753 */
9754 "taxIdTypes"?: string | string[];
9755 }
9756 interface ScOrdersList {
9757 "allLink"?: string;
9758 "heading"?: string;
9759 "isCustomer"?: boolean;
9760 /**
9761 * Query to fetch orders
9762 */
9763 "query"?: {
9764 page: number;
9765 per_page: number;
9766 };
9767 }
9768 interface ScPagination {
9769 "onScNextPage"?: (event: ScPaginationCustomEvent<void>) => void;
9770 "onScPrevPage"?: (event: ScPaginationCustomEvent<void>) => void;
9771 "page"?: number;
9772 "perPage"?: number;
9773 "total"?: number;
9774 "totalPages"?: number;
9775 "totalShowing"?: number;
9776 }
9777 interface ScPassword {
9778 /**
9779 * The input's autofocus attribute.
9780 */
9781 "autofocus"?: boolean;
9782 /**
9783 * The input's password confirmation attribute.
9784 */
9785 "confirmation"?: boolean;
9786 /**
9787 * The input's confirmation help text.
9788 */
9789 "confirmationHelp"?: string;
9790 /**
9791 * The input's confirmation label text.
9792 */
9793 "confirmationLabel"?: string;
9794 /**
9795 * The input's confirmation placeholder text.
9796 */
9797 "confirmationPlaceholder"?: string;
9798 /**
9799 * Disables the input.
9800 */
9801 "disabled"?: boolean;
9802 /**
9803 * Ensures strong password validation.
9804 */
9805 "enableValidation"?: boolean;
9806 /**
9807 * The input's help text.
9808 */
9809 "help"?: string;
9810 /**
9811 * The input's label.
9812 */
9813 "label"?: string;
9814 /**
9815 * The name for the input.
9816 */
9817 "name"?: string;
9818 /**
9819 * Draws a pill-style input with rounded edges.
9820 */
9821 "pill"?: boolean;
9822 /**
9823 * The input's placeholder text.
9824 */
9825 "placeholder"?: string;
9826 /**
9827 * Makes the input readonly.
9828 */
9829 "readonly"?: boolean;
9830 /**
9831 * Makes the input a required field.
9832 */
9833 "required"?: boolean;
9834 /**
9835 * Should we show the label
9836 */
9837 "showLabel"?: boolean;
9838 /**
9839 * The input's size.
9840 */
9841 "size"?: 'small' | 'medium' | 'large';
9842 /**
9843 * The input's value attribute.
9844 */
9845 "value"?: string;
9846 }
9847 interface ScPasswordNag {
9848 /**
9849 * Ensures strong password validation.
9850 */
9851 "enableValidation"?: boolean;
9852 "open"?: boolean;
9853 /**
9854 * The success url.
9855 */
9856 "successUrl"?: string;
9857 /**
9858 * The type of alert.
9859 */
9860 "type"?: 'primary' | 'success' | 'info' | 'warning' | 'danger';
9861 }
9862 interface ScPayment {
9863 /**
9864 * Disabled processor types
9865 */
9866 "disabledProcessorTypes"?: string[];
9867 /**
9868 * Hide the test mode badge
9869 */
9870 "hideTestModeBadge"?: boolean;
9871 /**
9872 * The input's label.
9873 */
9874 "label"?: string;
9875 "secureNotice"?: string;
9876 "stripePaymentElement"?: boolean;
9877 }
9878 interface ScPaymentMethod {
9879 "externalLink"?: string;
9880 "externalLinkTooltipText"?: string;
9881 "full"?: boolean;
9882 "paymentMethod"?: PaymentMethod;
9883 }
9884 interface ScPaymentMethodChoice {
9885 /**
9886 * Should we show this in a card?
9887 */
9888 "card"?: boolean;
9889 /**
9890 * Is this a manual processor
9891 */
9892 "isManual"?: boolean;
9893 /**
9894 * The method id
9895 */
9896 "methodId"?: string;
9897 /**
9898 * The processor ID
9899 */
9900 "processorId"?: string;
9901 }
9902 interface ScPaymentMethodDetails {
9903 "editHandler"?: () => void;
9904 "paymentMethod"?: PaymentMethod;
9905 }
9906 interface ScPaymentMethodsList {
9907 /**
9908 * Whether default payment method can be detached
9909 */
9910 "canDetachDefaultPaymentMethod"?: boolean;
9911 /**
9912 * The heading
9913 */
9914 "heading"?: string;
9915 /**
9916 * Is this a customer
9917 */
9918 "isCustomer"?: boolean;
9919 /**
9920 * Query to fetch paymentMethods
9921 */
9922 "query"?: object;
9923 }
9924 interface ScPaymentSelected {
9925 "iconName"?: string;
9926 "label"?: string;
9927 }
9928 interface ScPaypalAddMethod {
9929 "currency"?: string;
9930 "customerId"?: string;
9931 "liveMode"?: boolean;
9932 "successUrl"?: string;
9933 }
9934 interface ScPaypalButtons {
9935 /**
9936 * Is this busy?
9937 */
9938 "busy"?: boolean;
9939 /**
9940 * Buttons to render
9941 */
9942 "buttons"?: string[];
9943 /**
9944 * Client id for the script.
9945 */
9946 "clientId"?: string;
9947 /**
9948 * Button color.
9949 */
9950 "color"?: 'gold' | 'blue' | 'silver' | 'black' | 'white';
9951 /**
9952 * Label for the button.
9953 */
9954 "label"?: 'paypal' | 'checkout' | 'buynow' | 'pay' | 'installment';
9955 /**
9956 * The merchant id for paypal.
9957 */
9958 "merchantId"?: string;
9959 /**
9960 * Merchant initiated billing enabled.
9961 */
9962 "merchantInitiated"?: boolean;
9963 /**
9964 * Test or live mode.
9965 */
9966 "mode"?: 'test' | 'live';
9967 "onScPaid"?: (event: ScPaypalButtonsCustomEvent<void>) => void;
9968 /**
9969 * Set the state machine
9970 */
9971 "onScSetState"?: (event: ScPaypalButtonsCustomEvent<string>) => void;
9972 /**
9973 * The order.
9974 */
9975 "order"?: Checkout;
9976 }
9977 interface ScPaystackAddMethod {
9978 "currency"?: string;
9979 "customerId"?: string;
9980 "liveMode"?: boolean;
9981 "successUrl"?: string;
9982 }
9983 interface ScPhoneInput {
9984 /**
9985 * The input's autocomplete attribute.
9986 */
9987 "autocomplete"?: string;
9988 /**
9989 * The input's autocorrect attribute.
9990 */
9991 "autocorrect"?: string;
9992 /**
9993 * The input's autofocus attribute.
9994 */
9995 "autofocus"?: boolean;
9996 /**
9997 * Adds a clear button when the input is populated.
9998 */
9999 "clearable"?: boolean;
10000 /**
10001 * Disables the input.
10002 */
10003 "disabled"?: boolean;
10004 /**
10005 * Inputs focus
10006 */
10007 "hasFocus"?: boolean;
10008 /**
10009 * The input's help text.
10010 */
10011 "help"?: string;
10012 /**
10013 * Hidden
10014 */
10015 "hidden"?: boolean;
10016 /**
10017 * 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.
10018 */
10019 "invalid"?: boolean;
10020 /**
10021 * The input's label.
10022 */
10023 "label"?: string;
10024 /**
10025 * The input's maximum value.
10026 */
10027 "max"?: number | string;
10028 /**
10029 * The maximum length of input that will be considered valid.
10030 */
10031 "maxlength"?: number;
10032 /**
10033 * The input's minimum value.
10034 */
10035 "min"?: number | string;
10036 /**
10037 * The minimum length of input that will be considered valid.
10038 */
10039 "minlength"?: number;
10040 /**
10041 * The input's name attribute.
10042 */
10043 "name"?: string;
10044 /**
10045 * Emitted when the control loses focus.
10046 */
10047 "onScBlur"?: (event: ScPhoneInputCustomEvent<void>) => void;
10048 /**
10049 * Emitted when the control's value changes.
10050 */
10051 "onScChange"?: (event: ScPhoneInputCustomEvent<void>) => void;
10052 /**
10053 * Emitted when the clear button is activated.
10054 */
10055 "onScClear"?: (event: ScPhoneInputCustomEvent<void>) => void;
10056 /**
10057 * Emitted when the control gains focus.
10058 */
10059 "onScFocus"?: (event: ScPhoneInputCustomEvent<void>) => void;
10060 /**
10061 * Emitted when the control receives input.
10062 */
10063 "onScInput"?: (event: ScPhoneInputCustomEvent<void>) => void;
10064 /**
10065 * A pattern to validate input against.
10066 */
10067 "pattern"?: string;
10068 /**
10069 * Draws a pill-style input with rounded edges.
10070 */
10071 "pill"?: boolean;
10072 /**
10073 * The input's placeholder text.
10074 */
10075 "placeholder"?: string;
10076 /**
10077 * Makes the input readonly.
10078 */
10079 "readonly"?: boolean;
10080 /**
10081 * Makes the input a required field.
10082 */
10083 "required"?: boolean;
10084 /**
10085 * Should we show the label
10086 */
10087 "showLabel"?: boolean;
10088 /**
10089 * The input's size.
10090 */
10091 "size"?: 'small' | 'medium' | 'large';
10092 /**
10093 * Enables spell checking on the input.
10094 */
10095 "spellcheck"?: boolean;
10096 "squared"?: boolean;
10097 "squaredBottom"?: boolean;
10098 "squaredLeft"?: boolean;
10099 "squaredRight"?: boolean;
10100 "squaredTop"?: boolean;
10101 /**
10102 * The input's step attribute.
10103 */
10104 "step"?: number;
10105 /**
10106 * Adds a password toggle button to password inputs.
10107 */
10108 "togglePassword"?: boolean;
10109 /**
10110 * The input's value attribute.
10111 */
10112 "value"?: string;
10113 }
10114 interface ScPillOption {
10115 /**
10116 * Label
10117 */
10118 "isSelected"?: boolean;
10119 "isUnavailable"?: boolean;
10120 }
10121 interface ScPopover {
10122 /**
10123 * Is this disabled.
10124 */
10125 "disabled"?: boolean;
10126 /**
10127 * The distance in pixels from which to offset the panel away from its trigger.
10128 */
10129 "distance"?: number;
10130 /**
10131 * Enable this option to prevent the panel from being clipped when the component is placed inside a container with `overflow: auto|scroll`.
10132 */
10133 "hoist"?: boolean;
10134 /**
10135 * Emitted when the popover closes. Calling `event.preventDefault()` will prevent it from being closed.
10136 */
10137 "onScHide"?: (event: ScPopoverCustomEvent<void>) => void;
10138 /**
10139 * Emitted when the popover opens. Calling `event.preventDefault()` will prevent it from being opened.
10140 */
10141 "onScShow"?: (event: ScPopoverCustomEvent<void>) => void;
10142 /**
10143 * Indicates whether or not the popover is open. You can use this in lieu of the show/hide methods.
10144 */
10145 "open"?: boolean;
10146 /**
10147 * The placement of the popover.
10148 */
10149 "placement"?: | 'top'
10150 | 'top-start'
10151 | 'top-end'
10152 | 'bottom'
10153 | 'bottom-start'
10154 | 'bottom-end'
10155 | 'right'
10156 | 'right-start'
10157 | 'right-end'
10158 | 'left'
10159 | 'left-start'
10160 | 'left-end';
10161 /**
10162 * The distance in pixels from which to offset the panel along its trigger.
10163 */
10164 "skidding"?: number;
10165 }
10166 interface ScPremiumTag {
10167 /**
10168 * The tag's size.
10169 */
10170 "size"?: 'small' | 'medium' | 'large';
10171 }
10172 /**
10173 * Internal dependencies.
10174 */
10175 interface ScPrice {
10176 /**
10177 * Is the product ad_hoc?
10178 */
10179 "adHoc"?: boolean;
10180 /**
10181 * The amount
10182 */
10183 "amount"?: number;
10184 /**
10185 * The currency.
10186 */
10187 "currency"?: string;
10188 /**
10189 * The display amount
10190 */
10191 "displayAmount"?: string;
10192 /**
10193 * The recurring interval
10194 */
10195 "recurringInterval"?: 'week' | 'month' | 'year' | 'never';
10196 /**
10197 * The recurring interval count
10198 */
10199 "recurringIntervalCount"?: number;
10200 /**
10201 * The recurring period count
10202 */
10203 "recurringPeriodCount"?: number;
10204 /**
10205 * The sale text
10206 */
10207 "saleText"?: string;
10208 /**
10209 * The scratch amount
10210 */
10211 "scratchAmount"?: number;
10212 /**
10213 * The scratch display amount
10214 */
10215 "scratchDisplayAmount"?: string;
10216 /**
10217 * The setup fee amount
10218 */
10219 "setupFeeAmount"?: number;
10220 /**
10221 * The setup fee name
10222 */
10223 "setupFeeName"?: string;
10224 /**
10225 * The setup fee text
10226 */
10227 "setupFeeText"?: string;
10228 /**
10229 * The trial duration days
10230 */
10231 "trialDurationDays"?: number;
10232 }
10233 interface ScPriceChoice {
10234 /**
10235 * Is this blank?
10236 */
10237 "blank"?: boolean;
10238 /**
10239 * Is this checked by default
10240 */
10241 "checked"?: boolean;
10242 /**
10243 * Label for the choice.
10244 */
10245 "description"?: string;
10246 /**
10247 * Errors from response
10248 */
10249 "error"?: ResponseError;
10250 /**
10251 * Is this an ad-hoc price choice
10252 */
10253 "isAdHoc"?: Boolean;
10254 /**
10255 * Label for the choice.
10256 */
10257 "label"?: string;
10258 /**
10259 * Is this loading
10260 */
10261 "loading"?: boolean;
10262 /**
10263 * Add entities
10264 */
10265 "onScAddEntities"?: (event: ScPriceChoiceCustomEvent<any>) => void;
10266 /**
10267 * Toggle line item event
10268 */
10269 "onScRemoveLineItem"?: (event: ScPriceChoiceCustomEvent<LineItemData1>) => void;
10270 /**
10271 * Toggle line item event
10272 */
10273 "onScUpdateLineItem"?: (event: ScPriceChoiceCustomEvent<LineItemData1>) => void;
10274 /**
10275 * Session
10276 */
10277 "order"?: Checkout;
10278 /**
10279 * Stores the price
10280 */
10281 "price"?: Price;
10282 /**
10283 * Id of the price.
10284 */
10285 "priceId"?: string;
10286 /**
10287 * Price entities
10288 */
10289 "prices"?: Prices;
10290 /**
10291 * Stores the price
10292 */
10293 "product"?: Product;
10294 /**
10295 * Product entity
10296 */
10297 "products"?: Products;
10298 /**
10299 * Default quantity
10300 */
10301 "quantity"?: number;
10302 /**
10303 * Show the radio/checkbox control
10304 */
10305 "showControl"?: boolean;
10306 /**
10307 * Show the label
10308 */
10309 "showLabel"?: boolean;
10310 /**
10311 * Show the price amount
10312 */
10313 "showPrice"?: boolean;
10314 /**
10315 * Choice Type
10316 */
10317 "type"?: 'checkbox' | 'radio';
10318 }
10319 interface ScPriceChoiceContainer {
10320 /**
10321 * Is this checked by default
10322 */
10323 "checked"?: boolean;
10324 /**
10325 * Label for the choice.
10326 */
10327 "description"?: string;
10328 /**
10329 * Label for the choice.
10330 */
10331 "label"?: string;
10332 /**
10333 * Is this loading
10334 */
10335 "loading"?: boolean;
10336 "onScChange"?: (event: ScPriceChoiceContainerCustomEvent<void>) => void;
10337 /**
10338 * Stores the price
10339 */
10340 "price"?: string | Price;
10341 "required"?: boolean;
10342 /**
10343 * Show the radio/checkbox control
10344 */
10345 "showControl"?: boolean;
10346 /**
10347 * Show the label
10348 */
10349 "showLabel"?: boolean;
10350 /**
10351 * Show the price amount
10352 */
10353 "showPrice"?: boolean;
10354 /**
10355 * Choice Type
10356 */
10357 "type"?: 'checkbox' | 'radio';
10358 }
10359 interface ScPriceChoices {
10360 /**
10361 * Number of columns
10362 */
10363 "columns"?: number;
10364 /**
10365 * Selector label
10366 */
10367 "label"?: string;
10368 /**
10369 * Toggle line item event
10370 */
10371 "onScRemoveLineItem"?: (event: ScPriceChoicesCustomEvent<LineItemData1>) => void;
10372 /**
10373 * Toggle line item event
10374 */
10375 "onScUpdateLineItem"?: (event: ScPriceChoicesCustomEvent<LineItemData1>) => void;
10376 /**
10377 * Required by default
10378 */
10379 "required"?: boolean;
10380 }
10381 interface ScPriceInput {
10382 /**
10383 * The input's autofocus attribute.
10384 */
10385 "autofocus"?: boolean;
10386 /**
10387 * Adds a clear button when the input is populated.
10388 */
10389 "clearable"?: boolean;
10390 /**
10391 * 3 letter currency code for input
10392 */
10393 "currencyCode"?: string;
10394 /**
10395 * Disables the input.
10396 */
10397 "disabled"?: boolean;
10398 /**
10399 * Inputs focus
10400 */
10401 "hasFocus"?: boolean;
10402 /**
10403 * The input's help text.
10404 */
10405 "help"?: string;
10406 /**
10407 * 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.
10408 */
10409 "invalid"?: boolean;
10410 /**
10411 * The input's label.
10412 */
10413 "label"?: string;
10414 /**
10415 * The input's maximum value.
10416 */
10417 "max"?: number;
10418 /**
10419 * The maximum length of input that will be considered valid.
10420 */
10421 "maxlength"?: number;
10422 /**
10423 * The input's minimum value.
10424 */
10425 "min"?: number;
10426 /**
10427 * The minimum length of input that will be considered valid.
10428 */
10429 "minlength"?: number;
10430 /**
10431 * The input's name attribute.
10432 */
10433 "name"?: string;
10434 /**
10435 * Emitted when the control loses focus.
10436 */
10437 "onScBlur"?: (event: ScPriceInputCustomEvent<void>) => void;
10438 /**
10439 * Emitted when the control's value changes.
10440 */
10441 "onScChange"?: (event: ScPriceInputCustomEvent<void>) => void;
10442 /**
10443 * Emitted when the control gains focus.
10444 */
10445 "onScFocus"?: (event: ScPriceInputCustomEvent<void>) => void;
10446 /**
10447 * Emitted when the control's value changes.
10448 */
10449 "onScInput"?: (event: ScPriceInputCustomEvent<void>) => void;
10450 /**
10451 * Draws a pill-style input with rounded edges.
10452 */
10453 "pill"?: boolean;
10454 /**
10455 * The input's placeholder text.
10456 */
10457 "placeholder"?: string;
10458 /**
10459 * Makes the input readonly.
10460 */
10461 "readonly"?: boolean;
10462 /**
10463 * Makes the input a required field.
10464 */
10465 "required"?: boolean;
10466 /**
10467 * Show the currency code with the input
10468 */
10469 "showCode"?: boolean;
10470 /**
10471 * Should we show the label
10472 */
10473 "showLabel"?: boolean;
10474 /**
10475 * The input's size.
10476 */
10477 "size"?: 'small' | 'medium' | 'large';
10478 /**
10479 * The input's value attribute.
10480 */
10481 "value"?: string;
10482 }
10483 interface ScPriceRange {
10484 /**
10485 * The array of price objects
10486 */
10487 "prices"?: Price[];
10488 }
10489 interface ScProductBuyButton {
10490 "addToCart"?: boolean;
10491 "checkoutLink"?: string;
10492 "formId"?: number;
10493 "mode"?: 'live' | 'test';
10494 "productId"?: string;
10495 }
10496 interface ScProductDonationAmountChoice {
10497 /**
10498 * The label for the field.
10499 */
10500 "label"?: string;
10501 /**
10502 * The product id for the fields.
10503 */
10504 "productId"?: string;
10505 /**
10506 * The value of the field.
10507 */
10508 "value"?: number;
10509 }
10510 interface ScProductDonationChoices {
10511 /**
10512 * The label for the field.
10513 */
10514 "label"?: string;
10515 /**
10516 * The product id for the fields.
10517 */
10518 "productId"?: string;
10519 "recurring"?: boolean;
10520 }
10521 interface ScProductDonationCustomAmount {
10522 /**
10523 * Selected Product Id for the donation.
10524 */
10525 "productId"?: string;
10526 /**
10527 * Custom Amount of the donation.
10528 */
10529 "value"?: number;
10530 }
10531 interface ScProductItem {
10532 "layoutConfig"?: LayoutConfig;
10533 "product"?: Product;
10534 }
10535 interface ScProductItemImage {
10536 "product"?: Product;
10537 "sizing"?: 'cover' | 'contain';
10538 }
10539 interface ScProductItemList {
10540 /**
10541 * Should we paginate?
10542 */
10543 "ajaxPagination"?: boolean;
10544 /**
10545 * Should allow collection filter
10546 */
10547 "collectionEnabled"?: boolean;
10548 /**
10549 * Show for a specific collection
10550 */
10551 "collectionId"?: string;
10552 /**
10553 * Show only featured products.
10554 */
10555 "featured"?: boolean;
10556 /**
10557 * Limit to a set of ids.
10558 */
10559 "ids"?: string[];
10560 "layoutConfig"?: LayoutConfig1;
10561 "limit"?: number;
10562 /**
10563 * Products viewed
10564 */
10565 "onScProductsViewed"?: (event: ScProductItemListCustomEvent<ProductsViewedParams>) => void;
10566 /**
10567 * Product was searched
10568 */
10569 "onScSearched"?: (event: ScProductItemListCustomEvent<ProductsSearchedParams>) => void;
10570 "page"?: number;
10571 /**
10572 * The page title
10573 */
10574 "pageTitle"?: string;
10575 /**
10576 * Pagination
10577 */
10578 "pagination"?: {
10579 total: number;
10580 total_pages: number;
10581 };
10582 "paginationAlignment"?: string;
10583 /**
10584 * Should we auto-scroll to the top when paginating via ajax
10585 */
10586 "paginationAutoScroll"?: boolean;
10587 /**
10588 * Should we paginate?
10589 */
10590 "paginationEnabled"?: boolean;
10591 "products"?: Product[];
10592 /**
10593 * Query to search for
10594 */
10595 "query"?: string;
10596 /**
10597 * Should allow search
10598 */
10599 "searchEnabled"?: boolean;
10600 /**
10601 * Sort
10602 */
10603 "sort"?: string;
10604 /**
10605 * Should allow search
10606 */
10607 "sortEnabled"?: boolean;
10608 }
10609 interface ScProductItemPrice {
10610 /**
10611 * Product metrics
10612 */
10613 "metrics"?: ProductMetrics;
10614 "prices"?: Price[];
10615 /**
10616 * Show price range?
10617 */
10618 "range"?: boolean;
10619 }
10620 interface ScProductItemTitle {
10621 }
10622 interface ScProductLineItem {
10623 /**
10624 * Product monetary amount
10625 */
10626 "amount"?: string;
10627 /**
10628 * Product display amount
10629 */
10630 "displayAmount"?: string;
10631 /**
10632 * Can we select the quantity
10633 */
10634 "editable"?: boolean;
10635 /**
10636 * Product line item fees.
10637 */
10638 "fees"?: Fee[];
10639 /**
10640 * Image attributes.
10641 */
10642 "image"?: ImageAttributes;
10643 /**
10644 * Recurring interval (i.e. monthly, once, etc.)
10645 */
10646 "interval"?: string;
10647 /**
10648 * The max allowed.
10649 */
10650 "max"?: number;
10651 /**
10652 * Product name
10653 */
10654 "name"?: string;
10655 /**
10656 * The line item note
10657 */
10658 "note"?: string;
10659 /**
10660 * Emitted when the quantity changes.
10661 */
10662 "onScRemove"?: (event: ScProductLineItemCustomEvent<void>) => void;
10663 /**
10664 * Emitted when the quantity changes.
10665 */
10666 "onScUpdateQuantity"?: (event: ScProductLineItemCustomEvent<number>) => void;
10667 /**
10668 * Price name
10669 */
10670 "price"?: string;
10671 /**
10672 * The purchasable status display
10673 */
10674 "purchasableStatus"?: string;
10675 /**
10676 * Quantity
10677 */
10678 "quantity"?: number;
10679 /**
10680 * Is the line item removable
10681 */
10682 "removable"?: boolean;
10683 /**
10684 * The review button link. If set, a review button will be shown linking to this URL.
10685 */
10686 "reviewButtonLink"?: string;
10687 /**
10688 * The line item scratch amount
10689 */
10690 "scratch"?: string;
10691 /**
10692 * Product scratch display amount
10693 */
10694 "scratchDisplayAmount"?: string;
10695 /**
10696 * The SKU.
10697 */
10698 "sku"?: string;
10699 /**
10700 * Trial text
10701 */
10702 "trial"?: string;
10703 /**
10704 * Product variant label
10705 */
10706 "variant"?: string;
10707 }
10708 interface ScProductLineItemNote {
10709 "note"?: string;
10710 }
10711 interface ScProductPillsVariantOption {
10712 /**
10713 * Label
10714 */
10715 "label"?: string;
10716 /**
10717 * Which option number?
10718 */
10719 "optionNumber"?: 1 | 2 | 3;
10720 /**
10721 * The product id
10722 */
10723 "productId"?: string;
10724 }
10725 interface ScProductPrice {
10726 /**
10727 * The product's prices.
10728 */
10729 "prices"?: Price[];
10730 /**
10731 * The product id
10732 */
10733 "productId"?: string;
10734 /**
10735 * The sale text
10736 */
10737 "saleText"?: string;
10738 }
10739 interface ScProductPriceChoices {
10740 /**
10741 * The product price choice label
10742 */
10743 "label"?: string;
10744 /**
10745 * The product id
10746 */
10747 "productId"?: string;
10748 /**
10749 * Whether to show the price
10750 */
10751 "showPrice"?: boolean;
10752 }
10753 interface ScProductPriceModal {
10754 /**
10755 * Whether to add to cart
10756 */
10757 "addToCart"?: boolean;
10758 /**
10759 * The button text
10760 */
10761 "buttonText"?: string;
10762 /**
10763 * The product id
10764 */
10765 "productId"?: string;
10766 }
10767 interface ScProductQuantity {
10768 /**
10769 * Display server-side validation errors.
10770 */
10771 "errors"?: any;
10772 /**
10773 * Help text
10774 */
10775 "help"?: string;
10776 /**
10777 * Input label.
10778 */
10779 "label"?: string;
10780 /**
10781 * Name for the input. Used for validation errors.
10782 */
10783 "name"?: string;
10784 /**
10785 * The product id
10786 */
10787 "productId"?: string;
10788 /**
10789 * Whether the input is required.
10790 */
10791 "required"?: boolean;
10792 /**
10793 * Show the label.
10794 */
10795 "showLabel"?: boolean;
10796 /**
10797 * Size of the control
10798 */
10799 "size"?: 'small' | 'medium' | 'large';
10800 }
10801 interface ScProductSelectedPrice {
10802 /**
10803 * Toggle line item event
10804 */
10805 "onScUpdateLineItem"?: (event: ScProductSelectedPriceCustomEvent<LineItemData>) => void;
10806 /**
10807 * The product id.
10808 */
10809 "productId"?: string;
10810 }
10811 interface ScProductText {
10812 "productId"?: string;
10813 "text"?: 'name' | 'description';
10814 }
10815 interface ScProse {
10816 }
10817 interface ScProvider {
10818 "STENCIL_CONTEXT"?: { [key: string]: any };
10819 "onMountConsumer"?: (event: ScProviderCustomEvent<any>) => void;
10820 }
10821 interface ScProvisionalBanner {
10822 /**
10823 * Claim URL.
10824 */
10825 "claimUrl"?: string;
10826 /**
10827 * Whether the claim window has expired.
10828 */
10829 "expired"?: boolean;
10830 }
10831 interface ScPurchaseDownloadsList {
10832 "allLink"?: string;
10833 "busy"?: boolean;
10834 "error"?: string;
10835 "heading"?: string;
10836 "loading"?: boolean;
10837 "purchases"?: Array<Purchase>;
10838 "requestNonce"?: string;
10839 }
10840 interface ScQuantitySelect {
10841 "clickEl"?: HTMLElement;
10842 "disabled"?: boolean;
10843 /**
10844 * Inputs focus
10845 */
10846 "hasFocus"?: boolean;
10847 "max"?: number;
10848 "min"?: number;
10849 /**
10850 * Emitted when the control loses focus.
10851 */
10852 "onScBlur"?: (event: ScQuantitySelectCustomEvent<void>) => void;
10853 "onScChange"?: (event: ScQuantitySelectCustomEvent<number>) => void;
10854 /**
10855 * Emitted when the control gains focus.
10856 */
10857 "onScFocus"?: (event: ScQuantitySelectCustomEvent<void>) => void;
10858 /**
10859 * Emitted when the control receives input.
10860 */
10861 "onScInput"?: (event: ScQuantitySelectCustomEvent<number>) => void;
10862 "productName"?: string;
10863 "quantity"?: number;
10864 "size"?: 'small' | 'medium' | 'large';
10865 }
10866 interface ScRadio {
10867 /**
10868 * Draws the radio in a checked state.
10869 */
10870 "checked"?: boolean;
10871 /**
10872 * Is the radio disabled
10873 */
10874 "disabled"?: boolean;
10875 /**
10876 * This will be true as a workaround in the block editor to focus on the content.
10877 */
10878 "edit"?: boolean;
10879 /**
10880 * This will be true when the control is in an invalid state. Validity is determined by the `required` prop.
10881 */
10882 "invalid"?: boolean;
10883 /**
10884 * The radios name attribute
10885 */
10886 "name"?: string;
10887 /**
10888 * Emitted when the control loses focus.
10889 */
10890 "onScBlur"?: (event: ScRadioCustomEvent<void>) => void;
10891 /**
10892 * Emitted when the control's checked state changes.
10893 */
10894 "onScChange"?: (event: ScRadioCustomEvent<void>) => void;
10895 /**
10896 * Emitted when the control gains focus.
10897 */
10898 "onScFocus"?: (event: ScRadioCustomEvent<void>) => void;
10899 /**
10900 * Is this required
10901 */
10902 "required"?: boolean;
10903 /**
10904 * The radios value
10905 */
10906 "value"?: string;
10907 }
10908 interface ScRadioGroup {
10909 /**
10910 * 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.
10911 */
10912 "invalid"?: boolean;
10913 /**
10914 * The radio group label. Required for proper accessibility.
10915 */
10916 "label"?: string;
10917 "onScChange"?: (event: ScRadioGroupCustomEvent<string>) => void;
10918 /**
10919 * Is one of these items required.
10920 */
10921 "required"?: boolean;
10922 /**
10923 * The selected value of the control.
10924 */
10925 "value"?: string;
10926 }
10927 interface ScRazorpayAddMethod {
10928 "currency"?: string;
10929 "customerId"?: string;
10930 "liveMode"?: boolean;
10931 "successUrl"?: string;
10932 }
10933 interface ScRecurringPriceChoiceContainer {
10934 /**
10935 * Label for the choice.
10936 */
10937 "label"?: string;
10938 /**
10939 * Change event.
10940 */
10941 "onScChange"?: (event: ScRecurringPriceChoiceContainerCustomEvent<string>) => void;
10942 /**
10943 * The prices to choose from.
10944 */
10945 "prices"?: Price[];
10946 /**
10947 * The product.
10948 */
10949 "product"?: Product;
10950 /**
10951 * The currently selected price
10952 */
10953 "selectedPrice"?: Price;
10954 /**
10955 * Should we show the price?
10956 */
10957 "showAmount"?: boolean;
10958 /**
10959 * Show the radio/checkbox control
10960 */
10961 "showControl"?: boolean;
10962 /**
10963 * Should we show the price details?
10964 */
10965 "showDetails"?: boolean;
10966 }
10967 interface ScReviewStars {
10968 "rating"?: number;
10969 "size"?: number;
10970 }
10971 interface ScRichText {
10972 /**
10973 * Disables the textarea.
10974 */
10975 "disabled"?: boolean;
10976 /**
10977 * The textarea's help text. Alternatively, you can use the help-text slot.
10978 */
10979 "help"?: string;
10980 /**
10981 * The textarea's label. Alternatively, you can use the label slot.
10982 */
10983 "label"?: string;
10984 /**
10985 * The max length.
10986 */
10987 "maxlength"?: number;
10988 /**
10989 * The textarea's name attribute.
10990 */
10991 "name"?: string;
10992 "onScBlur"?: (event: ScRichTextCustomEvent<void>) => void;
10993 "onScChange"?: (event: ScRichTextCustomEvent<void>) => void;
10994 "onScFocus"?: (event: ScRichTextCustomEvent<void>) => void;
10995 "onScInput"?: (event: ScRichTextCustomEvent<void>) => void;
10996 /**
10997 * The textarea's placeholder text.
10998 */
10999 "placeholder"?: string;
11000 /**
11001 * Makes the textarea readonly.
11002 */
11003 "readonly"?: boolean;
11004 /**
11005 * Makes the textarea a required field.
11006 */
11007 "required"?: boolean;
11008 /**
11009 * Should we show the label
11010 */
11011 "showLabel"?: boolean;
11012 /**
11013 * The textarea's size.
11014 */
11015 "size"?: 'small' | 'medium' | 'large';
11016 /**
11017 * The textarea's value attribute.
11018 */
11019 "value"?: string;
11020 }
11021 interface ScSecureNotice {
11022 }
11023 interface ScSelect {
11024 /**
11025 * The input's autocomplete attribute.
11026 */
11027 "autocomplete"?: string;
11028 /**
11029 * The input's value attribute.
11030 */
11031 "choices"?: Array<ChoiceItem>;
11032 "closeOnSelect"?: boolean;
11033 "disabled"?: boolean;
11034 /**
11035 * Some help text for the input.
11036 */
11037 "help"?: string;
11038 "hoist"?: boolean;
11039 /**
11040 * 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.
11041 */
11042 "invalid"?: boolean;
11043 /**
11044 * The input's label.
11045 */
11046 "label"?: string;
11047 "loading"?: boolean;
11048 /**
11049 * The input's name attribute.
11050 */
11051 "name"?: string;
11052 /**
11053 * Emitted when the control loses focus.
11054 */
11055 "onScBlur"?: (event: ScSelectCustomEvent<void>) => void;
11056 /**
11057 * Emitted when the control's value changes.
11058 */
11059 "onScChange"?: (event: ScSelectCustomEvent<ChoiceItem>) => void;
11060 /**
11061 * Emitted whent the components search query changes
11062 */
11063 "onScClose"?: (event: ScSelectCustomEvent<string>) => void;
11064 /**
11065 * Emitted when the control gains focus.
11066 */
11067 "onScFocus"?: (event: ScSelectCustomEvent<void>) => void;
11068 /**
11069 * Emitted whent the components search query changes
11070 */
11071 "onScOpen"?: (event: ScSelectCustomEvent<string>) => void;
11072 /**
11073 * Emitted when the list scrolls to the end.
11074 */
11075 "onScScrollEnd"?: (event: ScSelectCustomEvent<void>) => void;
11076 /**
11077 * Emitted whent the components search query changes
11078 */
11079 "onScSearch"?: (event: ScSelectCustomEvent<string>) => void;
11080 /**
11081 * Is this open
11082 */
11083 "open"?: boolean;
11084 /**
11085 * Placeholder for no value
11086 */
11087 "placeholder"?: string;
11088 /**
11089 * The placement of the dropdown.
11090 */
11091 "placement"?: | 'top'
11092 | 'top-start'
11093 | 'top-end'
11094 | 'bottom'
11095 | 'bottom-start'
11096 | 'bottom-end'
11097 | 'right'
11098 | 'right-start'
11099 | 'right-end'
11100 | 'left'
11101 | 'left-start'
11102 | 'left-end';
11103 "position"?: 'bottom-left' | 'bottom-right' | 'top-left' | 'top-right';
11104 "required"?: boolean;
11105 /**
11106 * Is search enabled?
11107 */
11108 "search"?: boolean;
11109 /**
11110 * Placeholder for search
11111 */
11112 "searchPlaceholder"?: string;
11113 "showParentLabel"?: boolean;
11114 /**
11115 * The input's size.
11116 */
11117 "size"?: 'small' | 'medium' | 'large';
11118 "squared"?: boolean;
11119 "squaredBottom"?: boolean;
11120 "squaredLeft"?: boolean;
11121 "squaredRight"?: boolean;
11122 "squaredTop"?: boolean;
11123 /**
11124 * Can we unselect items.
11125 */
11126 "unselect"?: boolean;
11127 /**
11128 * The input's value attribute.
11129 */
11130 "value"?: string;
11131 }
11132 interface ScSessionProvider {
11133 "onScPaid"?: (event: ScSessionProviderCustomEvent<void>) => void;
11134 /**
11135 * Set the state
11136 */
11137 "onScSetState"?: (event: ScSessionProviderCustomEvent<FormStateSetter>) => void;
11138 /**
11139 * Update line items event
11140 */
11141 "onScUpdateDraftState"?: (event: ScSessionProviderCustomEvent<Checkout>) => void;
11142 /**
11143 * Update line items event
11144 */
11145 "onScUpdateOrderState"?: (event: ScSessionProviderCustomEvent<Checkout>) => void;
11146 /**
11147 * Should we persist the session.
11148 */
11149 "persist"?: boolean;
11150 /**
11151 * An array of prices to pre-fill in the form.
11152 */
11153 "prices"?: Array<PriceChoice>;
11154 }
11155 interface ScShippingChoices {
11156 /**
11157 * The shipping section label
11158 */
11159 "label"?: string;
11160 /**
11161 * Override shipping choices data (used for editor preview)
11162 */
11163 "shippingChoices"?: any[] | undefined;
11164 /**
11165 * Whether to show the shipping choice description
11166 */
11167 "showDescription"?: boolean;
11168 }
11169 interface ScSkeleton {
11170 /**
11171 * Animation effect
11172 */
11173 "effect"?: 'pulse' | 'sheen' | 'none';
11174 }
11175 interface ScSpacing {
11176 }
11177 interface ScSpinner {
11178 }
11179 interface ScStackedList {
11180 }
11181 interface ScStackedListRow {
11182 "href"?: string;
11183 "mobileSize"?: number;
11184 "target"?: string;
11185 }
11186 interface ScStripeAddMethod {
11187 "customerId"?: string;
11188 "liveMode"?: boolean;
11189 "successUrl"?: string;
11190 }
11191 interface ScStripeElement {
11192 /**
11193 * Whether this field is disabled
11194 */
11195 "disabled"?: boolean;
11196 /**
11197 * The form state
11198 */
11199 "formState"?: FormState;
11200 /**
11201 * Inputs focus
11202 */
11203 "hasFocus"?: boolean;
11204 /**
11205 * The input's label. Alternatively, you can use the label slot.
11206 */
11207 "label"?: string;
11208 /**
11209 * Mode for the payment
11210 */
11211 "mode"?: 'live' | 'test';
11212 /**
11213 * The order/invoice was paid for
11214 */
11215 "onScPaid"?: (event: ScStripeElementCustomEvent<void>) => void;
11216 /**
11217 * Payment information was added
11218 */
11219 "onScPaymentInfoAdded"?: (event: ScStripeElementCustomEvent<PaymentInfoAddedParams>) => void;
11220 /**
11221 * Set the state
11222 */
11223 "onScSetState"?: (event: ScStripeElementCustomEvent<FormStateSetter>) => void;
11224 /**
11225 * The checkout session object for finalizing intents
11226 */
11227 "order"?: Checkout;
11228 /**
11229 * The input's help text. Alternatively, you can use the help-text slot.
11230 */
11231 "secureText"?: string;
11232 /**
11233 * The selected processor id
11234 */
11235 "selectedProcessorId"?: ProcessorName;
11236 /**
11237 * Should we show the label
11238 */
11239 "showLabel"?: boolean;
11240 /**
11241 * The input's size.
11242 */
11243 "size"?: 'small' | 'medium' | 'large';
11244 }
11245 interface ScStripePaymentElement {
11246 /**
11247 * The order/invoice was paid for.
11248 */
11249 "onScPaid"?: (event: ScStripePaymentElementCustomEvent<void>) => void;
11250 /**
11251 * Payment information was added
11252 */
11253 "onScPaymentInfoAdded"?: (event: ScStripePaymentElementCustomEvent<PaymentInfoAddedParams>) => void;
11254 /**
11255 * Set the state
11256 */
11257 "onScSetState"?: (event: ScStripePaymentElementCustomEvent<FormStateSetter>) => void;
11258 }
11259 interface ScStripePaymentRequest {
11260 /**
11261 * Amount
11262 */
11263 "amount"?: number;
11264 /**
11265 * Country
11266 */
11267 "country"?: string;
11268 /**
11269 * Is this in debug mode.
11270 */
11271 "debug"?: boolean;
11272 "error"?: ResponseError | null;
11273 /**
11274 * Label
11275 */
11276 "label"?: string;
11277 "onScFormSubmit"?: (event: ScStripePaymentRequestCustomEvent<any>) => void;
11278 "onScPaid"?: (event: ScStripePaymentRequestCustomEvent<void>) => void;
11279 "onScPayError"?: (event: ScStripePaymentRequestCustomEvent<any>) => void;
11280 "onScPaymentRequestLoaded"?: (event: ScStripePaymentRequestCustomEvent<boolean>) => void;
11281 "onScSetState"?: (event: ScStripePaymentRequestCustomEvent<string>) => void;
11282 "onScUpdateOrderState"?: (event: ScStripePaymentRequestCustomEvent<any>) => void;
11283 /**
11284 * Prices
11285 */
11286 "prices"?: Prices;
11287 /**
11288 * Stripe publishable key
11289 */
11290 "publishableKey"?: string;
11291 /**
11292 * Your stripe connected account id.
11293 */
11294 "stripeAccountId"?: string;
11295 /**
11296 * Payment request theme
11297 */
11298 "theme"?: string;
11299 }
11300 interface ScSubscription {
11301 /**
11302 * Heading to display
11303 */
11304 "heading"?: string;
11305 /**
11306 * The subscription protocol
11307 */
11308 "protocol"?: SubscriptionProtocol;
11309 /**
11310 * Query to pass to the API
11311 */
11312 "query"?: object;
11313 /**
11314 * Whether to show the cancel button
11315 */
11316 "showCancel"?: boolean;
11317 /**
11318 * The subscription
11319 */
11320 "subscription"?: Subscription;
11321 /**
11322 * The subscription ID
11323 */
11324 "subscriptionId"?: string;
11325 /**
11326 * Update the payment method url
11327 */
11328 "updatePaymentMethodUrl"?: string;
11329 }
11330 interface ScSubscriptionAdHocConfirm {
11331 "currencyCode"?: string;
11332 "heading"?: string;
11333 "price"?: Price;
11334 }
11335 interface ScSubscriptionCancel {
11336 "backUrl"?: string;
11337 "comment"?: string;
11338 "heading"?: string;
11339 "onScAbandon"?: (event: ScSubscriptionCancelCustomEvent<void>) => void;
11340 "onScCancelled"?: (event: ScSubscriptionCancelCustomEvent<void>) => void;
11341 "protocol"?: SubscriptionProtocol;
11342 "reason"?: CancellationReason;
11343 "subscription"?: Subscription;
11344 "successUrl"?: string;
11345 }
11346 interface ScSubscriptionDetails {
11347 "hideRenewalText"?: boolean;
11348 "pendingPrice"?: Price;
11349 "subscription"?: Subscription;
11350 }
11351 interface ScSubscriptionNextPayment {
11352 "subscription"?: Subscription;
11353 /**
11354 * Update the payment method url
11355 */
11356 "updatePaymentMethodUrl"?: string;
11357 }
11358 interface ScSubscriptionPayment {
11359 "backUrl"?: string;
11360 "customerIds"?: Array<string>;
11361 "paymentMethods"?: Array<PaymentMethod>;
11362 "subscription"?: Subscription;
11363 "subscriptionId"?: string;
11364 "successUrl"?: string;
11365 }
11366 interface ScSubscriptionPaymentMethod {
11367 /**
11368 * The heading
11369 */
11370 "heading"?: string;
11371 /**
11372 * The subscription
11373 */
11374 "subscription"?: Subscription;
11375 }
11376 interface ScSubscriptionReactivate {
11377 /**
11378 * Refresh subscriptions
11379 */
11380 "onScRefresh"?: (event: ScSubscriptionReactivateCustomEvent<void>) => void;
11381 /**
11382 * Reactivate modal closed
11383 */
11384 "onScRequestClose"?: (event: ScSubscriptionReactivateCustomEvent<'close-button' | 'keyboard' | 'overlay'>) => void;
11385 /**
11386 * Whether it is open
11387 */
11388 "open"?: boolean;
11389 /**
11390 * The subscription to reactivate
11391 */
11392 "subscription"?: Subscription;
11393 }
11394 interface ScSubscriptionStatusBadge {
11395 /**
11396 * Makes the tag clearable.
11397 */
11398 "clearable"?: boolean;
11399 /**
11400 * Draws a pill-style tag with rounded edges.
11401 */
11402 "pill"?: boolean;
11403 /**
11404 * The tag's size.
11405 */
11406 "size"?: 'small' | 'medium' | 'large';
11407 /**
11408 * Subscription status
11409 */
11410 "status"?: SubscriptionStatus;
11411 /**
11412 * The tag's status type.
11413 */
11414 "subscription"?: Subscription;
11415 }
11416 interface ScSubscriptionSwitch {
11417 "filterAbove"?: number;
11418 "heading"?: string;
11419 "productGroupId"?: ProductGroup;
11420 "productId"?: string;
11421 /**
11422 * Customer id to fetch subscriptions
11423 */
11424 "query"?: object;
11425 "subscription"?: Subscription;
11426 "successUrl"?: string;
11427 }
11428 interface ScSubscriptionVariationConfirm {
11429 "heading"?: string;
11430 "price"?: Price;
11431 "product"?: Product;
11432 "subscription"?: Subscription;
11433 }
11434 interface ScSubscriptionsList {
11435 "allLink"?: string;
11436 "cancelBehavior"?: 'period_end' | 'immediate';
11437 "heading"?: string;
11438 "isCustomer"?: boolean;
11439 /**
11440 * Customer id to fetch subscriptions
11441 */
11442 "query"?: {
11443 page: number;
11444 per_page: number;
11445 };
11446 }
11447 interface ScSummary {
11448 "busy"?: boolean;
11449 "closedText"?: string;
11450 "collapsed"?: boolean;
11451 "collapsedOnDesktop"?: boolean;
11452 "collapsedOnMobile"?: boolean;
11453 "collapsible"?: boolean;
11454 "loading"?: boolean;
11455 /**
11456 * Show the toggle
11457 */
11458 "onScHide"?: (event: ScSummaryCustomEvent<void>) => void;
11459 /**
11460 * Show the toggle
11461 */
11462 "onScShow"?: (event: ScSummaryCustomEvent<void>) => void;
11463 "openText"?: string;
11464 }
11465 interface ScSwap {
11466 /**
11467 * The product id.
11468 */
11469 "lineItem"?: LineItem;
11470 }
11471 interface ScSwitch {
11472 /**
11473 * Draws the switch in a checked state.
11474 */
11475 "checked"?: boolean;
11476 /**
11477 * Disables the switch.
11478 */
11479 "disabled"?: boolean;
11480 /**
11481 * This will be true as a workaround in the block editor to focus on the content.
11482 */
11483 "edit"?: boolean;
11484 /**
11485 * This will be true when the control is in an invalid state. Validity is determined by the `required` prop.
11486 */
11487 "invalid"?: boolean;
11488 /**
11489 * The switch's name attribute.
11490 */
11491 "name"?: string;
11492 /**
11493 * Emitted when the control loses focus.
11494 */
11495 "onScBlur"?: (event: ScSwitchCustomEvent<void>) => void;
11496 /**
11497 * Emitted when the control's checked state changes.
11498 */
11499 "onScChange"?: (event: ScSwitchCustomEvent<void>) => void;
11500 /**
11501 * Emitted when the control gains focus.
11502 */
11503 "onScFocus"?: (event: ScSwitchCustomEvent<void>) => void;
11504 /**
11505 * Makes the switch a required field.
11506 */
11507 "required"?: boolean;
11508 "reversed"?: boolean;
11509 /**
11510 * The switch's value attribute.
11511 */
11512 "value"?: string;
11513 }
11514 interface ScTab {
11515 /**
11516 * Draws the tab in an active state.
11517 */
11518 "active"?: boolean;
11519 "count"?: string;
11520 /**
11521 * Draws the tab in a disabled state.
11522 */
11523 "disabled"?: boolean;
11524 "href"?: string;
11525 /**
11526 * Close event
11527 */
11528 "onScClose"?: (event: ScTabCustomEvent<void>) => void;
11529 /**
11530 * The name of the tab panel the tab will control. The panel must be located in the same tab group.
11531 */
11532 "panel"?: string;
11533 }
11534 interface ScTabGroup {
11535 "onScTabHide"?: (event: ScTabGroupCustomEvent<string>) => void;
11536 "onScTabShow"?: (event: ScTabGroupCustomEvent<string>) => void;
11537 }
11538 interface ScTabPanel {
11539 /**
11540 * When true, the tab panel will be shown.
11541 */
11542 "active"?: boolean;
11543 /**
11544 * The tab panel's name.
11545 */
11546 "name"?: string;
11547 }
11548 interface ScTable {
11549 }
11550 interface ScTableCell {
11551 }
11552 interface ScTableHead {
11553 }
11554 interface ScTableRow {
11555 "href"?: string;
11556 }
11557 interface ScTag {
11558 /**
11559 * Aria label
11560 */
11561 "ariaLabel"?: string;
11562 /**
11563 * Makes the tag clearable.
11564 */
11565 "clearable"?: boolean;
11566 "onScClear"?: (event: ScTagCustomEvent<ScTag>) => void;
11567 /**
11568 * Draws a pill-style tag with rounded edges.
11569 */
11570 "pill"?: boolean;
11571 /**
11572 * The tag's size.
11573 */
11574 "size"?: 'small' | 'medium' | 'large';
11575 /**
11576 * The tag's type.
11577 */
11578 "type"?: 'primary' | 'success' | 'info' | 'warning' | 'danger' | 'default';
11579 }
11580 interface ScTaxIdInput {
11581 /**
11582 * AU zone label
11583 */
11584 "auAbnLabel"?: string;
11585 /**
11586 * GST zone label
11587 */
11588 "caGstLabel"?: string;
11589 /**
11590 * The country code.
11591 */
11592 "country"?: string;
11593 /**
11594 * EU zone label
11595 */
11596 "euVatLabel"?: string;
11597 /**
11598 * UK zone label
11599 */
11600 "gbVatLabel"?: string;
11601 /**
11602 * Help text.
11603 */
11604 "help"?: string;
11605 /**
11606 * Is this loading?
11607 */
11608 "loading"?: boolean;
11609 /**
11610 * Tax ID Number
11611 */
11612 "number"?: string;
11613 /**
11614 * Make a request to update the order.
11615 */
11616 "onScChange"?: (event: ScTaxIdInputCustomEvent<{ number: string; number_type: string }>) => void;
11617 /**
11618 * Make a request to update the order.
11619 */
11620 "onScInput"?: (event: ScTaxIdInputCustomEvent<Partial<{ number: string; number_type: string }>>) => void;
11621 /**
11622 * Change the Type
11623 */
11624 "onScInputType"?: (event: ScTaxIdInputCustomEvent<string>) => void;
11625 /**
11626 * Set the checkout state.
11627 */
11628 "onScSetState"?: (event: ScTaxIdInputCustomEvent<string>) => void;
11629 /**
11630 * Other zones label
11631 */
11632 "otherLabel"?: string;
11633 /**
11634 * Whether tax input is required
11635 */
11636 "required"?: boolean;
11637 /**
11638 * Force show the field.
11639 */
11640 "show"?: boolean;
11641 /**
11642 * The status
11643 */
11644 "status"?: 'valid' | 'invalid' | 'unknown';
11645 /**
11646 * Tax ID Types which will be shown
11647 */
11648 "taxIdTypes"?: string[];
11649 /**
11650 * Type of tax id
11651 */
11652 "type"?: string;
11653 }
11654 interface ScTestModeInfo {
11655 }
11656 interface ScText {
11657 "tag"?: 'h1' | 'h2' | 'h3' | 'h4' | 'h5' | 'h6' | 'p';
11658 "truncate"?: boolean;
11659 }
11660 interface ScTextarea {
11661 /**
11662 * The textarea's autocapitalize attribute.
11663 */
11664 "autocapitalize"?: 'off' | 'none' | 'on' | 'sentences' | 'words' | 'characters';
11665 /**
11666 * The textarea's autocomplete attribute.
11667 */
11668 "autocomplete"?: string;
11669 /**
11670 * The textarea's autocorrect attribute.
11671 */
11672 "autocorrect"?: string;
11673 /**
11674 * The textarea's autofocus attribute.
11675 */
11676 "autofocus"?: boolean;
11677 /**
11678 * Disables the textarea.
11679 */
11680 "disabled"?: boolean;
11681 /**
11682 * The input's enterkeyhint attribute. This can be used to customize the label or icon of the Enter key on virtual keyboards.
11683 */
11684 "enterkeyhint"?: 'enter' | 'done' | 'go' | 'next' | 'previous' | 'search' | 'send';
11685 /**
11686 * Draws a filled textarea.
11687 */
11688 "filled"?: boolean;
11689 /**
11690 * The textarea's help text. Alternatively, you can use the help-text slot.
11691 */
11692 "help"?: string;
11693 /**
11694 * The textarea's inputmode attribute.
11695 */
11696 "inputmode"?: 'none' | 'text' | 'decimal' | 'numeric' | 'tel' | 'search' | 'email' | 'url';
11697 /**
11698 * 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.
11699 */
11700 "invalid"?: boolean;
11701 /**
11702 * The textarea's label. Alternatively, you can use the label slot.
11703 */
11704 "label"?: string;
11705 /**
11706 * The maximum length of input that will be considered valid.
11707 */
11708 "maxlength"?: number;
11709 /**
11710 * The minimum length of input that will be considered valid.
11711 */
11712 "minlength"?: number;
11713 /**
11714 * The textarea's name attribute.
11715 */
11716 "name"?: string;
11717 "onScBlur"?: (event: ScTextareaCustomEvent<void>) => void;
11718 "onScChange"?: (event: ScTextareaCustomEvent<void>) => void;
11719 "onScFocus"?: (event: ScTextareaCustomEvent<void>) => void;
11720 "onScInput"?: (event: ScTextareaCustomEvent<void>) => void;
11721 /**
11722 * The textarea's placeholder text.
11723 */
11724 "placeholder"?: string;
11725 /**
11726 * Makes the textarea readonly.
11727 */
11728 "readonly"?: boolean;
11729 /**
11730 * Makes the textarea a required field.
11731 */
11732 "required"?: boolean;
11733 /**
11734 * Controls how the textarea can be resized.
11735 */
11736 "resize"?: 'none' | 'vertical' | 'auto';
11737 /**
11738 * The number of rows to display by default.
11739 */
11740 "rows"?: number;
11741 /**
11742 * Should we show the label
11743 */
11744 "showLabel"?: boolean;
11745 /**
11746 * The textarea's size.
11747 */
11748 "size"?: 'small' | 'medium' | 'large';
11749 /**
11750 * Enables spell checking on the textarea.
11751 */
11752 "spellcheck"?: boolean;
11753 /**
11754 * The textarea's value attribute.
11755 */
11756 "value"?: string;
11757 }
11758 interface ScToggle {
11759 /**
11760 * Is this a borderless toggle?
11761 */
11762 "borderless"?: boolean;
11763 /**
11764 * Are these collapsible?
11765 */
11766 "collapsible"?: boolean;
11767 /**
11768 * Disables the details so it can't be toggled.
11769 */
11770 "disabled"?: boolean;
11771 /**
11772 * Show the toggle
11773 */
11774 "onScHide"?: (event: ScToggleCustomEvent<void>) => void;
11775 /**
11776 * Show the toggle
11777 */
11778 "onScShow"?: (event: ScToggleCustomEvent<void>) => void;
11779 /**
11780 * Indicates whether or not the details is open. You can use this in lieu of the show/hide methods.
11781 */
11782 "open"?: boolean;
11783 /**
11784 * Is this a shady
11785 */
11786 "shady"?: boolean;
11787 /**
11788 * Should we show a radio control?
11789 */
11790 "showControl"?: boolean;
11791 /**
11792 * Should we show the arrow icon?
11793 */
11794 "showIcon"?: boolean;
11795 /**
11796 * The summary to show in the details header. If you need to display HTML, use the `summary` slot instead.
11797 */
11798 "summary"?: string;
11799 }
11800 interface ScToggles {
11801 /**
11802 * Should this function as an accordion?
11803 */
11804 "accordion"?: boolean;
11805 /**
11806 * Are these collapsible?
11807 */
11808 "collapsible"?: boolean;
11809 /**
11810 * Theme for the toggles
11811 */
11812 "theme"?: 'default' | 'container';
11813 }
11814 interface ScTooltip {
11815 /**
11816 * Freeze open or closed.
11817 */
11818 "freeze"?: boolean;
11819 /**
11820 * Open or not
11821 */
11822 "open"?: boolean;
11823 /**
11824 * The tooltip's padding.
11825 */
11826 "padding"?: number;
11827 /**
11828 * The tooltip's placement relative to the trigger.
11829 */
11830 "placement"?: 'top' | 'bottom' | 'left' | 'right';
11831 /**
11832 * Tooltip text
11833 */
11834 "text"?: string;
11835 /**
11836 * 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.
11837 */
11838 "type"?: 'primary' | 'success' | 'info' | 'warning' | 'danger' | 'text' | 'dark';
11839 /**
11840 * Tooltip fixed width
11841 */
11842 "width"?: string;
11843 }
11844 interface ScTotal {
11845 "checkout"?: Checkout;
11846 "total"?: 'total' | 'subtotal' | 'amount_due';
11847 }
11848 interface ScUpcomingInvoice {
11849 "adHocAmount"?: number;
11850 "discount"?: {
11851 promotion_code?: string;
11852 coupon?: string;
11853 };
11854 "heading"?: string;
11855 "payment_method"?: PaymentMethod;
11856 "priceId"?: string;
11857 "quantity"?: number;
11858 "quantityUpdatesEnabled"?: boolean;
11859 "subscriptionId"?: string;
11860 "successUrl"?: string;
11861 "variantId"?: string;
11862 }
11863 interface ScUpgradeRequired {
11864 /**
11865 * Whether to render upgrade modal by default
11866 */
11867 "open"?: boolean;
11868 /**
11869 * Is this required?
11870 */
11871 "required"?: boolean;
11872 /**
11873 * The tag's size.
11874 */
11875 "size"?: 'small' | 'medium' | 'large';
11876 }
11877 interface ScUpsell {
11878 }
11879 interface ScUpsellCountdownTimer {
11880 /**
11881 * Whether to show the icon.
11882 */
11883 "showIcon"?: boolean;
11884 }
11885 interface ScUpsellNoThanksButton {
11886 }
11887 interface ScUpsellSubmitButton {
11888 }
11889 interface ScUpsellTotals {
11890 }
11891 interface ScVerificationCode {
11892 /**
11893 * Whether the component is in a loading/verifying state
11894 */
11895 "loading"?: boolean;
11896 /**
11897 * On change verification code
11898 */
11899 "onChange"?: (value: string) => void;
11900 /**
11901 * Total number of inputs
11902 */
11903 "total"?: number;
11904 }
11905 interface ScVisuallyHidden {
11906 }
11907 interface ScWordpressPasswordEdit {
11908 /**
11909 * Ensures strong password validation.
11910 */
11911 "enableValidation"?: boolean;
11912 "heading"?: string;
11913 "successUrl"?: string;
11914 "user"?: WordPressUser;
11915 }
11916 interface ScWordpressUser {
11917 "heading"?: string;
11918 "user"?: WordPressUser;
11919 }
11920 interface ScWordpressUserEdit {
11921 "heading"?: string;
11922 "successUrl"?: string;
11923 "user"?: WordPressUser;
11924 }
11925 interface IntrinsicElements {
11926 "sc-address": ScAddress;
11927 "sc-address-suggestions": ScAddressSuggestions;
11928 "sc-alert": ScAlert;
11929 "sc-avatar": ScAvatar;
11930 "sc-badge-notice": ScBadgeNotice;
11931 "sc-block-ui": ScBlockUi;
11932 "sc-breadcrumb": ScBreadcrumb;
11933 "sc-breadcrumbs": ScBreadcrumbs;
11934 "sc-button": ScButton;
11935 "sc-button-group": ScButtonGroup;
11936 "sc-cancel-dialog": ScCancelDialog;
11937 "sc-cancel-discount": ScCancelDiscount;
11938 "sc-cancel-survey": ScCancelSurvey;
11939 "sc-card": ScCard;
11940 "sc-cart": ScCart;
11941 "sc-cart-button": ScCartButton;
11942 "sc-cart-form": ScCartForm;
11943 "sc-cart-form-submit": ScCartFormSubmit;
11944 "sc-cart-header": ScCartHeader;
11945 "sc-cart-icon": ScCartIcon;
11946 "sc-cart-loader": ScCartLoader;
11947 "sc-cart-session-provider": ScCartSessionProvider;
11948 "sc-cart-submit": ScCartSubmit;
11949 "sc-cc-logo": ScCcLogo;
11950 "sc-charges-list": ScChargesList;
11951 "sc-checkbox": ScCheckbox;
11952 "sc-checkout": ScCheckout;
11953 "sc-checkout-autofill-provider": ScCheckoutAutofillProvider;
11954 "sc-checkout-form-errors": ScCheckoutFormErrors;
11955 "sc-checkout-geo-permission": ScCheckoutGeoPermission;
11956 "sc-checkout-mollie-payment": ScCheckoutMolliePayment;
11957 "sc-checkout-paystack-payment-provider": ScCheckoutPaystackPaymentProvider;
11958 "sc-checkout-product-price-variant-selector": ScCheckoutProductPriceVariantSelector;
11959 "sc-checkout-razorpay-payment-provider": ScCheckoutRazorpayPaymentProvider;
11960 "sc-checkout-stock-alert": ScCheckoutStockAlert;
11961 "sc-checkout-test-complete": ScCheckoutTestComplete;
11962 "sc-checkout-unsaved-changes-warning": ScCheckoutUnsavedChangesWarning;
11963 "sc-choice": ScChoice;
11964 "sc-choice-container": ScChoiceContainer;
11965 "sc-choices": ScChoices;
11966 "sc-column": ScColumn;
11967 "sc-columns": ScColumns;
11968 "sc-compact-address": ScCompactAddress;
11969 "sc-conditional-form": ScConditionalForm;
11970 "sc-consumer": ScConsumer;
11971 "sc-coupon-form": ScCouponForm;
11972 "sc-custom-order-price-input": ScCustomOrderPriceInput;
11973 "sc-customer-details": ScCustomerDetails;
11974 "sc-customer-edit": ScCustomerEdit;
11975 "sc-customer-email": ScCustomerEmail;
11976 "sc-customer-firstname": ScCustomerFirstname;
11977 "sc-customer-lastname": ScCustomerLastname;
11978 "sc-customer-login": ScCustomerLogin;
11979 "sc-customer-name": ScCustomerName;
11980 "sc-customer-phone": ScCustomerPhone;
11981 "sc-dashboard-customer-details": ScDashboardCustomerDetails;
11982 "sc-dashboard-downloads-list": ScDashboardDownloadsList;
11983 "sc-dashboard-module": ScDashboardModule;
11984 "sc-dialog": ScDialog;
11985 "sc-divider": ScDivider;
11986 "sc-donation-choices": ScDonationChoices;
11987 "sc-downloads-list": ScDownloadsList;
11988 "sc-drawer": ScDrawer;
11989 "sc-dropdown": ScDropdown;
11990 "sc-empty": ScEmpty;
11991 "sc-error": ScError;
11992 "sc-express-payment": ScExpressPayment;
11993 "sc-feature-demo-banner": ScFeatureDemoBanner;
11994 "sc-flex": ScFlex;
11995 "sc-form": ScForm;
11996 "sc-form-components-validator": ScFormComponentsValidator;
11997 "sc-form-control": ScFormControl;
11998 "sc-form-error-provider": ScFormErrorProvider;
11999 "sc-form-row": ScFormRow;
12000 "sc-form-state-provider": ScFormStateProvider;
12001 "sc-format-bytes": ScFormatBytes;
12002 "sc-format-interval": ScFormatInterval;
12003 "sc-format-number": ScFormatNumber;
12004 "sc-fulfillment-shipping-status-badge": ScFulfillmentShippingStatusBadge;
12005 "sc-fulfillments": ScFulfillments;
12006 "sc-heading": ScHeading;
12007 "sc-icon": ScIcon;
12008 "sc-image-slider": ScImageSlider;
12009 "sc-input": ScInput;
12010 "sc-invoice-details": ScInvoiceDetails;
12011 "sc-invoice-memo": ScInvoiceMemo;
12012 "sc-invoice-status-badge": ScInvoiceStatusBadge;
12013 "sc-invoices-list": ScInvoicesList;
12014 "sc-license": ScLicense;
12015 "sc-licenses-list": ScLicensesList;
12016 "sc-line-item": ScLineItem;
12017 "sc-line-item-bump": ScLineItemBump;
12018 "sc-line-item-invoice-due-date": ScLineItemInvoiceDueDate;
12019 "sc-line-item-invoice-number": ScLineItemInvoiceNumber;
12020 "sc-line-item-invoice-receipt-download": ScLineItemInvoiceReceiptDownload;
12021 "sc-line-item-shipping": ScLineItemShipping;
12022 "sc-line-item-tax": ScLineItemTax;
12023 "sc-line-item-total": ScLineItemTotal;
12024 "sc-line-item-trial": ScLineItemTrial;
12025 "sc-line-items": ScLineItems;
12026 "sc-line-items-provider": ScLineItemsProvider;
12027 "sc-login-form": ScLoginForm;
12028 "sc-login-provider": ScLoginProvider;
12029 "sc-manual-payment-method": ScManualPaymentMethod;
12030 "sc-menu": ScMenu;
12031 "sc-menu-divider": ScMenuDivider;
12032 "sc-menu-item": ScMenuItem;
12033 "sc-menu-label": ScMenuLabel;
12034 "sc-mollie-add-method": ScMollieAddMethod;
12035 "sc-order": ScOrder;
12036 "sc-order-billing-address": ScOrderBillingAddress;
12037 "sc-order-bump": ScOrderBump;
12038 "sc-order-bumps": ScOrderBumps;
12039 "sc-order-confirm-components-validator": ScOrderConfirmComponentsValidator;
12040 "sc-order-confirm-provider": ScOrderConfirmProvider;
12041 "sc-order-confirmation": ScOrderConfirmation;
12042 "sc-order-confirmation-customer": ScOrderConfirmationCustomer;
12043 "sc-order-confirmation-details": ScOrderConfirmationDetails;
12044 "sc-order-confirmation-line-items": ScOrderConfirmationLineItems;
12045 "sc-order-confirmation-totals": ScOrderConfirmationTotals;
12046 "sc-order-coupon-form": ScOrderCouponForm;
12047 "sc-order-detail": ScOrderDetail;
12048 "sc-order-fulfillment-badge": ScOrderFulfillmentBadge;
12049 "sc-order-manual-instructions": ScOrderManualInstructions;
12050 "sc-order-password": ScOrderPassword;
12051 "sc-order-return-badge": ScOrderReturnBadge;
12052 "sc-order-shipment-badge": ScOrderShipmentBadge;
12053 "sc-order-shipping-address": ScOrderShippingAddress;
12054 "sc-order-status-badge": ScOrderStatusBadge;
12055 "sc-order-submit": ScOrderSubmit;
12056 "sc-order-summary": ScOrderSummary;
12057 "sc-order-tax-id-input": ScOrderTaxIdInput;
12058 "sc-orders-list": ScOrdersList;
12059 "sc-pagination": ScPagination;
12060 "sc-password": ScPassword;
12061 "sc-password-nag": ScPasswordNag;
12062 "sc-payment": ScPayment;
12063 "sc-payment-method": ScPaymentMethod;
12064 "sc-payment-method-choice": ScPaymentMethodChoice;
12065 "sc-payment-method-details": ScPaymentMethodDetails;
12066 "sc-payment-methods-list": ScPaymentMethodsList;
12067 "sc-payment-selected": ScPaymentSelected;
12068 "sc-paypal-add-method": ScPaypalAddMethod;
12069 "sc-paypal-buttons": ScPaypalButtons;
12070 "sc-paystack-add-method": ScPaystackAddMethod;
12071 "sc-phone-input": ScPhoneInput;
12072 "sc-pill-option": ScPillOption;
12073 "sc-popover": ScPopover;
12074 "sc-premium-tag": ScPremiumTag;
12075 "sc-price": ScPrice;
12076 "sc-price-choice": ScPriceChoice;
12077 "sc-price-choice-container": ScPriceChoiceContainer;
12078 "sc-price-choices": ScPriceChoices;
12079 "sc-price-input": ScPriceInput;
12080 "sc-price-range": ScPriceRange;
12081 "sc-product-buy-button": ScProductBuyButton;
12082 "sc-product-donation-amount-choice": ScProductDonationAmountChoice;
12083 "sc-product-donation-choices": ScProductDonationChoices;
12084 "sc-product-donation-custom-amount": ScProductDonationCustomAmount;
12085 "sc-product-item": ScProductItem;
12086 "sc-product-item-image": ScProductItemImage;
12087 "sc-product-item-list": ScProductItemList;
12088 "sc-product-item-price": ScProductItemPrice;
12089 "sc-product-item-title": ScProductItemTitle;
12090 "sc-product-line-item": ScProductLineItem;
12091 "sc-product-line-item-note": ScProductLineItemNote;
12092 "sc-product-pills-variant-option": ScProductPillsVariantOption;
12093 "sc-product-price": ScProductPrice;
12094 "sc-product-price-choices": ScProductPriceChoices;
12095 "sc-product-price-modal": ScProductPriceModal;
12096 "sc-product-quantity": ScProductQuantity;
12097 "sc-product-selected-price": ScProductSelectedPrice;
12098 "sc-product-text": ScProductText;
12099 "sc-prose": ScProse;
12100 "sc-provider": ScProvider;
12101 "sc-provisional-banner": ScProvisionalBanner;
12102 "sc-purchase-downloads-list": ScPurchaseDownloadsList;
12103 "sc-quantity-select": ScQuantitySelect;
12104 "sc-radio": ScRadio;
12105 "sc-radio-group": ScRadioGroup;
12106 "sc-razorpay-add-method": ScRazorpayAddMethod;
12107 "sc-recurring-price-choice-container": ScRecurringPriceChoiceContainer;
12108 "sc-review-stars": ScReviewStars;
12109 "sc-rich-text": ScRichText;
12110 "sc-secure-notice": ScSecureNotice;
12111 "sc-select": ScSelect;
12112 "sc-session-provider": ScSessionProvider;
12113 "sc-shipping-choices": ScShippingChoices;
12114 "sc-skeleton": ScSkeleton;
12115 "sc-spacing": ScSpacing;
12116 "sc-spinner": ScSpinner;
12117 "sc-stacked-list": ScStackedList;
12118 "sc-stacked-list-row": ScStackedListRow;
12119 "sc-stripe-add-method": ScStripeAddMethod;
12120 "sc-stripe-element": ScStripeElement;
12121 "sc-stripe-payment-element": ScStripePaymentElement;
12122 "sc-stripe-payment-request": ScStripePaymentRequest;
12123 "sc-subscription": ScSubscription;
12124 "sc-subscription-ad-hoc-confirm": ScSubscriptionAdHocConfirm;
12125 "sc-subscription-cancel": ScSubscriptionCancel;
12126 "sc-subscription-details": ScSubscriptionDetails;
12127 "sc-subscription-next-payment": ScSubscriptionNextPayment;
12128 "sc-subscription-payment": ScSubscriptionPayment;
12129 "sc-subscription-payment-method": ScSubscriptionPaymentMethod;
12130 "sc-subscription-reactivate": ScSubscriptionReactivate;
12131 "sc-subscription-status-badge": ScSubscriptionStatusBadge;
12132 "sc-subscription-switch": ScSubscriptionSwitch;
12133 "sc-subscription-variation-confirm": ScSubscriptionVariationConfirm;
12134 "sc-subscriptions-list": ScSubscriptionsList;
12135 "sc-summary": ScSummary;
12136 "sc-swap": ScSwap;
12137 "sc-switch": ScSwitch;
12138 "sc-tab": ScTab;
12139 "sc-tab-group": ScTabGroup;
12140 "sc-tab-panel": ScTabPanel;
12141 "sc-table": ScTable;
12142 "sc-table-cell": ScTableCell;
12143 "sc-table-head": ScTableHead;
12144 "sc-table-row": ScTableRow;
12145 "sc-tag": ScTag;
12146 "sc-tax-id-input": ScTaxIdInput;
12147 "sc-test-mode-info": ScTestModeInfo;
12148 "sc-text": ScText;
12149 "sc-textarea": ScTextarea;
12150 "sc-toggle": ScToggle;
12151 "sc-toggles": ScToggles;
12152 "sc-tooltip": ScTooltip;
12153 "sc-total": ScTotal;
12154 "sc-upcoming-invoice": ScUpcomingInvoice;
12155 "sc-upgrade-required": ScUpgradeRequired;
12156 "sc-upsell": ScUpsell;
12157 "sc-upsell-countdown-timer": ScUpsellCountdownTimer;
12158 "sc-upsell-no-thanks-button": ScUpsellNoThanksButton;
12159 "sc-upsell-submit-button": ScUpsellSubmitButton;
12160 "sc-upsell-totals": ScUpsellTotals;
12161 "sc-verification-code": ScVerificationCode;
12162 "sc-visually-hidden": ScVisuallyHidden;
12163 "sc-wordpress-password-edit": ScWordpressPasswordEdit;
12164 "sc-wordpress-user": ScWordpressUser;
12165 "sc-wordpress-user-edit": ScWordpressUserEdit;
12166 }
12167 }
12168 export { LocalJSX as JSX };
12169 declare module "@stencil/core" {
12170 export namespace JSX {
12171 interface IntrinsicElements {
12172 "sc-address": LocalJSX.ScAddress & JSXBase.HTMLAttributes<HTMLScAddressElement>;
12173 "sc-address-suggestions": LocalJSX.ScAddressSuggestions & JSXBase.HTMLAttributes<HTMLScAddressSuggestionsElement>;
12174 "sc-alert": LocalJSX.ScAlert & JSXBase.HTMLAttributes<HTMLScAlertElement>;
12175 "sc-avatar": LocalJSX.ScAvatar & JSXBase.HTMLAttributes<HTMLScAvatarElement>;
12176 "sc-badge-notice": LocalJSX.ScBadgeNotice & JSXBase.HTMLAttributes<HTMLScBadgeNoticeElement>;
12177 "sc-block-ui": LocalJSX.ScBlockUi & JSXBase.HTMLAttributes<HTMLScBlockUiElement>;
12178 "sc-breadcrumb": LocalJSX.ScBreadcrumb & JSXBase.HTMLAttributes<HTMLScBreadcrumbElement>;
12179 "sc-breadcrumbs": LocalJSX.ScBreadcrumbs & JSXBase.HTMLAttributes<HTMLScBreadcrumbsElement>;
12180 "sc-button": LocalJSX.ScButton & JSXBase.HTMLAttributes<HTMLScButtonElement>;
12181 "sc-button-group": LocalJSX.ScButtonGroup & JSXBase.HTMLAttributes<HTMLScButtonGroupElement>;
12182 "sc-cancel-dialog": LocalJSX.ScCancelDialog & JSXBase.HTMLAttributes<HTMLScCancelDialogElement>;
12183 "sc-cancel-discount": LocalJSX.ScCancelDiscount & JSXBase.HTMLAttributes<HTMLScCancelDiscountElement>;
12184 "sc-cancel-survey": LocalJSX.ScCancelSurvey & JSXBase.HTMLAttributes<HTMLScCancelSurveyElement>;
12185 "sc-card": LocalJSX.ScCard & JSXBase.HTMLAttributes<HTMLScCardElement>;
12186 "sc-cart": LocalJSX.ScCart & JSXBase.HTMLAttributes<HTMLScCartElement>;
12187 "sc-cart-button": LocalJSX.ScCartButton & JSXBase.HTMLAttributes<HTMLScCartButtonElement>;
12188 "sc-cart-form": LocalJSX.ScCartForm & JSXBase.HTMLAttributes<HTMLScCartFormElement>;
12189 "sc-cart-form-submit": LocalJSX.ScCartFormSubmit & JSXBase.HTMLAttributes<HTMLScCartFormSubmitElement>;
12190 "sc-cart-header": LocalJSX.ScCartHeader & JSXBase.HTMLAttributes<HTMLScCartHeaderElement>;
12191 "sc-cart-icon": LocalJSX.ScCartIcon & JSXBase.HTMLAttributes<HTMLScCartIconElement>;
12192 "sc-cart-loader": LocalJSX.ScCartLoader & JSXBase.HTMLAttributes<HTMLScCartLoaderElement>;
12193 "sc-cart-session-provider": LocalJSX.ScCartSessionProvider & JSXBase.HTMLAttributes<HTMLScCartSessionProviderElement>;
12194 "sc-cart-submit": LocalJSX.ScCartSubmit & JSXBase.HTMLAttributes<HTMLScCartSubmitElement>;
12195 "sc-cc-logo": LocalJSX.ScCcLogo & JSXBase.HTMLAttributes<HTMLScCcLogoElement>;
12196 "sc-charges-list": LocalJSX.ScChargesList & JSXBase.HTMLAttributes<HTMLScChargesListElement>;
12197 "sc-checkbox": LocalJSX.ScCheckbox & JSXBase.HTMLAttributes<HTMLScCheckboxElement>;
12198 "sc-checkout": LocalJSX.ScCheckout & JSXBase.HTMLAttributes<HTMLScCheckoutElement>;
12199 "sc-checkout-autofill-provider": LocalJSX.ScCheckoutAutofillProvider & JSXBase.HTMLAttributes<HTMLScCheckoutAutofillProviderElement>;
12200 /**
12201 * This component listens for a confirmed event and redirects to the success url.
12202 */
12203 "sc-checkout-form-errors": LocalJSX.ScCheckoutFormErrors & JSXBase.HTMLAttributes<HTMLScCheckoutFormErrorsElement>;
12204 /**
12205 * Explains why location is requested (e.g. regional / purchasing-power-parity pricing) and gates
12206 * the browser geolocation prompt behind an explicit opt-in when capture is enabled by the merchant.
12207 */
12208 "sc-checkout-geo-permission": LocalJSX.ScCheckoutGeoPermission & JSXBase.HTMLAttributes<HTMLScCheckoutGeoPermissionElement>;
12209 "sc-checkout-mollie-payment": LocalJSX.ScCheckoutMolliePayment & JSXBase.HTMLAttributes<HTMLScCheckoutMolliePaymentElement>;
12210 "sc-checkout-paystack-payment-provider": LocalJSX.ScCheckoutPaystackPaymentProvider & JSXBase.HTMLAttributes<HTMLScCheckoutPaystackPaymentProviderElement>;
12211 "sc-checkout-product-price-variant-selector": LocalJSX.ScCheckoutProductPriceVariantSelector & JSXBase.HTMLAttributes<HTMLScCheckoutProductPriceVariantSelectorElement>;
12212 "sc-checkout-razorpay-payment-provider": LocalJSX.ScCheckoutRazorpayPaymentProvider & JSXBase.HTMLAttributes<HTMLScCheckoutRazorpayPaymentProviderElement>;
12213 /**
12214 * This component listens for stock requirements and displays a dialog to the user.
12215 */
12216 "sc-checkout-stock-alert": LocalJSX.ScCheckoutStockAlert & JSXBase.HTMLAttributes<HTMLScCheckoutStockAlertElement>;
12217 /**
12218 * This component listens to the order status
12219 * and confirms the order when payment is successful.
12220 */
12221 "sc-checkout-test-complete": LocalJSX.ScCheckoutTestComplete & JSXBase.HTMLAttributes<HTMLScCheckoutTestCompleteElement>;
12222 "sc-checkout-unsaved-changes-warning": LocalJSX.ScCheckoutUnsavedChangesWarning & JSXBase.HTMLAttributes<HTMLScCheckoutUnsavedChangesWarningElement>;
12223 "sc-choice": LocalJSX.ScChoice & JSXBase.HTMLAttributes<HTMLScChoiceElement>;
12224 "sc-choice-container": LocalJSX.ScChoiceContainer & JSXBase.HTMLAttributes<HTMLScChoiceContainerElement>;
12225 "sc-choices": LocalJSX.ScChoices & JSXBase.HTMLAttributes<HTMLScChoicesElement>;
12226 "sc-column": LocalJSX.ScColumn & JSXBase.HTMLAttributes<HTMLScColumnElement>;
12227 "sc-columns": LocalJSX.ScColumns & JSXBase.HTMLAttributes<HTMLScColumnsElement>;
12228 "sc-compact-address": LocalJSX.ScCompactAddress & JSXBase.HTMLAttributes<HTMLScCompactAddressElement>;
12229 "sc-conditional-form": LocalJSX.ScConditionalForm & JSXBase.HTMLAttributes<HTMLScConditionalFormElement>;
12230 "sc-consumer": LocalJSX.ScConsumer & JSXBase.HTMLAttributes<HTMLScConsumerElement>;
12231 "sc-coupon-form": LocalJSX.ScCouponForm & JSXBase.HTMLAttributes<HTMLScCouponFormElement>;
12232 "sc-custom-order-price-input": LocalJSX.ScCustomOrderPriceInput & JSXBase.HTMLAttributes<HTMLScCustomOrderPriceInputElement>;
12233 "sc-customer-details": LocalJSX.ScCustomerDetails & JSXBase.HTMLAttributes<HTMLScCustomerDetailsElement>;
12234 "sc-customer-edit": LocalJSX.ScCustomerEdit & JSXBase.HTMLAttributes<HTMLScCustomerEditElement>;
12235 "sc-customer-email": LocalJSX.ScCustomerEmail & JSXBase.HTMLAttributes<HTMLScCustomerEmailElement>;
12236 "sc-customer-firstname": LocalJSX.ScCustomerFirstname & JSXBase.HTMLAttributes<HTMLScCustomerFirstnameElement>;
12237 "sc-customer-lastname": LocalJSX.ScCustomerLastname & JSXBase.HTMLAttributes<HTMLScCustomerLastnameElement>;
12238 "sc-customer-login": LocalJSX.ScCustomerLogin & JSXBase.HTMLAttributes<HTMLScCustomerLoginElement>;
12239 "sc-customer-name": LocalJSX.ScCustomerName & JSXBase.HTMLAttributes<HTMLScCustomerNameElement>;
12240 "sc-customer-phone": LocalJSX.ScCustomerPhone & JSXBase.HTMLAttributes<HTMLScCustomerPhoneElement>;
12241 "sc-dashboard-customer-details": LocalJSX.ScDashboardCustomerDetails & JSXBase.HTMLAttributes<HTMLScDashboardCustomerDetailsElement>;
12242 "sc-dashboard-downloads-list": LocalJSX.ScDashboardDownloadsList & JSXBase.HTMLAttributes<HTMLScDashboardDownloadsListElement>;
12243 "sc-dashboard-module": LocalJSX.ScDashboardModule & JSXBase.HTMLAttributes<HTMLScDashboardModuleElement>;
12244 "sc-dialog": LocalJSX.ScDialog & JSXBase.HTMLAttributes<HTMLScDialogElement>;
12245 "sc-divider": LocalJSX.ScDivider & JSXBase.HTMLAttributes<HTMLScDividerElement>;
12246 "sc-donation-choices": LocalJSX.ScDonationChoices & JSXBase.HTMLAttributes<HTMLScDonationChoicesElement>;
12247 "sc-downloads-list": LocalJSX.ScDownloadsList & JSXBase.HTMLAttributes<HTMLScDownloadsListElement>;
12248 "sc-drawer": LocalJSX.ScDrawer & JSXBase.HTMLAttributes<HTMLScDrawerElement>;
12249 "sc-dropdown": LocalJSX.ScDropdown & JSXBase.HTMLAttributes<HTMLScDropdownElement>;
12250 "sc-empty": LocalJSX.ScEmpty & JSXBase.HTMLAttributes<HTMLScEmptyElement>;
12251 "sc-error": LocalJSX.ScError & JSXBase.HTMLAttributes<HTMLScErrorElement>;
12252 "sc-express-payment": LocalJSX.ScExpressPayment & JSXBase.HTMLAttributes<HTMLScExpressPaymentElement>;
12253 "sc-feature-demo-banner": LocalJSX.ScFeatureDemoBanner & JSXBase.HTMLAttributes<HTMLScFeatureDemoBannerElement>;
12254 "sc-flex": LocalJSX.ScFlex & JSXBase.HTMLAttributes<HTMLScFlexElement>;
12255 "sc-form": LocalJSX.ScForm & JSXBase.HTMLAttributes<HTMLScFormElement>;
12256 "sc-form-components-validator": LocalJSX.ScFormComponentsValidator & JSXBase.HTMLAttributes<HTMLScFormComponentsValidatorElement>;
12257 "sc-form-control": LocalJSX.ScFormControl & JSXBase.HTMLAttributes<HTMLScFormControlElement>;
12258 /**
12259 * This component checks to make sure there is an error component
12260 * and adds one if it's missing.
12261 */
12262 "sc-form-error-provider": LocalJSX.ScFormErrorProvider & JSXBase.HTMLAttributes<HTMLScFormErrorProviderElement>;
12263 "sc-form-row": LocalJSX.ScFormRow & JSXBase.HTMLAttributes<HTMLScFormRowElement>;
12264 /**
12265 * This component listens for a confirmed event and redirects to the success url.
12266 */
12267 "sc-form-state-provider": LocalJSX.ScFormStateProvider & JSXBase.HTMLAttributes<HTMLScFormStateProviderElement>;
12268 "sc-format-bytes": LocalJSX.ScFormatBytes & JSXBase.HTMLAttributes<HTMLScFormatBytesElement>;
12269 "sc-format-interval": LocalJSX.ScFormatInterval & JSXBase.HTMLAttributes<HTMLScFormatIntervalElement>;
12270 "sc-format-number": LocalJSX.ScFormatNumber & JSXBase.HTMLAttributes<HTMLScFormatNumberElement>;
12271 "sc-fulfillment-shipping-status-badge": LocalJSX.ScFulfillmentShippingStatusBadge & JSXBase.HTMLAttributes<HTMLScFulfillmentShippingStatusBadgeElement>;
12272 "sc-fulfillments": LocalJSX.ScFulfillments & JSXBase.HTMLAttributes<HTMLScFulfillmentsElement>;
12273 "sc-heading": LocalJSX.ScHeading & JSXBase.HTMLAttributes<HTMLScHeadingElement>;
12274 "sc-icon": LocalJSX.ScIcon & JSXBase.HTMLAttributes<HTMLScIconElement>;
12275 "sc-image-slider": LocalJSX.ScImageSlider & JSXBase.HTMLAttributes<HTMLScImageSliderElement>;
12276 "sc-input": LocalJSX.ScInput & JSXBase.HTMLAttributes<HTMLScInputElement>;
12277 "sc-invoice-details": LocalJSX.ScInvoiceDetails & JSXBase.HTMLAttributes<HTMLScInvoiceDetailsElement>;
12278 "sc-invoice-memo": LocalJSX.ScInvoiceMemo & JSXBase.HTMLAttributes<HTMLScInvoiceMemoElement>;
12279 "sc-invoice-status-badge": LocalJSX.ScInvoiceStatusBadge & JSXBase.HTMLAttributes<HTMLScInvoiceStatusBadgeElement>;
12280 "sc-invoices-list": LocalJSX.ScInvoicesList & JSXBase.HTMLAttributes<HTMLScInvoicesListElement>;
12281 "sc-license": LocalJSX.ScLicense & JSXBase.HTMLAttributes<HTMLScLicenseElement>;
12282 "sc-licenses-list": LocalJSX.ScLicensesList & JSXBase.HTMLAttributes<HTMLScLicensesListElement>;
12283 "sc-line-item": LocalJSX.ScLineItem & JSXBase.HTMLAttributes<HTMLScLineItemElement>;
12284 "sc-line-item-bump": LocalJSX.ScLineItemBump & JSXBase.HTMLAttributes<HTMLScLineItemBumpElement>;
12285 "sc-line-item-invoice-due-date": LocalJSX.ScLineItemInvoiceDueDate & JSXBase.HTMLAttributes<HTMLScLineItemInvoiceDueDateElement>;
12286 "sc-line-item-invoice-number": LocalJSX.ScLineItemInvoiceNumber & JSXBase.HTMLAttributes<HTMLScLineItemInvoiceNumberElement>;
12287 "sc-line-item-invoice-receipt-download": LocalJSX.ScLineItemInvoiceReceiptDownload & JSXBase.HTMLAttributes<HTMLScLineItemInvoiceReceiptDownloadElement>;
12288 "sc-line-item-shipping": LocalJSX.ScLineItemShipping & JSXBase.HTMLAttributes<HTMLScLineItemShippingElement>;
12289 "sc-line-item-tax": LocalJSX.ScLineItemTax & JSXBase.HTMLAttributes<HTMLScLineItemTaxElement>;
12290 "sc-line-item-total": LocalJSX.ScLineItemTotal & JSXBase.HTMLAttributes<HTMLScLineItemTotalElement>;
12291 "sc-line-item-trial": LocalJSX.ScLineItemTrial & JSXBase.HTMLAttributes<HTMLScLineItemTrialElement>;
12292 "sc-line-items": LocalJSX.ScLineItems & JSXBase.HTMLAttributes<HTMLScLineItemsElement>;
12293 "sc-line-items-provider": LocalJSX.ScLineItemsProvider & JSXBase.HTMLAttributes<HTMLScLineItemsProviderElement>;
12294 "sc-login-form": LocalJSX.ScLoginForm & JSXBase.HTMLAttributes<HTMLScLoginFormElement>;
12295 "sc-login-provider": LocalJSX.ScLoginProvider & JSXBase.HTMLAttributes<HTMLScLoginProviderElement>;
12296 "sc-manual-payment-method": LocalJSX.ScManualPaymentMethod & JSXBase.HTMLAttributes<HTMLScManualPaymentMethodElement>;
12297 "sc-menu": LocalJSX.ScMenu & JSXBase.HTMLAttributes<HTMLScMenuElement>;
12298 "sc-menu-divider": LocalJSX.ScMenuDivider & JSXBase.HTMLAttributes<HTMLScMenuDividerElement>;
12299 "sc-menu-item": LocalJSX.ScMenuItem & JSXBase.HTMLAttributes<HTMLScMenuItemElement>;
12300 "sc-menu-label": LocalJSX.ScMenuLabel & JSXBase.HTMLAttributes<HTMLScMenuLabelElement>;
12301 "sc-mollie-add-method": LocalJSX.ScMollieAddMethod & JSXBase.HTMLAttributes<HTMLScMollieAddMethodElement>;
12302 "sc-order": LocalJSX.ScOrder & JSXBase.HTMLAttributes<HTMLScOrderElement>;
12303 "sc-order-billing-address": LocalJSX.ScOrderBillingAddress & JSXBase.HTMLAttributes<HTMLScOrderBillingAddressElement>;
12304 "sc-order-bump": LocalJSX.ScOrderBump & JSXBase.HTMLAttributes<HTMLScOrderBumpElement>;
12305 "sc-order-bumps": LocalJSX.ScOrderBumps & JSXBase.HTMLAttributes<HTMLScOrderBumpsElement>;
12306 "sc-order-confirm-components-validator": LocalJSX.ScOrderConfirmComponentsValidator & JSXBase.HTMLAttributes<HTMLScOrderConfirmComponentsValidatorElement>;
12307 /**
12308 * This component listens to the order status
12309 * and confirms the order when payment is successful.
12310 */
12311 "sc-order-confirm-provider": LocalJSX.ScOrderConfirmProvider & JSXBase.HTMLAttributes<HTMLScOrderConfirmProviderElement>;
12312 "sc-order-confirmation": LocalJSX.ScOrderConfirmation & JSXBase.HTMLAttributes<HTMLScOrderConfirmationElement>;
12313 "sc-order-confirmation-customer": LocalJSX.ScOrderConfirmationCustomer & JSXBase.HTMLAttributes<HTMLScOrderConfirmationCustomerElement>;
12314 "sc-order-confirmation-details": LocalJSX.ScOrderConfirmationDetails & JSXBase.HTMLAttributes<HTMLScOrderConfirmationDetailsElement>;
12315 "sc-order-confirmation-line-items": LocalJSX.ScOrderConfirmationLineItems & JSXBase.HTMLAttributes<HTMLScOrderConfirmationLineItemsElement>;
12316 "sc-order-confirmation-totals": LocalJSX.ScOrderConfirmationTotals & JSXBase.HTMLAttributes<HTMLScOrderConfirmationTotalsElement>;
12317 "sc-order-coupon-form": LocalJSX.ScOrderCouponForm & JSXBase.HTMLAttributes<HTMLScOrderCouponFormElement>;
12318 "sc-order-detail": LocalJSX.ScOrderDetail & JSXBase.HTMLAttributes<HTMLScOrderDetailElement>;
12319 "sc-order-fulfillment-badge": LocalJSX.ScOrderFulfillmentBadge & JSXBase.HTMLAttributes<HTMLScOrderFulfillmentBadgeElement>;
12320 "sc-order-manual-instructions": LocalJSX.ScOrderManualInstructions & JSXBase.HTMLAttributes<HTMLScOrderManualInstructionsElement>;
12321 "sc-order-password": LocalJSX.ScOrderPassword & JSXBase.HTMLAttributes<HTMLScOrderPasswordElement>;
12322 "sc-order-return-badge": LocalJSX.ScOrderReturnBadge & JSXBase.HTMLAttributes<HTMLScOrderReturnBadgeElement>;
12323 "sc-order-shipment-badge": LocalJSX.ScOrderShipmentBadge & JSXBase.HTMLAttributes<HTMLScOrderShipmentBadgeElement>;
12324 "sc-order-shipping-address": LocalJSX.ScOrderShippingAddress & JSXBase.HTMLAttributes<HTMLScOrderShippingAddressElement>;
12325 "sc-order-status-badge": LocalJSX.ScOrderStatusBadge & JSXBase.HTMLAttributes<HTMLScOrderStatusBadgeElement>;
12326 "sc-order-submit": LocalJSX.ScOrderSubmit & JSXBase.HTMLAttributes<HTMLScOrderSubmitElement>;
12327 "sc-order-summary": LocalJSX.ScOrderSummary & JSXBase.HTMLAttributes<HTMLScOrderSummaryElement>;
12328 "sc-order-tax-id-input": LocalJSX.ScOrderTaxIdInput & JSXBase.HTMLAttributes<HTMLScOrderTaxIdInputElement>;
12329 "sc-orders-list": LocalJSX.ScOrdersList & JSXBase.HTMLAttributes<HTMLScOrdersListElement>;
12330 "sc-pagination": LocalJSX.ScPagination & JSXBase.HTMLAttributes<HTMLScPaginationElement>;
12331 "sc-password": LocalJSX.ScPassword & JSXBase.HTMLAttributes<HTMLScPasswordElement>;
12332 "sc-password-nag": LocalJSX.ScPasswordNag & JSXBase.HTMLAttributes<HTMLScPasswordNagElement>;
12333 "sc-payment": LocalJSX.ScPayment & JSXBase.HTMLAttributes<HTMLScPaymentElement>;
12334 "sc-payment-method": LocalJSX.ScPaymentMethod & JSXBase.HTMLAttributes<HTMLScPaymentMethodElement>;
12335 "sc-payment-method-choice": LocalJSX.ScPaymentMethodChoice & JSXBase.HTMLAttributes<HTMLScPaymentMethodChoiceElement>;
12336 "sc-payment-method-details": LocalJSX.ScPaymentMethodDetails & JSXBase.HTMLAttributes<HTMLScPaymentMethodDetailsElement>;
12337 "sc-payment-methods-list": LocalJSX.ScPaymentMethodsList & JSXBase.HTMLAttributes<HTMLScPaymentMethodsListElement>;
12338 "sc-payment-selected": LocalJSX.ScPaymentSelected & JSXBase.HTMLAttributes<HTMLScPaymentSelectedElement>;
12339 "sc-paypal-add-method": LocalJSX.ScPaypalAddMethod & JSXBase.HTMLAttributes<HTMLScPaypalAddMethodElement>;
12340 "sc-paypal-buttons": LocalJSX.ScPaypalButtons & JSXBase.HTMLAttributes<HTMLScPaypalButtonsElement>;
12341 "sc-paystack-add-method": LocalJSX.ScPaystackAddMethod & JSXBase.HTMLAttributes<HTMLScPaystackAddMethodElement>;
12342 "sc-phone-input": LocalJSX.ScPhoneInput & JSXBase.HTMLAttributes<HTMLScPhoneInputElement>;
12343 "sc-pill-option": LocalJSX.ScPillOption & JSXBase.HTMLAttributes<HTMLScPillOptionElement>;
12344 "sc-popover": LocalJSX.ScPopover & JSXBase.HTMLAttributes<HTMLScPopoverElement>;
12345 "sc-premium-tag": LocalJSX.ScPremiumTag & JSXBase.HTMLAttributes<HTMLScPremiumTagElement>;
12346 /**
12347 * Internal dependencies.
12348 */
12349 "sc-price": LocalJSX.ScPrice & JSXBase.HTMLAttributes<HTMLScPriceElement>;
12350 "sc-price-choice": LocalJSX.ScPriceChoice & JSXBase.HTMLAttributes<HTMLScPriceChoiceElement>;
12351 "sc-price-choice-container": LocalJSX.ScPriceChoiceContainer & JSXBase.HTMLAttributes<HTMLScPriceChoiceContainerElement>;
12352 "sc-price-choices": LocalJSX.ScPriceChoices & JSXBase.HTMLAttributes<HTMLScPriceChoicesElement>;
12353 "sc-price-input": LocalJSX.ScPriceInput & JSXBase.HTMLAttributes<HTMLScPriceInputElement>;
12354 "sc-price-range": LocalJSX.ScPriceRange & JSXBase.HTMLAttributes<HTMLScPriceRangeElement>;
12355 "sc-product-buy-button": LocalJSX.ScProductBuyButton & JSXBase.HTMLAttributes<HTMLScProductBuyButtonElement>;
12356 "sc-product-donation-amount-choice": LocalJSX.ScProductDonationAmountChoice & JSXBase.HTMLAttributes<HTMLScProductDonationAmountChoiceElement>;
12357 "sc-product-donation-choices": LocalJSX.ScProductDonationChoices & JSXBase.HTMLAttributes<HTMLScProductDonationChoicesElement>;
12358 "sc-product-donation-custom-amount": LocalJSX.ScProductDonationCustomAmount & JSXBase.HTMLAttributes<HTMLScProductDonationCustomAmountElement>;
12359 "sc-product-item": LocalJSX.ScProductItem & JSXBase.HTMLAttributes<HTMLScProductItemElement>;
12360 "sc-product-item-image": LocalJSX.ScProductItemImage & JSXBase.HTMLAttributes<HTMLScProductItemImageElement>;
12361 "sc-product-item-list": LocalJSX.ScProductItemList & JSXBase.HTMLAttributes<HTMLScProductItemListElement>;
12362 "sc-product-item-price": LocalJSX.ScProductItemPrice & JSXBase.HTMLAttributes<HTMLScProductItemPriceElement>;
12363 "sc-product-item-title": LocalJSX.ScProductItemTitle & JSXBase.HTMLAttributes<HTMLScProductItemTitleElement>;
12364 "sc-product-line-item": LocalJSX.ScProductLineItem & JSXBase.HTMLAttributes<HTMLScProductLineItemElement>;
12365 "sc-product-line-item-note": LocalJSX.ScProductLineItemNote & JSXBase.HTMLAttributes<HTMLScProductLineItemNoteElement>;
12366 "sc-product-pills-variant-option": LocalJSX.ScProductPillsVariantOption & JSXBase.HTMLAttributes<HTMLScProductPillsVariantOptionElement>;
12367 "sc-product-price": LocalJSX.ScProductPrice & JSXBase.HTMLAttributes<HTMLScProductPriceElement>;
12368 "sc-product-price-choices": LocalJSX.ScProductPriceChoices & JSXBase.HTMLAttributes<HTMLScProductPriceChoicesElement>;
12369 "sc-product-price-modal": LocalJSX.ScProductPriceModal & JSXBase.HTMLAttributes<HTMLScProductPriceModalElement>;
12370 "sc-product-quantity": LocalJSX.ScProductQuantity & JSXBase.HTMLAttributes<HTMLScProductQuantityElement>;
12371 "sc-product-selected-price": LocalJSX.ScProductSelectedPrice & JSXBase.HTMLAttributes<HTMLScProductSelectedPriceElement>;
12372 "sc-product-text": LocalJSX.ScProductText & JSXBase.HTMLAttributes<HTMLScProductTextElement>;
12373 "sc-prose": LocalJSX.ScProse & JSXBase.HTMLAttributes<HTMLScProseElement>;
12374 "sc-provider": LocalJSX.ScProvider & JSXBase.HTMLAttributes<HTMLScProviderElement>;
12375 "sc-provisional-banner": LocalJSX.ScProvisionalBanner & JSXBase.HTMLAttributes<HTMLScProvisionalBannerElement>;
12376 "sc-purchase-downloads-list": LocalJSX.ScPurchaseDownloadsList & JSXBase.HTMLAttributes<HTMLScPurchaseDownloadsListElement>;
12377 "sc-quantity-select": LocalJSX.ScQuantitySelect & JSXBase.HTMLAttributes<HTMLScQuantitySelectElement>;
12378 "sc-radio": LocalJSX.ScRadio & JSXBase.HTMLAttributes<HTMLScRadioElement>;
12379 "sc-radio-group": LocalJSX.ScRadioGroup & JSXBase.HTMLAttributes<HTMLScRadioGroupElement>;
12380 "sc-razorpay-add-method": LocalJSX.ScRazorpayAddMethod & JSXBase.HTMLAttributes<HTMLScRazorpayAddMethodElement>;
12381 "sc-recurring-price-choice-container": LocalJSX.ScRecurringPriceChoiceContainer & JSXBase.HTMLAttributes<HTMLScRecurringPriceChoiceContainerElement>;
12382 "sc-review-stars": LocalJSX.ScReviewStars & JSXBase.HTMLAttributes<HTMLScReviewStarsElement>;
12383 "sc-rich-text": LocalJSX.ScRichText & JSXBase.HTMLAttributes<HTMLScRichTextElement>;
12384 "sc-secure-notice": LocalJSX.ScSecureNotice & JSXBase.HTMLAttributes<HTMLScSecureNoticeElement>;
12385 "sc-select": LocalJSX.ScSelect & JSXBase.HTMLAttributes<HTMLScSelectElement>;
12386 "sc-session-provider": LocalJSX.ScSessionProvider & JSXBase.HTMLAttributes<HTMLScSessionProviderElement>;
12387 "sc-shipping-choices": LocalJSX.ScShippingChoices & JSXBase.HTMLAttributes<HTMLScShippingChoicesElement>;
12388 "sc-skeleton": LocalJSX.ScSkeleton & JSXBase.HTMLAttributes<HTMLScSkeletonElement>;
12389 "sc-spacing": LocalJSX.ScSpacing & JSXBase.HTMLAttributes<HTMLScSpacingElement>;
12390 "sc-spinner": LocalJSX.ScSpinner & JSXBase.HTMLAttributes<HTMLScSpinnerElement>;
12391 "sc-stacked-list": LocalJSX.ScStackedList & JSXBase.HTMLAttributes<HTMLScStackedListElement>;
12392 "sc-stacked-list-row": LocalJSX.ScStackedListRow & JSXBase.HTMLAttributes<HTMLScStackedListRowElement>;
12393 "sc-stripe-add-method": LocalJSX.ScStripeAddMethod & JSXBase.HTMLAttributes<HTMLScStripeAddMethodElement>;
12394 "sc-stripe-element": LocalJSX.ScStripeElement & JSXBase.HTMLAttributes<HTMLScStripeElementElement>;
12395 "sc-stripe-payment-element": LocalJSX.ScStripePaymentElement & JSXBase.HTMLAttributes<HTMLScStripePaymentElementElement>;
12396 "sc-stripe-payment-request": LocalJSX.ScStripePaymentRequest & JSXBase.HTMLAttributes<HTMLScStripePaymentRequestElement>;
12397 "sc-subscription": LocalJSX.ScSubscription & JSXBase.HTMLAttributes<HTMLScSubscriptionElement>;
12398 "sc-subscription-ad-hoc-confirm": LocalJSX.ScSubscriptionAdHocConfirm & JSXBase.HTMLAttributes<HTMLScSubscriptionAdHocConfirmElement>;
12399 "sc-subscription-cancel": LocalJSX.ScSubscriptionCancel & JSXBase.HTMLAttributes<HTMLScSubscriptionCancelElement>;
12400 "sc-subscription-details": LocalJSX.ScSubscriptionDetails & JSXBase.HTMLAttributes<HTMLScSubscriptionDetailsElement>;
12401 "sc-subscription-next-payment": LocalJSX.ScSubscriptionNextPayment & JSXBase.HTMLAttributes<HTMLScSubscriptionNextPaymentElement>;
12402 "sc-subscription-payment": LocalJSX.ScSubscriptionPayment & JSXBase.HTMLAttributes<HTMLScSubscriptionPaymentElement>;
12403 "sc-subscription-payment-method": LocalJSX.ScSubscriptionPaymentMethod & JSXBase.HTMLAttributes<HTMLScSubscriptionPaymentMethodElement>;
12404 "sc-subscription-reactivate": LocalJSX.ScSubscriptionReactivate & JSXBase.HTMLAttributes<HTMLScSubscriptionReactivateElement>;
12405 "sc-subscription-status-badge": LocalJSX.ScSubscriptionStatusBadge & JSXBase.HTMLAttributes<HTMLScSubscriptionStatusBadgeElement>;
12406 "sc-subscription-switch": LocalJSX.ScSubscriptionSwitch & JSXBase.HTMLAttributes<HTMLScSubscriptionSwitchElement>;
12407 "sc-subscription-variation-confirm": LocalJSX.ScSubscriptionVariationConfirm & JSXBase.HTMLAttributes<HTMLScSubscriptionVariationConfirmElement>;
12408 "sc-subscriptions-list": LocalJSX.ScSubscriptionsList & JSXBase.HTMLAttributes<HTMLScSubscriptionsListElement>;
12409 "sc-summary": LocalJSX.ScSummary & JSXBase.HTMLAttributes<HTMLScSummaryElement>;
12410 "sc-swap": LocalJSX.ScSwap & JSXBase.HTMLAttributes<HTMLScSwapElement>;
12411 "sc-switch": LocalJSX.ScSwitch & JSXBase.HTMLAttributes<HTMLScSwitchElement>;
12412 "sc-tab": LocalJSX.ScTab & JSXBase.HTMLAttributes<HTMLScTabElement>;
12413 "sc-tab-group": LocalJSX.ScTabGroup & JSXBase.HTMLAttributes<HTMLScTabGroupElement>;
12414 "sc-tab-panel": LocalJSX.ScTabPanel & JSXBase.HTMLAttributes<HTMLScTabPanelElement>;
12415 "sc-table": LocalJSX.ScTable & JSXBase.HTMLAttributes<HTMLScTableElement>;
12416 "sc-table-cell": LocalJSX.ScTableCell & JSXBase.HTMLAttributes<HTMLScTableCellElement>;
12417 "sc-table-head": LocalJSX.ScTableHead & JSXBase.HTMLAttributes<HTMLScTableHeadElement>;
12418 "sc-table-row": LocalJSX.ScTableRow & JSXBase.HTMLAttributes<HTMLScTableRowElement>;
12419 "sc-tag": LocalJSX.ScTag & JSXBase.HTMLAttributes<HTMLScTagElement>;
12420 "sc-tax-id-input": LocalJSX.ScTaxIdInput & JSXBase.HTMLAttributes<HTMLScTaxIdInputElement>;
12421 "sc-test-mode-info": LocalJSX.ScTestModeInfo & JSXBase.HTMLAttributes<HTMLScTestModeInfoElement>;
12422 "sc-text": LocalJSX.ScText & JSXBase.HTMLAttributes<HTMLScTextElement>;
12423 "sc-textarea": LocalJSX.ScTextarea & JSXBase.HTMLAttributes<HTMLScTextareaElement>;
12424 "sc-toggle": LocalJSX.ScToggle & JSXBase.HTMLAttributes<HTMLScToggleElement>;
12425 "sc-toggles": LocalJSX.ScToggles & JSXBase.HTMLAttributes<HTMLScTogglesElement>;
12426 "sc-tooltip": LocalJSX.ScTooltip & JSXBase.HTMLAttributes<HTMLScTooltipElement>;
12427 "sc-total": LocalJSX.ScTotal & JSXBase.HTMLAttributes<HTMLScTotalElement>;
12428 "sc-upcoming-invoice": LocalJSX.ScUpcomingInvoice & JSXBase.HTMLAttributes<HTMLScUpcomingInvoiceElement>;
12429 "sc-upgrade-required": LocalJSX.ScUpgradeRequired & JSXBase.HTMLAttributes<HTMLScUpgradeRequiredElement>;
12430 "sc-upsell": LocalJSX.ScUpsell & JSXBase.HTMLAttributes<HTMLScUpsellElement>;
12431 "sc-upsell-countdown-timer": LocalJSX.ScUpsellCountdownTimer & JSXBase.HTMLAttributes<HTMLScUpsellCountdownTimerElement>;
12432 "sc-upsell-no-thanks-button": LocalJSX.ScUpsellNoThanksButton & JSXBase.HTMLAttributes<HTMLScUpsellNoThanksButtonElement>;
12433 "sc-upsell-submit-button": LocalJSX.ScUpsellSubmitButton & JSXBase.HTMLAttributes<HTMLScUpsellSubmitButtonElement>;
12434 "sc-upsell-totals": LocalJSX.ScUpsellTotals & JSXBase.HTMLAttributes<HTMLScUpsellTotalsElement>;
12435 "sc-verification-code": LocalJSX.ScVerificationCode & JSXBase.HTMLAttributes<HTMLScVerificationCodeElement>;
12436 "sc-visually-hidden": LocalJSX.ScVisuallyHidden & JSXBase.HTMLAttributes<HTMLScVisuallyHiddenElement>;
12437 "sc-wordpress-password-edit": LocalJSX.ScWordpressPasswordEdit & JSXBase.HTMLAttributes<HTMLScWordpressPasswordEditElement>;
12438 "sc-wordpress-user": LocalJSX.ScWordpressUser & JSXBase.HTMLAttributes<HTMLScWordpressUserElement>;
12439 "sc-wordpress-user-edit": LocalJSX.ScWordpressUserEdit & JSXBase.HTMLAttributes<HTMLScWordpressUserEditElement>;
12440 }
12441 }
12442 }
12443