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