PluginProbe ʕ •ᴥ•ʔ
SureCart – Ecommerce Made Easy For Selling Physical Products, Digital Downloads, Subscriptions, Donations, & Payments / 4.6.3
SureCart – Ecommerce Made Easy For Selling Physical Products, Digital Downloads, Subscriptions, Donations, & Payments v4.6.3
4.6.3 4.6.2 4.6.1 4.6.0 4.5.1 4.5.0 4.4.2 4.4.1 4.4.0 4.3.3 4.3.2 4.3.1 4.3.0 4.2.3 4.2.2 4.2.1 1.0.3 1.0.4 1.0.5 1.0.6 1.1.0 1.1.1 1.1.10 1.1.11 1.1.12 1.1.13 1.1.14 1.1.15 1.1.16 1.1.17 1.1.18 1.1.19 1.1.2 1.1.3 1.1.4 1.1.5 1.1.6 1.1.7 1.1.8 1.1.9 1.10.0 1.10.1 1.10.2 1.10.3 1.10.4 1.11.0 1.11.1 1.11.2 1.2.0 1.2.1 1.2.2 1.2.3 1.2.4 1.2.5 1.3.0 1.3.1 1.3.2 1.3.3 1.3.4 1.4.0 1.4.1 1.4.2 1.5.0 1.5.1 1.5.2 1.5.3 1.5.4 1.5.5 1.5.6 1.5.7 1.5.8 1.6.0 1.6.1 1.6.2 1.6.3 1.6.4 1.7.0 1.7.1 1.7.2 1.8.0 1.8.1 1.8.2 1.8.3 1.8.4 1.8.5 1.9.0 1.9.1 1.9.2 1.9.3 1.9.4 1.9.5 2.0.0 2.0.1 2.1.0 2.1.1 2.1.2 2.1.3 2.1.4 2.10.0 2.10.1 2.11.0 2.11.1 2.11.2 2.11.3 2.11.4 2.12.0 2.13.0 2.14.0 2.14.1 2.15.0 2.15.1 2.16.0 2.16.1 2.16.2 2.16.3 2.17.0 2.17.1 2.17.2 2.18.0 2.19.0 2.19.2 2.19.3 2.19.4 2.2.0 2.2.1 2.20.0 2.20.1 2.20.2 2.20.3 2.20.4 2.20.5 2.20.6 2.21.0 2.22.0 2.22.1 2.23.0 2.24.0 2.25.0 2.25.1 2.25.2 2.26.0 2.27.0 2.27.1 2.28.0 2.29.0 2.29.1 2.29.2 2.29.3 2.29.4 2.3.0 2.3.1 2.30.0 2.31.0 2.31.1 2.31.2 2.31.3 2.4.0 2.4.1 2.4.2 2.4.3 2.4.4 2.40.0 2.40.1 2.5.0 2.5.1 2.5.2 2.6.0 2.6.1 2.6.2 2.7.0 2.7.1 2.7.2 2.7.3 2.7.4 2.7.5 2.8.0 2.8.1 2.8.2 2.8.3 2.8.4 2.9.0 3.0.0 3.0.0-RC1 3.0.0-RC2 3.0.0-beta1 3.0.0-beta2 3.0.1 3.0.2 3.0.3 3.0.4 3.0.5 3.1.0 3.1.1 3.1.2 3.1.3 3.1.4 3.1.5 3.1.6 3.10.0 3.10.1 3.11.0 3.12.0 3.13.0 3.13.1 3.13.2 3.13.3 3.13.4 3.14.0 3.15.0 3.15.1 3.15.2 3.15.3 3.15.4 3.15.5 3.16.0 3.16.1 3.16.2 3.16.3 3.16.4 3.16.5 3.16.6 3.16.7 3.16.8 3.17.0 3.17.1 3.17.2 3.17.3 3.17.4 3.17.5 3.17.6 3.18.0 3.19.0 3.19.1 3.19.2 3.2.0 3.2.1 3.2.2 3.20.0 3.20.1 3.3.0 3.3.1 3.4.0 3.4.1 3.4.2 3.4.3 3.5.0 3.5.1 3.5.2 3.5.3 3.6.0 3.6.1 3.6.2 3.7.0 3.7.1 3.7.2 3.7.3 3.8.0 3.8.1 3.8.2 3.8.3 3.8.4 3.8.5 3.9.0 4.0.0 4.0.1 4.0.2 4.0.3 trunk 4.1.0 0.2.19.1 4.1.1 1.0.0 4.2.0 1.0.1 1.0.2
surecart / dist / components / types / components.d.ts
surecart / dist / components / types Last commit date
components 4 days ago functions 2 weeks ago global 4 years ago services 3 weeks ago store 2 weeks ago testing 1 year ago components.d.ts 4 days ago global.d.ts 4 years ago index.d.ts 3 weeks ago stencil-public-runtime.d.ts 1 year ago types.d.ts 2 weeks ago
components.d.ts
12528 lines
1 /* eslint-disable */
2 /* tslint:disable */
3 /**
4 * This is an autogenerated file created by the Stencil compiler.
5 * It contains typing information for all components that exist in this project.
6 */
7 import { HTMLStencilElement, JSXBase } from "./stencil-public-runtime";
8 import { Address, Bump, CancellationReason, Checkout, ChoiceItem, Customer, DiscountResponse, Fee, FormState, FormStateSetter, FulfillmentStatus, ImageAttributes, InvoiceStatus, License, LineItem, LineItemData as LineItemData1, ManualPaymentMethod, Order, OrderFulFillmentStatus, OrderShipmentStatus, OrderStatus, PaymentInfoAddedParams, PaymentMethod, Price, PriceChoice, Prices, Processor, ProcessorName, Product, ProductGroup, Products, ProductsSearchedParams, ProductsViewedParams, Purchase, ResponseError, ReturnRequestStatus, RuleGroup, Subscription, SubscriptionProtocol, SubscriptionStatus, TaxProtocol, WordPressUser } from "./types";
9 import { LineItemData, Price as Price1, Product as Product1, ProductMetrics, Subscription as Subscription1 } from "./types";
10 import { LayoutConfig } from "./components/controllers/products/sc-product-item-list/sc-product-item-list";
11 import { LayoutConfig as LayoutConfig1 } from "./components/controllers/products/sc-product-item-list/sc-product-item-list";
12 export { Address, Bump, CancellationReason, Checkout, ChoiceItem, Customer, DiscountResponse, Fee, FormState, FormStateSetter, FulfillmentStatus, ImageAttributes, InvoiceStatus, License, LineItem, LineItemData as LineItemData1, ManualPaymentMethod, Order, OrderFulFillmentStatus, OrderShipmentStatus, OrderStatus, PaymentInfoAddedParams, PaymentMethod, Price, PriceChoice, Prices, Processor, ProcessorName, Product, ProductGroup, Products, ProductsSearchedParams, ProductsViewedParams, Purchase, ResponseError, ReturnRequestStatus, RuleGroup, Subscription, SubscriptionProtocol, SubscriptionStatus, TaxProtocol, WordPressUser } from "./types";
13 export { LineItemData, Price as Price1, Product as Product1, ProductMetrics, Subscription as Subscription1 } from "./types";
14 export { LayoutConfig } from "./components/controllers/products/sc-product-item-list/sc-product-item-list";
15 export { LayoutConfig as LayoutConfig1 } from "./components/controllers/products/sc-product-item-list/sc-product-item-list";
16 export namespace Components {
17 interface ScAddress {
18 /**
19 * The address.
20 */
21 "address": Partial<Address>;
22 /**
23 * Is this disabled?
24 */
25 "disabled": boolean;
26 "initCountryChoices": () => Promise<void>;
27 /**
28 * The label for the field.
29 */
30 "label": string;
31 /**
32 * Is this loading?
33 */
34 "loading": boolean;
35 "names": Partial<Address>;
36 "reportValidity": () => Promise<boolean>;
37 /**
38 * Is the name required
39 */
40 "requireName": boolean;
41 /**
42 * Is this required?
43 */
44 "required": boolean;
45 /**
46 * Should we show name field?
47 */
48 "showLine2": boolean;
49 /**
50 * Should we show name field?
51 */
52 "showName": boolean;
53 }
54 interface ScAddressSuggestions {
55 "address": Partial<Address>;
56 /**
57 * If the address input is disabled
58 */
59 "disabled": boolean;
60 /**
61 * Props for the input element
62 */
63 "inputProps": Record<string, unknown>;
64 /**
65 * The label for the address input
66 */
67 "label": string;
68 "names": Partial<Address>;
69 /**
70 * Holds the regions for a given country.
71 */
72 "regions": Array<{ value: string; label: string }>;
73 /**
74 * Delegates to the inner sc-input so this field participates in form validation (it was previously skipped entirely, allowing required addresses through empty).
75 */
76 "reportValidity": () => Promise<boolean>;
77 /**
78 * If the address is required
79 */
80 "required": boolean;
81 }
82 interface ScAlert {
83 /**
84 * Makes the alert closable.
85 */
86 "closable": boolean;
87 /**
88 * The length of time, in milliseconds, the alert will show before closing itself. If the user interacts with the alert before it closes (e.g. moves the mouse over it), the timer will restart. Defaults to `Infinity`.
89 */
90 "duration": number;
91 /**
92 * Hides the alert
93 */
94 "hide": () => Promise<void>;
95 /**
96 * No icon
97 */
98 "noIcon": boolean;
99 /**
100 * Indicates whether or not the alert is open. You can use this in lieu of the show/hide methods.
101 */
102 "open": boolean;
103 /**
104 * Scroll margin
105 */
106 "scrollMargin": string;
107 /**
108 * Scroll into view.
109 */
110 "scrollOnOpen": boolean;
111 /**
112 * Shows the alert.
113 */
114 "show": () => Promise<void>;
115 /**
116 * The title.
117 */
118 "title": string;
119 /**
120 * The type of alert.
121 */
122 "type": 'primary' | 'success' | 'info' | 'warning' | 'danger';
123 }
124 interface ScAvatar {
125 /**
126 * The image source to use for the avatar.
127 */
128 "image": string;
129 /**
130 * Initials to use as a fallback when no image is available (1-2 characters max recommended).
131 */
132 "initials": string;
133 /**
134 * A label to use to describe the avatar to assistive devices.
135 */
136 "label": string;
137 /**
138 * Indicates how the browser should load the image.
139 */
140 "loading": 'eager' | 'lazy';
141 /**
142 * The shape of the avatar.
143 */
144 "shape": 'circle' | 'square' | 'rounded';
145 }
146 interface ScBadgeNotice {
147 "label": string;
148 "size": 'small' | 'medium' | 'large';
149 "type": 'primary' | 'success' | 'info' | 'warning' | 'danger' | 'default';
150 }
151 interface ScBlockUi {
152 "spinner": boolean;
153 "transparent": boolean;
154 "zIndex": number;
155 }
156 interface ScBreadcrumb {
157 /**
158 * Optional URL to direct the user to when the breadcrumb item is activated. When set, a link will be rendered internally. When unset, a button will be rendered instead.
159 */
160 "href"?: string;
161 /**
162 * The `rel` attribute to use on the link. Only used when `href` is set.
163 */
164 "rel": string;
165 /**
166 * Tells the browser where to open the link. Only used when `href` is set.
167 */
168 "target"?: '_blank' | '_parent' | '_self' | '_top';
169 }
170 interface ScBreadcrumbs {
171 /**
172 * The label to use for the breadcrumb control. This will not be shown, but it will be announced by screen readers and other assistive devices.
173 */
174 "label": string;
175 }
176 interface ScButton {
177 /**
178 * Tells the browser to autofocus.
179 */
180 "autofocus": boolean;
181 /**
182 * Draws the button in a busy state.
183 */
184 "busy"?: boolean;
185 /**
186 * Draws the button with a caret for use with dropdowns, popovers, etc.
187 */
188 "caret"?: boolean;
189 /**
190 * Draws a circle button.
191 */
192 "circle"?: boolean;
193 /**
194 * Disables the button.
195 */
196 "disabled"?: boolean;
197 /**
198 * Tells the browser to download the linked file as this filename. Only used when `href` is set.
199 */
200 "download": string;
201 /**
202 * Draws the button full-width.
203 */
204 "full"?: boolean;
205 /**
206 * When set, the underlying button will be rendered as an `<a>` with this `href` instead of a `<button>`.
207 */
208 "href": string;
209 /**
210 * Draws the button in a loading state.
211 */
212 "loading"?: boolean;
213 /**
214 * An optional name for the button. Ignored when `href` is set.
215 */
216 "name": string;
217 /**
218 * Draws an outlined button.
219 */
220 "outline"?: boolean;
221 /**
222 * Draws a pill-style button with rounded edges.
223 */
224 "pill"?: boolean;
225 /**
226 * The button's size.
227 */
228 "size": 'small' | 'medium' | 'large';
229 /**
230 * Indicates if activating the button should submit the form. Ignored when `href` is set.
231 */
232 "submit"?: boolean;
233 /**
234 * Tells the browser where to open the link. Only used when `href` is set.
235 */
236 "target": '_blank' | '_parent' | '_self' | '_top';
237 /**
238 * The button's type.
239 */
240 "type": 'default' | 'primary' | 'success' | 'info' | 'warning' | 'danger' | 'text' | 'link';
241 /**
242 * An optional value for the button. Ignored when `href` is set.
243 */
244 "value": string;
245 }
246 interface ScButtonGroup {
247 "label": string;
248 "separate": boolean;
249 }
250 interface ScCancelDialog {
251 "open": boolean;
252 "protocol": SubscriptionProtocol;
253 "subscription": Subscription;
254 }
255 interface ScCancelDiscount {
256 "comment": string;
257 "protocol": SubscriptionProtocol;
258 "reason": CancellationReason;
259 "subscription": Subscription;
260 }
261 interface ScCancelSurvey {
262 "protocol": SubscriptionProtocol;
263 "reasons": CancellationReason[];
264 }
265 interface ScCard {
266 /**
267 * Is this card borderless.
268 */
269 "borderless": boolean;
270 /**
271 * A link for the card.
272 */
273 "href": string;
274 /**
275 * Is this card loading.
276 */
277 "loading": boolean;
278 /**
279 * Eliminate the divider
280 */
281 "noDivider": boolean;
282 /**
283 * Remove padding
284 */
285 "noPadding": boolean;
286 }
287 interface ScCart {
288 /**
289 * Should we force show the cart, even if there's a form on the page?
290 */
291 "alwaysShow": boolean;
292 /**
293 * The template for the cart to inject when opened.
294 */
295 "cartTemplate": string;
296 "checkoutLink": string;
297 /**
298 * The checkout url for the button.
299 */
300 "checkoutUrl": string;
301 /**
302 * Whether the floating button should be visible
303 */
304 "floatingIconEnabled": boolean;
305 /**
306 * The form id to use for the cart.
307 */
308 "formId": string;
309 /**
310 * The header for the popout.
311 */
312 "header": string;
313 /**
314 * Are we in test or live mode.
315 */
316 "mode": 'test' | 'live';
317 }
318 interface ScCartButton {
319 /**
320 * Whether the cart icon is always shown when the cart is empty
321 */
322 "cartMenuAlwaysShown": boolean;
323 /**
324 * The form id to use for the cart.
325 */
326 "formId": string;
327 /**
328 * Are we in test or live mode.
329 */
330 "mode": 'test' | 'live';
331 /**
332 * Whether the cart count will be shown or not when the cart is empty
333 */
334 "showEmptyCount": boolean;
335 }
336 interface ScCartForm {
337 /**
338 * The form id to use for the cart.
339 */
340 "formId": string;
341 /**
342 * Are we in test or live mode.
343 */
344 "mode": 'test' | 'live';
345 /**
346 * The price id to add.
347 */
348 "priceId": string;
349 /**
350 * The quantity
351 */
352 "quantity": number;
353 /**
354 * The variant id to add.
355 */
356 "variantId": string;
357 }
358 interface ScCartFormSubmit {
359 /**
360 * Show a full-width button.
361 */
362 "full": boolean;
363 /**
364 * Icon to show.
365 */
366 "icon": string;
367 /**
368 * The button's size.
369 */
370 "size": 'small' | 'medium' | 'large';
371 /**
372 * The button type.
373 */
374 "type": 'default' | 'primary' | 'success' | 'info' | 'warning' | 'danger' | 'text' | 'link';
375 }
376 interface ScCartHeader {
377 }
378 interface ScCartIcon {
379 /**
380 * The icon to show.
381 */
382 "icon": string;
383 }
384 interface ScCartLoader {
385 /**
386 * The cart template to inject when opened.
387 */
388 "template": string;
389 }
390 interface ScCartSessionProvider {
391 }
392 interface ScCartSubmit {
393 /**
394 * Is the cart busy
395 */
396 "busy": boolean;
397 }
398 interface ScCcLogo {
399 "brand": string;
400 }
401 interface ScChargesList {
402 "allLink": string;
403 "heading": string;
404 /**
405 * Query to fetch charges
406 */
407 "query": {
408 page: number;
409 per_page: number;
410 };
411 "showPagination": boolean;
412 }
413 interface ScCheckbox {
414 /**
415 * Draws the checkbox in a checked state.
416 */
417 "checked": boolean;
418 /**
419 * Disables the checkbox.
420 */
421 "disabled": boolean;
422 /**
423 * Makes this edit and not editable.
424 */
425 "edit": boolean;
426 /**
427 * Draws the checkbox in an indeterminate state.
428 */
429 "indeterminate": boolean;
430 /**
431 * This will be true when the control is in an invalid state. Validity is determined by the `required` prop.
432 */
433 "invalid": boolean;
434 /**
435 * The checkbox's name attribute.
436 */
437 "name": string;
438 /**
439 * Checks for validity and shows the browser's validation message if the control is invalid.
440 */
441 "reportValidity": () => Promise<boolean>;
442 /**
443 * Makes the checkbox a required field.
444 */
445 "required": boolean;
446 /**
447 * Removes focus from the checkbox.
448 */
449 "triggerBlur": () => Promise<void>;
450 /**
451 * Simulates a click on the checkbox.
452 */
453 "triggerClick": () => Promise<void>;
454 /**
455 * Sets focus on the checkbox.
456 */
457 "triggerFocus": (options?: FocusOptions) => Promise<void>;
458 /**
459 * The checkbox's value attribute.
460 */
461 "value": string;
462 }
463 interface ScCheckout {
464 /**
465 * Is abandoned checkout enabled.
466 */
467 "abandonedCheckoutEnabled": boolean;
468 /**
469 * Alignment
470 */
471 "alignment": 'center' | 'wide' | 'full';
472 /**
473 * Currency to use for this checkout.
474 */
475 "currencyCode": string;
476 /**
477 * Stores the current customer
478 */
479 "customer": Customer;
480 /**
481 * Should we disable components validation
482 */
483 "disableComponentsValidation": boolean;
484 /**
485 * Can we edit line items?
486 */
487 "editLineItems": boolean;
488 /**
489 * The checkout form id
490 */
491 "formId": number;
492 /**
493 * Manual payment methods enabled for this form.
494 */
495 "manualPaymentMethods": ManualPaymentMethod[];
496 /**
497 * Are we in test or live mode.
498 */
499 "mode": 'test' | 'live';
500 /**
501 * When the form was modified.
502 */
503 "modified": string;
504 /**
505 * Whether to persist the session in the browser between visits.
506 */
507 "persistSession": boolean;
508 /**
509 * An array of prices to pre-fill in the form.
510 */
511 "prices": Array<PriceChoice>;
512 /**
513 * Processors enabled for this form.
514 */
515 "processors": Processor[];
516 /**
517 * A product to pre-fill the form.
518 */
519 "product": Product;
520 /**
521 * Can we remove line items?
522 */
523 "removeLineItems": boolean;
524 /**
525 * Use the Stripe payment element.
526 */
527 "stripePaymentElement": boolean;
528 /**
529 * Submit the form
530 */
531 "submit": ({ skip_validation }?: { skip_validation: boolean; }) => Promise<Checkout | NodeJS.Timeout | Error>;
532 /**
533 * Where to go on success
534 */
535 "successUrl": string;
536 /**
537 * The account tax protocol
538 */
539 "taxProtocol": TaxProtocol;
540 /**
541 * Validate the form.
542 */
543 "validate": () => Promise<boolean>;
544 }
545 interface ScCheckoutAutofillProvider {
546 }
547 /**
548 * This component listens for a confirmed event and redirects to the success url.
549 */
550 interface ScCheckoutFormErrors {
551 }
552 /**
553 * Explains why location is requested (e.g. regional / purchasing-power-parity pricing) and gates
554 * the browser geolocation prompt behind an explicit opt-in when capture is enabled by the merchant.
555 */
556 interface ScCheckoutGeoPermission {
557 }
558 interface ScCheckoutMolliePayment {
559 "method": string;
560 "processorId": string;
561 }
562 interface ScCheckoutPaystackPaymentProvider {
563 }
564 /**
565 * Checkout-side picker for bundle component variants. Mirrors the PDP bundle
566 * picker (the scope-aware `surecart/product-variant-pills` block) but writes the
567 * selection straight into the bundle line item's `bundle_component_variants`.
568 */
569 interface ScCheckoutProductBundleComponentVariants {
570 /**
571 * The bundle product (must include bundle_items.component_variants + component_variant_options).
572 */
573 "product": Product;
574 }
575 interface ScCheckoutProductPriceVariantSelector {
576 /**
577 * The label for the price.
578 */
579 "label": string;
580 /**
581 * The product.
582 */
583 "product": Product;
584 "reportValidity": () => Promise<boolean>;
585 /**
586 * The title for price and variant selections
587 */
588 "selectorTitle": string;
589 }
590 interface ScCheckoutRazorpayPaymentProvider {
591 /**
592 * Razorpay processor id. Required for the recurring `payment_method_types` fetch.
593 */
594 "processorId": string;
595 }
596 /**
597 * This component listens for stock requirements and displays a dialog to the user.
598 */
599 interface ScCheckoutStockAlert {
600 }
601 /**
602 * This component listens to the order status
603 * and confirms the order when payment is successful.
604 */
605 interface ScCheckoutTestComplete {
606 /**
607 * Checkout status to listen and do payment related stuff.
608 */
609 "checkoutStatus": string;
610 /**
611 * Success url.
612 */
613 "successUrl": string;
614 }
615 interface ScCheckoutUnsavedChangesWarning {
616 "state": FormState;
617 }
618 interface ScChoice {
619 /**
620 * Draws the choice in a checked state.
621 */
622 "checked": boolean;
623 /**
624 * Is the choice disabled
625 */
626 "disabled": boolean;
627 /**
628 * This will be true when the control is in an invalid state. Validity is determined by the `required` prop.
629 */
630 "invalid": boolean;
631 /**
632 * The choice name attribute
633 */
634 "name": string;
635 /**
636 * Checks for validity and shows the browser's validation message if the control is invalid.
637 */
638 "reportValidity": () => Promise<boolean>;
639 /**
640 * Is this required
641 */
642 "required": boolean;
643 /**
644 * Sets a custom validation message. If `message` is not empty, the field will be considered invalid.
645 */
646 "setCustomValidity": (message: string) => Promise<void>;
647 /**
648 * Show the radio/checkbox control
649 */
650 "showControl": boolean;
651 /**
652 * Show the label
653 */
654 "showLabel": boolean;
655 /**
656 * Show the price
657 */
658 "showPrice": boolean;
659 /**
660 * The size.
661 */
662 "size": 'small' | 'medium' | 'large';
663 /**
664 * Simulates a click on the choice.
665 */
666 "triggerClick": () => Promise<void>;
667 "triggerFocus": () => Promise<void>;
668 /**
669 * The choice name attribute
670 */
671 "type": 'radio' | 'checkbox';
672 /**
673 * The choice value
674 */
675 "value": string;
676 }
677 interface ScChoiceContainer {
678 /**
679 * Draws the choice in a checked state.
680 */
681 "checked": boolean;
682 /**
683 * Is the choice disabled
684 */
685 "disabled": boolean;
686 /**
687 * This will be true when the control is in an invalid state. Validity is determined by the `required` prop.
688 */
689 "invalid": boolean;
690 /**
691 * The choice name attribute
692 */
693 "name": string;
694 /**
695 * Checks for validity and shows the browser's validation message if the control is invalid.
696 */
697 "reportValidity": () => Promise<boolean>;
698 /**
699 * Is this required
700 */
701 "required": boolean;
702 /**
703 * Role of radio/checkbox control
704 */
705 "role": string;
706 /**
707 * Sets a custom validation message. If `message` is not empty, the field will be considered invalid.
708 */
709 "setCustomValidity": (message: string) => Promise<void>;
710 /**
711 * Show the radio/checkbox control
712 */
713 "showControl": boolean;
714 /**
715 * The size.
716 */
717 "size": 'small' | 'medium' | 'large';
718 /**
719 * Simulates a click on the choice.
720 */
721 "triggerClick": () => Promise<void>;
722 "triggerFocus": () => Promise<void>;
723 /**
724 * The choice name attribute
725 */
726 "type": 'radio' | 'checkbox';
727 /**
728 * The choice value
729 */
730 "value": string;
731 }
732 interface ScChoices {
733 "autoWidth": boolean;
734 /**
735 * Number of columns on desktop
736 */
737 "columns": number;
738 /**
739 * Validation error message.
740 */
741 "errorMessage": string;
742 /**
743 * The input's help text.
744 */
745 "help": string;
746 /**
747 * Hides the fieldset and legend that surrounds the group. The label will still be read by screen readers.
748 */
749 "hideLabel": boolean;
750 /**
751 * The group label. Required for proper accessibility. Alternatively, you can use the label slot.
752 */
753 "label": string;
754 /**
755 * Required
756 */
757 "required": boolean;
758 /**
759 * Should we show the label
760 */
761 "showLabel": boolean;
762 /**
763 * Input size
764 */
765 "size": 'small' | 'medium' | 'large';
766 "triggerFocus": () => Promise<void>;
767 }
768 interface ScColumn {
769 }
770 interface ScColumns {
771 /**
772 * Is this full vertical height
773 */
774 "isFullHeight": boolean;
775 /**
776 * Is this reverse ordered on mobile
777 */
778 "isReversedOnMobile": boolean;
779 /**
780 * Is this stacked on mobile
781 */
782 "isStackedOnMobile": boolean;
783 /**
784 * The vertical alignment of the columns.
785 */
786 "verticalAlignment": string;
787 }
788 interface ScCompactAddress {
789 /**
790 * The address.
791 */
792 "address": Partial<Address>;
793 /**
794 * Label for the address
795 */
796 "label": string;
797 /**
798 * Is this loading
799 */
800 "loading": boolean;
801 "names": Partial<Address>;
802 /**
803 * Placeholders
804 */
805 "placeholders": Partial<Address>;
806 "reportValidity": () => Promise<boolean>;
807 /**
808 * Is this required?
809 */
810 "required": boolean;
811 }
812 interface ScConditionalForm {
813 /**
814 * Selector label
815 */
816 "rule_groups": RuleGroup[];
817 }
818 interface ScConsumer {
819 "renderer": any;
820 }
821 interface ScCouponForm {
822 /**
823 * Is the form calculating
824 */
825 "busy": boolean;
826 /**
827 * The text for apply button
828 */
829 "buttonText": string;
830 "collapsed": boolean;
831 /**
832 * Currency
833 */
834 "currency": string;
835 /**
836 * The discount
837 */
838 "discount": DiscountResponse;
839 /**
840 * The discount amount
841 */
842 "discountAmount": number;
843 /**
844 * The discounts display amount
845 */
846 "discountsDisplayAmount": string;
847 /**
848 * Is the form editable
849 */
850 "editable": boolean;
851 /**
852 * The error message
853 */
854 "error": string;
855 /**
856 * Force the form to show
857 */
858 "forceOpen": boolean;
859 /**
860 * The label for the coupon form
861 */
862 "label": string;
863 /**
864 * Is the form loading
865 */
866 "loading": boolean;
867 /**
868 * Is it open
869 */
870 "open": boolean;
871 /**
872 * The placeholder for the input
873 */
874 "placeholder": string;
875 /**
876 * Has recurring
877 */
878 "showInterval": boolean;
879 /**
880 * Focus the input.
881 */
882 "triggerFocus": () => Promise<void>;
883 }
884 interface ScCustomOrderPriceInput {
885 /**
886 * Is this busy
887 */
888 "busy": boolean;
889 /**
890 * Help text.
891 */
892 "help": string;
893 /**
894 * Label for the field.
895 */
896 "label": string;
897 /**
898 * Label for the choice.
899 */
900 "lineItems": LineItem[];
901 /**
902 * Is this loading
903 */
904 "loading": boolean;
905 /**
906 * Input placeholder.
907 */
908 "placeholder": string;
909 /**
910 * Stores the price
911 */
912 "price": Price;
913 /**
914 * Id of the price.
915 */
916 "priceId": string;
917 /**
918 * Is this required?
919 */
920 "required": boolean;
921 /**
922 * Show the currency code?
923 */
924 "showCode": boolean;
925 }
926 interface ScCustomerDetails {
927 "customer": Customer;
928 "editLink": string;
929 "error": string;
930 "heading": string;
931 "loading": boolean;
932 }
933 interface ScCustomerEdit {
934 "customer": Customer;
935 "heading": string;
936 "successUrl": string;
937 }
938 interface ScCustomerEmail {
939 /**
940 * The input's autofocus attribute.
941 */
942 "autofocus": boolean;
943 /**
944 * Disables the input.
945 */
946 "disabled": boolean;
947 /**
948 * Inputs focus
949 */
950 "hasFocus": boolean;
951 /**
952 * The input's help text.
953 */
954 "help": string;
955 /**
956 * This will be true when the control is in an invalid state. Validity is determined by props such as `type`, `required`, `minlength`, `maxlength`, and `pattern` using the browser's constraint validation API.
957 */
958 "invalid": boolean;
959 /**
960 * The input's label.
961 */
962 "label": string;
963 /**
964 * Draws a pill-style input with rounded edges.
965 */
966 "pill": boolean;
967 /**
968 * The input's placeholder text.
969 */
970 "placeholder": string;
971 /**
972 * Makes the input readonly.
973 */
974 "readonly": boolean;
975 "reportValidity": () => Promise<boolean>;
976 /**
977 * Makes the input a required field.
978 */
979 "required": boolean;
980 /**
981 * Should we show the label
982 */
983 "showLabel": boolean;
984 /**
985 * The input's size.
986 */
987 "size": 'small' | 'medium' | 'large';
988 /**
989 * A message for tracking confirmation.
990 */
991 "trackingConfirmationMessage": string;
992 /**
993 * The input's value attribute.
994 */
995 "value": string;
996 }
997 interface ScCustomerFirstname {
998 /**
999 * The input's autofocus attribute.
1000 */
1001 "autofocus": boolean;
1002 /**
1003 * Disables the input.
1004 */
1005 "disabled": boolean;
1006 /**
1007 * Inputs focus
1008 */
1009 "hasFocus": boolean;
1010 /**
1011 * The input's help text.
1012 */
1013 "help": string;
1014 /**
1015 * This will be true when the control is in an invalid state. Validity is determined by props such as `type`, `required`, `minlength`, `maxlength`, and `pattern` using the browser's constraint validation API.
1016 */
1017 "invalid": boolean;
1018 /**
1019 * The input's label.
1020 */
1021 "label": string;
1022 /**
1023 * Is the user logged in.
1024 */
1025 "loggedIn": boolean;
1026 /**
1027 * Draws a pill-style input with rounded edges.
1028 */
1029 "pill": boolean;
1030 /**
1031 * The input's placeholder text.
1032 */
1033 "placeholder": string;
1034 /**
1035 * Makes the input readonly.
1036 */
1037 "readonly": boolean;
1038 "reportValidity": () => Promise<boolean>;
1039 /**
1040 * Makes the input a required field.
1041 */
1042 "required": boolean;
1043 /**
1044 * Should we show the label
1045 */
1046 "showLabel": boolean;
1047 /**
1048 * The input's size.
1049 */
1050 "size": 'small' | 'medium' | 'large';
1051 /**
1052 * The input's value attribute.
1053 */
1054 "value": string;
1055 }
1056 interface ScCustomerLastname {
1057 /**
1058 * The input's autofocus attribute.
1059 */
1060 "autofocus": boolean;
1061 /**
1062 * Disables the input.
1063 */
1064 "disabled": boolean;
1065 /**
1066 * Inputs focus
1067 */
1068 "hasFocus": boolean;
1069 /**
1070 * The input's help text.
1071 */
1072 "help": string;
1073 /**
1074 * This will be true when the control is in an invalid state. Validity is determined by props such as `type`, `required`, `minlength`, `maxlength`, and `pattern` using the browser's constraint validation API.
1075 */
1076 "invalid": boolean;
1077 /**
1078 * The input's label.
1079 */
1080 "label": string;
1081 /**
1082 * Is the user logged in.
1083 */
1084 "loggedIn": boolean;
1085 /**
1086 * Draws a pill-style input with rounded edges.
1087 */
1088 "pill": boolean;
1089 /**
1090 * The input's placeholder text.
1091 */
1092 "placeholder": string;
1093 /**
1094 * Makes the input readonly.
1095 */
1096 "readonly": boolean;
1097 /**
1098 * Don't allow a blank space as an input here.
1099 */
1100 "reportValidity": () => Promise<boolean>;
1101 /**
1102 * Makes the input a required field.
1103 */
1104 "required": boolean;
1105 /**
1106 * Should we show the label
1107 */
1108 "showLabel": boolean;
1109 /**
1110 * The input's size.
1111 */
1112 "size": 'small' | 'medium' | 'large';
1113 /**
1114 * The input's value attribute.
1115 */
1116 "value": any;
1117 }
1118 interface ScCustomerLogin {
1119 /**
1120 * Code Error coming from the parent
1121 */
1122 "codeError": string;
1123 /**
1124 * Lets the parent open in password mode (used on 429 fallback).
1125 */
1126 "initialMode": 'code' | 'password';
1127 }
1128 interface ScCustomerName {
1129 /**
1130 * The input's autofocus attribute.
1131 */
1132 "autofocus": boolean;
1133 /**
1134 * Disables the input.
1135 */
1136 "disabled": boolean;
1137 /**
1138 * Inputs focus
1139 */
1140 "hasFocus": boolean;
1141 /**
1142 * The input's help text.
1143 */
1144 "help": string;
1145 /**
1146 * This will be true when the control is in an invalid state. Validity is determined by props such as `type`, `required`, `minlength`, `maxlength`, and `pattern` using the browser's constraint validation API.
1147 */
1148 "invalid": boolean;
1149 /**
1150 * The input's label.
1151 */
1152 "label": string;
1153 /**
1154 * Draws a pill-style input with rounded edges.
1155 */
1156 "pill": boolean;
1157 /**
1158 * The input's placeholder text.
1159 */
1160 "placeholder": string;
1161 /**
1162 * Makes the input readonly.
1163 */
1164 "readonly": boolean;
1165 /**
1166 * Don't allow a blank space as an input here.
1167 */
1168 "reportValidity": () => Promise<boolean>;
1169 /**
1170 * Makes the input a required field.
1171 */
1172 "required": boolean;
1173 /**
1174 * Should we show the label
1175 */
1176 "showLabel": boolean;
1177 /**
1178 * The input's size.
1179 */
1180 "size": 'small' | 'medium' | 'large';
1181 /**
1182 * The input's value attribute.
1183 */
1184 "value": any;
1185 }
1186 interface ScCustomerPhone {
1187 /**
1188 * The input's autofocus attribute.
1189 */
1190 "autofocus": boolean;
1191 /**
1192 * Disables the input.
1193 */
1194 "disabled": boolean;
1195 /**
1196 * Error focus
1197 */
1198 "error": boolean;
1199 /**
1200 * Inputs focus
1201 */
1202 "hasFocus": boolean;
1203 /**
1204 * The input's help text.
1205 */
1206 "help": string;
1207 /**
1208 * This will be true when the control is in an invalid state. Validity is determined by props such as `type`, `required`, `minlength`, `maxlength`, and `pattern` using the browser's constraint validation API.
1209 */
1210 "invalid": boolean;
1211 /**
1212 * The input's label.
1213 */
1214 "label": string;
1215 /**
1216 * Draws a pill-style input with rounded edges.
1217 */
1218 "pill": boolean;
1219 /**
1220 * The input's placeholder text.
1221 */
1222 "placeholder": string;
1223 /**
1224 * Makes the input readonly.
1225 */
1226 "readonly": boolean;
1227 "reportValidity": () => Promise<boolean>;
1228 /**
1229 * Makes the input a required field.
1230 */
1231 "required": boolean;
1232 /**
1233 * Should we show the label
1234 */
1235 "showLabel": boolean;
1236 /**
1237 * The input's size.
1238 */
1239 "size": 'small' | 'medium' | 'large';
1240 /**
1241 * The input's value attribute.
1242 */
1243 "value": string;
1244 }
1245 interface ScDashboardCustomerDetails {
1246 "customerId": string;
1247 "heading": string;
1248 }
1249 interface ScDashboardDownloadsList {
1250 "allLink": string;
1251 "heading": string;
1252 "isCustomer": boolean;
1253 /**
1254 * Customer id to fetch subscriptions
1255 */
1256 "query": any;
1257 "requestNonce": string;
1258 }
1259 interface ScDashboardModule {
1260 "error": string;
1261 "heading": string;
1262 "loading": boolean;
1263 }
1264 interface ScDialog {
1265 /**
1266 * The dialog's label as displayed in the header. You should always include a relevant label even when using `no-header`, as it is required for proper accessibility.
1267 */
1268 "label": string;
1269 /**
1270 * Disables the header. This will also remove the default close button, so please ensure you provide an easy, accessible way for users to dismiss the dialog.
1271 */
1272 "noHeader": boolean;
1273 /**
1274 * Indicates whether or not the dialog is open. You can use this in lieu of the show/hide methods.
1275 */
1276 "open": boolean;
1277 }
1278 interface ScDivider {
1279 }
1280 interface ScDonationChoices {
1281 "busy": boolean;
1282 /**
1283 * Currency code for the donation.
1284 */
1285 "currencyCode": string;
1286 /**
1287 * The default amount to load the page with.
1288 */
1289 "defaultAmount": string;
1290 /**
1291 * The label for the field.
1292 */
1293 "label": string;
1294 /**
1295 * Order line items.
1296 */
1297 "lineItems": LineItem[];
1298 /**
1299 * Is this loading
1300 */
1301 "loading": boolean;
1302 /**
1303 * The price id for the fields.
1304 */
1305 "priceId": string;
1306 "removeInvalid": boolean;
1307 "reportValidity": () => Promise<boolean>;
1308 }
1309 interface ScDownloadsList {
1310 "customerId": string;
1311 "heading": string;
1312 "productId": string;
1313 "query": any;
1314 "variantId": string;
1315 }
1316 interface ScDrawer {
1317 /**
1318 * By default, the drawer slides out of its containing block (usually the viewport). To make the drawer slide out of its parent element, set this prop and add `position: relative` to the parent.
1319 */
1320 "contained": boolean;
1321 /**
1322 * The drawer's label as displayed in the header. You should always include a relevant label even when using `no-header`, as it is required for proper accessibility.
1323 */
1324 "label": string;
1325 /**
1326 * Removes the header. This will also remove the default close button, so please ensure you provide an easy, accessible way for users to dismiss the drawer.
1327 */
1328 "noHeader": boolean;
1329 /**
1330 * Indicates whether or not the drawer is open. You can use this in lieu of the show/hide methods.
1331 */
1332 "open": boolean;
1333 /**
1334 * The direction from which the drawer will open.
1335 */
1336 "placement": 'top' | 'end' | 'bottom' | 'start';
1337 "requestClose": (source?: 'close-button' | 'keyboard' | 'overlay' | 'method') => Promise<void>;
1338 /**
1339 * Sticky drawer footer
1340 */
1341 "stickyFooter": boolean;
1342 /**
1343 * Sticky drawer header
1344 */
1345 "stickyHeader": boolean;
1346 }
1347 interface ScDropdown {
1348 "clickEl"?: HTMLElement;
1349 /**
1350 * Determines whether the dropdown should hide when a menu item is selected
1351 */
1352 "closeOnSelect": boolean;
1353 /**
1354 * Is this disabled.
1355 */
1356 "disabled": boolean;
1357 /**
1358 * The distance in pixels from which to offset the panel away from its trigger.
1359 */
1360 "distance": number;
1361 /**
1362 * Enable this option to prevent the panel from being clipped when the component is placed inside a container with `overflow: auto|scroll`.
1363 */
1364 "hoist": boolean;
1365 /**
1366 * Indicates whether or not the dropdown is open. You can use this in lieu of the show/hide methods.
1367 */
1368 "open"?: boolean;
1369 /**
1370 * The placement of the dropdown.
1371 */
1372 "placement": | 'top'
1373 | 'top-start'
1374 | 'top-end'
1375 | 'bottom'
1376 | 'bottom-start'
1377 | 'bottom-end'
1378 | 'right'
1379 | 'right-start'
1380 | 'right-end'
1381 | 'left'
1382 | 'left-start'
1383 | 'left-end';
1384 /**
1385 * The placement of the dropdown panel
1386 */
1387 "position": 'top-left' | 'top-right' | 'bottom-left' | 'bottom-right';
1388 /**
1389 * The distance in pixels from which to offset the panel along its trigger.
1390 */
1391 "skidding": number;
1392 }
1393 interface ScEmpty {
1394 "icon": string;
1395 }
1396 interface ScError {
1397 /**
1398 * Error to display.
1399 */
1400 "error": ResponseError | null;
1401 }
1402 interface ScExpressPayment {
1403 "debug": boolean;
1404 "dividerText": string;
1405 "hasPaymentOptions": boolean;
1406 "processor": ProcessorName;
1407 }
1408 interface ScFeatureDemoBanner {
1409 "buttonText": string;
1410 "url": string;
1411 }
1412 interface ScFlex {
1413 "alignItems": string;
1414 "columnGap": string;
1415 "flexDirection": string;
1416 "flexWrap": string;
1417 "justifyContent": string;
1418 "stack": string;
1419 }
1420 interface ScForm {
1421 /**
1422 * Serializes all form controls elements and returns a `FormData` object.
1423 */
1424 "getFormData": () => Promise<FormData>;
1425 "getFormJson": () => Promise<Record<string, unknown>>;
1426 /**
1427 * Prevent the form from validating inputs before submitting.
1428 */
1429 "novalidate": boolean;
1430 "submit": () => Promise<void>;
1431 "validate": () => Promise<boolean>;
1432 }
1433 interface ScFormComponentsValidator {
1434 /**
1435 * Disable validation?
1436 */
1437 "disabled": boolean;
1438 /**
1439 * The tax protocol
1440 */
1441 "taxProtocol": TaxProtocol;
1442 }
1443 interface ScFormControl {
1444 /**
1445 * Help text
1446 */
1447 "help": string;
1448 /**
1449 * Help id
1450 */
1451 "helpId": string;
1452 /**
1453 * Input id.
1454 */
1455 "inputId": string;
1456 /**
1457 * Input label.
1458 */
1459 "label": string;
1460 /**
1461 * Input label id.
1462 */
1463 "labelId": string;
1464 /**
1465 * Name for the input. Used for validation errors.
1466 */
1467 "name": string;
1468 /**
1469 * Whether the input is required.
1470 */
1471 "required": boolean;
1472 /**
1473 * Show the label.
1474 */
1475 "showLabel": boolean;
1476 /**
1477 * Size of the label
1478 */
1479 "size": 'small' | 'medium' | 'large';
1480 }
1481 /**
1482 * This component checks to make sure there is an error component
1483 * and adds one if it's missing.
1484 */
1485 interface ScFormErrorProvider {
1486 }
1487 interface ScFormRow {
1488 }
1489 /**
1490 * This component listens for a confirmed event and redirects to the success url.
1491 */
1492 interface ScFormStateProvider {
1493 }
1494 interface ScFormatBytes {
1495 /**
1496 * Determines how to display the result, e.g. "100 bytes", "100 b", or "100b".
1497 */
1498 "display": 'long' | 'short' | 'narrow';
1499 /**
1500 * The locale to use when formatting the number.
1501 */
1502 "locale": string;
1503 /**
1504 * The unit to display.
1505 */
1506 "unit": 'byte' | 'bit';
1507 /**
1508 * The number to format in bytes.
1509 */
1510 "value": number;
1511 }
1512 interface ScFormatInterval {
1513 "every": string;
1514 "fallback": string;
1515 "interval": string;
1516 /**
1517 * The number to format.
1518 */
1519 "value": number;
1520 }
1521 interface ScFormatNumber {
1522 /**
1523 * The currency to use when formatting. Must be an ISO 4217 currency code such as `USD` or `EUR`.
1524 */
1525 "currency": string;
1526 /**
1527 * How to display the currency.
1528 */
1529 "currencyDisplay": 'symbol' | 'narrowSymbol' | 'code' | 'name';
1530 /**
1531 * The locale to use when formatting the number.
1532 */
1533 "locale": string;
1534 /**
1535 * The maximum number of fraction digits to use. Possible values are 0 - 20.
1536 */
1537 "maximumFractionDigits": number;
1538 /**
1539 * The maximum number of significant digits to use,. Possible values are 1 - 21.
1540 */
1541 "maximumSignificantDigits": number;
1542 /**
1543 * The minimum number of fraction digits to use. Possible values are 0 - 20.
1544 */
1545 "minimumFractionDigits": number;
1546 /**
1547 * The minimum number of integer digits to use. Possible values are 1 - 21.
1548 */
1549 "minimumIntegerDigits": number;
1550 /**
1551 * The minimum number of significant digits to use. Possible values are 1 - 21.
1552 */
1553 "minimumSignificantDigits": number;
1554 /**
1555 * Should we convert
1556 */
1557 "noConvert": boolean;
1558 /**
1559 * Turns off grouping separators.
1560 */
1561 "noGrouping": boolean;
1562 /**
1563 * The formatting style to use.
1564 */
1565 "type": 'currency' | 'decimal' | 'percent' | 'unit';
1566 /**
1567 * The unit to use when formatting.
1568 */
1569 "unit": string;
1570 /**
1571 * The number to format.
1572 */
1573 "value": number;
1574 }
1575 interface ScFulfillmentShippingStatusBadge {
1576 /**
1577 * Makes the tag clearable.
1578 */
1579 "clearable": boolean;
1580 /**
1581 * Draws a pill-style tag with rounded edges.
1582 */
1583 "pill": boolean;
1584 /**
1585 * The tag's size.
1586 */
1587 "size": 'small' | 'medium' | 'large';
1588 /**
1589 * The tag's statux type.
1590 */
1591 "status": FulfillmentStatus;
1592 }
1593 interface ScFulfillments {
1594 "heading": string;
1595 "orderId": string;
1596 }
1597 interface ScHeading {
1598 "size": 'small' | 'medium' | 'large';
1599 }
1600 interface ScIcon {
1601 /**
1602 * An alternative description to use for accessibility. If omitted, the name or src will be used to generate it.
1603 */
1604 "label": string;
1605 /**
1606 * The name of a registered custom icon library.
1607 */
1608 "library": string;
1609 /**
1610 * Mutate the icon
1611 */
1612 "mutate": boolean;
1613 /**
1614 * The name of the icon to draw.
1615 */
1616 "name": string;
1617 /**
1618 * An external URL of an SVG file.
1619 */
1620 "src": string;
1621 }
1622 interface ScImageSlider {
1623 "autoHeight": boolean;
1624 "hasThumbnails": boolean;
1625 /**
1626 * Accept a string or an array of objects
1627 */
1628 "images": string | { src: string; alt: string; srcset; width: number; height: number; sizes: string; title: string }[];
1629 "thumbnails": string | { src: string; alt: string; srcset; width: number; height: number; sizes: string; title: string }[];
1630 "thumbnailsPerPage": number;
1631 }
1632 interface ScInput {
1633 /**
1634 * The input's autocomplete attribute.
1635 */
1636 "autocomplete": string;
1637 /**
1638 * The input's autocorrect attribute.
1639 */
1640 "autocorrect": string;
1641 /**
1642 * The input's autofocus attribute.
1643 */
1644 "autofocus": boolean;
1645 /**
1646 * Adds a clear button when the input is populated.
1647 */
1648 "clearable": boolean;
1649 /**
1650 * Custom validation message to show when the input is invalid (replaces browser default).
1651 */
1652 "customValidity": string;
1653 /**
1654 * Disables the input.
1655 */
1656 "disabled": boolean;
1657 /**
1658 * Inputs focus
1659 */
1660 "hasFocus": boolean;
1661 /**
1662 * The input's help text.
1663 */
1664 "help": string;
1665 /**
1666 * Hidden
1667 */
1668 "hidden": boolean;
1669 /**
1670 * The input's inputmode attribute.
1671 */
1672 "inputmode": 'none' | 'text' | 'decimal' | 'numeric' | 'tel' | 'search' | 'email' | 'url';
1673 /**
1674 * 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.
1675 */
1676 "invalid": boolean;
1677 /**
1678 * The input's label.
1679 */
1680 "label": string;
1681 /**
1682 * The input's maximum value.
1683 */
1684 "max": number | string;
1685 /**
1686 * The maximum length of input that will be considered valid.
1687 */
1688 "maxlength": number;
1689 /**
1690 * The input's minimum value.
1691 */
1692 "min": number | string;
1693 /**
1694 * The minimum length of input that will be considered valid.
1695 */
1696 "minlength": number;
1697 /**
1698 * The input's name attribute.
1699 */
1700 "name": string;
1701 /**
1702 * A pattern to validate input against.
1703 */
1704 "pattern": string;
1705 /**
1706 * Draws a pill-style input with rounded edges.
1707 */
1708 "pill": boolean;
1709 /**
1710 * The input's placeholder text.
1711 */
1712 "placeholder": string;
1713 /**
1714 * Makes the input readonly.
1715 */
1716 "readonly": boolean;
1717 "reportValidity": () => Promise<boolean>;
1718 /**
1719 * Makes the input a required field.
1720 */
1721 "required": boolean;
1722 /**
1723 * Sets a custom validation message. If `message` is not empty, the field will be considered invalid.
1724 */
1725 "setCustomValidity": (message: string) => Promise<void>;
1726 /**
1727 * Should we show the label
1728 */
1729 "showLabel": boolean;
1730 /**
1731 * The input's size.
1732 */
1733 "size": 'small' | 'medium' | 'large';
1734 /**
1735 * Enables spell checking on the input.
1736 */
1737 "spellcheck": boolean;
1738 "squared": boolean;
1739 "squaredBottom": boolean;
1740 "squaredLeft": boolean;
1741 "squaredRight": boolean;
1742 "squaredTop": boolean;
1743 /**
1744 * The input's step attribute.
1745 */
1746 "step": number;
1747 /**
1748 * Adds a password toggle button to password inputs.
1749 */
1750 "togglePassword": boolean;
1751 /**
1752 * Removes focus from the input.
1753 */
1754 "triggerBlur": () => Promise<void>;
1755 /**
1756 * Sets focus on the input.
1757 */
1758 "triggerFocus": (options?: FocusOptions) => Promise<void>;
1759 /**
1760 * The input's type.
1761 */
1762 "type": 'email' | 'number' | 'password' | 'search' | 'tel' | 'text' | 'url' | 'hidden';
1763 /**
1764 * The input's value attribute.
1765 */
1766 "value": string;
1767 }
1768 interface ScInvoiceDetails {
1769 }
1770 interface ScInvoiceMemo {
1771 /**
1772 * Memo Label
1773 */
1774 "text": string;
1775 }
1776 interface ScInvoiceStatusBadge {
1777 /**
1778 * Makes the tag clearable.
1779 */
1780 "clearable": boolean;
1781 /**
1782 * Draws a pill-style tag with rounded edges.
1783 */
1784 "pill": boolean;
1785 /**
1786 * The tag's size.
1787 */
1788 "size": 'small' | 'medium' | 'large';
1789 /**
1790 * The tag's statux type.
1791 */
1792 "status": InvoiceStatus;
1793 }
1794 interface ScInvoicesList {
1795 "allLink": string;
1796 "heading": string;
1797 "isCustomer": boolean;
1798 /**
1799 * Query to fetch invoices
1800 */
1801 "query": {
1802 page: number;
1803 per_page: number;
1804 };
1805 }
1806 interface ScLicense {
1807 /**
1808 * The license id
1809 */
1810 "licenseId": string;
1811 /**
1812 * Query to fetch Activations
1813 */
1814 "query": {
1815 page: number;
1816 per_page: number;
1817 };
1818 }
1819 interface ScLicensesList {
1820 /**
1821 * View all link
1822 */
1823 "allLink": string;
1824 /**
1825 * The heading of the licenses
1826 */
1827 "heading": string;
1828 /**
1829 * Whether the current user is customer
1830 */
1831 "isCustomer": boolean;
1832 "licenses": License[];
1833 /**
1834 * Query to fetch licenses
1835 */
1836 "query": {
1837 page: number;
1838 per_page: number;
1839 };
1840 }
1841 interface ScLineItem {
1842 /**
1843 * Currency symbol
1844 */
1845 "currency": string;
1846 /**
1847 * Price of the item
1848 */
1849 "price": string;
1850 }
1851 interface ScLineItemBump {
1852 "label": string;
1853 "loading": boolean;
1854 }
1855 interface ScLineItemInvoiceDueDate {
1856 }
1857 interface ScLineItemInvoiceNumber {
1858 }
1859 interface ScLineItemInvoiceReceiptDownload {
1860 "checkout": Checkout;
1861 }
1862 interface ScLineItemShipping {
1863 /**
1864 * Label
1865 */
1866 "label": string;
1867 }
1868 interface ScLineItemTax {
1869 "loading": boolean;
1870 "order": Checkout;
1871 }
1872 interface ScLineItemTotal {
1873 "checkout": Checkout;
1874 "size": 'large' | 'medium';
1875 "total": 'total' | 'subtotal';
1876 }
1877 interface ScLineItemTrial {
1878 /**
1879 * The label for the trial item
1880 */
1881 "label": string;
1882 }
1883 interface ScLineItems {
1884 /**
1885 * Is the line item editable?
1886 */
1887 "editable": boolean;
1888 /**
1889 * Is the line item removable?
1890 */
1891 "removable": boolean;
1892 /**
1893 * Separator between a bundle component's name and its variant options.
1894 */
1895 "separator": string;
1896 /**
1897 * Show every bundle component (default), or only those with a selected variant when set to `false`.
1898 */
1899 "showAllBundleItems": boolean;
1900 }
1901 interface ScLineItemsProvider {
1902 /**
1903 * Order Object
1904 */
1905 "order": Checkout;
1906 }
1907 interface ScLoginForm {
1908 }
1909 interface ScLoginProvider {
1910 /**
1911 * Is the user logged in.
1912 */
1913 "loggedIn": boolean;
1914 "order": Checkout;
1915 }
1916 interface ScManualPaymentMethod {
1917 "paymentMethod": ManualPaymentMethod;
1918 "showDescription": boolean;
1919 }
1920 interface ScMenu {
1921 "ariaLabel": string;
1922 "setCurrentItem": (item: HTMLScMenuItemElement) => Promise<void>;
1923 }
1924 interface ScMenuDivider {
1925 }
1926 interface ScMenuItem {
1927 /**
1928 * Draws the item in a checked state.
1929 */
1930 "checked": boolean;
1931 /**
1932 * Draws the menu item in a disabled state.
1933 */
1934 "disabled": boolean;
1935 /**
1936 * Optional link to follow.
1937 */
1938 "href": string;
1939 /**
1940 * Removes focus from the button.
1941 */
1942 "setBlur": () => Promise<void>;
1943 /**
1944 * Sets focus on the button.
1945 */
1946 "setFocus": (options?: FocusOptions) => Promise<void>;
1947 /**
1948 * The target of the link.
1949 */
1950 "target": string;
1951 /**
1952 * A unique value to store in the menu item. This can be used as a way to identify menu items when selected.
1953 */
1954 "value": string;
1955 }
1956 interface ScMenuLabel {
1957 }
1958 interface ScMollieAddMethod {
1959 "country": string;
1960 "currency": string;
1961 "customerId": string;
1962 "liveMode": boolean;
1963 "processorId": string;
1964 "successUrl": string;
1965 }
1966 interface ScOrder {
1967 "customerIds": string[];
1968 "heading": string;
1969 "orderId": string;
1970 }
1971 interface ScOrderBillingAddress {
1972 /**
1973 * Default country for address
1974 */
1975 "defaultCountry": string;
1976 /**
1977 * Label for the field
1978 */
1979 "label": string;
1980 /**
1981 * Name placeholder
1982 */
1983 "namePlaceholder": string;
1984 "reportValidity": () => Promise<boolean>;
1985 /**
1986 * Show the name field
1987 */
1988 "showName": boolean;
1989 /**
1990 * Toggle label
1991 */
1992 "toggleLabel": string;
1993 }
1994 interface ScOrderBump {
1995 /**
1996 * The bump
1997 */
1998 "bump": Bump;
1999 /**
2000 * Should we show the controls (classic design)
2001 */
2002 "showControl": boolean;
2003 }
2004 interface ScOrderBumps {
2005 "help": string;
2006 /**
2007 * Hide bumps that have already been added to the checkout.
2008 */
2009 "hideAddedItems": boolean;
2010 "label": string;
2011 /**
2012 * Should we show the controls (classic design)
2013 */
2014 "showControl": boolean;
2015 }
2016 interface ScOrderConfirmComponentsValidator {
2017 /**
2018 * The checkout
2019 */
2020 "checkout": Checkout;
2021 }
2022 /**
2023 * This component listens to the order status
2024 * and confirms the order when payment is successful.
2025 */
2026 interface ScOrderConfirmProvider {
2027 /**
2028 * Checkout status to listen and do payment related stuff.
2029 */
2030 "checkoutStatus": string;
2031 /**
2032 * Success url.
2033 */
2034 "successUrl": string;
2035 }
2036 interface ScOrderConfirmation {
2037 "order": Checkout;
2038 }
2039 interface ScOrderConfirmationCustomer {
2040 /**
2041 * The customer
2042 */
2043 "customer": Customer;
2044 /**
2045 * Error message.
2046 */
2047 "error": string;
2048 /**
2049 * The heading
2050 */
2051 "heading": string;
2052 /**
2053 * Is this loading?
2054 */
2055 "loading": boolean;
2056 /**
2057 * The Order
2058 */
2059 "order": Checkout;
2060 }
2061 interface ScOrderConfirmationDetails {
2062 "loading": boolean;
2063 "order": Order;
2064 }
2065 interface ScOrderConfirmationLineItems {
2066 "loading": boolean;
2067 "order": Checkout;
2068 }
2069 interface ScOrderConfirmationTotals {
2070 "order": Checkout;
2071 }
2072 interface ScOrderCouponForm {
2073 "buttonText": string;
2074 "collapsed": boolean;
2075 "label": string;
2076 "loading": boolean;
2077 "placeholder": string;
2078 }
2079 interface ScOrderDetail {
2080 "fallback": string;
2081 "label": string;
2082 "loading": boolean;
2083 "metaKey": string;
2084 "order": Checkout;
2085 "value": string;
2086 }
2087 interface ScOrderFulfillmentBadge {
2088 /**
2089 * Makes the tag clearable.
2090 */
2091 "clearable": boolean;
2092 /**
2093 * Draws a pill-style tag with rounded edges.
2094 */
2095 "pill": boolean;
2096 /**
2097 * The tag's size.
2098 */
2099 "size": 'small' | 'medium' | 'large';
2100 /**
2101 * The tag's statux type.
2102 */
2103 "status": OrderFulFillmentStatus;
2104 }
2105 interface ScOrderManualInstructions {
2106 "manualPaymentInstructions": string;
2107 "manualPaymentTitle": string;
2108 }
2109 interface ScOrderPassword {
2110 /**
2111 * The input's autofocus attribute.
2112 */
2113 "autofocus": boolean;
2114 /**
2115 * The input's password confirmation attribute.
2116 */
2117 "confirmation": boolean;
2118 /**
2119 * The input's confirmation help text.
2120 */
2121 "confirmationHelp": string;
2122 /**
2123 * The input's confirmation label text.
2124 */
2125 "confirmationLabel": string;
2126 /**
2127 * The input's confirmation placeholder text.
2128 */
2129 "confirmationPlaceholder": string;
2130 /**
2131 * Disables the input.
2132 */
2133 "disabled": boolean;
2134 /**
2135 * Does the email exist?
2136 */
2137 "emailExists": boolean;
2138 /**
2139 * Ensures strong password validation.
2140 */
2141 "enableValidation": boolean;
2142 /**
2143 * The input's help text.
2144 */
2145 "help": string;
2146 /**
2147 * The input's label.
2148 */
2149 "label": string;
2150 "loggedIn": boolean;
2151 /**
2152 * Draws a pill-style input with rounded edges.
2153 */
2154 "pill": boolean;
2155 /**
2156 * The input's placeholder text.
2157 */
2158 "placeholder": string;
2159 /**
2160 * Makes the input readonly.
2161 */
2162 "readonly": boolean;
2163 "reportValidity": () => Promise<boolean>;
2164 /**
2165 * Makes the input a required field.
2166 */
2167 "required": boolean;
2168 /**
2169 * Should we show the label
2170 */
2171 "showLabel": boolean;
2172 /**
2173 * The input's size.
2174 */
2175 "size": 'small' | 'medium' | 'large';
2176 /**
2177 * The input's value attribute.
2178 */
2179 "value": string;
2180 }
2181 interface ScOrderReturnBadge {
2182 /**
2183 * Makes the tag clearable.
2184 */
2185 "clearable": boolean;
2186 /**
2187 * Draws a pill-style tag with rounded edges.
2188 */
2189 "pill": boolean;
2190 /**
2191 * The tag's size.
2192 */
2193 "size": 'small' | 'medium' | 'large';
2194 /**
2195 * The tag's statux type.
2196 */
2197 "status": ReturnRequestStatus;
2198 }
2199 interface ScOrderShipmentBadge {
2200 /**
2201 * Makes the tag clearable.
2202 */
2203 "clearable": boolean;
2204 /**
2205 * Draws a pill-style tag with rounded edges.
2206 */
2207 "pill": boolean;
2208 /**
2209 * The tag's size.
2210 */
2211 "size": 'small' | 'medium' | 'large';
2212 /**
2213 * The tag's statux type.
2214 */
2215 "status": OrderShipmentStatus;
2216 }
2217 interface ScOrderShippingAddress {
2218 /**
2219 * Default country for address
2220 */
2221 "defaultCountry": string;
2222 /**
2223 * Show the address
2224 */
2225 "full": boolean;
2226 /**
2227 * Label for the field.
2228 */
2229 "label": string;
2230 "reportValidity": () => Promise<boolean>;
2231 /**
2232 * Whether to require the name in the address
2233 */
2234 "requireName": boolean;
2235 /**
2236 * Is this required (defaults to false)
2237 */
2238 "required": boolean;
2239 /**
2240 * Show the line 2 field.
2241 */
2242 "showLine2": boolean;
2243 /**
2244 * Show the name field.
2245 */
2246 "showName": boolean;
2247 }
2248 interface ScOrderStatusBadge {
2249 /**
2250 * Makes the tag clearable.
2251 */
2252 "clearable": boolean;
2253 /**
2254 * Draws a pill-style tag with rounded edges.
2255 */
2256 "pill": boolean;
2257 /**
2258 * The tag's size.
2259 */
2260 "size": 'small' | 'medium' | 'large';
2261 /**
2262 * The tag's statux type.
2263 */
2264 "status": OrderStatus;
2265 }
2266 interface ScOrderSubmit {
2267 "backgroundColor": string;
2268 /**
2269 * Currency Code
2270 */
2271 "currencyCode": string;
2272 /**
2273 * Show a full-width button.
2274 */
2275 "full": boolean;
2276 /**
2277 * Icon to show.
2278 */
2279 "icon": string;
2280 /**
2281 * Is the order loading.
2282 */
2283 "loading": boolean;
2284 /**
2285 * The current order.
2286 */
2287 "order": Checkout;
2288 /**
2289 * Is the order paying.
2290 */
2291 "paying": boolean;
2292 /**
2293 * The selected processor.
2294 */
2295 "processor": ProcessorName;
2296 /**
2297 * Keys and secrets for processors.
2298 */
2299 "processors": Processor[];
2300 /**
2301 * Show the secure notice
2302 */
2303 "secureNotice": boolean;
2304 /**
2305 * Secure
2306 */
2307 "secureNoticeText": string;
2308 /**
2309 * Show the total.
2310 */
2311 "showTotal": boolean;
2312 /**
2313 * The button's size.
2314 */
2315 "size": 'small' | 'medium' | 'large';
2316 "textColor": string;
2317 /**
2318 * The button type.
2319 */
2320 "type": 'default' | 'primary' | 'success' | 'info' | 'warning' | 'danger' | 'text' | 'link';
2321 }
2322 interface ScOrderSummary {
2323 "busy": boolean;
2324 "collapsed": boolean;
2325 "collapsedOnDesktop": boolean;
2326 "collapsedOnMobile": boolean;
2327 "collapsible": boolean;
2328 "invoiceSummaryText": string;
2329 "order": Checkout;
2330 "orderSummaryText": string;
2331 }
2332 interface ScOrderTaxIdInput {
2333 /**
2334 * AU zone label
2335 */
2336 "auAbnLabel": string;
2337 /**
2338 * GST zone label
2339 */
2340 "caGstLabel": string;
2341 /**
2342 * EU zone label
2343 */
2344 "euVatLabel": string;
2345 /**
2346 * UK zone label
2347 */
2348 "gbVatLabel": string;
2349 /**
2350 * Help text
2351 */
2352 "helpText": string;
2353 /**
2354 * Other zones label
2355 */
2356 "otherLabel": string;
2357 "reportValidity": () => Promise<boolean>;
2358 /**
2359 * Whether tax input is required
2360 */
2361 "required": boolean;
2362 /**
2363 * Force show the field.
2364 */
2365 "show": boolean;
2366 /**
2367 * Tax ID Types which will be shown Eg: '["eu_vat", "gb_vat"]'
2368 */
2369 "taxIdTypes": string | string[];
2370 }
2371 interface ScOrdersList {
2372 "allLink": string;
2373 "heading": string;
2374 "isCustomer": boolean;
2375 /**
2376 * Query to fetch orders
2377 */
2378 "query": {
2379 page: number;
2380 per_page: number;
2381 };
2382 }
2383 interface ScPagination {
2384 "page": number;
2385 "perPage": number;
2386 "total": number;
2387 "totalPages": number;
2388 "totalShowing": number;
2389 }
2390 interface ScPassword {
2391 /**
2392 * The input's autofocus attribute.
2393 */
2394 "autofocus": boolean;
2395 /**
2396 * The input's password confirmation attribute.
2397 */
2398 "confirmation": boolean;
2399 /**
2400 * The input's confirmation help text.
2401 */
2402 "confirmationHelp": string;
2403 /**
2404 * The input's confirmation label text.
2405 */
2406 "confirmationLabel": string;
2407 /**
2408 * The input's confirmation placeholder text.
2409 */
2410 "confirmationPlaceholder": string;
2411 /**
2412 * Disables the input.
2413 */
2414 "disabled": boolean;
2415 /**
2416 * Ensures strong password validation.
2417 */
2418 "enableValidation": boolean;
2419 /**
2420 * The input's help text.
2421 */
2422 "help": string;
2423 /**
2424 * The input's label.
2425 */
2426 "label": string;
2427 /**
2428 * The name for the input.
2429 */
2430 "name": string;
2431 /**
2432 * Draws a pill-style input with rounded edges.
2433 */
2434 "pill": boolean;
2435 /**
2436 * The input's placeholder text.
2437 */
2438 "placeholder": string;
2439 /**
2440 * Makes the input readonly.
2441 */
2442 "readonly": boolean;
2443 "reportValidity": () => Promise<boolean>;
2444 /**
2445 * Makes the input a required field.
2446 */
2447 "required": boolean;
2448 /**
2449 * Should we show the label
2450 */
2451 "showLabel": boolean;
2452 /**
2453 * The input's size.
2454 */
2455 "size": 'small' | 'medium' | 'large';
2456 /**
2457 * Sets focus on the input.
2458 */
2459 "triggerFocus": (options?: FocusOptions) => Promise<void>;
2460 /**
2461 * The input's value attribute.
2462 */
2463 "value": string;
2464 }
2465 interface ScPasswordNag {
2466 /**
2467 * Ensures strong password validation.
2468 */
2469 "enableValidation": boolean;
2470 "open": boolean;
2471 /**
2472 * The success url.
2473 */
2474 "successUrl": string;
2475 /**
2476 * The type of alert.
2477 */
2478 "type": 'primary' | 'success' | 'info' | 'warning' | 'danger';
2479 }
2480 interface ScPayment {
2481 /**
2482 * Disabled processor types
2483 */
2484 "disabledProcessorTypes": string[];
2485 /**
2486 * Hide the test mode badge
2487 */
2488 "hideTestModeBadge": boolean;
2489 /**
2490 * The input's label.
2491 */
2492 "label": string;
2493 "secureNotice": string;
2494 "stripePaymentElement": boolean;
2495 }
2496 interface ScPaymentMethod {
2497 "externalLink": string;
2498 "externalLinkTooltipText": string;
2499 "full": boolean;
2500 "paymentMethod": PaymentMethod;
2501 }
2502 interface ScPaymentMethodChoice {
2503 /**
2504 * Should we show this in a card?
2505 */
2506 "card": boolean;
2507 /**
2508 * Is this a manual processor
2509 */
2510 "isManual": boolean;
2511 /**
2512 * The method id
2513 */
2514 "methodId": string;
2515 /**
2516 * The processor ID
2517 */
2518 "processorId": string;
2519 }
2520 interface ScPaymentMethodDetails {
2521 "editHandler": () => void;
2522 "paymentMethod": PaymentMethod;
2523 }
2524 interface ScPaymentMethodsList {
2525 /**
2526 * Whether default payment method can be detached
2527 */
2528 "canDetachDefaultPaymentMethod": boolean;
2529 /**
2530 * The heading
2531 */
2532 "heading": string;
2533 /**
2534 * Is this a customer
2535 */
2536 "isCustomer": boolean;
2537 /**
2538 * Query to fetch paymentMethods
2539 */
2540 "query": object;
2541 }
2542 interface ScPaymentSelected {
2543 "iconName": string;
2544 "label": string;
2545 }
2546 interface ScPaypalAddMethod {
2547 "currency": string;
2548 "customerId": string;
2549 "liveMode": boolean;
2550 "successUrl": string;
2551 }
2552 interface ScPaypalButtons {
2553 /**
2554 * Is this busy?
2555 */
2556 "busy": boolean;
2557 /**
2558 * Buttons to render
2559 */
2560 "buttons": string[];
2561 /**
2562 * Client id for the script.
2563 */
2564 "clientId": string;
2565 /**
2566 * Button color.
2567 */
2568 "color": 'gold' | 'blue' | 'silver' | 'black' | 'white';
2569 /**
2570 * Label for the button.
2571 */
2572 "label": 'paypal' | 'checkout' | 'buynow' | 'pay' | 'installment';
2573 /**
2574 * The merchant id for paypal.
2575 */
2576 "merchantId": string;
2577 /**
2578 * Merchant initiated billing enabled.
2579 */
2580 "merchantInitiated": boolean;
2581 /**
2582 * Test or live mode.
2583 */
2584 "mode": 'test' | 'live';
2585 /**
2586 * The order.
2587 */
2588 "order": Checkout;
2589 }
2590 interface ScPaystackAddMethod {
2591 "currency": string;
2592 "customerId": string;
2593 "liveMode": boolean;
2594 "successUrl": string;
2595 }
2596 interface ScPhoneInput {
2597 /**
2598 * The input's autocomplete attribute.
2599 */
2600 "autocomplete": string;
2601 /**
2602 * The input's autocorrect attribute.
2603 */
2604 "autocorrect": string;
2605 /**
2606 * The input's autofocus attribute.
2607 */
2608 "autofocus": boolean;
2609 /**
2610 * Adds a clear button when the input is populated.
2611 */
2612 "clearable": boolean;
2613 /**
2614 * Disables the input.
2615 */
2616 "disabled": boolean;
2617 /**
2618 * Inputs focus
2619 */
2620 "hasFocus": boolean;
2621 /**
2622 * The input's help text.
2623 */
2624 "help": string;
2625 /**
2626 * Hidden
2627 */
2628 "hidden": boolean;
2629 /**
2630 * 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.
2631 */
2632 "invalid": boolean;
2633 /**
2634 * The input's label.
2635 */
2636 "label": string;
2637 /**
2638 * The input's maximum value.
2639 */
2640 "max": number | string;
2641 /**
2642 * The maximum length of input that will be considered valid.
2643 */
2644 "maxlength": number;
2645 /**
2646 * The input's minimum value.
2647 */
2648 "min": number | string;
2649 /**
2650 * The minimum length of input that will be considered valid.
2651 */
2652 "minlength": number;
2653 /**
2654 * The input's name attribute.
2655 */
2656 "name": string;
2657 /**
2658 * A pattern to validate input against.
2659 */
2660 "pattern": string;
2661 /**
2662 * Draws a pill-style input with rounded edges.
2663 */
2664 "pill": boolean;
2665 /**
2666 * The input's placeholder text.
2667 */
2668 "placeholder": string;
2669 /**
2670 * Makes the input readonly.
2671 */
2672 "readonly": boolean;
2673 "reportValidity": () => Promise<boolean>;
2674 /**
2675 * Makes the input a required field.
2676 */
2677 "required": boolean;
2678 /**
2679 * Sets a custom validation message. If `message` is not empty, the field will be considered invalid.
2680 */
2681 "setCustomValidity": (message: string) => Promise<void>;
2682 /**
2683 * Should we show the label
2684 */
2685 "showLabel": boolean;
2686 /**
2687 * The input's size.
2688 */
2689 "size": 'small' | 'medium' | 'large';
2690 /**
2691 * Enables spell checking on the input.
2692 */
2693 "spellcheck": boolean;
2694 "squared": boolean;
2695 "squaredBottom": boolean;
2696 "squaredLeft": boolean;
2697 "squaredRight": boolean;
2698 "squaredTop": boolean;
2699 /**
2700 * The input's step attribute.
2701 */
2702 "step": number;
2703 /**
2704 * Adds a password toggle button to password inputs.
2705 */
2706 "togglePassword": boolean;
2707 /**
2708 * Removes focus from the input.
2709 */
2710 "triggerBlur": () => Promise<void>;
2711 /**
2712 * Sets focus on the input.
2713 */
2714 "triggerFocus": (options?: FocusOptions) => Promise<void>;
2715 /**
2716 * The input's value attribute.
2717 */
2718 "value": string;
2719 }
2720 interface ScPillOption {
2721 /**
2722 * Label
2723 */
2724 "isSelected": boolean;
2725 "isUnavailable": boolean;
2726 }
2727 interface ScPopover {
2728 /**
2729 * Is this disabled.
2730 */
2731 "disabled": boolean;
2732 /**
2733 * The distance in pixels from which to offset the panel away from its trigger.
2734 */
2735 "distance": number;
2736 /**
2737 * Enable this option to prevent the panel from being clipped when the component is placed inside a container with `overflow: auto|scroll`.
2738 */
2739 "hoist": boolean;
2740 /**
2741 * Indicates whether or not the popover is open. You can use this in lieu of the show/hide methods.
2742 */
2743 "open"?: boolean;
2744 /**
2745 * The placement of the popover.
2746 */
2747 "placement": | 'top'
2748 | 'top-start'
2749 | 'top-end'
2750 | 'bottom'
2751 | 'bottom-start'
2752 | 'bottom-end'
2753 | 'right'
2754 | 'right-start'
2755 | 'right-end'
2756 | 'left'
2757 | 'left-start'
2758 | 'left-end';
2759 /**
2760 * The distance in pixels from which to offset the panel along its trigger.
2761 */
2762 "skidding": number;
2763 }
2764 interface ScPremiumTag {
2765 /**
2766 * The tag's size.
2767 */
2768 "size": 'small' | 'medium' | 'large';
2769 }
2770 /**
2771 * Internal dependencies.
2772 */
2773 interface ScPrice {
2774 /**
2775 * Is the product ad_hoc?
2776 */
2777 "adHoc": boolean;
2778 /**
2779 * The amount
2780 */
2781 "amount": number;
2782 /**
2783 * The currency.
2784 */
2785 "currency": string;
2786 /**
2787 * The display amount
2788 */
2789 "displayAmount": string;
2790 /**
2791 * The recurring interval
2792 */
2793 "recurringInterval": 'week' | 'month' | 'year' | 'never';
2794 /**
2795 * The recurring interval count
2796 */
2797 "recurringIntervalCount": number;
2798 /**
2799 * The recurring period count
2800 */
2801 "recurringPeriodCount": number;
2802 /**
2803 * The sale text
2804 */
2805 "saleText": string;
2806 /**
2807 * The scratch amount
2808 */
2809 "scratchAmount": number;
2810 /**
2811 * The scratch display amount
2812 */
2813 "scratchDisplayAmount": string;
2814 /**
2815 * The setup fee amount
2816 */
2817 "setupFeeAmount": number;
2818 /**
2819 * The setup fee name
2820 */
2821 "setupFeeName": string;
2822 /**
2823 * The setup fee text
2824 */
2825 "setupFeeText": string;
2826 /**
2827 * The trial duration days
2828 */
2829 "trialDurationDays": number;
2830 }
2831 interface ScPriceChoice {
2832 /**
2833 * Is this blank?
2834 */
2835 "blank": boolean;
2836 /**
2837 * Is this checked by default
2838 */
2839 "checked": boolean;
2840 /**
2841 * Label for the choice.
2842 */
2843 "description": string;
2844 /**
2845 * Errors from response
2846 */
2847 "error": ResponseError;
2848 /**
2849 * Is this an ad-hoc price choice
2850 */
2851 "isAdHoc": Boolean;
2852 /**
2853 * Label for the choice.
2854 */
2855 "label": string;
2856 /**
2857 * Is this loading
2858 */
2859 "loading": boolean;
2860 /**
2861 * Session
2862 */
2863 "order": Checkout;
2864 /**
2865 * Stores the price
2866 */
2867 "price": Price;
2868 /**
2869 * Id of the price.
2870 */
2871 "priceId": string;
2872 /**
2873 * Price entities
2874 */
2875 "prices": Prices;
2876 /**
2877 * Stores the price
2878 */
2879 "product": Product;
2880 /**
2881 * Product entity
2882 */
2883 "products": Products;
2884 /**
2885 * Default quantity
2886 */
2887 "quantity": number;
2888 /**
2889 * Show the radio/checkbox control
2890 */
2891 "showControl": boolean;
2892 /**
2893 * Show the label
2894 */
2895 "showLabel": boolean;
2896 /**
2897 * Show the price amount
2898 */
2899 "showPrice": boolean;
2900 /**
2901 * Choice Type
2902 */
2903 "type": 'checkbox' | 'radio';
2904 }
2905 interface ScPriceChoiceContainer {
2906 /**
2907 * Is this checked by default
2908 */
2909 "checked": boolean;
2910 /**
2911 * Label for the choice.
2912 */
2913 "description": string;
2914 /**
2915 * Label for the choice.
2916 */
2917 "label": string;
2918 /**
2919 * Is this loading
2920 */
2921 "loading": boolean;
2922 /**
2923 * Stores the price
2924 */
2925 "price": string | Price;
2926 "required": boolean;
2927 /**
2928 * Show the radio/checkbox control
2929 */
2930 "showControl": boolean;
2931 /**
2932 * Show the label
2933 */
2934 "showLabel": boolean;
2935 /**
2936 * Show the price amount
2937 */
2938 "showPrice": boolean;
2939 /**
2940 * Choice Type
2941 */
2942 "type": 'checkbox' | 'radio';
2943 }
2944 interface ScPriceChoices {
2945 /**
2946 * Number of columns
2947 */
2948 "columns": number;
2949 /**
2950 * Selector label
2951 */
2952 "label": string;
2953 /**
2954 * Required by default
2955 */
2956 "required": boolean;
2957 }
2958 interface ScPriceInput {
2959 /**
2960 * The input's autofocus attribute.
2961 */
2962 "autofocus": boolean;
2963 /**
2964 * Adds a clear button when the input is populated.
2965 */
2966 "clearable": boolean;
2967 /**
2968 * 3 letter currency code for input
2969 */
2970 "currencyCode": string;
2971 /**
2972 * Disables the input.
2973 */
2974 "disabled": boolean;
2975 /**
2976 * Inputs focus
2977 */
2978 "hasFocus": boolean;
2979 /**
2980 * The input's help text.
2981 */
2982 "help": string;
2983 /**
2984 * 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.
2985 */
2986 "invalid": boolean;
2987 /**
2988 * The input's label.
2989 */
2990 "label": string;
2991 /**
2992 * The input's maximum value.
2993 */
2994 "max": number;
2995 /**
2996 * The maximum length of input that will be considered valid.
2997 */
2998 "maxlength": number;
2999 /**
3000 * The input's minimum value.
3001 */
3002 "min": number;
3003 /**
3004 * The minimum length of input that will be considered valid.
3005 */
3006 "minlength": number;
3007 /**
3008 * The input's name attribute.
3009 */
3010 "name": string;
3011 /**
3012 * Draws a pill-style input with rounded edges.
3013 */
3014 "pill": boolean;
3015 /**
3016 * The input's placeholder text.
3017 */
3018 "placeholder": string;
3019 /**
3020 * Makes the input readonly.
3021 */
3022 "readonly": boolean;
3023 "reportValidity": () => Promise<boolean>;
3024 /**
3025 * Makes the input a required field.
3026 */
3027 "required": boolean;
3028 /**
3029 * Sets a custom validation message. If `message` is not empty, the field will be considered invalid.
3030 */
3031 "setCustomValidity": (message: string) => Promise<void>;
3032 /**
3033 * Show the currency code with the input
3034 */
3035 "showCode": boolean;
3036 /**
3037 * Should we show the label
3038 */
3039 "showLabel": boolean;
3040 /**
3041 * The input's size.
3042 */
3043 "size": 'small' | 'medium' | 'large';
3044 /**
3045 * Removes focus from the input.
3046 */
3047 "triggerBlur": () => Promise<void>;
3048 /**
3049 * Sets focus on the input.
3050 */
3051 "triggerFocus": (options?: FocusOptions) => Promise<void>;
3052 /**
3053 * The input's value attribute.
3054 */
3055 "value": string;
3056 }
3057 interface ScPriceRange {
3058 /**
3059 * The array of price objects
3060 */
3061 "prices": Price[];
3062 }
3063 interface ScProductBuyButton {
3064 "addToCart": boolean;
3065 "checkoutLink": string;
3066 "formId": number;
3067 "mode": 'live' | 'test';
3068 "productId": string;
3069 }
3070 interface ScProductDonationAmountChoice {
3071 /**
3072 * The label for the field.
3073 */
3074 "label": string;
3075 /**
3076 * The product id for the fields.
3077 */
3078 "productId": string;
3079 /**
3080 * The value of the field.
3081 */
3082 "value": number;
3083 }
3084 interface ScProductDonationChoices {
3085 /**
3086 * The label for the field.
3087 */
3088 "label": string;
3089 /**
3090 * The product id for the fields.
3091 */
3092 "productId": string;
3093 "recurring": boolean;
3094 }
3095 interface ScProductDonationCustomAmount {
3096 /**
3097 * Selected Product Id for the donation.
3098 */
3099 "productId": string;
3100 /**
3101 * Custom Amount of the donation.
3102 */
3103 "value": number;
3104 }
3105 interface ScProductItem {
3106 "layoutConfig": LayoutConfig;
3107 "product": Product;
3108 }
3109 interface ScProductItemImage {
3110 "product": Product;
3111 "sizing": 'cover' | 'contain';
3112 }
3113 interface ScProductItemList {
3114 /**
3115 * Should we paginate?
3116 */
3117 "ajaxPagination": boolean;
3118 /**
3119 * Should allow collection filter
3120 */
3121 "collectionEnabled": boolean;
3122 /**
3123 * Show for a specific collection
3124 */
3125 "collectionId": string;
3126 /**
3127 * Show only featured products.
3128 */
3129 "featured": boolean;
3130 /**
3131 * Limit to a set of ids.
3132 */
3133 "ids": string[];
3134 "layoutConfig": LayoutConfig1;
3135 "limit": number;
3136 "page": number;
3137 /**
3138 * The page title
3139 */
3140 "pageTitle": string;
3141 /**
3142 * Pagination
3143 */
3144 "pagination": {
3145 total: number;
3146 total_pages: number;
3147 };
3148 "paginationAlignment": string;
3149 /**
3150 * Should we auto-scroll to the top when paginating via ajax
3151 */
3152 "paginationAutoScroll": boolean;
3153 /**
3154 * Should we paginate?
3155 */
3156 "paginationEnabled": boolean;
3157 "products"?: Product[];
3158 /**
3159 * Query to search for
3160 */
3161 "query": string;
3162 /**
3163 * Should allow search
3164 */
3165 "searchEnabled": boolean;
3166 /**
3167 * Sort
3168 */
3169 "sort": string;
3170 /**
3171 * Should allow search
3172 */
3173 "sortEnabled": boolean;
3174 }
3175 interface ScProductItemPrice {
3176 /**
3177 * Product metrics
3178 */
3179 "metrics": ProductMetrics;
3180 "prices": Price[];
3181 /**
3182 * Show price range?
3183 */
3184 "range": boolean;
3185 }
3186 interface ScProductItemTitle {
3187 }
3188 interface ScProductLineItem {
3189 /**
3190 * Product monetary amount
3191 */
3192 "amount": string;
3193 /**
3194 * Bundle component line items, rendered as a read-only nested list under the main row when this line item is a bundle parent.
3195 */
3196 "bundleComponents": LineItem[];
3197 /**
3198 * Product display amount
3199 */
3200 "displayAmount": string;
3201 /**
3202 * Can we select the quantity
3203 */
3204 "editable": boolean;
3205 /**
3206 * Product line item fees.
3207 */
3208 "fees": Fee[];
3209 /**
3210 * Image attributes.
3211 */
3212 "image": ImageAttributes;
3213 /**
3214 * Recurring interval (i.e. monthly, once, etc.)
3215 */
3216 "interval": string;
3217 /**
3218 * The max allowed.
3219 */
3220 "max": number;
3221 /**
3222 * Product name
3223 */
3224 "name": string;
3225 /**
3226 * The line item note
3227 */
3228 "note": string;
3229 /**
3230 * Price name
3231 */
3232 "price"?: string;
3233 /**
3234 * The purchasable status display
3235 */
3236 "purchasableStatus": string;
3237 /**
3238 * Quantity
3239 */
3240 "quantity": number;
3241 /**
3242 * Is the line item removable
3243 */
3244 "removable": boolean;
3245 /**
3246 * The review button link. If set, a review button will be shown linking to this URL.
3247 */
3248 "reviewButtonLink": string;
3249 /**
3250 * The line item scratch amount
3251 */
3252 "scratch": string;
3253 /**
3254 * Product scratch display amount
3255 */
3256 "scratchDisplayAmount": string;
3257 /**
3258 * Separator between a bundle component's name and its variant options.
3259 */
3260 "separator": string;
3261 /**
3262 * Show every bundle component (default), or only those with a selected variant when set to `false`.
3263 */
3264 "showAllBundleItems": boolean;
3265 /**
3266 * The SKU.
3267 */
3268 "sku": string;
3269 /**
3270 * Trial text
3271 */
3272 "trial": string;
3273 /**
3274 * Product variant label
3275 */
3276 "variant": string;
3277 }
3278 interface ScProductLineItemNote {
3279 "note": string;
3280 }
3281 interface ScProductPillsVariantOption {
3282 /**
3283 * Label
3284 */
3285 "label": string;
3286 /**
3287 * Which option number?
3288 */
3289 "optionNumber": 1 | 2 | 3;
3290 /**
3291 * The product id
3292 */
3293 "productId": string;
3294 }
3295 interface ScProductPrice {
3296 /**
3297 * The product's prices.
3298 */
3299 "prices": Price[];
3300 /**
3301 * The product id
3302 */
3303 "productId": string;
3304 /**
3305 * The sale text
3306 */
3307 "saleText": string;
3308 }
3309 interface ScProductPriceChoices {
3310 /**
3311 * The product price choice label
3312 */
3313 "label": string;
3314 /**
3315 * The product id
3316 */
3317 "productId": string;
3318 /**
3319 * Whether to show the price
3320 */
3321 "showPrice": boolean;
3322 }
3323 interface ScProductPriceModal {
3324 /**
3325 * Whether to add to cart
3326 */
3327 "addToCart": boolean;
3328 /**
3329 * The button text
3330 */
3331 "buttonText": string;
3332 /**
3333 * The product id
3334 */
3335 "productId": string;
3336 }
3337 interface ScProductQuantity {
3338 /**
3339 * Display server-side validation errors.
3340 */
3341 "errors": any;
3342 /**
3343 * Help text
3344 */
3345 "help": string;
3346 /**
3347 * Input label.
3348 */
3349 "label": string;
3350 /**
3351 * Name for the input. Used for validation errors.
3352 */
3353 "name": string;
3354 /**
3355 * The product id
3356 */
3357 "productId": string;
3358 /**
3359 * Whether the input is required.
3360 */
3361 "required": boolean;
3362 /**
3363 * Show the label.
3364 */
3365 "showLabel": boolean;
3366 /**
3367 * Size of the control
3368 */
3369 "size": 'small' | 'medium' | 'large';
3370 }
3371 interface ScProductSelectedPrice {
3372 /**
3373 * The product id.
3374 */
3375 "productId": string;
3376 }
3377 interface ScProductText {
3378 "productId": string;
3379 "text": 'name' | 'description';
3380 }
3381 interface ScProse {
3382 }
3383 interface ScProvider {
3384 "STENCIL_CONTEXT": { [key: string]: any };
3385 }
3386 interface ScProvisionalBanner {
3387 /**
3388 * Claim URL.
3389 */
3390 "claimUrl": string;
3391 /**
3392 * Whether the claim window has expired.
3393 */
3394 "expired": boolean;
3395 }
3396 interface ScPurchaseDownloadsList {
3397 "allLink": string;
3398 "busy": boolean;
3399 "error": string;
3400 "heading": string;
3401 "loading": boolean;
3402 "purchases": Array<Purchase>;
3403 "requestNonce": string;
3404 }
3405 interface ScQuantitySelect {
3406 "clickEl"?: HTMLElement;
3407 "disabled": boolean;
3408 /**
3409 * Inputs focus
3410 */
3411 "hasFocus": boolean;
3412 "max": number;
3413 "min": number;
3414 "productName": string;
3415 "quantity": number;
3416 "size": 'small' | 'medium' | 'large';
3417 }
3418 interface ScRadio {
3419 /**
3420 * Simulates a click on the radio.
3421 */
3422 "ceClick": () => Promise<void>;
3423 /**
3424 * Draws the radio in a checked state.
3425 */
3426 "checked": boolean;
3427 /**
3428 * Is the radio disabled
3429 */
3430 "disabled": boolean;
3431 /**
3432 * This will be true as a workaround in the block editor to focus on the content.
3433 */
3434 "edit": boolean;
3435 /**
3436 * This will be true when the control is in an invalid state. Validity is determined by the `required` prop.
3437 */
3438 "invalid": boolean;
3439 /**
3440 * The radios name attribute
3441 */
3442 "name": string;
3443 /**
3444 * Checks for validity and shows the browser's validation message if the control is invalid.
3445 */
3446 "reportValidity": () => Promise<boolean>;
3447 /**
3448 * Is this required
3449 */
3450 "required": boolean;
3451 /**
3452 * The radios value
3453 */
3454 "value": string;
3455 }
3456 interface ScRadioGroup {
3457 /**
3458 * 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.
3459 */
3460 "invalid": boolean;
3461 /**
3462 * The radio group label. Required for proper accessibility.
3463 */
3464 "label": string;
3465 /**
3466 * Checks for validity and shows the browser's validation message if the control is invalid.
3467 */
3468 "reportValidity": () => Promise<boolean>;
3469 /**
3470 * Is one of these items required.
3471 */
3472 "required": boolean;
3473 /**
3474 * The selected value of the control.
3475 */
3476 "value": string;
3477 }
3478 interface ScRazorpayAddMethod {
3479 "currency": string;
3480 "customerId": string;
3481 "liveMode": boolean;
3482 "successUrl": string;
3483 }
3484 interface ScRecurringPriceChoiceContainer {
3485 /**
3486 * Label for the choice.
3487 */
3488 "label": string;
3489 /**
3490 * The prices to choose from.
3491 */
3492 "prices": Price[];
3493 /**
3494 * The product.
3495 */
3496 "product": Product;
3497 /**
3498 * The currently selected price
3499 */
3500 "selectedPrice": Price;
3501 /**
3502 * Should we show the price?
3503 */
3504 "showAmount": boolean;
3505 /**
3506 * Show the radio/checkbox control
3507 */
3508 "showControl": boolean;
3509 /**
3510 * Should we show the price details?
3511 */
3512 "showDetails": boolean;
3513 }
3514 interface ScReviewStars {
3515 "rating": number;
3516 "size": number;
3517 }
3518 interface ScRichText {
3519 /**
3520 * Disables the textarea.
3521 */
3522 "disabled": boolean;
3523 /**
3524 * The textarea's help text. Alternatively, you can use the help-text slot.
3525 */
3526 "help": string;
3527 /**
3528 * The textarea's label. Alternatively, you can use the label slot.
3529 */
3530 "label": string;
3531 /**
3532 * The max length.
3533 */
3534 "maxlength": number;
3535 /**
3536 * The textarea's name attribute.
3537 */
3538 "name": string;
3539 /**
3540 * The textarea's placeholder text.
3541 */
3542 "placeholder": string;
3543 /**
3544 * Makes the textarea readonly.
3545 */
3546 "readonly": boolean;
3547 /**
3548 * Makes the textarea a required field.
3549 */
3550 "required": boolean;
3551 /**
3552 * Should we show the label
3553 */
3554 "showLabel": boolean;
3555 /**
3556 * The textarea's size.
3557 */
3558 "size": 'small' | 'medium' | 'large';
3559 /**
3560 * The textarea's value attribute.
3561 */
3562 "value": string;
3563 }
3564 interface ScSecureNotice {
3565 }
3566 interface ScSelect {
3567 /**
3568 * The input's autocomplete attribute.
3569 */
3570 "autocomplete": string;
3571 /**
3572 * The input's value attribute.
3573 */
3574 "choices": Array<ChoiceItem>;
3575 "closeOnSelect": boolean;
3576 "disabled": boolean;
3577 /**
3578 * Some help text for the input.
3579 */
3580 "help": string;
3581 "hoist": boolean;
3582 /**
3583 * 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.
3584 */
3585 "invalid": boolean;
3586 /**
3587 * The input's label.
3588 */
3589 "label": string;
3590 "loading": boolean;
3591 /**
3592 * The input's name attribute.
3593 */
3594 "name": string;
3595 /**
3596 * Is this open
3597 */
3598 "open": boolean;
3599 /**
3600 * Placeholder for no value
3601 */
3602 "placeholder": string;
3603 /**
3604 * The placement of the dropdown.
3605 */
3606 "placement": | 'top'
3607 | 'top-start'
3608 | 'top-end'
3609 | 'bottom'
3610 | 'bottom-start'
3611 | 'bottom-end'
3612 | 'right'
3613 | 'right-start'
3614 | 'right-end'
3615 | 'left'
3616 | 'left-start'
3617 | 'left-end';
3618 "position": 'bottom-left' | 'bottom-right' | 'top-left' | 'top-right';
3619 "reportValidity": () => Promise<boolean>;
3620 "required": boolean;
3621 /**
3622 * Is search enabled?
3623 */
3624 "search": boolean;
3625 /**
3626 * Placeholder for search
3627 */
3628 "searchPlaceholder": string;
3629 /**
3630 * Sets a custom validation message. If `message` is not empty, the field will be considered invalid.
3631 */
3632 "setCustomValidity": (message: string) => Promise<void>;
3633 "showParentLabel": boolean;
3634 /**
3635 * The input's size.
3636 */
3637 "size": 'small' | 'medium' | 'large';
3638 "squared": boolean;
3639 "squaredBottom": boolean;
3640 "squaredLeft": boolean;
3641 "squaredRight": boolean;
3642 "squaredTop": boolean;
3643 /**
3644 * Can we unselect items.
3645 */
3646 "unselect": boolean;
3647 /**
3648 * The input's value attribute.
3649 */
3650 "value": string;
3651 }
3652 interface ScSessionProvider {
3653 /**
3654 * Finalize the order.
3655 * @returns
3656 */
3657 "finalize": () => Promise<Checkout | NodeJS.Timeout | Error>;
3658 /**
3659 * Should we persist the session.
3660 */
3661 "persist": boolean;
3662 /**
3663 * An array of prices to pre-fill in the form.
3664 */
3665 "prices": Array<PriceChoice>;
3666 }
3667 interface ScShippingChoices {
3668 /**
3669 * The shipping section label
3670 */
3671 "label": string;
3672 /**
3673 * Override shipping choices data (used for editor preview)
3674 */
3675 "shippingChoices": any[] | undefined;
3676 /**
3677 * Whether to show the shipping choice description
3678 */
3679 "showDescription": boolean;
3680 }
3681 interface ScSkeleton {
3682 /**
3683 * Animation effect
3684 */
3685 "effect": 'pulse' | 'sheen' | 'none';
3686 }
3687 interface ScSpacing {
3688 }
3689 interface ScSpinner {
3690 }
3691 interface ScStackedList {
3692 }
3693 interface ScStackedListRow {
3694 "href": string;
3695 "mobileSize": number;
3696 "target": string;
3697 }
3698 interface ScStripeAddMethod {
3699 "customerId": string;
3700 "liveMode": boolean;
3701 "successUrl": string;
3702 }
3703 interface ScStripeElement {
3704 /**
3705 * Confirm card payment
3706 */
3707 "confirmCardPayment": (secret: any) => Promise<any>;
3708 /**
3709 * Confirm card setup.
3710 */
3711 "confirmCardSetup": (secret: any) => Promise<any>;
3712 /**
3713 * Whether this field is disabled
3714 */
3715 "disabled": boolean;
3716 /**
3717 * The form state
3718 */
3719 "formState": FormState;
3720 /**
3721 * Inputs focus
3722 */
3723 "hasFocus": boolean;
3724 /**
3725 * The input's label. Alternatively, you can use the label slot.
3726 */
3727 "label": string;
3728 /**
3729 * Mode for the payment
3730 */
3731 "mode": 'live' | 'test';
3732 /**
3733 * The checkout session object for finalizing intents
3734 */
3735 "order": Checkout;
3736 /**
3737 * The input's help text. Alternatively, you can use the help-text slot.
3738 */
3739 "secureText": string;
3740 /**
3741 * The selected processor id
3742 */
3743 "selectedProcessorId": ProcessorName;
3744 /**
3745 * Should we show the label
3746 */
3747 "showLabel": boolean;
3748 /**
3749 * The input's size.
3750 */
3751 "size": 'small' | 'medium' | 'large';
3752 }
3753 interface ScStripePaymentElement {
3754 "confirm": (type: 'setup' | 'payment', args?: {}) => Promise<void>;
3755 }
3756 interface ScStripePaymentRequest {
3757 /**
3758 * Amount
3759 */
3760 "amount": number;
3761 /**
3762 * Country
3763 */
3764 "country": string;
3765 /**
3766 * Is this in debug mode.
3767 */
3768 "debug": boolean;
3769 "error": ResponseError | null;
3770 /**
3771 * Label
3772 */
3773 "label": string;
3774 /**
3775 * Prices
3776 */
3777 "prices": Prices;
3778 /**
3779 * Stripe publishable key
3780 */
3781 "publishableKey": string;
3782 /**
3783 * Your stripe connected account id.
3784 */
3785 "stripeAccountId": string;
3786 /**
3787 * Payment request theme
3788 */
3789 "theme": string;
3790 }
3791 interface ScSubscription {
3792 /**
3793 * Heading to display
3794 */
3795 "heading": string;
3796 /**
3797 * The subscription protocol
3798 */
3799 "protocol": SubscriptionProtocol;
3800 /**
3801 * Query to pass to the API
3802 */
3803 "query": object;
3804 /**
3805 * Whether to show the cancel button
3806 */
3807 "showCancel": boolean;
3808 /**
3809 * The subscription
3810 */
3811 "subscription": Subscription;
3812 /**
3813 * The subscription ID
3814 */
3815 "subscriptionId": string;
3816 /**
3817 * Update the payment method url
3818 */
3819 "updatePaymentMethodUrl": string;
3820 }
3821 interface ScSubscriptionAdHocConfirm {
3822 "currencyCode": string;
3823 "heading": string;
3824 "price": Price;
3825 }
3826 interface ScSubscriptionCancel {
3827 "backUrl": string;
3828 "comment": string;
3829 "heading": string;
3830 "protocol": SubscriptionProtocol;
3831 "reason": CancellationReason;
3832 "subscription": Subscription;
3833 "successUrl": string;
3834 }
3835 interface ScSubscriptionDetails {
3836 "hideRenewalText": boolean;
3837 "pendingPrice": Price;
3838 "subscription": Subscription;
3839 }
3840 interface ScSubscriptionNextPayment {
3841 "subscription": Subscription;
3842 /**
3843 * Update the payment method url
3844 */
3845 "updatePaymentMethodUrl": string;
3846 }
3847 interface ScSubscriptionPayment {
3848 "backUrl": string;
3849 "customerIds": Array<string>;
3850 "paymentMethods": Array<PaymentMethod>;
3851 "subscription": Subscription;
3852 "subscriptionId": string;
3853 "successUrl": string;
3854 }
3855 interface ScSubscriptionPaymentMethod {
3856 /**
3857 * The heading
3858 */
3859 "heading": string;
3860 /**
3861 * The subscription
3862 */
3863 "subscription": Subscription;
3864 }
3865 interface ScSubscriptionReactivate {
3866 /**
3867 * Whether it is open
3868 */
3869 "open": boolean;
3870 /**
3871 * The subscription to reactivate
3872 */
3873 "subscription": Subscription;
3874 }
3875 interface ScSubscriptionStatusBadge {
3876 /**
3877 * Makes the tag clearable.
3878 */
3879 "clearable": boolean;
3880 /**
3881 * Draws a pill-style tag with rounded edges.
3882 */
3883 "pill": boolean;
3884 /**
3885 * The tag's size.
3886 */
3887 "size": 'small' | 'medium' | 'large';
3888 /**
3889 * Subscription status
3890 */
3891 "status": SubscriptionStatus;
3892 /**
3893 * The tag's status type.
3894 */
3895 "subscription": Subscription;
3896 }
3897 interface ScSubscriptionSwitch {
3898 "filterAbove": number;
3899 "heading": string;
3900 "productGroupId": ProductGroup;
3901 "productId": string;
3902 /**
3903 * Customer id to fetch subscriptions
3904 */
3905 "query": object;
3906 "subscription": Subscription;
3907 "successUrl": string;
3908 }
3909 interface ScSubscriptionVariationConfirm {
3910 "heading": string;
3911 "price": Price;
3912 "product": Product;
3913 "subscription": Subscription;
3914 }
3915 interface ScSubscriptionsList {
3916 "allLink": string;
3917 "cancelBehavior": 'period_end' | 'immediate';
3918 "heading": string;
3919 "isCustomer": boolean;
3920 /**
3921 * Customer id to fetch subscriptions
3922 */
3923 "query": {
3924 page: number;
3925 per_page: number;
3926 };
3927 }
3928 interface ScSummary {
3929 "busy": boolean;
3930 "closedText": string;
3931 "collapsed": boolean;
3932 "collapsedOnDesktop": boolean;
3933 "collapsedOnMobile": boolean;
3934 "collapsible": boolean;
3935 "loading": boolean;
3936 "openText": string;
3937 }
3938 interface ScSwap {
3939 /**
3940 * The product id.
3941 */
3942 "lineItem": LineItem;
3943 }
3944 interface ScSwitch {
3945 /**
3946 * Draws the switch in a checked state.
3947 */
3948 "checked": boolean;
3949 /**
3950 * Disables the switch.
3951 */
3952 "disabled": boolean;
3953 /**
3954 * This will be true as a workaround in the block editor to focus on the content.
3955 */
3956 "edit": boolean;
3957 /**
3958 * This will be true when the control is in an invalid state. Validity is determined by the `required` prop.
3959 */
3960 "invalid": boolean;
3961 /**
3962 * The switch's name attribute.
3963 */
3964 "name": string;
3965 /**
3966 * Checks for validity and shows the browser's validation message if the control is invalid.
3967 */
3968 "reportValidity": () => Promise<boolean>;
3969 /**
3970 * Makes the switch a required field.
3971 */
3972 "required": boolean;
3973 "reversed": boolean;
3974 /**
3975 * The switch's value attribute.
3976 */
3977 "value": string;
3978 }
3979 interface ScTab {
3980 /**
3981 * Draws the tab in an active state.
3982 */
3983 "active": boolean;
3984 "count": string;
3985 /**
3986 * Draws the tab in a disabled state.
3987 */
3988 "disabled": boolean;
3989 "href": string;
3990 /**
3991 * The name of the tab panel the tab will control. The panel must be located in the same tab group.
3992 */
3993 "panel": string;
3994 /**
3995 * Removes focus from the tab.
3996 */
3997 "triggerBlur": () => Promise<void>;
3998 /**
3999 * Sets focus to the tab.
4000 */
4001 "triggerFocus": (options?: FocusOptions) => Promise<void>;
4002 }
4003 interface ScTabGroup {
4004 }
4005 interface ScTabPanel {
4006 /**
4007 * When true, the tab panel will be shown.
4008 */
4009 "active": boolean;
4010 /**
4011 * The tab panel's name.
4012 */
4013 "name": string;
4014 }
4015 interface ScTable {
4016 }
4017 interface ScTableCell {
4018 }
4019 interface ScTableHead {
4020 }
4021 interface ScTableRow {
4022 "href": string;
4023 }
4024 interface ScTag {
4025 /**
4026 * Aria label
4027 */
4028 "ariaLabel": string;
4029 /**
4030 * Makes the tag clearable.
4031 */
4032 "clearable": boolean;
4033 /**
4034 * Draws a pill-style tag with rounded edges.
4035 */
4036 "pill": boolean;
4037 /**
4038 * The tag's size.
4039 */
4040 "size": 'small' | 'medium' | 'large';
4041 /**
4042 * The tag's type.
4043 */
4044 "type": 'primary' | 'success' | 'info' | 'warning' | 'danger' | 'default';
4045 }
4046 interface ScTaxIdInput {
4047 /**
4048 * AU zone label
4049 */
4050 "auAbnLabel": string;
4051 /**
4052 * GST zone label
4053 */
4054 "caGstLabel": string;
4055 /**
4056 * The country code.
4057 */
4058 "country": string;
4059 /**
4060 * EU zone label
4061 */
4062 "euVatLabel": string;
4063 /**
4064 * UK zone label
4065 */
4066 "gbVatLabel": string;
4067 /**
4068 * Help text.
4069 */
4070 "help": string;
4071 /**
4072 * Is this loading?
4073 */
4074 "loading": boolean;
4075 /**
4076 * Tax ID Number
4077 */
4078 "number": string;
4079 /**
4080 * Other zones label
4081 */
4082 "otherLabel": string;
4083 "reportValidity": () => Promise<boolean>;
4084 /**
4085 * Whether tax input is required
4086 */
4087 "required": boolean;
4088 /**
4089 * Force show the field.
4090 */
4091 "show": boolean;
4092 /**
4093 * The status
4094 */
4095 "status": 'valid' | 'invalid' | 'unknown';
4096 /**
4097 * Tax ID Types which will be shown
4098 */
4099 "taxIdTypes": string[];
4100 /**
4101 * Type of tax id
4102 */
4103 "type": string;
4104 }
4105 interface ScTestModeInfo {
4106 }
4107 interface ScText {
4108 "tag": 'h1' | 'h2' | 'h3' | 'h4' | 'h5' | 'h6' | 'p';
4109 "truncate": boolean;
4110 }
4111 interface ScTextarea {
4112 /**
4113 * The textarea's autocapitalize attribute.
4114 */
4115 "autocapitalize": 'off' | 'none' | 'on' | 'sentences' | 'words' | 'characters';
4116 /**
4117 * The textarea's autocomplete attribute.
4118 */
4119 "autocomplete": string;
4120 /**
4121 * The textarea's autocorrect attribute.
4122 */
4123 "autocorrect": string;
4124 /**
4125 * The textarea's autofocus attribute.
4126 */
4127 "autofocus": boolean;
4128 /**
4129 * Disables the textarea.
4130 */
4131 "disabled": boolean;
4132 /**
4133 * The input's enterkeyhint attribute. This can be used to customize the label or icon of the Enter key on virtual keyboards.
4134 */
4135 "enterkeyhint": 'enter' | 'done' | 'go' | 'next' | 'previous' | 'search' | 'send';
4136 /**
4137 * Draws a filled textarea.
4138 */
4139 "filled": boolean;
4140 /**
4141 * The textarea's help text. Alternatively, you can use the help-text slot.
4142 */
4143 "help": string;
4144 /**
4145 * The textarea's inputmode attribute.
4146 */
4147 "inputmode": 'none' | 'text' | 'decimal' | 'numeric' | 'tel' | 'search' | 'email' | 'url';
4148 /**
4149 * 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.
4150 */
4151 "invalid": boolean;
4152 /**
4153 * The textarea's label. Alternatively, you can use the label slot.
4154 */
4155 "label": string;
4156 /**
4157 * The maximum length of input that will be considered valid.
4158 */
4159 "maxlength": number;
4160 /**
4161 * The minimum length of input that will be considered valid.
4162 */
4163 "minlength": number;
4164 /**
4165 * The textarea's name attribute.
4166 */
4167 "name": string;
4168 /**
4169 * The textarea's placeholder text.
4170 */
4171 "placeholder": string;
4172 /**
4173 * Makes the textarea readonly.
4174 */
4175 "readonly": boolean;
4176 /**
4177 * Checks for validity and shows the browser's validation message if the control is invalid.
4178 */
4179 "reportValidity": () => Promise<boolean>;
4180 /**
4181 * Makes the textarea a required field.
4182 */
4183 "required": boolean;
4184 /**
4185 * Controls how the textarea can be resized.
4186 */
4187 "resize": 'none' | 'vertical' | 'auto';
4188 /**
4189 * The number of rows to display by default.
4190 */
4191 "rows": number;
4192 /**
4193 * Should we show the label
4194 */
4195 "showLabel": boolean;
4196 /**
4197 * The textarea's size.
4198 */
4199 "size": 'small' | 'medium' | 'large';
4200 /**
4201 * Enables spell checking on the textarea.
4202 */
4203 "spellcheck": boolean;
4204 /**
4205 * Sets focus on the input.
4206 */
4207 "triggerFocus": (options?: FocusOptions) => Promise<void>;
4208 /**
4209 * The textarea's value attribute.
4210 */
4211 "value": string;
4212 }
4213 interface ScToggle {
4214 /**
4215 * Is this a borderless toggle?
4216 */
4217 "borderless": boolean;
4218 /**
4219 * Are these collapsible?
4220 */
4221 "collapsible": boolean;
4222 /**
4223 * Disables the details so it can't be toggled.
4224 */
4225 "disabled": boolean;
4226 /**
4227 * Indicates whether or not the details is open. You can use this in lieu of the show/hide methods.
4228 */
4229 "open": boolean;
4230 /**
4231 * Is this a shady
4232 */
4233 "shady": boolean;
4234 /**
4235 * Should we show a radio control?
4236 */
4237 "showControl": boolean;
4238 /**
4239 * Should we show the arrow icon?
4240 */
4241 "showIcon": boolean;
4242 /**
4243 * The summary to show in the details header. If you need to display HTML, use the `summary` slot instead.
4244 */
4245 "summary": string;
4246 }
4247 interface ScToggles {
4248 /**
4249 * Should this function as an accordion?
4250 */
4251 "accordion": boolean;
4252 /**
4253 * Are these collapsible?
4254 */
4255 "collapsible": boolean;
4256 /**
4257 * Theme for the toggles
4258 */
4259 "theme": 'default' | 'container';
4260 }
4261 interface ScTooltip {
4262 /**
4263 * Freeze open or closed.
4264 */
4265 "freeze": boolean;
4266 /**
4267 * Open or not
4268 */
4269 "open": boolean;
4270 /**
4271 * The tooltip's padding.
4272 */
4273 "padding": number;
4274 /**
4275 * The tooltip's placement relative to the trigger.
4276 */
4277 "placement": 'top' | 'bottom' | 'left' | 'right';
4278 /**
4279 * Tooltip text
4280 */
4281 "text": string;
4282 /**
4283 * 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.
4284 */
4285 "type": 'primary' | 'success' | 'info' | 'warning' | 'danger' | 'text' | 'dark';
4286 /**
4287 * Tooltip fixed width
4288 */
4289 "width": string;
4290 }
4291 interface ScTotal {
4292 "checkout"?: Checkout;
4293 "total": 'total' | 'subtotal' | 'amount_due';
4294 }
4295 interface ScUpcomingInvoice {
4296 "adHocAmount": number;
4297 "discount": {
4298 promotion_code?: string;
4299 coupon?: string;
4300 };
4301 "heading": string;
4302 "payment_method": PaymentMethod;
4303 "priceId": string;
4304 "quantity": number;
4305 "quantityUpdatesEnabled": boolean;
4306 "subscriptionId": string;
4307 "successUrl": string;
4308 "variantId": string;
4309 }
4310 interface ScUpgradeRequired {
4311 /**
4312 * Whether to render upgrade modal by default
4313 */
4314 "open": boolean;
4315 /**
4316 * Is this required?
4317 */
4318 "required": boolean;
4319 /**
4320 * The tag's size.
4321 */
4322 "size": 'small' | 'medium' | 'large';
4323 }
4324 interface ScUpsell {
4325 }
4326 interface ScUpsellCountdownTimer {
4327 /**
4328 * Whether to show the icon.
4329 */
4330 "showIcon": boolean;
4331 }
4332 interface ScUpsellNoThanksButton {
4333 }
4334 interface ScUpsellSubmitButton {
4335 }
4336 interface ScUpsellTotals {
4337 }
4338 interface ScVerificationCode {
4339 /**
4340 * Whether the component is in a loading/verifying state
4341 */
4342 "loading": boolean;
4343 /**
4344 * On change verification code
4345 */
4346 "onChange": (value: string) => void;
4347 /**
4348 * Total number of inputs
4349 */
4350 "total": number;
4351 /**
4352 * Focus the first code input.
4353 */
4354 "triggerFocus": () => Promise<void>;
4355 }
4356 interface ScVisuallyHidden {
4357 }
4358 interface ScWordpressPasswordEdit {
4359 /**
4360 * Ensures strong password validation.
4361 */
4362 "enableValidation": boolean;
4363 "heading": string;
4364 "successUrl": string;
4365 "user": WordPressUser;
4366 }
4367 interface ScWordpressUser {
4368 "heading": string;
4369 "user": WordPressUser;
4370 }
4371 interface ScWordpressUserEdit {
4372 "heading": string;
4373 "successUrl": string;
4374 "user": WordPressUser;
4375 }
4376 }
4377 export interface ScAddressCustomEvent<T> extends CustomEvent<T> {
4378 detail: T;
4379 target: HTMLScAddressElement;
4380 }
4381 export interface ScAddressSuggestionsCustomEvent<T> extends CustomEvent<T> {
4382 detail: T;
4383 target: HTMLScAddressSuggestionsElement;
4384 }
4385 export interface ScAlertCustomEvent<T> extends CustomEvent<T> {
4386 detail: T;
4387 target: HTMLScAlertElement;
4388 }
4389 export interface ScButtonCustomEvent<T> extends CustomEvent<T> {
4390 detail: T;
4391 target: HTMLScButtonElement;
4392 }
4393 export interface ScCancelDialogCustomEvent<T> extends CustomEvent<T> {
4394 detail: T;
4395 target: HTMLScCancelDialogElement;
4396 }
4397 export interface ScCancelDiscountCustomEvent<T> extends CustomEvent<T> {
4398 detail: T;
4399 target: HTMLScCancelDiscountElement;
4400 }
4401 export interface ScCancelSurveyCustomEvent<T> extends CustomEvent<T> {
4402 detail: T;
4403 target: HTMLScCancelSurveyElement;
4404 }
4405 export interface ScCartHeaderCustomEvent<T> extends CustomEvent<T> {
4406 detail: T;
4407 target: HTMLScCartHeaderElement;
4408 }
4409 export interface ScCartSessionProviderCustomEvent<T> extends CustomEvent<T> {
4410 detail: T;
4411 target: HTMLScCartSessionProviderElement;
4412 }
4413 export interface ScCheckboxCustomEvent<T> extends CustomEvent<T> {
4414 detail: T;
4415 target: HTMLScCheckboxElement;
4416 }
4417 export interface ScCheckoutCustomEvent<T> extends CustomEvent<T> {
4418 detail: T;
4419 target: HTMLScCheckoutElement;
4420 }
4421 export interface ScCheckoutStockAlertCustomEvent<T> extends CustomEvent<T> {
4422 detail: T;
4423 target: HTMLScCheckoutStockAlertElement;
4424 }
4425 export interface ScCheckoutTestCompleteCustomEvent<T> extends CustomEvent<T> {
4426 detail: T;
4427 target: HTMLScCheckoutTestCompleteElement;
4428 }
4429 export interface ScChoiceCustomEvent<T> extends CustomEvent<T> {
4430 detail: T;
4431 target: HTMLScChoiceElement;
4432 }
4433 export interface ScChoiceContainerCustomEvent<T> extends CustomEvent<T> {
4434 detail: T;
4435 target: HTMLScChoiceContainerElement;
4436 }
4437 export interface ScCompactAddressCustomEvent<T> extends CustomEvent<T> {
4438 detail: T;
4439 target: HTMLScCompactAddressElement;
4440 }
4441 export interface ScConsumerCustomEvent<T> extends CustomEvent<T> {
4442 detail: T;
4443 target: HTMLScConsumerElement;
4444 }
4445 export interface ScCouponFormCustomEvent<T> extends CustomEvent<T> {
4446 detail: T;
4447 target: HTMLScCouponFormElement;
4448 }
4449 export interface ScCustomOrderPriceInputCustomEvent<T> extends CustomEvent<T> {
4450 detail: T;
4451 target: HTMLScCustomOrderPriceInputElement;
4452 }
4453 export interface ScCustomerEmailCustomEvent<T> extends CustomEvent<T> {
4454 detail: T;
4455 target: HTMLScCustomerEmailElement;
4456 }
4457 export interface ScCustomerFirstnameCustomEvent<T> extends CustomEvent<T> {
4458 detail: T;
4459 target: HTMLScCustomerFirstnameElement;
4460 }
4461 export interface ScCustomerLastnameCustomEvent<T> extends CustomEvent<T> {
4462 detail: T;
4463 target: HTMLScCustomerLastnameElement;
4464 }
4465 export interface ScCustomerNameCustomEvent<T> extends CustomEvent<T> {
4466 detail: T;
4467 target: HTMLScCustomerNameElement;
4468 }
4469 export interface ScCustomerPhoneCustomEvent<T> extends CustomEvent<T> {
4470 detail: T;
4471 target: HTMLScCustomerPhoneElement;
4472 }
4473 export interface ScDialogCustomEvent<T> extends CustomEvent<T> {
4474 detail: T;
4475 target: HTMLScDialogElement;
4476 }
4477 export interface ScDonationChoicesCustomEvent<T> extends CustomEvent<T> {
4478 detail: T;
4479 target: HTMLScDonationChoicesElement;
4480 }
4481 export interface ScDrawerCustomEvent<T> extends CustomEvent<T> {
4482 detail: T;
4483 target: HTMLScDrawerElement;
4484 }
4485 export interface ScDropdownCustomEvent<T> extends CustomEvent<T> {
4486 detail: T;
4487 target: HTMLScDropdownElement;
4488 }
4489 export interface ScErrorCustomEvent<T> extends CustomEvent<T> {
4490 detail: T;
4491 target: HTMLScErrorElement;
4492 }
4493 export interface ScFormCustomEvent<T> extends CustomEvent<T> {
4494 detail: T;
4495 target: HTMLScFormElement;
4496 }
4497 export interface ScFormStateProviderCustomEvent<T> extends CustomEvent<T> {
4498 detail: T;
4499 target: HTMLScFormStateProviderElement;
4500 }
4501 export interface ScIconCustomEvent<T> extends CustomEvent<T> {
4502 detail: T;
4503 target: HTMLScIconElement;
4504 }
4505 export interface ScInputCustomEvent<T> extends CustomEvent<T> {
4506 detail: T;
4507 target: HTMLScInputElement;
4508 }
4509 export interface ScLineItemsProviderCustomEvent<T> extends CustomEvent<T> {
4510 detail: T;
4511 target: HTMLScLineItemsProviderElement;
4512 }
4513 export interface ScLoginProviderCustomEvent<T> extends CustomEvent<T> {
4514 detail: T;
4515 target: HTMLScLoginProviderElement;
4516 }
4517 export interface ScMenuCustomEvent<T> extends CustomEvent<T> {
4518 detail: T;
4519 target: HTMLScMenuElement;
4520 }
4521 export interface ScOrderConfirmProviderCustomEvent<T> extends CustomEvent<T> {
4522 detail: T;
4523 target: HTMLScOrderConfirmProviderElement;
4524 }
4525 export interface ScOrderSummaryCustomEvent<T> extends CustomEvent<T> {
4526 detail: T;
4527 target: HTMLScOrderSummaryElement;
4528 }
4529 export interface ScPaginationCustomEvent<T> extends CustomEvent<T> {
4530 detail: T;
4531 target: HTMLScPaginationElement;
4532 }
4533 export interface ScPaypalButtonsCustomEvent<T> extends CustomEvent<T> {
4534 detail: T;
4535 target: HTMLScPaypalButtonsElement;
4536 }
4537 export interface ScPhoneInputCustomEvent<T> extends CustomEvent<T> {
4538 detail: T;
4539 target: HTMLScPhoneInputElement;
4540 }
4541 export interface ScPopoverCustomEvent<T> extends CustomEvent<T> {
4542 detail: T;
4543 target: HTMLScPopoverElement;
4544 }
4545 export interface ScPriceChoiceCustomEvent<T> extends CustomEvent<T> {
4546 detail: T;
4547 target: HTMLScPriceChoiceElement;
4548 }
4549 export interface ScPriceChoiceContainerCustomEvent<T> extends CustomEvent<T> {
4550 detail: T;
4551 target: HTMLScPriceChoiceContainerElement;
4552 }
4553 export interface ScPriceChoicesCustomEvent<T> extends CustomEvent<T> {
4554 detail: T;
4555 target: HTMLScPriceChoicesElement;
4556 }
4557 export interface ScPriceInputCustomEvent<T> extends CustomEvent<T> {
4558 detail: T;
4559 target: HTMLScPriceInputElement;
4560 }
4561 export interface ScProductItemListCustomEvent<T> extends CustomEvent<T> {
4562 detail: T;
4563 target: HTMLScProductItemListElement;
4564 }
4565 export interface ScProductLineItemCustomEvent<T> extends CustomEvent<T> {
4566 detail: T;
4567 target: HTMLScProductLineItemElement;
4568 }
4569 export interface ScProductSelectedPriceCustomEvent<T> extends CustomEvent<T> {
4570 detail: T;
4571 target: HTMLScProductSelectedPriceElement;
4572 }
4573 export interface ScProviderCustomEvent<T> extends CustomEvent<T> {
4574 detail: T;
4575 target: HTMLScProviderElement;
4576 }
4577 export interface ScQuantitySelectCustomEvent<T> extends CustomEvent<T> {
4578 detail: T;
4579 target: HTMLScQuantitySelectElement;
4580 }
4581 export interface ScRadioCustomEvent<T> extends CustomEvent<T> {
4582 detail: T;
4583 target: HTMLScRadioElement;
4584 }
4585 export interface ScRadioGroupCustomEvent<T> extends CustomEvent<T> {
4586 detail: T;
4587 target: HTMLScRadioGroupElement;
4588 }
4589 export interface ScRecurringPriceChoiceContainerCustomEvent<T> extends CustomEvent<T> {
4590 detail: T;
4591 target: HTMLScRecurringPriceChoiceContainerElement;
4592 }
4593 export interface ScRichTextCustomEvent<T> extends CustomEvent<T> {
4594 detail: T;
4595 target: HTMLScRichTextElement;
4596 }
4597 export interface ScSelectCustomEvent<T> extends CustomEvent<T> {
4598 detail: T;
4599 target: HTMLScSelectElement;
4600 }
4601 export interface ScSessionProviderCustomEvent<T> extends CustomEvent<T> {
4602 detail: T;
4603 target: HTMLScSessionProviderElement;
4604 }
4605 export interface ScStripeElementCustomEvent<T> extends CustomEvent<T> {
4606 detail: T;
4607 target: HTMLScStripeElementElement;
4608 }
4609 export interface ScStripePaymentElementCustomEvent<T> extends CustomEvent<T> {
4610 detail: T;
4611 target: HTMLScStripePaymentElementElement;
4612 }
4613 export interface ScStripePaymentRequestCustomEvent<T> extends CustomEvent<T> {
4614 detail: T;
4615 target: HTMLScStripePaymentRequestElement;
4616 }
4617 export interface ScSubscriptionCancelCustomEvent<T> extends CustomEvent<T> {
4618 detail: T;
4619 target: HTMLScSubscriptionCancelElement;
4620 }
4621 export interface ScSubscriptionReactivateCustomEvent<T> extends CustomEvent<T> {
4622 detail: T;
4623 target: HTMLScSubscriptionReactivateElement;
4624 }
4625 export interface ScSummaryCustomEvent<T> extends CustomEvent<T> {
4626 detail: T;
4627 target: HTMLScSummaryElement;
4628 }
4629 export interface ScSwitchCustomEvent<T> extends CustomEvent<T> {
4630 detail: T;
4631 target: HTMLScSwitchElement;
4632 }
4633 export interface ScTabCustomEvent<T> extends CustomEvent<T> {
4634 detail: T;
4635 target: HTMLScTabElement;
4636 }
4637 export interface ScTabGroupCustomEvent<T> extends CustomEvent<T> {
4638 detail: T;
4639 target: HTMLScTabGroupElement;
4640 }
4641 export interface ScTagCustomEvent<T> extends CustomEvent<T> {
4642 detail: T;
4643 target: HTMLScTagElement;
4644 }
4645 export interface ScTaxIdInputCustomEvent<T> extends CustomEvent<T> {
4646 detail: T;
4647 target: HTMLScTaxIdInputElement;
4648 }
4649 export interface ScTextareaCustomEvent<T> extends CustomEvent<T> {
4650 detail: T;
4651 target: HTMLScTextareaElement;
4652 }
4653 export interface ScToggleCustomEvent<T> extends CustomEvent<T> {
4654 detail: T;
4655 target: HTMLScToggleElement;
4656 }
4657 declare global {
4658 interface HTMLScAddressElementEventMap {
4659 "scChangeAddress": Partial<Address>;
4660 "scInputAddress": Partial<Address>;
4661 }
4662 interface HTMLScAddressElement extends Components.ScAddress, HTMLStencilElement {
4663 addEventListener<K extends keyof HTMLScAddressElementEventMap>(type: K, listener: (this: HTMLScAddressElement, ev: ScAddressCustomEvent<HTMLScAddressElementEventMap[K]>) => any, options?: boolean | AddEventListenerOptions): void;
4664 addEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
4665 addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
4666 addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
4667 removeEventListener<K extends keyof HTMLScAddressElementEventMap>(type: K, listener: (this: HTMLScAddressElement, ev: ScAddressCustomEvent<HTMLScAddressElementEventMap[K]>) => any, options?: boolean | EventListenerOptions): void;
4668 removeEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
4669 removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
4670 removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
4671 }
4672 var HTMLScAddressElement: {
4673 prototype: HTMLScAddressElement;
4674 new (): HTMLScAddressElement;
4675 };
4676 interface HTMLScAddressSuggestionsElementEventMap {
4677 "scChangeAddress": Address;
4678 "scShowAddressFields": void;
4679 "scHideAddressFields": void;
4680 }
4681 interface HTMLScAddressSuggestionsElement extends Components.ScAddressSuggestions, HTMLStencilElement {
4682 addEventListener<K extends keyof HTMLScAddressSuggestionsElementEventMap>(type: K, listener: (this: HTMLScAddressSuggestionsElement, ev: ScAddressSuggestionsCustomEvent<HTMLScAddressSuggestionsElementEventMap[K]>) => any, options?: boolean | AddEventListenerOptions): void;
4683 addEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
4684 addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
4685 addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
4686 removeEventListener<K extends keyof HTMLScAddressSuggestionsElementEventMap>(type: K, listener: (this: HTMLScAddressSuggestionsElement, ev: ScAddressSuggestionsCustomEvent<HTMLScAddressSuggestionsElementEventMap[K]>) => any, options?: boolean | EventListenerOptions): void;
4687 removeEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
4688 removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
4689 removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
4690 }
4691 var HTMLScAddressSuggestionsElement: {
4692 prototype: HTMLScAddressSuggestionsElement;
4693 new (): HTMLScAddressSuggestionsElement;
4694 };
4695 interface HTMLScAlertElementEventMap {
4696 "scHide": void;
4697 "scShow": void;
4698 }
4699 interface HTMLScAlertElement extends Components.ScAlert, HTMLStencilElement {
4700 addEventListener<K extends keyof HTMLScAlertElementEventMap>(type: K, listener: (this: HTMLScAlertElement, ev: ScAlertCustomEvent<HTMLScAlertElementEventMap[K]>) => any, options?: boolean | AddEventListenerOptions): void;
4701 addEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
4702 addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
4703 addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
4704 removeEventListener<K extends keyof HTMLScAlertElementEventMap>(type: K, listener: (this: HTMLScAlertElement, ev: ScAlertCustomEvent<HTMLScAlertElementEventMap[K]>) => any, options?: boolean | EventListenerOptions): void;
4705 removeEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
4706 removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
4707 removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
4708 }
4709 var HTMLScAlertElement: {
4710 prototype: HTMLScAlertElement;
4711 new (): HTMLScAlertElement;
4712 };
4713 interface HTMLScAvatarElement extends Components.ScAvatar, HTMLStencilElement {
4714 }
4715 var HTMLScAvatarElement: {
4716 prototype: HTMLScAvatarElement;
4717 new (): HTMLScAvatarElement;
4718 };
4719 interface HTMLScBadgeNoticeElement extends Components.ScBadgeNotice, HTMLStencilElement {
4720 }
4721 var HTMLScBadgeNoticeElement: {
4722 prototype: HTMLScBadgeNoticeElement;
4723 new (): HTMLScBadgeNoticeElement;
4724 };
4725 interface HTMLScBlockUiElement extends Components.ScBlockUi, HTMLStencilElement {
4726 }
4727 var HTMLScBlockUiElement: {
4728 prototype: HTMLScBlockUiElement;
4729 new (): HTMLScBlockUiElement;
4730 };
4731 interface HTMLScBreadcrumbElement extends Components.ScBreadcrumb, HTMLStencilElement {
4732 }
4733 var HTMLScBreadcrumbElement: {
4734 prototype: HTMLScBreadcrumbElement;
4735 new (): HTMLScBreadcrumbElement;
4736 };
4737 interface HTMLScBreadcrumbsElement extends Components.ScBreadcrumbs, HTMLStencilElement {
4738 }
4739 var HTMLScBreadcrumbsElement: {
4740 prototype: HTMLScBreadcrumbsElement;
4741 new (): HTMLScBreadcrumbsElement;
4742 };
4743 interface HTMLScButtonElementEventMap {
4744 "scBlur": void;
4745 "scFocus": void;
4746 }
4747 interface HTMLScButtonElement extends Components.ScButton, HTMLStencilElement {
4748 addEventListener<K extends keyof HTMLScButtonElementEventMap>(type: K, listener: (this: HTMLScButtonElement, ev: ScButtonCustomEvent<HTMLScButtonElementEventMap[K]>) => any, options?: boolean | AddEventListenerOptions): void;
4749 addEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
4750 addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
4751 addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
4752 removeEventListener<K extends keyof HTMLScButtonElementEventMap>(type: K, listener: (this: HTMLScButtonElement, ev: ScButtonCustomEvent<HTMLScButtonElementEventMap[K]>) => any, options?: boolean | EventListenerOptions): void;
4753 removeEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
4754 removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
4755 removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
4756 }
4757 var HTMLScButtonElement: {
4758 prototype: HTMLScButtonElement;
4759 new (): HTMLScButtonElement;
4760 };
4761 interface HTMLScButtonGroupElement extends Components.ScButtonGroup, HTMLStencilElement {
4762 }
4763 var HTMLScButtonGroupElement: {
4764 prototype: HTMLScButtonGroupElement;
4765 new (): HTMLScButtonGroupElement;
4766 };
4767 interface HTMLScCancelDialogElementEventMap {
4768 "scRequestClose": 'close-button' | 'keyboard' | 'overlay';
4769 "scRefresh": void;
4770 }
4771 interface HTMLScCancelDialogElement extends Components.ScCancelDialog, HTMLStencilElement {
4772 addEventListener<K extends keyof HTMLScCancelDialogElementEventMap>(type: K, listener: (this: HTMLScCancelDialogElement, ev: ScCancelDialogCustomEvent<HTMLScCancelDialogElementEventMap[K]>) => any, options?: boolean | AddEventListenerOptions): void;
4773 addEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
4774 addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
4775 addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
4776 removeEventListener<K extends keyof HTMLScCancelDialogElementEventMap>(type: K, listener: (this: HTMLScCancelDialogElement, ev: ScCancelDialogCustomEvent<HTMLScCancelDialogElementEventMap[K]>) => any, options?: boolean | EventListenerOptions): void;
4777 removeEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
4778 removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
4779 removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
4780 }
4781 var HTMLScCancelDialogElement: {
4782 prototype: HTMLScCancelDialogElement;
4783 new (): HTMLScCancelDialogElement;
4784 };
4785 interface HTMLScCancelDiscountElementEventMap {
4786 "scCancel": void;
4787 "scPreserved": void;
4788 }
4789 interface HTMLScCancelDiscountElement extends Components.ScCancelDiscount, HTMLStencilElement {
4790 addEventListener<K extends keyof HTMLScCancelDiscountElementEventMap>(type: K, listener: (this: HTMLScCancelDiscountElement, ev: ScCancelDiscountCustomEvent<HTMLScCancelDiscountElementEventMap[K]>) => any, options?: boolean | AddEventListenerOptions): void;
4791 addEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
4792 addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
4793 addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
4794 removeEventListener<K extends keyof HTMLScCancelDiscountElementEventMap>(type: K, listener: (this: HTMLScCancelDiscountElement, ev: ScCancelDiscountCustomEvent<HTMLScCancelDiscountElementEventMap[K]>) => any, options?: boolean | EventListenerOptions): void;
4795 removeEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
4796 removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
4797 removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
4798 }
4799 var HTMLScCancelDiscountElement: {
4800 prototype: HTMLScCancelDiscountElement;
4801 new (): HTMLScCancelDiscountElement;
4802 };
4803 interface HTMLScCancelSurveyElementEventMap {
4804 "scAbandon": void;
4805 "scSubmitReason": { reason: CancellationReason; comment: string };
4806 }
4807 interface HTMLScCancelSurveyElement extends Components.ScCancelSurvey, HTMLStencilElement {
4808 addEventListener<K extends keyof HTMLScCancelSurveyElementEventMap>(type: K, listener: (this: HTMLScCancelSurveyElement, ev: ScCancelSurveyCustomEvent<HTMLScCancelSurveyElementEventMap[K]>) => any, options?: boolean | AddEventListenerOptions): void;
4809 addEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
4810 addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
4811 addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
4812 removeEventListener<K extends keyof HTMLScCancelSurveyElementEventMap>(type: K, listener: (this: HTMLScCancelSurveyElement, ev: ScCancelSurveyCustomEvent<HTMLScCancelSurveyElementEventMap[K]>) => any, options?: boolean | EventListenerOptions): void;
4813 removeEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
4814 removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
4815 removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
4816 }
4817 var HTMLScCancelSurveyElement: {
4818 prototype: HTMLScCancelSurveyElement;
4819 new (): HTMLScCancelSurveyElement;
4820 };
4821 interface HTMLScCardElement extends Components.ScCard, HTMLStencilElement {
4822 }
4823 var HTMLScCardElement: {
4824 prototype: HTMLScCardElement;
4825 new (): HTMLScCardElement;
4826 };
4827 interface HTMLScCartElement extends Components.ScCart, HTMLStencilElement {
4828 }
4829 var HTMLScCartElement: {
4830 prototype: HTMLScCartElement;
4831 new (): HTMLScCartElement;
4832 };
4833 interface HTMLScCartButtonElement extends Components.ScCartButton, HTMLStencilElement {
4834 }
4835 var HTMLScCartButtonElement: {
4836 prototype: HTMLScCartButtonElement;
4837 new (): HTMLScCartButtonElement;
4838 };
4839 interface HTMLScCartFormElement extends Components.ScCartForm, HTMLStencilElement {
4840 }
4841 var HTMLScCartFormElement: {
4842 prototype: HTMLScCartFormElement;
4843 new (): HTMLScCartFormElement;
4844 };
4845 interface HTMLScCartFormSubmitElement extends Components.ScCartFormSubmit, HTMLStencilElement {
4846 }
4847 var HTMLScCartFormSubmitElement: {
4848 prototype: HTMLScCartFormSubmitElement;
4849 new (): HTMLScCartFormSubmitElement;
4850 };
4851 interface HTMLScCartHeaderElementEventMap {
4852 "scCloseCart": void;
4853 }
4854 interface HTMLScCartHeaderElement extends Components.ScCartHeader, HTMLStencilElement {
4855 addEventListener<K extends keyof HTMLScCartHeaderElementEventMap>(type: K, listener: (this: HTMLScCartHeaderElement, ev: ScCartHeaderCustomEvent<HTMLScCartHeaderElementEventMap[K]>) => any, options?: boolean | AddEventListenerOptions): void;
4856 addEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
4857 addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
4858 addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
4859 removeEventListener<K extends keyof HTMLScCartHeaderElementEventMap>(type: K, listener: (this: HTMLScCartHeaderElement, ev: ScCartHeaderCustomEvent<HTMLScCartHeaderElementEventMap[K]>) => any, options?: boolean | EventListenerOptions): void;
4860 removeEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
4861 removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
4862 removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
4863 }
4864 var HTMLScCartHeaderElement: {
4865 prototype: HTMLScCartHeaderElement;
4866 new (): HTMLScCartHeaderElement;
4867 };
4868 interface HTMLScCartIconElement extends Components.ScCartIcon, HTMLStencilElement {
4869 }
4870 var HTMLScCartIconElement: {
4871 prototype: HTMLScCartIconElement;
4872 new (): HTMLScCartIconElement;
4873 };
4874 interface HTMLScCartLoaderElement extends Components.ScCartLoader, HTMLStencilElement {
4875 }
4876 var HTMLScCartLoaderElement: {
4877 prototype: HTMLScCartLoaderElement;
4878 new (): HTMLScCartLoaderElement;
4879 };
4880 interface HTMLScCartSessionProviderElementEventMap {
4881 "scSetState": 'loading' | 'busy' | 'navigating' | 'idle';
4882 }
4883 interface HTMLScCartSessionProviderElement extends Components.ScCartSessionProvider, HTMLStencilElement {
4884 addEventListener<K extends keyof HTMLScCartSessionProviderElementEventMap>(type: K, listener: (this: HTMLScCartSessionProviderElement, ev: ScCartSessionProviderCustomEvent<HTMLScCartSessionProviderElementEventMap[K]>) => any, options?: boolean | AddEventListenerOptions): void;
4885 addEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
4886 addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
4887 addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
4888 removeEventListener<K extends keyof HTMLScCartSessionProviderElementEventMap>(type: K, listener: (this: HTMLScCartSessionProviderElement, ev: ScCartSessionProviderCustomEvent<HTMLScCartSessionProviderElementEventMap[K]>) => any, options?: boolean | EventListenerOptions): void;
4889 removeEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
4890 removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
4891 removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
4892 }
4893 var HTMLScCartSessionProviderElement: {
4894 prototype: HTMLScCartSessionProviderElement;
4895 new (): HTMLScCartSessionProviderElement;
4896 };
4897 interface HTMLScCartSubmitElement extends Components.ScCartSubmit, HTMLStencilElement {
4898 }
4899 var HTMLScCartSubmitElement: {
4900 prototype: HTMLScCartSubmitElement;
4901 new (): HTMLScCartSubmitElement;
4902 };
4903 interface HTMLScCcLogoElement extends Components.ScCcLogo, HTMLStencilElement {
4904 }
4905 var HTMLScCcLogoElement: {
4906 prototype: HTMLScCcLogoElement;
4907 new (): HTMLScCcLogoElement;
4908 };
4909 interface HTMLScChargesListElement extends Components.ScChargesList, HTMLStencilElement {
4910 }
4911 var HTMLScChargesListElement: {
4912 prototype: HTMLScChargesListElement;
4913 new (): HTMLScChargesListElement;
4914 };
4915 interface HTMLScCheckboxElementEventMap {
4916 "scBlur": void;
4917 "scChange": void;
4918 "scFocus": void;
4919 }
4920 interface HTMLScCheckboxElement extends Components.ScCheckbox, HTMLStencilElement {
4921 addEventListener<K extends keyof HTMLScCheckboxElementEventMap>(type: K, listener: (this: HTMLScCheckboxElement, ev: ScCheckboxCustomEvent<HTMLScCheckboxElementEventMap[K]>) => any, options?: boolean | AddEventListenerOptions): void;
4922 addEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
4923 addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
4924 addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
4925 removeEventListener<K extends keyof HTMLScCheckboxElementEventMap>(type: K, listener: (this: HTMLScCheckboxElement, ev: ScCheckboxCustomEvent<HTMLScCheckboxElementEventMap[K]>) => any, options?: boolean | EventListenerOptions): void;
4926 removeEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
4927 removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
4928 removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
4929 }
4930 var HTMLScCheckboxElement: {
4931 prototype: HTMLScCheckboxElement;
4932 new (): HTMLScCheckboxElement;
4933 };
4934 interface HTMLScCheckoutElementEventMap {
4935 "scOrderUpdated": Checkout;
4936 "scOrderFinalized": Checkout;
4937 "scOrderError": ResponseError;
4938 }
4939 interface HTMLScCheckoutElement extends Components.ScCheckout, HTMLStencilElement {
4940 addEventListener<K extends keyof HTMLScCheckoutElementEventMap>(type: K, listener: (this: HTMLScCheckoutElement, ev: ScCheckoutCustomEvent<HTMLScCheckoutElementEventMap[K]>) => any, options?: boolean | AddEventListenerOptions): void;
4941 addEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
4942 addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
4943 addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
4944 removeEventListener<K extends keyof HTMLScCheckoutElementEventMap>(type: K, listener: (this: HTMLScCheckoutElement, ev: ScCheckoutCustomEvent<HTMLScCheckoutElementEventMap[K]>) => any, options?: boolean | EventListenerOptions): void;
4945 removeEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
4946 removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
4947 removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
4948 }
4949 var HTMLScCheckoutElement: {
4950 prototype: HTMLScCheckoutElement;
4951 new (): HTMLScCheckoutElement;
4952 };
4953 interface HTMLScCheckoutAutofillProviderElement extends Components.ScCheckoutAutofillProvider, HTMLStencilElement {
4954 }
4955 var HTMLScCheckoutAutofillProviderElement: {
4956 prototype: HTMLScCheckoutAutofillProviderElement;
4957 new (): HTMLScCheckoutAutofillProviderElement;
4958 };
4959 /**
4960 * This component listens for a confirmed event and redirects to the success url.
4961 */
4962 interface HTMLScCheckoutFormErrorsElement extends Components.ScCheckoutFormErrors, HTMLStencilElement {
4963 }
4964 var HTMLScCheckoutFormErrorsElement: {
4965 prototype: HTMLScCheckoutFormErrorsElement;
4966 new (): HTMLScCheckoutFormErrorsElement;
4967 };
4968 /**
4969 * Explains why location is requested (e.g. regional / purchasing-power-parity pricing) and gates
4970 * the browser geolocation prompt behind an explicit opt-in when capture is enabled by the merchant.
4971 */
4972 interface HTMLScCheckoutGeoPermissionElement extends Components.ScCheckoutGeoPermission, HTMLStencilElement {
4973 }
4974 var HTMLScCheckoutGeoPermissionElement: {
4975 prototype: HTMLScCheckoutGeoPermissionElement;
4976 new (): HTMLScCheckoutGeoPermissionElement;
4977 };
4978 interface HTMLScCheckoutMolliePaymentElement extends Components.ScCheckoutMolliePayment, HTMLStencilElement {
4979 }
4980 var HTMLScCheckoutMolliePaymentElement: {
4981 prototype: HTMLScCheckoutMolliePaymentElement;
4982 new (): HTMLScCheckoutMolliePaymentElement;
4983 };
4984 interface HTMLScCheckoutPaystackPaymentProviderElement extends Components.ScCheckoutPaystackPaymentProvider, HTMLStencilElement {
4985 }
4986 var HTMLScCheckoutPaystackPaymentProviderElement: {
4987 prototype: HTMLScCheckoutPaystackPaymentProviderElement;
4988 new (): HTMLScCheckoutPaystackPaymentProviderElement;
4989 };
4990 /**
4991 * Checkout-side picker for bundle component variants. Mirrors the PDP bundle
4992 * picker (the scope-aware `surecart/product-variant-pills` block) but writes the
4993 * selection straight into the bundle line item's `bundle_component_variants`.
4994 */
4995 interface HTMLScCheckoutProductBundleComponentVariantsElement extends Components.ScCheckoutProductBundleComponentVariants, HTMLStencilElement {
4996 }
4997 var HTMLScCheckoutProductBundleComponentVariantsElement: {
4998 prototype: HTMLScCheckoutProductBundleComponentVariantsElement;
4999 new (): HTMLScCheckoutProductBundleComponentVariantsElement;
5000 };
5001 interface HTMLScCheckoutProductPriceVariantSelectorElement extends Components.ScCheckoutProductPriceVariantSelector, HTMLStencilElement {
5002 }
5003 var HTMLScCheckoutProductPriceVariantSelectorElement: {
5004 prototype: HTMLScCheckoutProductPriceVariantSelectorElement;
5005 new (): HTMLScCheckoutProductPriceVariantSelectorElement;
5006 };
5007 interface HTMLScCheckoutRazorpayPaymentProviderElement extends Components.ScCheckoutRazorpayPaymentProvider, HTMLStencilElement {
5008 }
5009 var HTMLScCheckoutRazorpayPaymentProviderElement: {
5010 prototype: HTMLScCheckoutRazorpayPaymentProviderElement;
5011 new (): HTMLScCheckoutRazorpayPaymentProviderElement;
5012 };
5013 interface HTMLScCheckoutStockAlertElementEventMap {
5014 "scUpdateLineItem": LineItemData;
5015 }
5016 /**
5017 * This component listens for stock requirements and displays a dialog to the user.
5018 */
5019 interface HTMLScCheckoutStockAlertElement extends Components.ScCheckoutStockAlert, HTMLStencilElement {
5020 addEventListener<K extends keyof HTMLScCheckoutStockAlertElementEventMap>(type: K, listener: (this: HTMLScCheckoutStockAlertElement, ev: ScCheckoutStockAlertCustomEvent<HTMLScCheckoutStockAlertElementEventMap[K]>) => any, options?: boolean | AddEventListenerOptions): void;
5021 addEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
5022 addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
5023 addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
5024 removeEventListener<K extends keyof HTMLScCheckoutStockAlertElementEventMap>(type: K, listener: (this: HTMLScCheckoutStockAlertElement, ev: ScCheckoutStockAlertCustomEvent<HTMLScCheckoutStockAlertElementEventMap[K]>) => any, options?: boolean | EventListenerOptions): void;
5025 removeEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
5026 removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
5027 removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
5028 }
5029 var HTMLScCheckoutStockAlertElement: {
5030 prototype: HTMLScCheckoutStockAlertElement;
5031 new (): HTMLScCheckoutStockAlertElement;
5032 };
5033 interface HTMLScCheckoutTestCompleteElementEventMap {
5034 "scOrderPaid": Checkout;
5035 "scSetState": string;
5036 }
5037 /**
5038 * This component listens to the order status
5039 * and confirms the order when payment is successful.
5040 */
5041 interface HTMLScCheckoutTestCompleteElement extends Components.ScCheckoutTestComplete, HTMLStencilElement {
5042 addEventListener<K extends keyof HTMLScCheckoutTestCompleteElementEventMap>(type: K, listener: (this: HTMLScCheckoutTestCompleteElement, ev: ScCheckoutTestCompleteCustomEvent<HTMLScCheckoutTestCompleteElementEventMap[K]>) => any, options?: boolean | AddEventListenerOptions): void;
5043 addEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
5044 addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
5045 addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
5046 removeEventListener<K extends keyof HTMLScCheckoutTestCompleteElementEventMap>(type: K, listener: (this: HTMLScCheckoutTestCompleteElement, ev: ScCheckoutTestCompleteCustomEvent<HTMLScCheckoutTestCompleteElementEventMap[K]>) => any, options?: boolean | EventListenerOptions): void;
5047 removeEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
5048 removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
5049 removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
5050 }
5051 var HTMLScCheckoutTestCompleteElement: {
5052 prototype: HTMLScCheckoutTestCompleteElement;
5053 new (): HTMLScCheckoutTestCompleteElement;
5054 };
5055 interface HTMLScCheckoutUnsavedChangesWarningElement extends Components.ScCheckoutUnsavedChangesWarning, HTMLStencilElement {
5056 }
5057 var HTMLScCheckoutUnsavedChangesWarningElement: {
5058 prototype: HTMLScCheckoutUnsavedChangesWarningElement;
5059 new (): HTMLScCheckoutUnsavedChangesWarningElement;
5060 };
5061 interface HTMLScChoiceElementEventMap {
5062 "scBlur": void;
5063 "scChange": boolean;
5064 "scFocus": void;
5065 }
5066 interface HTMLScChoiceElement extends Components.ScChoice, HTMLStencilElement {
5067 addEventListener<K extends keyof HTMLScChoiceElementEventMap>(type: K, listener: (this: HTMLScChoiceElement, ev: ScChoiceCustomEvent<HTMLScChoiceElementEventMap[K]>) => any, options?: boolean | AddEventListenerOptions): void;
5068 addEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
5069 addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
5070 addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
5071 removeEventListener<K extends keyof HTMLScChoiceElementEventMap>(type: K, listener: (this: HTMLScChoiceElement, ev: ScChoiceCustomEvent<HTMLScChoiceElementEventMap[K]>) => any, options?: boolean | EventListenerOptions): void;
5072 removeEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
5073 removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
5074 removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
5075 }
5076 var HTMLScChoiceElement: {
5077 prototype: HTMLScChoiceElement;
5078 new (): HTMLScChoiceElement;
5079 };
5080 interface HTMLScChoiceContainerElementEventMap {
5081 "scBlur": void;
5082 "scChange": boolean;
5083 "scFocus": void;
5084 }
5085 interface HTMLScChoiceContainerElement extends Components.ScChoiceContainer, HTMLStencilElement {
5086 addEventListener<K extends keyof HTMLScChoiceContainerElementEventMap>(type: K, listener: (this: HTMLScChoiceContainerElement, ev: ScChoiceContainerCustomEvent<HTMLScChoiceContainerElementEventMap[K]>) => any, options?: boolean | AddEventListenerOptions): void;
5087 addEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
5088 addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
5089 addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
5090 removeEventListener<K extends keyof HTMLScChoiceContainerElementEventMap>(type: K, listener: (this: HTMLScChoiceContainerElement, ev: ScChoiceContainerCustomEvent<HTMLScChoiceContainerElementEventMap[K]>) => any, options?: boolean | EventListenerOptions): void;
5091 removeEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
5092 removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
5093 removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
5094 }
5095 var HTMLScChoiceContainerElement: {
5096 prototype: HTMLScChoiceContainerElement;
5097 new (): HTMLScChoiceContainerElement;
5098 };
5099 interface HTMLScChoicesElement extends Components.ScChoices, HTMLStencilElement {
5100 }
5101 var HTMLScChoicesElement: {
5102 prototype: HTMLScChoicesElement;
5103 new (): HTMLScChoicesElement;
5104 };
5105 interface HTMLScColumnElement extends Components.ScColumn, HTMLStencilElement {
5106 }
5107 var HTMLScColumnElement: {
5108 prototype: HTMLScColumnElement;
5109 new (): HTMLScColumnElement;
5110 };
5111 interface HTMLScColumnsElement extends Components.ScColumns, HTMLStencilElement {
5112 }
5113 var HTMLScColumnsElement: {
5114 prototype: HTMLScColumnsElement;
5115 new (): HTMLScColumnsElement;
5116 };
5117 interface HTMLScCompactAddressElementEventMap {
5118 "scChangeAddress": Partial<Address>;
5119 "scInputAddress": Partial<Address>;
5120 }
5121 interface HTMLScCompactAddressElement extends Components.ScCompactAddress, HTMLStencilElement {
5122 addEventListener<K extends keyof HTMLScCompactAddressElementEventMap>(type: K, listener: (this: HTMLScCompactAddressElement, ev: ScCompactAddressCustomEvent<HTMLScCompactAddressElementEventMap[K]>) => any, options?: boolean | AddEventListenerOptions): void;
5123 addEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
5124 addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
5125 addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
5126 removeEventListener<K extends keyof HTMLScCompactAddressElementEventMap>(type: K, listener: (this: HTMLScCompactAddressElement, ev: ScCompactAddressCustomEvent<HTMLScCompactAddressElementEventMap[K]>) => any, options?: boolean | EventListenerOptions): void;
5127 removeEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
5128 removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
5129 removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
5130 }
5131 var HTMLScCompactAddressElement: {
5132 prototype: HTMLScCompactAddressElement;
5133 new (): HTMLScCompactAddressElement;
5134 };
5135 interface HTMLScConditionalFormElement extends Components.ScConditionalForm, HTMLStencilElement {
5136 }
5137 var HTMLScConditionalFormElement: {
5138 prototype: HTMLScConditionalFormElement;
5139 new (): HTMLScConditionalFormElement;
5140 };
5141 interface HTMLScConsumerElementEventMap {
5142 "mountConsumer": any;
5143 }
5144 interface HTMLScConsumerElement extends Components.ScConsumer, HTMLStencilElement {
5145 addEventListener<K extends keyof HTMLScConsumerElementEventMap>(type: K, listener: (this: HTMLScConsumerElement, ev: ScConsumerCustomEvent<HTMLScConsumerElementEventMap[K]>) => any, options?: boolean | AddEventListenerOptions): void;
5146 addEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
5147 addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
5148 addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
5149 removeEventListener<K extends keyof HTMLScConsumerElementEventMap>(type: K, listener: (this: HTMLScConsumerElement, ev: ScConsumerCustomEvent<HTMLScConsumerElementEventMap[K]>) => any, options?: boolean | EventListenerOptions): void;
5150 removeEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
5151 removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
5152 removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
5153 }
5154 var HTMLScConsumerElement: {
5155 prototype: HTMLScConsumerElement;
5156 new (): HTMLScConsumerElement;
5157 };
5158 interface HTMLScCouponFormElementEventMap {
5159 "scApplyCoupon": string;
5160 }
5161 interface HTMLScCouponFormElement extends Components.ScCouponForm, HTMLStencilElement {
5162 addEventListener<K extends keyof HTMLScCouponFormElementEventMap>(type: K, listener: (this: HTMLScCouponFormElement, ev: ScCouponFormCustomEvent<HTMLScCouponFormElementEventMap[K]>) => any, options?: boolean | AddEventListenerOptions): void;
5163 addEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
5164 addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
5165 addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
5166 removeEventListener<K extends keyof HTMLScCouponFormElementEventMap>(type: K, listener: (this: HTMLScCouponFormElement, ev: ScCouponFormCustomEvent<HTMLScCouponFormElementEventMap[K]>) => any, options?: boolean | EventListenerOptions): void;
5167 removeEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
5168 removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
5169 removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
5170 }
5171 var HTMLScCouponFormElement: {
5172 prototype: HTMLScCouponFormElement;
5173 new (): HTMLScCouponFormElement;
5174 };
5175 interface HTMLScCustomOrderPriceInputElementEventMap {
5176 "scUpdateLineItem": LineItemData1;
5177 }
5178 interface HTMLScCustomOrderPriceInputElement extends Components.ScCustomOrderPriceInput, HTMLStencilElement {
5179 addEventListener<K extends keyof HTMLScCustomOrderPriceInputElementEventMap>(type: K, listener: (this: HTMLScCustomOrderPriceInputElement, ev: ScCustomOrderPriceInputCustomEvent<HTMLScCustomOrderPriceInputElementEventMap[K]>) => any, options?: boolean | AddEventListenerOptions): void;
5180 addEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
5181 addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
5182 addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
5183 removeEventListener<K extends keyof HTMLScCustomOrderPriceInputElementEventMap>(type: K, listener: (this: HTMLScCustomOrderPriceInputElement, ev: ScCustomOrderPriceInputCustomEvent<HTMLScCustomOrderPriceInputElementEventMap[K]>) => any, options?: boolean | EventListenerOptions): void;
5184 removeEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
5185 removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
5186 removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
5187 }
5188 var HTMLScCustomOrderPriceInputElement: {
5189 prototype: HTMLScCustomOrderPriceInputElement;
5190 new (): HTMLScCustomOrderPriceInputElement;
5191 };
5192 interface HTMLScCustomerDetailsElement extends Components.ScCustomerDetails, HTMLStencilElement {
5193 }
5194 var HTMLScCustomerDetailsElement: {
5195 prototype: HTMLScCustomerDetailsElement;
5196 new (): HTMLScCustomerDetailsElement;
5197 };
5198 interface HTMLScCustomerEditElement extends Components.ScCustomerEdit, HTMLStencilElement {
5199 }
5200 var HTMLScCustomerEditElement: {
5201 prototype: HTMLScCustomerEditElement;
5202 new (): HTMLScCustomerEditElement;
5203 };
5204 interface HTMLScCustomerEmailElementEventMap {
5205 "scChange": void;
5206 "scClear": void;
5207 "scInput": void;
5208 "scFocus": void;
5209 "scBlur": void;
5210 "scUpdateOrderState": Checkout;
5211 "scUpdateAbandonedCart": boolean;
5212 "scLoginPrompt": void;
5213 }
5214 interface HTMLScCustomerEmailElement extends Components.ScCustomerEmail, HTMLStencilElement {
5215 addEventListener<K extends keyof HTMLScCustomerEmailElementEventMap>(type: K, listener: (this: HTMLScCustomerEmailElement, ev: ScCustomerEmailCustomEvent<HTMLScCustomerEmailElementEventMap[K]>) => any, options?: boolean | AddEventListenerOptions): void;
5216 addEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
5217 addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
5218 addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
5219 removeEventListener<K extends keyof HTMLScCustomerEmailElementEventMap>(type: K, listener: (this: HTMLScCustomerEmailElement, ev: ScCustomerEmailCustomEvent<HTMLScCustomerEmailElementEventMap[K]>) => any, options?: boolean | EventListenerOptions): void;
5220 removeEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
5221 removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
5222 removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
5223 }
5224 var HTMLScCustomerEmailElement: {
5225 prototype: HTMLScCustomerEmailElement;
5226 new (): HTMLScCustomerEmailElement;
5227 };
5228 interface HTMLScCustomerFirstnameElementEventMap {
5229 "scChange": void;
5230 "scUpdateOrderState": Partial<Checkout>;
5231 "scClear": void;
5232 "scInput": void;
5233 "scFocus": void;
5234 "scBlur": void;
5235 "scUpdateCustomer": { email: string };
5236 }
5237 interface HTMLScCustomerFirstnameElement extends Components.ScCustomerFirstname, HTMLStencilElement {
5238 addEventListener<K extends keyof HTMLScCustomerFirstnameElementEventMap>(type: K, listener: (this: HTMLScCustomerFirstnameElement, ev: ScCustomerFirstnameCustomEvent<HTMLScCustomerFirstnameElementEventMap[K]>) => any, options?: boolean | AddEventListenerOptions): void;
5239 addEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
5240 addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
5241 addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
5242 removeEventListener<K extends keyof HTMLScCustomerFirstnameElementEventMap>(type: K, listener: (this: HTMLScCustomerFirstnameElement, ev: ScCustomerFirstnameCustomEvent<HTMLScCustomerFirstnameElementEventMap[K]>) => any, options?: boolean | EventListenerOptions): void;
5243 removeEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
5244 removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
5245 removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
5246 }
5247 var HTMLScCustomerFirstnameElement: {
5248 prototype: HTMLScCustomerFirstnameElement;
5249 new (): HTMLScCustomerFirstnameElement;
5250 };
5251 interface HTMLScCustomerLastnameElementEventMap {
5252 "scInput": void;
5253 "scFocus": void;
5254 "scBlur": void;
5255 }
5256 interface HTMLScCustomerLastnameElement extends Components.ScCustomerLastname, HTMLStencilElement {
5257 addEventListener<K extends keyof HTMLScCustomerLastnameElementEventMap>(type: K, listener: (this: HTMLScCustomerLastnameElement, ev: ScCustomerLastnameCustomEvent<HTMLScCustomerLastnameElementEventMap[K]>) => any, options?: boolean | AddEventListenerOptions): void;
5258 addEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
5259 addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
5260 addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
5261 removeEventListener<K extends keyof HTMLScCustomerLastnameElementEventMap>(type: K, listener: (this: HTMLScCustomerLastnameElement, ev: ScCustomerLastnameCustomEvent<HTMLScCustomerLastnameElementEventMap[K]>) => any, options?: boolean | EventListenerOptions): void;
5262 removeEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
5263 removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
5264 removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
5265 }
5266 var HTMLScCustomerLastnameElement: {
5267 prototype: HTMLScCustomerLastnameElement;
5268 new (): HTMLScCustomerLastnameElement;
5269 };
5270 interface HTMLScCustomerLoginElement extends Components.ScCustomerLogin, HTMLStencilElement {
5271 }
5272 var HTMLScCustomerLoginElement: {
5273 prototype: HTMLScCustomerLoginElement;
5274 new (): HTMLScCustomerLoginElement;
5275 };
5276 interface HTMLScCustomerNameElementEventMap {
5277 "scInput": void;
5278 "scFocus": void;
5279 "scBlur": void;
5280 }
5281 interface HTMLScCustomerNameElement extends Components.ScCustomerName, HTMLStencilElement {
5282 addEventListener<K extends keyof HTMLScCustomerNameElementEventMap>(type: K, listener: (this: HTMLScCustomerNameElement, ev: ScCustomerNameCustomEvent<HTMLScCustomerNameElementEventMap[K]>) => any, options?: boolean | AddEventListenerOptions): void;
5283 addEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
5284 addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
5285 addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
5286 removeEventListener<K extends keyof HTMLScCustomerNameElementEventMap>(type: K, listener: (this: HTMLScCustomerNameElement, ev: ScCustomerNameCustomEvent<HTMLScCustomerNameElementEventMap[K]>) => any, options?: boolean | EventListenerOptions): void;
5287 removeEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
5288 removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
5289 removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
5290 }
5291 var HTMLScCustomerNameElement: {
5292 prototype: HTMLScCustomerNameElement;
5293 new (): HTMLScCustomerNameElement;
5294 };
5295 interface HTMLScCustomerPhoneElementEventMap {
5296 "scChange": void;
5297 "scClear": void;
5298 "scInput": void;
5299 "scFocus": void;
5300 "scBlur": void;
5301 }
5302 interface HTMLScCustomerPhoneElement extends Components.ScCustomerPhone, HTMLStencilElement {
5303 addEventListener<K extends keyof HTMLScCustomerPhoneElementEventMap>(type: K, listener: (this: HTMLScCustomerPhoneElement, ev: ScCustomerPhoneCustomEvent<HTMLScCustomerPhoneElementEventMap[K]>) => any, options?: boolean | AddEventListenerOptions): void;
5304 addEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
5305 addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
5306 addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
5307 removeEventListener<K extends keyof HTMLScCustomerPhoneElementEventMap>(type: K, listener: (this: HTMLScCustomerPhoneElement, ev: ScCustomerPhoneCustomEvent<HTMLScCustomerPhoneElementEventMap[K]>) => any, options?: boolean | EventListenerOptions): void;
5308 removeEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
5309 removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
5310 removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
5311 }
5312 var HTMLScCustomerPhoneElement: {
5313 prototype: HTMLScCustomerPhoneElement;
5314 new (): HTMLScCustomerPhoneElement;
5315 };
5316 interface HTMLScDashboardCustomerDetailsElement extends Components.ScDashboardCustomerDetails, HTMLStencilElement {
5317 }
5318 var HTMLScDashboardCustomerDetailsElement: {
5319 prototype: HTMLScDashboardCustomerDetailsElement;
5320 new (): HTMLScDashboardCustomerDetailsElement;
5321 };
5322 interface HTMLScDashboardDownloadsListElement extends Components.ScDashboardDownloadsList, HTMLStencilElement {
5323 }
5324 var HTMLScDashboardDownloadsListElement: {
5325 prototype: HTMLScDashboardDownloadsListElement;
5326 new (): HTMLScDashboardDownloadsListElement;
5327 };
5328 interface HTMLScDashboardModuleElement extends Components.ScDashboardModule, HTMLStencilElement {
5329 }
5330 var HTMLScDashboardModuleElement: {
5331 prototype: HTMLScDashboardModuleElement;
5332 new (): HTMLScDashboardModuleElement;
5333 };
5334 interface HTMLScDialogElementEventMap {
5335 "scRequestClose": 'close-button' | 'keyboard' | 'overlay';
5336 "scShow": void;
5337 "scAfterShow": void;
5338 "scHide": void;
5339 "scAfterHide": void;
5340 "scInitialFocus": void;
5341 }
5342 interface HTMLScDialogElement extends Components.ScDialog, HTMLStencilElement {
5343 addEventListener<K extends keyof HTMLScDialogElementEventMap>(type: K, listener: (this: HTMLScDialogElement, ev: ScDialogCustomEvent<HTMLScDialogElementEventMap[K]>) => any, options?: boolean | AddEventListenerOptions): void;
5344 addEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
5345 addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
5346 addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
5347 removeEventListener<K extends keyof HTMLScDialogElementEventMap>(type: K, listener: (this: HTMLScDialogElement, ev: ScDialogCustomEvent<HTMLScDialogElementEventMap[K]>) => any, options?: boolean | EventListenerOptions): void;
5348 removeEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
5349 removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
5350 removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
5351 }
5352 var HTMLScDialogElement: {
5353 prototype: HTMLScDialogElement;
5354 new (): HTMLScDialogElement;
5355 };
5356 interface HTMLScDividerElement extends Components.ScDivider, HTMLStencilElement {
5357 }
5358 var HTMLScDividerElement: {
5359 prototype: HTMLScDividerElement;
5360 new (): HTMLScDividerElement;
5361 };
5362 interface HTMLScDonationChoicesElementEventMap {
5363 "scRemoveLineItem": LineItemData1;
5364 "scUpdateLineItem": LineItemData1;
5365 "scAddLineItem": LineItemData1;
5366 }
5367 interface HTMLScDonationChoicesElement extends Components.ScDonationChoices, HTMLStencilElement {
5368 addEventListener<K extends keyof HTMLScDonationChoicesElementEventMap>(type: K, listener: (this: HTMLScDonationChoicesElement, ev: ScDonationChoicesCustomEvent<HTMLScDonationChoicesElementEventMap[K]>) => any, options?: boolean | AddEventListenerOptions): void;
5369 addEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
5370 addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
5371 addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
5372 removeEventListener<K extends keyof HTMLScDonationChoicesElementEventMap>(type: K, listener: (this: HTMLScDonationChoicesElement, ev: ScDonationChoicesCustomEvent<HTMLScDonationChoicesElementEventMap[K]>) => any, options?: boolean | EventListenerOptions): void;
5373 removeEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
5374 removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
5375 removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
5376 }
5377 var HTMLScDonationChoicesElement: {
5378 prototype: HTMLScDonationChoicesElement;
5379 new (): HTMLScDonationChoicesElement;
5380 };
5381 interface HTMLScDownloadsListElement extends Components.ScDownloadsList, HTMLStencilElement {
5382 }
5383 var HTMLScDownloadsListElement: {
5384 prototype: HTMLScDownloadsListElement;
5385 new (): HTMLScDownloadsListElement;
5386 };
5387 interface HTMLScDrawerElementEventMap {
5388 "scInitialFocus": void;
5389 "scRequestClose": 'close-button' | 'keyboard' | 'overlay' | 'method';
5390 "scShow": void;
5391 "scHide": void;
5392 "scAfterShow": void;
5393 "scAfterHide": void;
5394 }
5395 interface HTMLScDrawerElement extends Components.ScDrawer, HTMLStencilElement {
5396 addEventListener<K extends keyof HTMLScDrawerElementEventMap>(type: K, listener: (this: HTMLScDrawerElement, ev: ScDrawerCustomEvent<HTMLScDrawerElementEventMap[K]>) => any, options?: boolean | AddEventListenerOptions): void;
5397 addEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
5398 addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
5399 addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
5400 removeEventListener<K extends keyof HTMLScDrawerElementEventMap>(type: K, listener: (this: HTMLScDrawerElement, ev: ScDrawerCustomEvent<HTMLScDrawerElementEventMap[K]>) => any, options?: boolean | EventListenerOptions): void;
5401 removeEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
5402 removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
5403 removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
5404 }
5405 var HTMLScDrawerElement: {
5406 prototype: HTMLScDrawerElement;
5407 new (): HTMLScDrawerElement;
5408 };
5409 interface HTMLScDropdownElementEventMap {
5410 "scShow": void;
5411 "scHide": void;
5412 }
5413 interface HTMLScDropdownElement extends Components.ScDropdown, HTMLStencilElement {
5414 addEventListener<K extends keyof HTMLScDropdownElementEventMap>(type: K, listener: (this: HTMLScDropdownElement, ev: ScDropdownCustomEvent<HTMLScDropdownElementEventMap[K]>) => any, options?: boolean | AddEventListenerOptions): void;
5415 addEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
5416 addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
5417 addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
5418 removeEventListener<K extends keyof HTMLScDropdownElementEventMap>(type: K, listener: (this: HTMLScDropdownElement, ev: ScDropdownCustomEvent<HTMLScDropdownElementEventMap[K]>) => any, options?: boolean | EventListenerOptions): void;
5419 removeEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
5420 removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
5421 removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
5422 }
5423 var HTMLScDropdownElement: {
5424 prototype: HTMLScDropdownElement;
5425 new (): HTMLScDropdownElement;
5426 };
5427 interface HTMLScEmptyElement extends Components.ScEmpty, HTMLStencilElement {
5428 }
5429 var HTMLScEmptyElement: {
5430 prototype: HTMLScEmptyElement;
5431 new (): HTMLScEmptyElement;
5432 };
5433 interface HTMLScErrorElementEventMap {
5434 "scUpdateError": ResponseError;
5435 }
5436 interface HTMLScErrorElement extends Components.ScError, HTMLStencilElement {
5437 addEventListener<K extends keyof HTMLScErrorElementEventMap>(type: K, listener: (this: HTMLScErrorElement, ev: ScErrorCustomEvent<HTMLScErrorElementEventMap[K]>) => any, options?: boolean | AddEventListenerOptions): void;
5438 addEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
5439 addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
5440 addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
5441 removeEventListener<K extends keyof HTMLScErrorElementEventMap>(type: K, listener: (this: HTMLScErrorElement, ev: ScErrorCustomEvent<HTMLScErrorElementEventMap[K]>) => any, options?: boolean | EventListenerOptions): void;
5442 removeEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
5443 removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
5444 removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
5445 }
5446 var HTMLScErrorElement: {
5447 prototype: HTMLScErrorElement;
5448 new (): HTMLScErrorElement;
5449 };
5450 interface HTMLScExpressPaymentElement extends Components.ScExpressPayment, HTMLStencilElement {
5451 }
5452 var HTMLScExpressPaymentElement: {
5453 prototype: HTMLScExpressPaymentElement;
5454 new (): HTMLScExpressPaymentElement;
5455 };
5456 interface HTMLScFeatureDemoBannerElement extends Components.ScFeatureDemoBanner, HTMLStencilElement {
5457 }
5458 var HTMLScFeatureDemoBannerElement: {
5459 prototype: HTMLScFeatureDemoBannerElement;
5460 new (): HTMLScFeatureDemoBannerElement;
5461 };
5462 interface HTMLScFlexElement extends Components.ScFlex, HTMLStencilElement {
5463 }
5464 var HTMLScFlexElement: {
5465 prototype: HTMLScFlexElement;
5466 new (): HTMLScFlexElement;
5467 };
5468 interface HTMLScFormElementEventMap {
5469 "scSubmit": void;
5470 "scFormSubmit": void;
5471 "scFormChange": Object;
5472 }
5473 interface HTMLScFormElement extends Components.ScForm, HTMLStencilElement {
5474 addEventListener<K extends keyof HTMLScFormElementEventMap>(type: K, listener: (this: HTMLScFormElement, ev: ScFormCustomEvent<HTMLScFormElementEventMap[K]>) => any, options?: boolean | AddEventListenerOptions): void;
5475 addEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
5476 addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
5477 addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
5478 removeEventListener<K extends keyof HTMLScFormElementEventMap>(type: K, listener: (this: HTMLScFormElement, ev: ScFormCustomEvent<HTMLScFormElementEventMap[K]>) => any, options?: boolean | EventListenerOptions): void;
5479 removeEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
5480 removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
5481 removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
5482 }
5483 var HTMLScFormElement: {
5484 prototype: HTMLScFormElement;
5485 new (): HTMLScFormElement;
5486 };
5487 interface HTMLScFormComponentsValidatorElement extends Components.ScFormComponentsValidator, HTMLStencilElement {
5488 }
5489 var HTMLScFormComponentsValidatorElement: {
5490 prototype: HTMLScFormComponentsValidatorElement;
5491 new (): HTMLScFormComponentsValidatorElement;
5492 };
5493 interface HTMLScFormControlElement extends Components.ScFormControl, HTMLStencilElement {
5494 }
5495 var HTMLScFormControlElement: {
5496 prototype: HTMLScFormControlElement;
5497 new (): HTMLScFormControlElement;
5498 };
5499 /**
5500 * This component checks to make sure there is an error component
5501 * and adds one if it's missing.
5502 */
5503 interface HTMLScFormErrorProviderElement extends Components.ScFormErrorProvider, HTMLStencilElement {
5504 }
5505 var HTMLScFormErrorProviderElement: {
5506 prototype: HTMLScFormErrorProviderElement;
5507 new (): HTMLScFormErrorProviderElement;
5508 };
5509 interface HTMLScFormRowElement extends Components.ScFormRow, HTMLStencilElement {
5510 }
5511 var HTMLScFormRowElement: {
5512 prototype: HTMLScFormRowElement;
5513 new (): HTMLScFormRowElement;
5514 };
5515 interface HTMLScFormStateProviderElementEventMap {
5516 "scSetCheckoutFormState": FormState;
5517 }
5518 /**
5519 * This component listens for a confirmed event and redirects to the success url.
5520 */
5521 interface HTMLScFormStateProviderElement extends Components.ScFormStateProvider, HTMLStencilElement {
5522 addEventListener<K extends keyof HTMLScFormStateProviderElementEventMap>(type: K, listener: (this: HTMLScFormStateProviderElement, ev: ScFormStateProviderCustomEvent<HTMLScFormStateProviderElementEventMap[K]>) => any, options?: boolean | AddEventListenerOptions): void;
5523 addEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
5524 addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
5525 addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
5526 removeEventListener<K extends keyof HTMLScFormStateProviderElementEventMap>(type: K, listener: (this: HTMLScFormStateProviderElement, ev: ScFormStateProviderCustomEvent<HTMLScFormStateProviderElementEventMap[K]>) => any, options?: boolean | EventListenerOptions): void;
5527 removeEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
5528 removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
5529 removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
5530 }
5531 var HTMLScFormStateProviderElement: {
5532 prototype: HTMLScFormStateProviderElement;
5533 new (): HTMLScFormStateProviderElement;
5534 };
5535 interface HTMLScFormatBytesElement extends Components.ScFormatBytes, HTMLStencilElement {
5536 }
5537 var HTMLScFormatBytesElement: {
5538 prototype: HTMLScFormatBytesElement;
5539 new (): HTMLScFormatBytesElement;
5540 };
5541 interface HTMLScFormatIntervalElement extends Components.ScFormatInterval, HTMLStencilElement {
5542 }
5543 var HTMLScFormatIntervalElement: {
5544 prototype: HTMLScFormatIntervalElement;
5545 new (): HTMLScFormatIntervalElement;
5546 };
5547 interface HTMLScFormatNumberElement extends Components.ScFormatNumber, HTMLStencilElement {
5548 }
5549 var HTMLScFormatNumberElement: {
5550 prototype: HTMLScFormatNumberElement;
5551 new (): HTMLScFormatNumberElement;
5552 };
5553 interface HTMLScFulfillmentShippingStatusBadgeElement extends Components.ScFulfillmentShippingStatusBadge, HTMLStencilElement {
5554 }
5555 var HTMLScFulfillmentShippingStatusBadgeElement: {
5556 prototype: HTMLScFulfillmentShippingStatusBadgeElement;
5557 new (): HTMLScFulfillmentShippingStatusBadgeElement;
5558 };
5559 interface HTMLScFulfillmentsElement extends Components.ScFulfillments, HTMLStencilElement {
5560 }
5561 var HTMLScFulfillmentsElement: {
5562 prototype: HTMLScFulfillmentsElement;
5563 new (): HTMLScFulfillmentsElement;
5564 };
5565 interface HTMLScHeadingElement extends Components.ScHeading, HTMLStencilElement {
5566 }
5567 var HTMLScHeadingElement: {
5568 prototype: HTMLScHeadingElement;
5569 new (): HTMLScHeadingElement;
5570 };
5571 interface HTMLScIconElementEventMap {
5572 "scLoad": void;
5573 }
5574 interface HTMLScIconElement extends Components.ScIcon, HTMLStencilElement {
5575 addEventListener<K extends keyof HTMLScIconElementEventMap>(type: K, listener: (this: HTMLScIconElement, ev: ScIconCustomEvent<HTMLScIconElementEventMap[K]>) => any, options?: boolean | AddEventListenerOptions): void;
5576 addEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
5577 addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
5578 addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
5579 removeEventListener<K extends keyof HTMLScIconElementEventMap>(type: K, listener: (this: HTMLScIconElement, ev: ScIconCustomEvent<HTMLScIconElementEventMap[K]>) => any, options?: boolean | EventListenerOptions): void;
5580 removeEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
5581 removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
5582 removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
5583 }
5584 var HTMLScIconElement: {
5585 prototype: HTMLScIconElement;
5586 new (): HTMLScIconElement;
5587 };
5588 interface HTMLScImageSliderElement extends Components.ScImageSlider, HTMLStencilElement {
5589 }
5590 var HTMLScImageSliderElement: {
5591 prototype: HTMLScImageSliderElement;
5592 new (): HTMLScImageSliderElement;
5593 };
5594 interface HTMLScInputElementEventMap {
5595 "scChange": void;
5596 "scClear": void;
5597 "scInput": void;
5598 "scFocus": void;
5599 "scBlur": void;
5600 }
5601 interface HTMLScInputElement extends Components.ScInput, HTMLStencilElement {
5602 addEventListener<K extends keyof HTMLScInputElementEventMap>(type: K, listener: (this: HTMLScInputElement, ev: ScInputCustomEvent<HTMLScInputElementEventMap[K]>) => any, options?: boolean | AddEventListenerOptions): void;
5603 addEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
5604 addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
5605 addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
5606 removeEventListener<K extends keyof HTMLScInputElementEventMap>(type: K, listener: (this: HTMLScInputElement, ev: ScInputCustomEvent<HTMLScInputElementEventMap[K]>) => any, options?: boolean | EventListenerOptions): void;
5607 removeEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
5608 removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
5609 removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
5610 }
5611 var HTMLScInputElement: {
5612 prototype: HTMLScInputElement;
5613 new (): HTMLScInputElement;
5614 };
5615 interface HTMLScInvoiceDetailsElement extends Components.ScInvoiceDetails, HTMLStencilElement {
5616 }
5617 var HTMLScInvoiceDetailsElement: {
5618 prototype: HTMLScInvoiceDetailsElement;
5619 new (): HTMLScInvoiceDetailsElement;
5620 };
5621 interface HTMLScInvoiceMemoElement extends Components.ScInvoiceMemo, HTMLStencilElement {
5622 }
5623 var HTMLScInvoiceMemoElement: {
5624 prototype: HTMLScInvoiceMemoElement;
5625 new (): HTMLScInvoiceMemoElement;
5626 };
5627 interface HTMLScInvoiceStatusBadgeElement extends Components.ScInvoiceStatusBadge, HTMLStencilElement {
5628 }
5629 var HTMLScInvoiceStatusBadgeElement: {
5630 prototype: HTMLScInvoiceStatusBadgeElement;
5631 new (): HTMLScInvoiceStatusBadgeElement;
5632 };
5633 interface HTMLScInvoicesListElement extends Components.ScInvoicesList, HTMLStencilElement {
5634 }
5635 var HTMLScInvoicesListElement: {
5636 prototype: HTMLScInvoicesListElement;
5637 new (): HTMLScInvoicesListElement;
5638 };
5639 interface HTMLScLicenseElement extends Components.ScLicense, HTMLStencilElement {
5640 }
5641 var HTMLScLicenseElement: {
5642 prototype: HTMLScLicenseElement;
5643 new (): HTMLScLicenseElement;
5644 };
5645 interface HTMLScLicensesListElement extends Components.ScLicensesList, HTMLStencilElement {
5646 }
5647 var HTMLScLicensesListElement: {
5648 prototype: HTMLScLicensesListElement;
5649 new (): HTMLScLicensesListElement;
5650 };
5651 interface HTMLScLineItemElement extends Components.ScLineItem, HTMLStencilElement {
5652 }
5653 var HTMLScLineItemElement: {
5654 prototype: HTMLScLineItemElement;
5655 new (): HTMLScLineItemElement;
5656 };
5657 interface HTMLScLineItemBumpElement extends Components.ScLineItemBump, HTMLStencilElement {
5658 }
5659 var HTMLScLineItemBumpElement: {
5660 prototype: HTMLScLineItemBumpElement;
5661 new (): HTMLScLineItemBumpElement;
5662 };
5663 interface HTMLScLineItemInvoiceDueDateElement extends Components.ScLineItemInvoiceDueDate, HTMLStencilElement {
5664 }
5665 var HTMLScLineItemInvoiceDueDateElement: {
5666 prototype: HTMLScLineItemInvoiceDueDateElement;
5667 new (): HTMLScLineItemInvoiceDueDateElement;
5668 };
5669 interface HTMLScLineItemInvoiceNumberElement extends Components.ScLineItemInvoiceNumber, HTMLStencilElement {
5670 }
5671 var HTMLScLineItemInvoiceNumberElement: {
5672 prototype: HTMLScLineItemInvoiceNumberElement;
5673 new (): HTMLScLineItemInvoiceNumberElement;
5674 };
5675 interface HTMLScLineItemInvoiceReceiptDownloadElement extends Components.ScLineItemInvoiceReceiptDownload, HTMLStencilElement {
5676 }
5677 var HTMLScLineItemInvoiceReceiptDownloadElement: {
5678 prototype: HTMLScLineItemInvoiceReceiptDownloadElement;
5679 new (): HTMLScLineItemInvoiceReceiptDownloadElement;
5680 };
5681 interface HTMLScLineItemShippingElement extends Components.ScLineItemShipping, HTMLStencilElement {
5682 }
5683 var HTMLScLineItemShippingElement: {
5684 prototype: HTMLScLineItemShippingElement;
5685 new (): HTMLScLineItemShippingElement;
5686 };
5687 interface HTMLScLineItemTaxElement extends Components.ScLineItemTax, HTMLStencilElement {
5688 }
5689 var HTMLScLineItemTaxElement: {
5690 prototype: HTMLScLineItemTaxElement;
5691 new (): HTMLScLineItemTaxElement;
5692 };
5693 interface HTMLScLineItemTotalElement extends Components.ScLineItemTotal, HTMLStencilElement {
5694 }
5695 var HTMLScLineItemTotalElement: {
5696 prototype: HTMLScLineItemTotalElement;
5697 new (): HTMLScLineItemTotalElement;
5698 };
5699 interface HTMLScLineItemTrialElement extends Components.ScLineItemTrial, HTMLStencilElement {
5700 }
5701 var HTMLScLineItemTrialElement: {
5702 prototype: HTMLScLineItemTrialElement;
5703 new (): HTMLScLineItemTrialElement;
5704 };
5705 interface HTMLScLineItemsElement extends Components.ScLineItems, HTMLStencilElement {
5706 }
5707 var HTMLScLineItemsElement: {
5708 prototype: HTMLScLineItemsElement;
5709 new (): HTMLScLineItemsElement;
5710 };
5711 interface HTMLScLineItemsProviderElementEventMap {
5712 "scUpdateLineItems": Array<LineItemData1>;
5713 }
5714 interface HTMLScLineItemsProviderElement extends Components.ScLineItemsProvider, HTMLStencilElement {
5715 addEventListener<K extends keyof HTMLScLineItemsProviderElementEventMap>(type: K, listener: (this: HTMLScLineItemsProviderElement, ev: ScLineItemsProviderCustomEvent<HTMLScLineItemsProviderElementEventMap[K]>) => any, options?: boolean | AddEventListenerOptions): void;
5716 addEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
5717 addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
5718 addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
5719 removeEventListener<K extends keyof HTMLScLineItemsProviderElementEventMap>(type: K, listener: (this: HTMLScLineItemsProviderElement, ev: ScLineItemsProviderCustomEvent<HTMLScLineItemsProviderElementEventMap[K]>) => any, options?: boolean | EventListenerOptions): void;
5720 removeEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
5721 removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
5722 removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
5723 }
5724 var HTMLScLineItemsProviderElement: {
5725 prototype: HTMLScLineItemsProviderElement;
5726 new (): HTMLScLineItemsProviderElement;
5727 };
5728 interface HTMLScLoginFormElement extends Components.ScLoginForm, HTMLStencilElement {
5729 }
5730 var HTMLScLoginFormElement: {
5731 prototype: HTMLScLoginFormElement;
5732 new (): HTMLScLoginFormElement;
5733 };
5734 interface HTMLScLoginProviderElementEventMap {
5735 "scSetLoggedIn": boolean;
5736 "scSetCustomer": { email: string; name?: string };
5737 }
5738 interface HTMLScLoginProviderElement extends Components.ScLoginProvider, HTMLStencilElement {
5739 addEventListener<K extends keyof HTMLScLoginProviderElementEventMap>(type: K, listener: (this: HTMLScLoginProviderElement, ev: ScLoginProviderCustomEvent<HTMLScLoginProviderElementEventMap[K]>) => any, options?: boolean | AddEventListenerOptions): void;
5740 addEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
5741 addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
5742 addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
5743 removeEventListener<K extends keyof HTMLScLoginProviderElementEventMap>(type: K, listener: (this: HTMLScLoginProviderElement, ev: ScLoginProviderCustomEvent<HTMLScLoginProviderElementEventMap[K]>) => any, options?: boolean | EventListenerOptions): void;
5744 removeEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
5745 removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
5746 removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
5747 }
5748 var HTMLScLoginProviderElement: {
5749 prototype: HTMLScLoginProviderElement;
5750 new (): HTMLScLoginProviderElement;
5751 };
5752 interface HTMLScManualPaymentMethodElement extends Components.ScManualPaymentMethod, HTMLStencilElement {
5753 }
5754 var HTMLScManualPaymentMethodElement: {
5755 prototype: HTMLScManualPaymentMethodElement;
5756 new (): HTMLScManualPaymentMethodElement;
5757 };
5758 interface HTMLScMenuElementEventMap {
5759 "scSelect": { item: HTMLScMenuItemElement };
5760 }
5761 interface HTMLScMenuElement extends Components.ScMenu, HTMLStencilElement {
5762 addEventListener<K extends keyof HTMLScMenuElementEventMap>(type: K, listener: (this: HTMLScMenuElement, ev: ScMenuCustomEvent<HTMLScMenuElementEventMap[K]>) => any, options?: boolean | AddEventListenerOptions): void;
5763 addEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
5764 addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
5765 addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
5766 removeEventListener<K extends keyof HTMLScMenuElementEventMap>(type: K, listener: (this: HTMLScMenuElement, ev: ScMenuCustomEvent<HTMLScMenuElementEventMap[K]>) => any, options?: boolean | EventListenerOptions): void;
5767 removeEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
5768 removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
5769 removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
5770 }
5771 var HTMLScMenuElement: {
5772 prototype: HTMLScMenuElement;
5773 new (): HTMLScMenuElement;
5774 };
5775 interface HTMLScMenuDividerElement extends Components.ScMenuDivider, HTMLStencilElement {
5776 }
5777 var HTMLScMenuDividerElement: {
5778 prototype: HTMLScMenuDividerElement;
5779 new (): HTMLScMenuDividerElement;
5780 };
5781 interface HTMLScMenuItemElement extends Components.ScMenuItem, HTMLStencilElement {
5782 }
5783 var HTMLScMenuItemElement: {
5784 prototype: HTMLScMenuItemElement;
5785 new (): HTMLScMenuItemElement;
5786 };
5787 interface HTMLScMenuLabelElement extends Components.ScMenuLabel, HTMLStencilElement {
5788 }
5789 var HTMLScMenuLabelElement: {
5790 prototype: HTMLScMenuLabelElement;
5791 new (): HTMLScMenuLabelElement;
5792 };
5793 interface HTMLScMollieAddMethodElement extends Components.ScMollieAddMethod, HTMLStencilElement {
5794 }
5795 var HTMLScMollieAddMethodElement: {
5796 prototype: HTMLScMollieAddMethodElement;
5797 new (): HTMLScMollieAddMethodElement;
5798 };
5799 interface HTMLScOrderElement extends Components.ScOrder, HTMLStencilElement {
5800 }
5801 var HTMLScOrderElement: {
5802 prototype: HTMLScOrderElement;
5803 new (): HTMLScOrderElement;
5804 };
5805 interface HTMLScOrderBillingAddressElement extends Components.ScOrderBillingAddress, HTMLStencilElement {
5806 }
5807 var HTMLScOrderBillingAddressElement: {
5808 prototype: HTMLScOrderBillingAddressElement;
5809 new (): HTMLScOrderBillingAddressElement;
5810 };
5811 interface HTMLScOrderBumpElement extends Components.ScOrderBump, HTMLStencilElement {
5812 }
5813 var HTMLScOrderBumpElement: {
5814 prototype: HTMLScOrderBumpElement;
5815 new (): HTMLScOrderBumpElement;
5816 };
5817 interface HTMLScOrderBumpsElement extends Components.ScOrderBumps, HTMLStencilElement {
5818 }
5819 var HTMLScOrderBumpsElement: {
5820 prototype: HTMLScOrderBumpsElement;
5821 new (): HTMLScOrderBumpsElement;
5822 };
5823 interface HTMLScOrderConfirmComponentsValidatorElement extends Components.ScOrderConfirmComponentsValidator, HTMLStencilElement {
5824 }
5825 var HTMLScOrderConfirmComponentsValidatorElement: {
5826 prototype: HTMLScOrderConfirmComponentsValidatorElement;
5827 new (): HTMLScOrderConfirmComponentsValidatorElement;
5828 };
5829 interface HTMLScOrderConfirmProviderElementEventMap {
5830 "scOrderPaid": Checkout;
5831 "scSetState": string;
5832 }
5833 /**
5834 * This component listens to the order status
5835 * and confirms the order when payment is successful.
5836 */
5837 interface HTMLScOrderConfirmProviderElement extends Components.ScOrderConfirmProvider, HTMLStencilElement {
5838 addEventListener<K extends keyof HTMLScOrderConfirmProviderElementEventMap>(type: K, listener: (this: HTMLScOrderConfirmProviderElement, ev: ScOrderConfirmProviderCustomEvent<HTMLScOrderConfirmProviderElementEventMap[K]>) => any, options?: boolean | AddEventListenerOptions): void;
5839 addEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
5840 addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
5841 addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
5842 removeEventListener<K extends keyof HTMLScOrderConfirmProviderElementEventMap>(type: K, listener: (this: HTMLScOrderConfirmProviderElement, ev: ScOrderConfirmProviderCustomEvent<HTMLScOrderConfirmProviderElementEventMap[K]>) => any, options?: boolean | EventListenerOptions): void;
5843 removeEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
5844 removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
5845 removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
5846 }
5847 var HTMLScOrderConfirmProviderElement: {
5848 prototype: HTMLScOrderConfirmProviderElement;
5849 new (): HTMLScOrderConfirmProviderElement;
5850 };
5851 interface HTMLScOrderConfirmationElement extends Components.ScOrderConfirmation, HTMLStencilElement {
5852 }
5853 var HTMLScOrderConfirmationElement: {
5854 prototype: HTMLScOrderConfirmationElement;
5855 new (): HTMLScOrderConfirmationElement;
5856 };
5857 interface HTMLScOrderConfirmationCustomerElement extends Components.ScOrderConfirmationCustomer, HTMLStencilElement {
5858 }
5859 var HTMLScOrderConfirmationCustomerElement: {
5860 prototype: HTMLScOrderConfirmationCustomerElement;
5861 new (): HTMLScOrderConfirmationCustomerElement;
5862 };
5863 interface HTMLScOrderConfirmationDetailsElement extends Components.ScOrderConfirmationDetails, HTMLStencilElement {
5864 }
5865 var HTMLScOrderConfirmationDetailsElement: {
5866 prototype: HTMLScOrderConfirmationDetailsElement;
5867 new (): HTMLScOrderConfirmationDetailsElement;
5868 };
5869 interface HTMLScOrderConfirmationLineItemsElement extends Components.ScOrderConfirmationLineItems, HTMLStencilElement {
5870 }
5871 var HTMLScOrderConfirmationLineItemsElement: {
5872 prototype: HTMLScOrderConfirmationLineItemsElement;
5873 new (): HTMLScOrderConfirmationLineItemsElement;
5874 };
5875 interface HTMLScOrderConfirmationTotalsElement extends Components.ScOrderConfirmationTotals, HTMLStencilElement {
5876 }
5877 var HTMLScOrderConfirmationTotalsElement: {
5878 prototype: HTMLScOrderConfirmationTotalsElement;
5879 new (): HTMLScOrderConfirmationTotalsElement;
5880 };
5881 interface HTMLScOrderCouponFormElement extends Components.ScOrderCouponForm, HTMLStencilElement {
5882 }
5883 var HTMLScOrderCouponFormElement: {
5884 prototype: HTMLScOrderCouponFormElement;
5885 new (): HTMLScOrderCouponFormElement;
5886 };
5887 interface HTMLScOrderDetailElement extends Components.ScOrderDetail, HTMLStencilElement {
5888 }
5889 var HTMLScOrderDetailElement: {
5890 prototype: HTMLScOrderDetailElement;
5891 new (): HTMLScOrderDetailElement;
5892 };
5893 interface HTMLScOrderFulfillmentBadgeElement extends Components.ScOrderFulfillmentBadge, HTMLStencilElement {
5894 }
5895 var HTMLScOrderFulfillmentBadgeElement: {
5896 prototype: HTMLScOrderFulfillmentBadgeElement;
5897 new (): HTMLScOrderFulfillmentBadgeElement;
5898 };
5899 interface HTMLScOrderManualInstructionsElement extends Components.ScOrderManualInstructions, HTMLStencilElement {
5900 }
5901 var HTMLScOrderManualInstructionsElement: {
5902 prototype: HTMLScOrderManualInstructionsElement;
5903 new (): HTMLScOrderManualInstructionsElement;
5904 };
5905 interface HTMLScOrderPasswordElement extends Components.ScOrderPassword, HTMLStencilElement {
5906 }
5907 var HTMLScOrderPasswordElement: {
5908 prototype: HTMLScOrderPasswordElement;
5909 new (): HTMLScOrderPasswordElement;
5910 };
5911 interface HTMLScOrderReturnBadgeElement extends Components.ScOrderReturnBadge, HTMLStencilElement {
5912 }
5913 var HTMLScOrderReturnBadgeElement: {
5914 prototype: HTMLScOrderReturnBadgeElement;
5915 new (): HTMLScOrderReturnBadgeElement;
5916 };
5917 interface HTMLScOrderShipmentBadgeElement extends Components.ScOrderShipmentBadge, HTMLStencilElement {
5918 }
5919 var HTMLScOrderShipmentBadgeElement: {
5920 prototype: HTMLScOrderShipmentBadgeElement;
5921 new (): HTMLScOrderShipmentBadgeElement;
5922 };
5923 interface HTMLScOrderShippingAddressElement extends Components.ScOrderShippingAddress, HTMLStencilElement {
5924 }
5925 var HTMLScOrderShippingAddressElement: {
5926 prototype: HTMLScOrderShippingAddressElement;
5927 new (): HTMLScOrderShippingAddressElement;
5928 };
5929 interface HTMLScOrderStatusBadgeElement extends Components.ScOrderStatusBadge, HTMLStencilElement {
5930 }
5931 var HTMLScOrderStatusBadgeElement: {
5932 prototype: HTMLScOrderStatusBadgeElement;
5933 new (): HTMLScOrderStatusBadgeElement;
5934 };
5935 interface HTMLScOrderSubmitElement extends Components.ScOrderSubmit, HTMLStencilElement {
5936 }
5937 var HTMLScOrderSubmitElement: {
5938 prototype: HTMLScOrderSubmitElement;
5939 new (): HTMLScOrderSubmitElement;
5940 };
5941 interface HTMLScOrderSummaryElementEventMap {
5942 "scShow": void;
5943 "scHide": void;
5944 }
5945 interface HTMLScOrderSummaryElement extends Components.ScOrderSummary, HTMLStencilElement {
5946 addEventListener<K extends keyof HTMLScOrderSummaryElementEventMap>(type: K, listener: (this: HTMLScOrderSummaryElement, ev: ScOrderSummaryCustomEvent<HTMLScOrderSummaryElementEventMap[K]>) => any, options?: boolean | AddEventListenerOptions): void;
5947 addEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
5948 addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
5949 addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
5950 removeEventListener<K extends keyof HTMLScOrderSummaryElementEventMap>(type: K, listener: (this: HTMLScOrderSummaryElement, ev: ScOrderSummaryCustomEvent<HTMLScOrderSummaryElementEventMap[K]>) => any, options?: boolean | EventListenerOptions): void;
5951 removeEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
5952 removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
5953 removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
5954 }
5955 var HTMLScOrderSummaryElement: {
5956 prototype: HTMLScOrderSummaryElement;
5957 new (): HTMLScOrderSummaryElement;
5958 };
5959 interface HTMLScOrderTaxIdInputElement extends Components.ScOrderTaxIdInput, HTMLStencilElement {
5960 }
5961 var HTMLScOrderTaxIdInputElement: {
5962 prototype: HTMLScOrderTaxIdInputElement;
5963 new (): HTMLScOrderTaxIdInputElement;
5964 };
5965 interface HTMLScOrdersListElement extends Components.ScOrdersList, HTMLStencilElement {
5966 }
5967 var HTMLScOrdersListElement: {
5968 prototype: HTMLScOrdersListElement;
5969 new (): HTMLScOrdersListElement;
5970 };
5971 interface HTMLScPaginationElementEventMap {
5972 "scPrevPage": void;
5973 "scNextPage": void;
5974 }
5975 interface HTMLScPaginationElement extends Components.ScPagination, HTMLStencilElement {
5976 addEventListener<K extends keyof HTMLScPaginationElementEventMap>(type: K, listener: (this: HTMLScPaginationElement, ev: ScPaginationCustomEvent<HTMLScPaginationElementEventMap[K]>) => any, options?: boolean | AddEventListenerOptions): void;
5977 addEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
5978 addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
5979 addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
5980 removeEventListener<K extends keyof HTMLScPaginationElementEventMap>(type: K, listener: (this: HTMLScPaginationElement, ev: ScPaginationCustomEvent<HTMLScPaginationElementEventMap[K]>) => any, options?: boolean | EventListenerOptions): void;
5981 removeEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
5982 removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
5983 removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
5984 }
5985 var HTMLScPaginationElement: {
5986 prototype: HTMLScPaginationElement;
5987 new (): HTMLScPaginationElement;
5988 };
5989 interface HTMLScPasswordElement extends Components.ScPassword, HTMLStencilElement {
5990 }
5991 var HTMLScPasswordElement: {
5992 prototype: HTMLScPasswordElement;
5993 new (): HTMLScPasswordElement;
5994 };
5995 interface HTMLScPasswordNagElement extends Components.ScPasswordNag, HTMLStencilElement {
5996 }
5997 var HTMLScPasswordNagElement: {
5998 prototype: HTMLScPasswordNagElement;
5999 new (): HTMLScPasswordNagElement;
6000 };
6001 interface HTMLScPaymentElement extends Components.ScPayment, HTMLStencilElement {
6002 }
6003 var HTMLScPaymentElement: {
6004 prototype: HTMLScPaymentElement;
6005 new (): HTMLScPaymentElement;
6006 };
6007 interface HTMLScPaymentMethodElement extends Components.ScPaymentMethod, HTMLStencilElement {
6008 }
6009 var HTMLScPaymentMethodElement: {
6010 prototype: HTMLScPaymentMethodElement;
6011 new (): HTMLScPaymentMethodElement;
6012 };
6013 interface HTMLScPaymentMethodChoiceElement extends Components.ScPaymentMethodChoice, HTMLStencilElement {
6014 }
6015 var HTMLScPaymentMethodChoiceElement: {
6016 prototype: HTMLScPaymentMethodChoiceElement;
6017 new (): HTMLScPaymentMethodChoiceElement;
6018 };
6019 interface HTMLScPaymentMethodDetailsElement extends Components.ScPaymentMethodDetails, HTMLStencilElement {
6020 }
6021 var HTMLScPaymentMethodDetailsElement: {
6022 prototype: HTMLScPaymentMethodDetailsElement;
6023 new (): HTMLScPaymentMethodDetailsElement;
6024 };
6025 interface HTMLScPaymentMethodsListElement extends Components.ScPaymentMethodsList, HTMLStencilElement {
6026 }
6027 var HTMLScPaymentMethodsListElement: {
6028 prototype: HTMLScPaymentMethodsListElement;
6029 new (): HTMLScPaymentMethodsListElement;
6030 };
6031 interface HTMLScPaymentSelectedElement extends Components.ScPaymentSelected, HTMLStencilElement {
6032 }
6033 var HTMLScPaymentSelectedElement: {
6034 prototype: HTMLScPaymentSelectedElement;
6035 new (): HTMLScPaymentSelectedElement;
6036 };
6037 interface HTMLScPaypalAddMethodElement extends Components.ScPaypalAddMethod, HTMLStencilElement {
6038 }
6039 var HTMLScPaypalAddMethodElement: {
6040 prototype: HTMLScPaypalAddMethodElement;
6041 new (): HTMLScPaypalAddMethodElement;
6042 };
6043 interface HTMLScPaypalButtonsElementEventMap {
6044 "scSetState": string;
6045 "scPaid": void;
6046 }
6047 interface HTMLScPaypalButtonsElement extends Components.ScPaypalButtons, HTMLStencilElement {
6048 addEventListener<K extends keyof HTMLScPaypalButtonsElementEventMap>(type: K, listener: (this: HTMLScPaypalButtonsElement, ev: ScPaypalButtonsCustomEvent<HTMLScPaypalButtonsElementEventMap[K]>) => any, options?: boolean | AddEventListenerOptions): void;
6049 addEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
6050 addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
6051 addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
6052 removeEventListener<K extends keyof HTMLScPaypalButtonsElementEventMap>(type: K, listener: (this: HTMLScPaypalButtonsElement, ev: ScPaypalButtonsCustomEvent<HTMLScPaypalButtonsElementEventMap[K]>) => any, options?: boolean | EventListenerOptions): void;
6053 removeEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
6054 removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
6055 removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
6056 }
6057 var HTMLScPaypalButtonsElement: {
6058 prototype: HTMLScPaypalButtonsElement;
6059 new (): HTMLScPaypalButtonsElement;
6060 };
6061 interface HTMLScPaystackAddMethodElement extends Components.ScPaystackAddMethod, HTMLStencilElement {
6062 }
6063 var HTMLScPaystackAddMethodElement: {
6064 prototype: HTMLScPaystackAddMethodElement;
6065 new (): HTMLScPaystackAddMethodElement;
6066 };
6067 interface HTMLScPhoneInputElementEventMap {
6068 "scChange": void;
6069 "scClear": void;
6070 "scInput": void;
6071 "scFocus": void;
6072 "scBlur": void;
6073 }
6074 interface HTMLScPhoneInputElement extends Components.ScPhoneInput, HTMLStencilElement {
6075 addEventListener<K extends keyof HTMLScPhoneInputElementEventMap>(type: K, listener: (this: HTMLScPhoneInputElement, ev: ScPhoneInputCustomEvent<HTMLScPhoneInputElementEventMap[K]>) => any, options?: boolean | AddEventListenerOptions): void;
6076 addEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
6077 addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
6078 addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
6079 removeEventListener<K extends keyof HTMLScPhoneInputElementEventMap>(type: K, listener: (this: HTMLScPhoneInputElement, ev: ScPhoneInputCustomEvent<HTMLScPhoneInputElementEventMap[K]>) => any, options?: boolean | EventListenerOptions): void;
6080 removeEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
6081 removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
6082 removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
6083 }
6084 var HTMLScPhoneInputElement: {
6085 prototype: HTMLScPhoneInputElement;
6086 new (): HTMLScPhoneInputElement;
6087 };
6088 interface HTMLScPillOptionElement extends Components.ScPillOption, HTMLStencilElement {
6089 }
6090 var HTMLScPillOptionElement: {
6091 prototype: HTMLScPillOptionElement;
6092 new (): HTMLScPillOptionElement;
6093 };
6094 interface HTMLScPopoverElementEventMap {
6095 "scShow": void;
6096 "scHide": void;
6097 }
6098 interface HTMLScPopoverElement extends Components.ScPopover, HTMLStencilElement {
6099 addEventListener<K extends keyof HTMLScPopoverElementEventMap>(type: K, listener: (this: HTMLScPopoverElement, ev: ScPopoverCustomEvent<HTMLScPopoverElementEventMap[K]>) => any, options?: boolean | AddEventListenerOptions): void;
6100 addEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
6101 addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
6102 addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
6103 removeEventListener<K extends keyof HTMLScPopoverElementEventMap>(type: K, listener: (this: HTMLScPopoverElement, ev: ScPopoverCustomEvent<HTMLScPopoverElementEventMap[K]>) => any, options?: boolean | EventListenerOptions): void;
6104 removeEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
6105 removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
6106 removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
6107 }
6108 var HTMLScPopoverElement: {
6109 prototype: HTMLScPopoverElement;
6110 new (): HTMLScPopoverElement;
6111 };
6112 interface HTMLScPremiumTagElement extends Components.ScPremiumTag, HTMLStencilElement {
6113 }
6114 var HTMLScPremiumTagElement: {
6115 prototype: HTMLScPremiumTagElement;
6116 new (): HTMLScPremiumTagElement;
6117 };
6118 /**
6119 * Internal dependencies.
6120 */
6121 interface HTMLScPriceElement extends Components.ScPrice, HTMLStencilElement {
6122 }
6123 var HTMLScPriceElement: {
6124 prototype: HTMLScPriceElement;
6125 new (): HTMLScPriceElement;
6126 };
6127 interface HTMLScPriceChoiceElementEventMap {
6128 "scUpdateLineItem": LineItemData1;
6129 "scRemoveLineItem": LineItemData1;
6130 "scAddEntities": any;
6131 }
6132 interface HTMLScPriceChoiceElement extends Components.ScPriceChoice, HTMLStencilElement {
6133 addEventListener<K extends keyof HTMLScPriceChoiceElementEventMap>(type: K, listener: (this: HTMLScPriceChoiceElement, ev: ScPriceChoiceCustomEvent<HTMLScPriceChoiceElementEventMap[K]>) => any, options?: boolean | AddEventListenerOptions): void;
6134 addEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
6135 addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
6136 addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
6137 removeEventListener<K extends keyof HTMLScPriceChoiceElementEventMap>(type: K, listener: (this: HTMLScPriceChoiceElement, ev: ScPriceChoiceCustomEvent<HTMLScPriceChoiceElementEventMap[K]>) => any, options?: boolean | EventListenerOptions): void;
6138 removeEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
6139 removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
6140 removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
6141 }
6142 var HTMLScPriceChoiceElement: {
6143 prototype: HTMLScPriceChoiceElement;
6144 new (): HTMLScPriceChoiceElement;
6145 };
6146 interface HTMLScPriceChoiceContainerElementEventMap {
6147 "scChange": void;
6148 }
6149 interface HTMLScPriceChoiceContainerElement extends Components.ScPriceChoiceContainer, HTMLStencilElement {
6150 addEventListener<K extends keyof HTMLScPriceChoiceContainerElementEventMap>(type: K, listener: (this: HTMLScPriceChoiceContainerElement, ev: ScPriceChoiceContainerCustomEvent<HTMLScPriceChoiceContainerElementEventMap[K]>) => any, options?: boolean | AddEventListenerOptions): void;
6151 addEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
6152 addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
6153 addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
6154 removeEventListener<K extends keyof HTMLScPriceChoiceContainerElementEventMap>(type: K, listener: (this: HTMLScPriceChoiceContainerElement, ev: ScPriceChoiceContainerCustomEvent<HTMLScPriceChoiceContainerElementEventMap[K]>) => any, options?: boolean | EventListenerOptions): void;
6155 removeEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
6156 removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
6157 removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
6158 }
6159 var HTMLScPriceChoiceContainerElement: {
6160 prototype: HTMLScPriceChoiceContainerElement;
6161 new (): HTMLScPriceChoiceContainerElement;
6162 };
6163 interface HTMLScPriceChoicesElementEventMap {
6164 "scRemoveLineItem": LineItemData1;
6165 "scUpdateLineItem": LineItemData1;
6166 }
6167 interface HTMLScPriceChoicesElement extends Components.ScPriceChoices, HTMLStencilElement {
6168 addEventListener<K extends keyof HTMLScPriceChoicesElementEventMap>(type: K, listener: (this: HTMLScPriceChoicesElement, ev: ScPriceChoicesCustomEvent<HTMLScPriceChoicesElementEventMap[K]>) => any, options?: boolean | AddEventListenerOptions): void;
6169 addEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
6170 addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
6171 addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
6172 removeEventListener<K extends keyof HTMLScPriceChoicesElementEventMap>(type: K, listener: (this: HTMLScPriceChoicesElement, ev: ScPriceChoicesCustomEvent<HTMLScPriceChoicesElementEventMap[K]>) => any, options?: boolean | EventListenerOptions): void;
6173 removeEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
6174 removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
6175 removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
6176 }
6177 var HTMLScPriceChoicesElement: {
6178 prototype: HTMLScPriceChoicesElement;
6179 new (): HTMLScPriceChoicesElement;
6180 };
6181 interface HTMLScPriceInputElementEventMap {
6182 "scChange": void;
6183 "scInput": void;
6184 "scFocus": void;
6185 "scBlur": void;
6186 }
6187 interface HTMLScPriceInputElement extends Components.ScPriceInput, HTMLStencilElement {
6188 addEventListener<K extends keyof HTMLScPriceInputElementEventMap>(type: K, listener: (this: HTMLScPriceInputElement, ev: ScPriceInputCustomEvent<HTMLScPriceInputElementEventMap[K]>) => any, options?: boolean | AddEventListenerOptions): void;
6189 addEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
6190 addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
6191 addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
6192 removeEventListener<K extends keyof HTMLScPriceInputElementEventMap>(type: K, listener: (this: HTMLScPriceInputElement, ev: ScPriceInputCustomEvent<HTMLScPriceInputElementEventMap[K]>) => any, options?: boolean | EventListenerOptions): void;
6193 removeEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
6194 removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
6195 removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
6196 }
6197 var HTMLScPriceInputElement: {
6198 prototype: HTMLScPriceInputElement;
6199 new (): HTMLScPriceInputElement;
6200 };
6201 interface HTMLScPriceRangeElement extends Components.ScPriceRange, HTMLStencilElement {
6202 }
6203 var HTMLScPriceRangeElement: {
6204 prototype: HTMLScPriceRangeElement;
6205 new (): HTMLScPriceRangeElement;
6206 };
6207 interface HTMLScProductBuyButtonElement extends Components.ScProductBuyButton, HTMLStencilElement {
6208 }
6209 var HTMLScProductBuyButtonElement: {
6210 prototype: HTMLScProductBuyButtonElement;
6211 new (): HTMLScProductBuyButtonElement;
6212 };
6213 interface HTMLScProductDonationAmountChoiceElement extends Components.ScProductDonationAmountChoice, HTMLStencilElement {
6214 }
6215 var HTMLScProductDonationAmountChoiceElement: {
6216 prototype: HTMLScProductDonationAmountChoiceElement;
6217 new (): HTMLScProductDonationAmountChoiceElement;
6218 };
6219 interface HTMLScProductDonationChoicesElement extends Components.ScProductDonationChoices, HTMLStencilElement {
6220 }
6221 var HTMLScProductDonationChoicesElement: {
6222 prototype: HTMLScProductDonationChoicesElement;
6223 new (): HTMLScProductDonationChoicesElement;
6224 };
6225 interface HTMLScProductDonationCustomAmountElement extends Components.ScProductDonationCustomAmount, HTMLStencilElement {
6226 }
6227 var HTMLScProductDonationCustomAmountElement: {
6228 prototype: HTMLScProductDonationCustomAmountElement;
6229 new (): HTMLScProductDonationCustomAmountElement;
6230 };
6231 interface HTMLScProductItemElement extends Components.ScProductItem, HTMLStencilElement {
6232 }
6233 var HTMLScProductItemElement: {
6234 prototype: HTMLScProductItemElement;
6235 new (): HTMLScProductItemElement;
6236 };
6237 interface HTMLScProductItemImageElement extends Components.ScProductItemImage, HTMLStencilElement {
6238 }
6239 var HTMLScProductItemImageElement: {
6240 prototype: HTMLScProductItemImageElement;
6241 new (): HTMLScProductItemImageElement;
6242 };
6243 interface HTMLScProductItemListElementEventMap {
6244 "scSearched": ProductsSearchedParams;
6245 "scProductsViewed": ProductsViewedParams;
6246 }
6247 interface HTMLScProductItemListElement extends Components.ScProductItemList, HTMLStencilElement {
6248 addEventListener<K extends keyof HTMLScProductItemListElementEventMap>(type: K, listener: (this: HTMLScProductItemListElement, ev: ScProductItemListCustomEvent<HTMLScProductItemListElementEventMap[K]>) => any, options?: boolean | AddEventListenerOptions): void;
6249 addEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
6250 addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
6251 addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
6252 removeEventListener<K extends keyof HTMLScProductItemListElementEventMap>(type: K, listener: (this: HTMLScProductItemListElement, ev: ScProductItemListCustomEvent<HTMLScProductItemListElementEventMap[K]>) => any, options?: boolean | EventListenerOptions): void;
6253 removeEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
6254 removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
6255 removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
6256 }
6257 var HTMLScProductItemListElement: {
6258 prototype: HTMLScProductItemListElement;
6259 new (): HTMLScProductItemListElement;
6260 };
6261 interface HTMLScProductItemPriceElement extends Components.ScProductItemPrice, HTMLStencilElement {
6262 }
6263 var HTMLScProductItemPriceElement: {
6264 prototype: HTMLScProductItemPriceElement;
6265 new (): HTMLScProductItemPriceElement;
6266 };
6267 interface HTMLScProductItemTitleElement extends Components.ScProductItemTitle, HTMLStencilElement {
6268 }
6269 var HTMLScProductItemTitleElement: {
6270 prototype: HTMLScProductItemTitleElement;
6271 new (): HTMLScProductItemTitleElement;
6272 };
6273 interface HTMLScProductLineItemElementEventMap {
6274 "scUpdateQuantity": number;
6275 "scRemove": void;
6276 }
6277 interface HTMLScProductLineItemElement extends Components.ScProductLineItem, HTMLStencilElement {
6278 addEventListener<K extends keyof HTMLScProductLineItemElementEventMap>(type: K, listener: (this: HTMLScProductLineItemElement, ev: ScProductLineItemCustomEvent<HTMLScProductLineItemElementEventMap[K]>) => any, options?: boolean | AddEventListenerOptions): void;
6279 addEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
6280 addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
6281 addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
6282 removeEventListener<K extends keyof HTMLScProductLineItemElementEventMap>(type: K, listener: (this: HTMLScProductLineItemElement, ev: ScProductLineItemCustomEvent<HTMLScProductLineItemElementEventMap[K]>) => any, options?: boolean | EventListenerOptions): void;
6283 removeEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
6284 removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
6285 removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
6286 }
6287 var HTMLScProductLineItemElement: {
6288 prototype: HTMLScProductLineItemElement;
6289 new (): HTMLScProductLineItemElement;
6290 };
6291 interface HTMLScProductLineItemNoteElement extends Components.ScProductLineItemNote, HTMLStencilElement {
6292 }
6293 var HTMLScProductLineItemNoteElement: {
6294 prototype: HTMLScProductLineItemNoteElement;
6295 new (): HTMLScProductLineItemNoteElement;
6296 };
6297 interface HTMLScProductPillsVariantOptionElement extends Components.ScProductPillsVariantOption, HTMLStencilElement {
6298 }
6299 var HTMLScProductPillsVariantOptionElement: {
6300 prototype: HTMLScProductPillsVariantOptionElement;
6301 new (): HTMLScProductPillsVariantOptionElement;
6302 };
6303 interface HTMLScProductPriceElement extends Components.ScProductPrice, HTMLStencilElement {
6304 }
6305 var HTMLScProductPriceElement: {
6306 prototype: HTMLScProductPriceElement;
6307 new (): HTMLScProductPriceElement;
6308 };
6309 interface HTMLScProductPriceChoicesElement extends Components.ScProductPriceChoices, HTMLStencilElement {
6310 }
6311 var HTMLScProductPriceChoicesElement: {
6312 prototype: HTMLScProductPriceChoicesElement;
6313 new (): HTMLScProductPriceChoicesElement;
6314 };
6315 interface HTMLScProductPriceModalElement extends Components.ScProductPriceModal, HTMLStencilElement {
6316 }
6317 var HTMLScProductPriceModalElement: {
6318 prototype: HTMLScProductPriceModalElement;
6319 new (): HTMLScProductPriceModalElement;
6320 };
6321 interface HTMLScProductQuantityElement extends Components.ScProductQuantity, HTMLStencilElement {
6322 }
6323 var HTMLScProductQuantityElement: {
6324 prototype: HTMLScProductQuantityElement;
6325 new (): HTMLScProductQuantityElement;
6326 };
6327 interface HTMLScProductSelectedPriceElementEventMap {
6328 "scUpdateLineItem": LineItemData;
6329 }
6330 interface HTMLScProductSelectedPriceElement extends Components.ScProductSelectedPrice, HTMLStencilElement {
6331 addEventListener<K extends keyof HTMLScProductSelectedPriceElementEventMap>(type: K, listener: (this: HTMLScProductSelectedPriceElement, ev: ScProductSelectedPriceCustomEvent<HTMLScProductSelectedPriceElementEventMap[K]>) => any, options?: boolean | AddEventListenerOptions): void;
6332 addEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
6333 addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
6334 addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
6335 removeEventListener<K extends keyof HTMLScProductSelectedPriceElementEventMap>(type: K, listener: (this: HTMLScProductSelectedPriceElement, ev: ScProductSelectedPriceCustomEvent<HTMLScProductSelectedPriceElementEventMap[K]>) => any, options?: boolean | EventListenerOptions): void;
6336 removeEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
6337 removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
6338 removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
6339 }
6340 var HTMLScProductSelectedPriceElement: {
6341 prototype: HTMLScProductSelectedPriceElement;
6342 new (): HTMLScProductSelectedPriceElement;
6343 };
6344 interface HTMLScProductTextElement extends Components.ScProductText, HTMLStencilElement {
6345 }
6346 var HTMLScProductTextElement: {
6347 prototype: HTMLScProductTextElement;
6348 new (): HTMLScProductTextElement;
6349 };
6350 interface HTMLScProseElement extends Components.ScProse, HTMLStencilElement {
6351 }
6352 var HTMLScProseElement: {
6353 prototype: HTMLScProseElement;
6354 new (): HTMLScProseElement;
6355 };
6356 interface HTMLScProviderElementEventMap {
6357 "mountConsumer": any;
6358 }
6359 interface HTMLScProviderElement extends Components.ScProvider, HTMLStencilElement {
6360 addEventListener<K extends keyof HTMLScProviderElementEventMap>(type: K, listener: (this: HTMLScProviderElement, ev: ScProviderCustomEvent<HTMLScProviderElementEventMap[K]>) => any, options?: boolean | AddEventListenerOptions): void;
6361 addEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
6362 addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
6363 addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
6364 removeEventListener<K extends keyof HTMLScProviderElementEventMap>(type: K, listener: (this: HTMLScProviderElement, ev: ScProviderCustomEvent<HTMLScProviderElementEventMap[K]>) => any, options?: boolean | EventListenerOptions): void;
6365 removeEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
6366 removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
6367 removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
6368 }
6369 var HTMLScProviderElement: {
6370 prototype: HTMLScProviderElement;
6371 new (): HTMLScProviderElement;
6372 };
6373 interface HTMLScProvisionalBannerElement extends Components.ScProvisionalBanner, HTMLStencilElement {
6374 }
6375 var HTMLScProvisionalBannerElement: {
6376 prototype: HTMLScProvisionalBannerElement;
6377 new (): HTMLScProvisionalBannerElement;
6378 };
6379 interface HTMLScPurchaseDownloadsListElement extends Components.ScPurchaseDownloadsList, HTMLStencilElement {
6380 }
6381 var HTMLScPurchaseDownloadsListElement: {
6382 prototype: HTMLScPurchaseDownloadsListElement;
6383 new (): HTMLScPurchaseDownloadsListElement;
6384 };
6385 interface HTMLScQuantitySelectElementEventMap {
6386 "scChange": number;
6387 "scInput": number;
6388 "scFocus": void;
6389 "scBlur": void;
6390 }
6391 interface HTMLScQuantitySelectElement extends Components.ScQuantitySelect, HTMLStencilElement {
6392 addEventListener<K extends keyof HTMLScQuantitySelectElementEventMap>(type: K, listener: (this: HTMLScQuantitySelectElement, ev: ScQuantitySelectCustomEvent<HTMLScQuantitySelectElementEventMap[K]>) => any, options?: boolean | AddEventListenerOptions): void;
6393 addEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
6394 addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
6395 addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
6396 removeEventListener<K extends keyof HTMLScQuantitySelectElementEventMap>(type: K, listener: (this: HTMLScQuantitySelectElement, ev: ScQuantitySelectCustomEvent<HTMLScQuantitySelectElementEventMap[K]>) => any, options?: boolean | EventListenerOptions): void;
6397 removeEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
6398 removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
6399 removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
6400 }
6401 var HTMLScQuantitySelectElement: {
6402 prototype: HTMLScQuantitySelectElement;
6403 new (): HTMLScQuantitySelectElement;
6404 };
6405 interface HTMLScRadioElementEventMap {
6406 "scBlur": void;
6407 "scChange": void;
6408 "scFocus": void;
6409 }
6410 interface HTMLScRadioElement extends Components.ScRadio, HTMLStencilElement {
6411 addEventListener<K extends keyof HTMLScRadioElementEventMap>(type: K, listener: (this: HTMLScRadioElement, ev: ScRadioCustomEvent<HTMLScRadioElementEventMap[K]>) => any, options?: boolean | AddEventListenerOptions): void;
6412 addEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
6413 addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
6414 addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
6415 removeEventListener<K extends keyof HTMLScRadioElementEventMap>(type: K, listener: (this: HTMLScRadioElement, ev: ScRadioCustomEvent<HTMLScRadioElementEventMap[K]>) => any, options?: boolean | EventListenerOptions): void;
6416 removeEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
6417 removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
6418 removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
6419 }
6420 var HTMLScRadioElement: {
6421 prototype: HTMLScRadioElement;
6422 new (): HTMLScRadioElement;
6423 };
6424 interface HTMLScRadioGroupElementEventMap {
6425 "scChange": string;
6426 }
6427 interface HTMLScRadioGroupElement extends Components.ScRadioGroup, HTMLStencilElement {
6428 addEventListener<K extends keyof HTMLScRadioGroupElementEventMap>(type: K, listener: (this: HTMLScRadioGroupElement, ev: ScRadioGroupCustomEvent<HTMLScRadioGroupElementEventMap[K]>) => any, options?: boolean | AddEventListenerOptions): void;
6429 addEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
6430 addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
6431 addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
6432 removeEventListener<K extends keyof HTMLScRadioGroupElementEventMap>(type: K, listener: (this: HTMLScRadioGroupElement, ev: ScRadioGroupCustomEvent<HTMLScRadioGroupElementEventMap[K]>) => any, options?: boolean | EventListenerOptions): void;
6433 removeEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
6434 removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
6435 removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
6436 }
6437 var HTMLScRadioGroupElement: {
6438 prototype: HTMLScRadioGroupElement;
6439 new (): HTMLScRadioGroupElement;
6440 };
6441 interface HTMLScRazorpayAddMethodElement extends Components.ScRazorpayAddMethod, HTMLStencilElement {
6442 }
6443 var HTMLScRazorpayAddMethodElement: {
6444 prototype: HTMLScRazorpayAddMethodElement;
6445 new (): HTMLScRazorpayAddMethodElement;
6446 };
6447 interface HTMLScRecurringPriceChoiceContainerElementEventMap {
6448 "scChange": string;
6449 }
6450 interface HTMLScRecurringPriceChoiceContainerElement extends Components.ScRecurringPriceChoiceContainer, HTMLStencilElement {
6451 addEventListener<K extends keyof HTMLScRecurringPriceChoiceContainerElementEventMap>(type: K, listener: (this: HTMLScRecurringPriceChoiceContainerElement, ev: ScRecurringPriceChoiceContainerCustomEvent<HTMLScRecurringPriceChoiceContainerElementEventMap[K]>) => any, options?: boolean | AddEventListenerOptions): void;
6452 addEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
6453 addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
6454 addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
6455 removeEventListener<K extends keyof HTMLScRecurringPriceChoiceContainerElementEventMap>(type: K, listener: (this: HTMLScRecurringPriceChoiceContainerElement, ev: ScRecurringPriceChoiceContainerCustomEvent<HTMLScRecurringPriceChoiceContainerElementEventMap[K]>) => any, options?: boolean | EventListenerOptions): void;
6456 removeEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
6457 removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
6458 removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
6459 }
6460 var HTMLScRecurringPriceChoiceContainerElement: {
6461 prototype: HTMLScRecurringPriceChoiceContainerElement;
6462 new (): HTMLScRecurringPriceChoiceContainerElement;
6463 };
6464 interface HTMLScReviewStarsElement extends Components.ScReviewStars, HTMLStencilElement {
6465 }
6466 var HTMLScReviewStarsElement: {
6467 prototype: HTMLScReviewStarsElement;
6468 new (): HTMLScReviewStarsElement;
6469 };
6470 interface HTMLScRichTextElementEventMap {
6471 "scChange": void;
6472 "scInput": void;
6473 "scBlur": void;
6474 "scFocus": void;
6475 }
6476 interface HTMLScRichTextElement extends Components.ScRichText, HTMLStencilElement {
6477 addEventListener<K extends keyof HTMLScRichTextElementEventMap>(type: K, listener: (this: HTMLScRichTextElement, ev: ScRichTextCustomEvent<HTMLScRichTextElementEventMap[K]>) => any, options?: boolean | AddEventListenerOptions): void;
6478 addEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
6479 addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
6480 addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
6481 removeEventListener<K extends keyof HTMLScRichTextElementEventMap>(type: K, listener: (this: HTMLScRichTextElement, ev: ScRichTextCustomEvent<HTMLScRichTextElementEventMap[K]>) => any, options?: boolean | EventListenerOptions): void;
6482 removeEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
6483 removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
6484 removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
6485 }
6486 var HTMLScRichTextElement: {
6487 prototype: HTMLScRichTextElement;
6488 new (): HTMLScRichTextElement;
6489 };
6490 interface HTMLScSecureNoticeElement extends Components.ScSecureNotice, HTMLStencilElement {
6491 }
6492 var HTMLScSecureNoticeElement: {
6493 prototype: HTMLScSecureNoticeElement;
6494 new (): HTMLScSecureNoticeElement;
6495 };
6496 interface HTMLScSelectElementEventMap {
6497 "scSearch": string;
6498 "scOpen": string;
6499 "scClose": string;
6500 "scBlur": void;
6501 "scFocus": void;
6502 "scChange": ChoiceItem;
6503 "scScrollEnd": void;
6504 }
6505 interface HTMLScSelectElement extends Components.ScSelect, HTMLStencilElement {
6506 addEventListener<K extends keyof HTMLScSelectElementEventMap>(type: K, listener: (this: HTMLScSelectElement, ev: ScSelectCustomEvent<HTMLScSelectElementEventMap[K]>) => any, options?: boolean | AddEventListenerOptions): void;
6507 addEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
6508 addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
6509 addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
6510 removeEventListener<K extends keyof HTMLScSelectElementEventMap>(type: K, listener: (this: HTMLScSelectElement, ev: ScSelectCustomEvent<HTMLScSelectElementEventMap[K]>) => any, options?: boolean | EventListenerOptions): void;
6511 removeEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
6512 removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
6513 removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
6514 }
6515 var HTMLScSelectElement: {
6516 prototype: HTMLScSelectElement;
6517 new (): HTMLScSelectElement;
6518 };
6519 interface HTMLScSessionProviderElementEventMap {
6520 "scUpdateOrderState": Checkout;
6521 "scUpdateDraftState": Checkout;
6522 "scPaid": void;
6523 "scSetState": FormStateSetter;
6524 }
6525 interface HTMLScSessionProviderElement extends Components.ScSessionProvider, HTMLStencilElement {
6526 addEventListener<K extends keyof HTMLScSessionProviderElementEventMap>(type: K, listener: (this: HTMLScSessionProviderElement, ev: ScSessionProviderCustomEvent<HTMLScSessionProviderElementEventMap[K]>) => any, options?: boolean | AddEventListenerOptions): void;
6527 addEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
6528 addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
6529 addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
6530 removeEventListener<K extends keyof HTMLScSessionProviderElementEventMap>(type: K, listener: (this: HTMLScSessionProviderElement, ev: ScSessionProviderCustomEvent<HTMLScSessionProviderElementEventMap[K]>) => any, options?: boolean | EventListenerOptions): void;
6531 removeEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
6532 removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
6533 removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
6534 }
6535 var HTMLScSessionProviderElement: {
6536 prototype: HTMLScSessionProviderElement;
6537 new (): HTMLScSessionProviderElement;
6538 };
6539 interface HTMLScShippingChoicesElement extends Components.ScShippingChoices, HTMLStencilElement {
6540 }
6541 var HTMLScShippingChoicesElement: {
6542 prototype: HTMLScShippingChoicesElement;
6543 new (): HTMLScShippingChoicesElement;
6544 };
6545 interface HTMLScSkeletonElement extends Components.ScSkeleton, HTMLStencilElement {
6546 }
6547 var HTMLScSkeletonElement: {
6548 prototype: HTMLScSkeletonElement;
6549 new (): HTMLScSkeletonElement;
6550 };
6551 interface HTMLScSpacingElement extends Components.ScSpacing, HTMLStencilElement {
6552 }
6553 var HTMLScSpacingElement: {
6554 prototype: HTMLScSpacingElement;
6555 new (): HTMLScSpacingElement;
6556 };
6557 interface HTMLScSpinnerElement extends Components.ScSpinner, HTMLStencilElement {
6558 }
6559 var HTMLScSpinnerElement: {
6560 prototype: HTMLScSpinnerElement;
6561 new (): HTMLScSpinnerElement;
6562 };
6563 interface HTMLScStackedListElement extends Components.ScStackedList, HTMLStencilElement {
6564 }
6565 var HTMLScStackedListElement: {
6566 prototype: HTMLScStackedListElement;
6567 new (): HTMLScStackedListElement;
6568 };
6569 interface HTMLScStackedListRowElement extends Components.ScStackedListRow, HTMLStencilElement {
6570 }
6571 var HTMLScStackedListRowElement: {
6572 prototype: HTMLScStackedListRowElement;
6573 new (): HTMLScStackedListRowElement;
6574 };
6575 interface HTMLScStripeAddMethodElement extends Components.ScStripeAddMethod, HTMLStencilElement {
6576 }
6577 var HTMLScStripeAddMethodElement: {
6578 prototype: HTMLScStripeAddMethodElement;
6579 new (): HTMLScStripeAddMethodElement;
6580 };
6581 interface HTMLScStripeElementElementEventMap {
6582 "scPaid": void;
6583 "scSetState": FormStateSetter;
6584 "scPaymentInfoAdded": PaymentInfoAddedParams;
6585 }
6586 interface HTMLScStripeElementElement extends Components.ScStripeElement, HTMLStencilElement {
6587 addEventListener<K extends keyof HTMLScStripeElementElementEventMap>(type: K, listener: (this: HTMLScStripeElementElement, ev: ScStripeElementCustomEvent<HTMLScStripeElementElementEventMap[K]>) => any, options?: boolean | AddEventListenerOptions): void;
6588 addEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
6589 addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
6590 addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
6591 removeEventListener<K extends keyof HTMLScStripeElementElementEventMap>(type: K, listener: (this: HTMLScStripeElementElement, ev: ScStripeElementCustomEvent<HTMLScStripeElementElementEventMap[K]>) => any, options?: boolean | EventListenerOptions): void;
6592 removeEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
6593 removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
6594 removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
6595 }
6596 var HTMLScStripeElementElement: {
6597 prototype: HTMLScStripeElementElement;
6598 new (): HTMLScStripeElementElement;
6599 };
6600 interface HTMLScStripePaymentElementElementEventMap {
6601 "scPaid": void;
6602 "scSetState": FormStateSetter;
6603 "scPaymentInfoAdded": PaymentInfoAddedParams;
6604 }
6605 interface HTMLScStripePaymentElementElement extends Components.ScStripePaymentElement, HTMLStencilElement {
6606 addEventListener<K extends keyof HTMLScStripePaymentElementElementEventMap>(type: K, listener: (this: HTMLScStripePaymentElementElement, ev: ScStripePaymentElementCustomEvent<HTMLScStripePaymentElementElementEventMap[K]>) => any, options?: boolean | AddEventListenerOptions): void;
6607 addEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
6608 addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
6609 addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
6610 removeEventListener<K extends keyof HTMLScStripePaymentElementElementEventMap>(type: K, listener: (this: HTMLScStripePaymentElementElement, ev: ScStripePaymentElementCustomEvent<HTMLScStripePaymentElementElementEventMap[K]>) => any, options?: boolean | EventListenerOptions): void;
6611 removeEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
6612 removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
6613 removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
6614 }
6615 var HTMLScStripePaymentElementElement: {
6616 prototype: HTMLScStripePaymentElementElement;
6617 new (): HTMLScStripePaymentElementElement;
6618 };
6619 interface HTMLScStripePaymentRequestElementEventMap {
6620 "scFormSubmit": any;
6621 "scPaid": void;
6622 "scPayError": any;
6623 "scSetState": string;
6624 "scPaymentRequestLoaded": boolean;
6625 "scUpdateOrderState": any;
6626 }
6627 interface HTMLScStripePaymentRequestElement extends Components.ScStripePaymentRequest, HTMLStencilElement {
6628 addEventListener<K extends keyof HTMLScStripePaymentRequestElementEventMap>(type: K, listener: (this: HTMLScStripePaymentRequestElement, ev: ScStripePaymentRequestCustomEvent<HTMLScStripePaymentRequestElementEventMap[K]>) => any, options?: boolean | AddEventListenerOptions): void;
6629 addEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
6630 addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
6631 addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
6632 removeEventListener<K extends keyof HTMLScStripePaymentRequestElementEventMap>(type: K, listener: (this: HTMLScStripePaymentRequestElement, ev: ScStripePaymentRequestCustomEvent<HTMLScStripePaymentRequestElementEventMap[K]>) => any, options?: boolean | EventListenerOptions): void;
6633 removeEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
6634 removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
6635 removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
6636 }
6637 var HTMLScStripePaymentRequestElement: {
6638 prototype: HTMLScStripePaymentRequestElement;
6639 new (): HTMLScStripePaymentRequestElement;
6640 };
6641 interface HTMLScSubscriptionElement extends Components.ScSubscription, HTMLStencilElement {
6642 }
6643 var HTMLScSubscriptionElement: {
6644 prototype: HTMLScSubscriptionElement;
6645 new (): HTMLScSubscriptionElement;
6646 };
6647 interface HTMLScSubscriptionAdHocConfirmElement extends Components.ScSubscriptionAdHocConfirm, HTMLStencilElement {
6648 }
6649 var HTMLScSubscriptionAdHocConfirmElement: {
6650 prototype: HTMLScSubscriptionAdHocConfirmElement;
6651 new (): HTMLScSubscriptionAdHocConfirmElement;
6652 };
6653 interface HTMLScSubscriptionCancelElementEventMap {
6654 "scAbandon": void;
6655 "scCancelled": void;
6656 }
6657 interface HTMLScSubscriptionCancelElement extends Components.ScSubscriptionCancel, HTMLStencilElement {
6658 addEventListener<K extends keyof HTMLScSubscriptionCancelElementEventMap>(type: K, listener: (this: HTMLScSubscriptionCancelElement, ev: ScSubscriptionCancelCustomEvent<HTMLScSubscriptionCancelElementEventMap[K]>) => any, options?: boolean | AddEventListenerOptions): void;
6659 addEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
6660 addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
6661 addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
6662 removeEventListener<K extends keyof HTMLScSubscriptionCancelElementEventMap>(type: K, listener: (this: HTMLScSubscriptionCancelElement, ev: ScSubscriptionCancelCustomEvent<HTMLScSubscriptionCancelElementEventMap[K]>) => any, options?: boolean | EventListenerOptions): void;
6663 removeEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
6664 removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
6665 removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
6666 }
6667 var HTMLScSubscriptionCancelElement: {
6668 prototype: HTMLScSubscriptionCancelElement;
6669 new (): HTMLScSubscriptionCancelElement;
6670 };
6671 interface HTMLScSubscriptionDetailsElement extends Components.ScSubscriptionDetails, HTMLStencilElement {
6672 }
6673 var HTMLScSubscriptionDetailsElement: {
6674 prototype: HTMLScSubscriptionDetailsElement;
6675 new (): HTMLScSubscriptionDetailsElement;
6676 };
6677 interface HTMLScSubscriptionNextPaymentElement extends Components.ScSubscriptionNextPayment, HTMLStencilElement {
6678 }
6679 var HTMLScSubscriptionNextPaymentElement: {
6680 prototype: HTMLScSubscriptionNextPaymentElement;
6681 new (): HTMLScSubscriptionNextPaymentElement;
6682 };
6683 interface HTMLScSubscriptionPaymentElement extends Components.ScSubscriptionPayment, HTMLStencilElement {
6684 }
6685 var HTMLScSubscriptionPaymentElement: {
6686 prototype: HTMLScSubscriptionPaymentElement;
6687 new (): HTMLScSubscriptionPaymentElement;
6688 };
6689 interface HTMLScSubscriptionPaymentMethodElement extends Components.ScSubscriptionPaymentMethod, HTMLStencilElement {
6690 }
6691 var HTMLScSubscriptionPaymentMethodElement: {
6692 prototype: HTMLScSubscriptionPaymentMethodElement;
6693 new (): HTMLScSubscriptionPaymentMethodElement;
6694 };
6695 interface HTMLScSubscriptionReactivateElementEventMap {
6696 "scRequestClose": 'close-button' | 'keyboard' | 'overlay';
6697 "scRefresh": void;
6698 }
6699 interface HTMLScSubscriptionReactivateElement extends Components.ScSubscriptionReactivate, HTMLStencilElement {
6700 addEventListener<K extends keyof HTMLScSubscriptionReactivateElementEventMap>(type: K, listener: (this: HTMLScSubscriptionReactivateElement, ev: ScSubscriptionReactivateCustomEvent<HTMLScSubscriptionReactivateElementEventMap[K]>) => any, options?: boolean | AddEventListenerOptions): void;
6701 addEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
6702 addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
6703 addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
6704 removeEventListener<K extends keyof HTMLScSubscriptionReactivateElementEventMap>(type: K, listener: (this: HTMLScSubscriptionReactivateElement, ev: ScSubscriptionReactivateCustomEvent<HTMLScSubscriptionReactivateElementEventMap[K]>) => any, options?: boolean | EventListenerOptions): void;
6705 removeEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
6706 removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
6707 removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
6708 }
6709 var HTMLScSubscriptionReactivateElement: {
6710 prototype: HTMLScSubscriptionReactivateElement;
6711 new (): HTMLScSubscriptionReactivateElement;
6712 };
6713 interface HTMLScSubscriptionStatusBadgeElement extends Components.ScSubscriptionStatusBadge, HTMLStencilElement {
6714 }
6715 var HTMLScSubscriptionStatusBadgeElement: {
6716 prototype: HTMLScSubscriptionStatusBadgeElement;
6717 new (): HTMLScSubscriptionStatusBadgeElement;
6718 };
6719 interface HTMLScSubscriptionSwitchElement extends Components.ScSubscriptionSwitch, HTMLStencilElement {
6720 }
6721 var HTMLScSubscriptionSwitchElement: {
6722 prototype: HTMLScSubscriptionSwitchElement;
6723 new (): HTMLScSubscriptionSwitchElement;
6724 };
6725 interface HTMLScSubscriptionVariationConfirmElement extends Components.ScSubscriptionVariationConfirm, HTMLStencilElement {
6726 }
6727 var HTMLScSubscriptionVariationConfirmElement: {
6728 prototype: HTMLScSubscriptionVariationConfirmElement;
6729 new (): HTMLScSubscriptionVariationConfirmElement;
6730 };
6731 interface HTMLScSubscriptionsListElement extends Components.ScSubscriptionsList, HTMLStencilElement {
6732 }
6733 var HTMLScSubscriptionsListElement: {
6734 prototype: HTMLScSubscriptionsListElement;
6735 new (): HTMLScSubscriptionsListElement;
6736 };
6737 interface HTMLScSummaryElementEventMap {
6738 "scShow": void;
6739 "scHide": void;
6740 }
6741 interface HTMLScSummaryElement extends Components.ScSummary, HTMLStencilElement {
6742 addEventListener<K extends keyof HTMLScSummaryElementEventMap>(type: K, listener: (this: HTMLScSummaryElement, ev: ScSummaryCustomEvent<HTMLScSummaryElementEventMap[K]>) => any, options?: boolean | AddEventListenerOptions): void;
6743 addEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
6744 addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
6745 addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
6746 removeEventListener<K extends keyof HTMLScSummaryElementEventMap>(type: K, listener: (this: HTMLScSummaryElement, ev: ScSummaryCustomEvent<HTMLScSummaryElementEventMap[K]>) => any, options?: boolean | EventListenerOptions): void;
6747 removeEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
6748 removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
6749 removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
6750 }
6751 var HTMLScSummaryElement: {
6752 prototype: HTMLScSummaryElement;
6753 new (): HTMLScSummaryElement;
6754 };
6755 interface HTMLScSwapElement extends Components.ScSwap, HTMLStencilElement {
6756 }
6757 var HTMLScSwapElement: {
6758 prototype: HTMLScSwapElement;
6759 new (): HTMLScSwapElement;
6760 };
6761 interface HTMLScSwitchElementEventMap {
6762 "scBlur": void;
6763 "scChange": void;
6764 "scFocus": void;
6765 }
6766 interface HTMLScSwitchElement extends Components.ScSwitch, HTMLStencilElement {
6767 addEventListener<K extends keyof HTMLScSwitchElementEventMap>(type: K, listener: (this: HTMLScSwitchElement, ev: ScSwitchCustomEvent<HTMLScSwitchElementEventMap[K]>) => any, options?: boolean | AddEventListenerOptions): void;
6768 addEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
6769 addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
6770 addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
6771 removeEventListener<K extends keyof HTMLScSwitchElementEventMap>(type: K, listener: (this: HTMLScSwitchElement, ev: ScSwitchCustomEvent<HTMLScSwitchElementEventMap[K]>) => any, options?: boolean | EventListenerOptions): void;
6772 removeEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
6773 removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
6774 removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
6775 }
6776 var HTMLScSwitchElement: {
6777 prototype: HTMLScSwitchElement;
6778 new (): HTMLScSwitchElement;
6779 };
6780 interface HTMLScTabElementEventMap {
6781 "scClose": void;
6782 }
6783 interface HTMLScTabElement extends Components.ScTab, HTMLStencilElement {
6784 addEventListener<K extends keyof HTMLScTabElementEventMap>(type: K, listener: (this: HTMLScTabElement, ev: ScTabCustomEvent<HTMLScTabElementEventMap[K]>) => any, options?: boolean | AddEventListenerOptions): void;
6785 addEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
6786 addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
6787 addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
6788 removeEventListener<K extends keyof HTMLScTabElementEventMap>(type: K, listener: (this: HTMLScTabElement, ev: ScTabCustomEvent<HTMLScTabElementEventMap[K]>) => any, options?: boolean | EventListenerOptions): void;
6789 removeEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
6790 removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
6791 removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
6792 }
6793 var HTMLScTabElement: {
6794 prototype: HTMLScTabElement;
6795 new (): HTMLScTabElement;
6796 };
6797 interface HTMLScTabGroupElementEventMap {
6798 "scTabHide": string;
6799 "scTabShow": string;
6800 }
6801 interface HTMLScTabGroupElement extends Components.ScTabGroup, HTMLStencilElement {
6802 addEventListener<K extends keyof HTMLScTabGroupElementEventMap>(type: K, listener: (this: HTMLScTabGroupElement, ev: ScTabGroupCustomEvent<HTMLScTabGroupElementEventMap[K]>) => any, options?: boolean | AddEventListenerOptions): void;
6803 addEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
6804 addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
6805 addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
6806 removeEventListener<K extends keyof HTMLScTabGroupElementEventMap>(type: K, listener: (this: HTMLScTabGroupElement, ev: ScTabGroupCustomEvent<HTMLScTabGroupElementEventMap[K]>) => any, options?: boolean | EventListenerOptions): void;
6807 removeEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
6808 removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
6809 removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
6810 }
6811 var HTMLScTabGroupElement: {
6812 prototype: HTMLScTabGroupElement;
6813 new (): HTMLScTabGroupElement;
6814 };
6815 interface HTMLScTabPanelElement extends Components.ScTabPanel, HTMLStencilElement {
6816 }
6817 var HTMLScTabPanelElement: {
6818 prototype: HTMLScTabPanelElement;
6819 new (): HTMLScTabPanelElement;
6820 };
6821 interface HTMLScTableElement extends Components.ScTable, HTMLStencilElement {
6822 }
6823 var HTMLScTableElement: {
6824 prototype: HTMLScTableElement;
6825 new (): HTMLScTableElement;
6826 };
6827 interface HTMLScTableCellElement extends Components.ScTableCell, HTMLStencilElement {
6828 }
6829 var HTMLScTableCellElement: {
6830 prototype: HTMLScTableCellElement;
6831 new (): HTMLScTableCellElement;
6832 };
6833 interface HTMLScTableHeadElement extends Components.ScTableHead, HTMLStencilElement {
6834 }
6835 var HTMLScTableHeadElement: {
6836 prototype: HTMLScTableHeadElement;
6837 new (): HTMLScTableHeadElement;
6838 };
6839 interface HTMLScTableRowElement extends Components.ScTableRow, HTMLStencilElement {
6840 }
6841 var HTMLScTableRowElement: {
6842 prototype: HTMLScTableRowElement;
6843 new (): HTMLScTableRowElement;
6844 };
6845 interface HTMLScTagElementEventMap {
6846 "scClear": ScTag;
6847 }
6848 interface HTMLScTagElement extends Components.ScTag, HTMLStencilElement {
6849 addEventListener<K extends keyof HTMLScTagElementEventMap>(type: K, listener: (this: HTMLScTagElement, ev: ScTagCustomEvent<HTMLScTagElementEventMap[K]>) => any, options?: boolean | AddEventListenerOptions): void;
6850 addEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
6851 addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
6852 addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
6853 removeEventListener<K extends keyof HTMLScTagElementEventMap>(type: K, listener: (this: HTMLScTagElement, ev: ScTagCustomEvent<HTMLScTagElementEventMap[K]>) => any, options?: boolean | EventListenerOptions): void;
6854 removeEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
6855 removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
6856 removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
6857 }
6858 var HTMLScTagElement: {
6859 prototype: HTMLScTagElement;
6860 new (): HTMLScTagElement;
6861 };
6862 interface HTMLScTaxIdInputElementEventMap {
6863 "scChange": { number: string; number_type: string };
6864 "scInput": Partial<{ number: string; number_type: string }>;
6865 "scInputType": string;
6866 "scSetState": string;
6867 }
6868 interface HTMLScTaxIdInputElement extends Components.ScTaxIdInput, HTMLStencilElement {
6869 addEventListener<K extends keyof HTMLScTaxIdInputElementEventMap>(type: K, listener: (this: HTMLScTaxIdInputElement, ev: ScTaxIdInputCustomEvent<HTMLScTaxIdInputElementEventMap[K]>) => any, options?: boolean | AddEventListenerOptions): void;
6870 addEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
6871 addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
6872 addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
6873 removeEventListener<K extends keyof HTMLScTaxIdInputElementEventMap>(type: K, listener: (this: HTMLScTaxIdInputElement, ev: ScTaxIdInputCustomEvent<HTMLScTaxIdInputElementEventMap[K]>) => any, options?: boolean | EventListenerOptions): void;
6874 removeEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
6875 removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
6876 removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
6877 }
6878 var HTMLScTaxIdInputElement: {
6879 prototype: HTMLScTaxIdInputElement;
6880 new (): HTMLScTaxIdInputElement;
6881 };
6882 interface HTMLScTestModeInfoElement extends Components.ScTestModeInfo, HTMLStencilElement {
6883 }
6884 var HTMLScTestModeInfoElement: {
6885 prototype: HTMLScTestModeInfoElement;
6886 new (): HTMLScTestModeInfoElement;
6887 };
6888 interface HTMLScTextElement extends Components.ScText, HTMLStencilElement {
6889 }
6890 var HTMLScTextElement: {
6891 prototype: HTMLScTextElement;
6892 new (): HTMLScTextElement;
6893 };
6894 interface HTMLScTextareaElementEventMap {
6895 "scChange": void;
6896 "scInput": void;
6897 "scBlur": void;
6898 "scFocus": void;
6899 }
6900 interface HTMLScTextareaElement extends Components.ScTextarea, HTMLStencilElement {
6901 addEventListener<K extends keyof HTMLScTextareaElementEventMap>(type: K, listener: (this: HTMLScTextareaElement, ev: ScTextareaCustomEvent<HTMLScTextareaElementEventMap[K]>) => any, options?: boolean | AddEventListenerOptions): void;
6902 addEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
6903 addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
6904 addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
6905 removeEventListener<K extends keyof HTMLScTextareaElementEventMap>(type: K, listener: (this: HTMLScTextareaElement, ev: ScTextareaCustomEvent<HTMLScTextareaElementEventMap[K]>) => any, options?: boolean | EventListenerOptions): void;
6906 removeEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
6907 removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
6908 removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
6909 }
6910 var HTMLScTextareaElement: {
6911 prototype: HTMLScTextareaElement;
6912 new (): HTMLScTextareaElement;
6913 };
6914 interface HTMLScToggleElementEventMap {
6915 "scShow": void;
6916 "scHide": void;
6917 }
6918 interface HTMLScToggleElement extends Components.ScToggle, HTMLStencilElement {
6919 addEventListener<K extends keyof HTMLScToggleElementEventMap>(type: K, listener: (this: HTMLScToggleElement, ev: ScToggleCustomEvent<HTMLScToggleElementEventMap[K]>) => any, options?: boolean | AddEventListenerOptions): void;
6920 addEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
6921 addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
6922 addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
6923 removeEventListener<K extends keyof HTMLScToggleElementEventMap>(type: K, listener: (this: HTMLScToggleElement, ev: ScToggleCustomEvent<HTMLScToggleElementEventMap[K]>) => any, options?: boolean | EventListenerOptions): void;
6924 removeEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
6925 removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
6926 removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
6927 }
6928 var HTMLScToggleElement: {
6929 prototype: HTMLScToggleElement;
6930 new (): HTMLScToggleElement;
6931 };
6932 interface HTMLScTogglesElement extends Components.ScToggles, HTMLStencilElement {
6933 }
6934 var HTMLScTogglesElement: {
6935 prototype: HTMLScTogglesElement;
6936 new (): HTMLScTogglesElement;
6937 };
6938 interface HTMLScTooltipElement extends Components.ScTooltip, HTMLStencilElement {
6939 }
6940 var HTMLScTooltipElement: {
6941 prototype: HTMLScTooltipElement;
6942 new (): HTMLScTooltipElement;
6943 };
6944 interface HTMLScTotalElement extends Components.ScTotal, HTMLStencilElement {
6945 }
6946 var HTMLScTotalElement: {
6947 prototype: HTMLScTotalElement;
6948 new (): HTMLScTotalElement;
6949 };
6950 interface HTMLScUpcomingInvoiceElement extends Components.ScUpcomingInvoice, HTMLStencilElement {
6951 }
6952 var HTMLScUpcomingInvoiceElement: {
6953 prototype: HTMLScUpcomingInvoiceElement;
6954 new (): HTMLScUpcomingInvoiceElement;
6955 };
6956 interface HTMLScUpgradeRequiredElement extends Components.ScUpgradeRequired, HTMLStencilElement {
6957 }
6958 var HTMLScUpgradeRequiredElement: {
6959 prototype: HTMLScUpgradeRequiredElement;
6960 new (): HTMLScUpgradeRequiredElement;
6961 };
6962 interface HTMLScUpsellElement extends Components.ScUpsell, HTMLStencilElement {
6963 }
6964 var HTMLScUpsellElement: {
6965 prototype: HTMLScUpsellElement;
6966 new (): HTMLScUpsellElement;
6967 };
6968 interface HTMLScUpsellCountdownTimerElement extends Components.ScUpsellCountdownTimer, HTMLStencilElement {
6969 }
6970 var HTMLScUpsellCountdownTimerElement: {
6971 prototype: HTMLScUpsellCountdownTimerElement;
6972 new (): HTMLScUpsellCountdownTimerElement;
6973 };
6974 interface HTMLScUpsellNoThanksButtonElement extends Components.ScUpsellNoThanksButton, HTMLStencilElement {
6975 }
6976 var HTMLScUpsellNoThanksButtonElement: {
6977 prototype: HTMLScUpsellNoThanksButtonElement;
6978 new (): HTMLScUpsellNoThanksButtonElement;
6979 };
6980 interface HTMLScUpsellSubmitButtonElement extends Components.ScUpsellSubmitButton, HTMLStencilElement {
6981 }
6982 var HTMLScUpsellSubmitButtonElement: {
6983 prototype: HTMLScUpsellSubmitButtonElement;
6984 new (): HTMLScUpsellSubmitButtonElement;
6985 };
6986 interface HTMLScUpsellTotalsElement extends Components.ScUpsellTotals, HTMLStencilElement {
6987 }
6988 var HTMLScUpsellTotalsElement: {
6989 prototype: HTMLScUpsellTotalsElement;
6990 new (): HTMLScUpsellTotalsElement;
6991 };
6992 interface HTMLScVerificationCodeElement extends Components.ScVerificationCode, HTMLStencilElement {
6993 }
6994 var HTMLScVerificationCodeElement: {
6995 prototype: HTMLScVerificationCodeElement;
6996 new (): HTMLScVerificationCodeElement;
6997 };
6998 interface HTMLScVisuallyHiddenElement extends Components.ScVisuallyHidden, HTMLStencilElement {
6999 }
7000 var HTMLScVisuallyHiddenElement: {
7001 prototype: HTMLScVisuallyHiddenElement;
7002 new (): HTMLScVisuallyHiddenElement;
7003 };
7004 interface HTMLScWordpressPasswordEditElement extends Components.ScWordpressPasswordEdit, HTMLStencilElement {
7005 }
7006 var HTMLScWordpressPasswordEditElement: {
7007 prototype: HTMLScWordpressPasswordEditElement;
7008 new (): HTMLScWordpressPasswordEditElement;
7009 };
7010 interface HTMLScWordpressUserElement extends Components.ScWordpressUser, HTMLStencilElement {
7011 }
7012 var HTMLScWordpressUserElement: {
7013 prototype: HTMLScWordpressUserElement;
7014 new (): HTMLScWordpressUserElement;
7015 };
7016 interface HTMLScWordpressUserEditElement extends Components.ScWordpressUserEdit, HTMLStencilElement {
7017 }
7018 var HTMLScWordpressUserEditElement: {
7019 prototype: HTMLScWordpressUserEditElement;
7020 new (): HTMLScWordpressUserEditElement;
7021 };
7022 interface HTMLElementTagNameMap {
7023 "sc-address": HTMLScAddressElement;
7024 "sc-address-suggestions": HTMLScAddressSuggestionsElement;
7025 "sc-alert": HTMLScAlertElement;
7026 "sc-avatar": HTMLScAvatarElement;
7027 "sc-badge-notice": HTMLScBadgeNoticeElement;
7028 "sc-block-ui": HTMLScBlockUiElement;
7029 "sc-breadcrumb": HTMLScBreadcrumbElement;
7030 "sc-breadcrumbs": HTMLScBreadcrumbsElement;
7031 "sc-button": HTMLScButtonElement;
7032 "sc-button-group": HTMLScButtonGroupElement;
7033 "sc-cancel-dialog": HTMLScCancelDialogElement;
7034 "sc-cancel-discount": HTMLScCancelDiscountElement;
7035 "sc-cancel-survey": HTMLScCancelSurveyElement;
7036 "sc-card": HTMLScCardElement;
7037 "sc-cart": HTMLScCartElement;
7038 "sc-cart-button": HTMLScCartButtonElement;
7039 "sc-cart-form": HTMLScCartFormElement;
7040 "sc-cart-form-submit": HTMLScCartFormSubmitElement;
7041 "sc-cart-header": HTMLScCartHeaderElement;
7042 "sc-cart-icon": HTMLScCartIconElement;
7043 "sc-cart-loader": HTMLScCartLoaderElement;
7044 "sc-cart-session-provider": HTMLScCartSessionProviderElement;
7045 "sc-cart-submit": HTMLScCartSubmitElement;
7046 "sc-cc-logo": HTMLScCcLogoElement;
7047 "sc-charges-list": HTMLScChargesListElement;
7048 "sc-checkbox": HTMLScCheckboxElement;
7049 "sc-checkout": HTMLScCheckoutElement;
7050 "sc-checkout-autofill-provider": HTMLScCheckoutAutofillProviderElement;
7051 "sc-checkout-form-errors": HTMLScCheckoutFormErrorsElement;
7052 "sc-checkout-geo-permission": HTMLScCheckoutGeoPermissionElement;
7053 "sc-checkout-mollie-payment": HTMLScCheckoutMolliePaymentElement;
7054 "sc-checkout-paystack-payment-provider": HTMLScCheckoutPaystackPaymentProviderElement;
7055 "sc-checkout-product-bundle-component-variants": HTMLScCheckoutProductBundleComponentVariantsElement;
7056 "sc-checkout-product-price-variant-selector": HTMLScCheckoutProductPriceVariantSelectorElement;
7057 "sc-checkout-razorpay-payment-provider": HTMLScCheckoutRazorpayPaymentProviderElement;
7058 "sc-checkout-stock-alert": HTMLScCheckoutStockAlertElement;
7059 "sc-checkout-test-complete": HTMLScCheckoutTestCompleteElement;
7060 "sc-checkout-unsaved-changes-warning": HTMLScCheckoutUnsavedChangesWarningElement;
7061 "sc-choice": HTMLScChoiceElement;
7062 "sc-choice-container": HTMLScChoiceContainerElement;
7063 "sc-choices": HTMLScChoicesElement;
7064 "sc-column": HTMLScColumnElement;
7065 "sc-columns": HTMLScColumnsElement;
7066 "sc-compact-address": HTMLScCompactAddressElement;
7067 "sc-conditional-form": HTMLScConditionalFormElement;
7068 "sc-consumer": HTMLScConsumerElement;
7069 "sc-coupon-form": HTMLScCouponFormElement;
7070 "sc-custom-order-price-input": HTMLScCustomOrderPriceInputElement;
7071 "sc-customer-details": HTMLScCustomerDetailsElement;
7072 "sc-customer-edit": HTMLScCustomerEditElement;
7073 "sc-customer-email": HTMLScCustomerEmailElement;
7074 "sc-customer-firstname": HTMLScCustomerFirstnameElement;
7075 "sc-customer-lastname": HTMLScCustomerLastnameElement;
7076 "sc-customer-login": HTMLScCustomerLoginElement;
7077 "sc-customer-name": HTMLScCustomerNameElement;
7078 "sc-customer-phone": HTMLScCustomerPhoneElement;
7079 "sc-dashboard-customer-details": HTMLScDashboardCustomerDetailsElement;
7080 "sc-dashboard-downloads-list": HTMLScDashboardDownloadsListElement;
7081 "sc-dashboard-module": HTMLScDashboardModuleElement;
7082 "sc-dialog": HTMLScDialogElement;
7083 "sc-divider": HTMLScDividerElement;
7084 "sc-donation-choices": HTMLScDonationChoicesElement;
7085 "sc-downloads-list": HTMLScDownloadsListElement;
7086 "sc-drawer": HTMLScDrawerElement;
7087 "sc-dropdown": HTMLScDropdownElement;
7088 "sc-empty": HTMLScEmptyElement;
7089 "sc-error": HTMLScErrorElement;
7090 "sc-express-payment": HTMLScExpressPaymentElement;
7091 "sc-feature-demo-banner": HTMLScFeatureDemoBannerElement;
7092 "sc-flex": HTMLScFlexElement;
7093 "sc-form": HTMLScFormElement;
7094 "sc-form-components-validator": HTMLScFormComponentsValidatorElement;
7095 "sc-form-control": HTMLScFormControlElement;
7096 "sc-form-error-provider": HTMLScFormErrorProviderElement;
7097 "sc-form-row": HTMLScFormRowElement;
7098 "sc-form-state-provider": HTMLScFormStateProviderElement;
7099 "sc-format-bytes": HTMLScFormatBytesElement;
7100 "sc-format-interval": HTMLScFormatIntervalElement;
7101 "sc-format-number": HTMLScFormatNumberElement;
7102 "sc-fulfillment-shipping-status-badge": HTMLScFulfillmentShippingStatusBadgeElement;
7103 "sc-fulfillments": HTMLScFulfillmentsElement;
7104 "sc-heading": HTMLScHeadingElement;
7105 "sc-icon": HTMLScIconElement;
7106 "sc-image-slider": HTMLScImageSliderElement;
7107 "sc-input": HTMLScInputElement;
7108 "sc-invoice-details": HTMLScInvoiceDetailsElement;
7109 "sc-invoice-memo": HTMLScInvoiceMemoElement;
7110 "sc-invoice-status-badge": HTMLScInvoiceStatusBadgeElement;
7111 "sc-invoices-list": HTMLScInvoicesListElement;
7112 "sc-license": HTMLScLicenseElement;
7113 "sc-licenses-list": HTMLScLicensesListElement;
7114 "sc-line-item": HTMLScLineItemElement;
7115 "sc-line-item-bump": HTMLScLineItemBumpElement;
7116 "sc-line-item-invoice-due-date": HTMLScLineItemInvoiceDueDateElement;
7117 "sc-line-item-invoice-number": HTMLScLineItemInvoiceNumberElement;
7118 "sc-line-item-invoice-receipt-download": HTMLScLineItemInvoiceReceiptDownloadElement;
7119 "sc-line-item-shipping": HTMLScLineItemShippingElement;
7120 "sc-line-item-tax": HTMLScLineItemTaxElement;
7121 "sc-line-item-total": HTMLScLineItemTotalElement;
7122 "sc-line-item-trial": HTMLScLineItemTrialElement;
7123 "sc-line-items": HTMLScLineItemsElement;
7124 "sc-line-items-provider": HTMLScLineItemsProviderElement;
7125 "sc-login-form": HTMLScLoginFormElement;
7126 "sc-login-provider": HTMLScLoginProviderElement;
7127 "sc-manual-payment-method": HTMLScManualPaymentMethodElement;
7128 "sc-menu": HTMLScMenuElement;
7129 "sc-menu-divider": HTMLScMenuDividerElement;
7130 "sc-menu-item": HTMLScMenuItemElement;
7131 "sc-menu-label": HTMLScMenuLabelElement;
7132 "sc-mollie-add-method": HTMLScMollieAddMethodElement;
7133 "sc-order": HTMLScOrderElement;
7134 "sc-order-billing-address": HTMLScOrderBillingAddressElement;
7135 "sc-order-bump": HTMLScOrderBumpElement;
7136 "sc-order-bumps": HTMLScOrderBumpsElement;
7137 "sc-order-confirm-components-validator": HTMLScOrderConfirmComponentsValidatorElement;
7138 "sc-order-confirm-provider": HTMLScOrderConfirmProviderElement;
7139 "sc-order-confirmation": HTMLScOrderConfirmationElement;
7140 "sc-order-confirmation-customer": HTMLScOrderConfirmationCustomerElement;
7141 "sc-order-confirmation-details": HTMLScOrderConfirmationDetailsElement;
7142 "sc-order-confirmation-line-items": HTMLScOrderConfirmationLineItemsElement;
7143 "sc-order-confirmation-totals": HTMLScOrderConfirmationTotalsElement;
7144 "sc-order-coupon-form": HTMLScOrderCouponFormElement;
7145 "sc-order-detail": HTMLScOrderDetailElement;
7146 "sc-order-fulfillment-badge": HTMLScOrderFulfillmentBadgeElement;
7147 "sc-order-manual-instructions": HTMLScOrderManualInstructionsElement;
7148 "sc-order-password": HTMLScOrderPasswordElement;
7149 "sc-order-return-badge": HTMLScOrderReturnBadgeElement;
7150 "sc-order-shipment-badge": HTMLScOrderShipmentBadgeElement;
7151 "sc-order-shipping-address": HTMLScOrderShippingAddressElement;
7152 "sc-order-status-badge": HTMLScOrderStatusBadgeElement;
7153 "sc-order-submit": HTMLScOrderSubmitElement;
7154 "sc-order-summary": HTMLScOrderSummaryElement;
7155 "sc-order-tax-id-input": HTMLScOrderTaxIdInputElement;
7156 "sc-orders-list": HTMLScOrdersListElement;
7157 "sc-pagination": HTMLScPaginationElement;
7158 "sc-password": HTMLScPasswordElement;
7159 "sc-password-nag": HTMLScPasswordNagElement;
7160 "sc-payment": HTMLScPaymentElement;
7161 "sc-payment-method": HTMLScPaymentMethodElement;
7162 "sc-payment-method-choice": HTMLScPaymentMethodChoiceElement;
7163 "sc-payment-method-details": HTMLScPaymentMethodDetailsElement;
7164 "sc-payment-methods-list": HTMLScPaymentMethodsListElement;
7165 "sc-payment-selected": HTMLScPaymentSelectedElement;
7166 "sc-paypal-add-method": HTMLScPaypalAddMethodElement;
7167 "sc-paypal-buttons": HTMLScPaypalButtonsElement;
7168 "sc-paystack-add-method": HTMLScPaystackAddMethodElement;
7169 "sc-phone-input": HTMLScPhoneInputElement;
7170 "sc-pill-option": HTMLScPillOptionElement;
7171 "sc-popover": HTMLScPopoverElement;
7172 "sc-premium-tag": HTMLScPremiumTagElement;
7173 "sc-price": HTMLScPriceElement;
7174 "sc-price-choice": HTMLScPriceChoiceElement;
7175 "sc-price-choice-container": HTMLScPriceChoiceContainerElement;
7176 "sc-price-choices": HTMLScPriceChoicesElement;
7177 "sc-price-input": HTMLScPriceInputElement;
7178 "sc-price-range": HTMLScPriceRangeElement;
7179 "sc-product-buy-button": HTMLScProductBuyButtonElement;
7180 "sc-product-donation-amount-choice": HTMLScProductDonationAmountChoiceElement;
7181 "sc-product-donation-choices": HTMLScProductDonationChoicesElement;
7182 "sc-product-donation-custom-amount": HTMLScProductDonationCustomAmountElement;
7183 "sc-product-item": HTMLScProductItemElement;
7184 "sc-product-item-image": HTMLScProductItemImageElement;
7185 "sc-product-item-list": HTMLScProductItemListElement;
7186 "sc-product-item-price": HTMLScProductItemPriceElement;
7187 "sc-product-item-title": HTMLScProductItemTitleElement;
7188 "sc-product-line-item": HTMLScProductLineItemElement;
7189 "sc-product-line-item-note": HTMLScProductLineItemNoteElement;
7190 "sc-product-pills-variant-option": HTMLScProductPillsVariantOptionElement;
7191 "sc-product-price": HTMLScProductPriceElement;
7192 "sc-product-price-choices": HTMLScProductPriceChoicesElement;
7193 "sc-product-price-modal": HTMLScProductPriceModalElement;
7194 "sc-product-quantity": HTMLScProductQuantityElement;
7195 "sc-product-selected-price": HTMLScProductSelectedPriceElement;
7196 "sc-product-text": HTMLScProductTextElement;
7197 "sc-prose": HTMLScProseElement;
7198 "sc-provider": HTMLScProviderElement;
7199 "sc-provisional-banner": HTMLScProvisionalBannerElement;
7200 "sc-purchase-downloads-list": HTMLScPurchaseDownloadsListElement;
7201 "sc-quantity-select": HTMLScQuantitySelectElement;
7202 "sc-radio": HTMLScRadioElement;
7203 "sc-radio-group": HTMLScRadioGroupElement;
7204 "sc-razorpay-add-method": HTMLScRazorpayAddMethodElement;
7205 "sc-recurring-price-choice-container": HTMLScRecurringPriceChoiceContainerElement;
7206 "sc-review-stars": HTMLScReviewStarsElement;
7207 "sc-rich-text": HTMLScRichTextElement;
7208 "sc-secure-notice": HTMLScSecureNoticeElement;
7209 "sc-select": HTMLScSelectElement;
7210 "sc-session-provider": HTMLScSessionProviderElement;
7211 "sc-shipping-choices": HTMLScShippingChoicesElement;
7212 "sc-skeleton": HTMLScSkeletonElement;
7213 "sc-spacing": HTMLScSpacingElement;
7214 "sc-spinner": HTMLScSpinnerElement;
7215 "sc-stacked-list": HTMLScStackedListElement;
7216 "sc-stacked-list-row": HTMLScStackedListRowElement;
7217 "sc-stripe-add-method": HTMLScStripeAddMethodElement;
7218 "sc-stripe-element": HTMLScStripeElementElement;
7219 "sc-stripe-payment-element": HTMLScStripePaymentElementElement;
7220 "sc-stripe-payment-request": HTMLScStripePaymentRequestElement;
7221 "sc-subscription": HTMLScSubscriptionElement;
7222 "sc-subscription-ad-hoc-confirm": HTMLScSubscriptionAdHocConfirmElement;
7223 "sc-subscription-cancel": HTMLScSubscriptionCancelElement;
7224 "sc-subscription-details": HTMLScSubscriptionDetailsElement;
7225 "sc-subscription-next-payment": HTMLScSubscriptionNextPaymentElement;
7226 "sc-subscription-payment": HTMLScSubscriptionPaymentElement;
7227 "sc-subscription-payment-method": HTMLScSubscriptionPaymentMethodElement;
7228 "sc-subscription-reactivate": HTMLScSubscriptionReactivateElement;
7229 "sc-subscription-status-badge": HTMLScSubscriptionStatusBadgeElement;
7230 "sc-subscription-switch": HTMLScSubscriptionSwitchElement;
7231 "sc-subscription-variation-confirm": HTMLScSubscriptionVariationConfirmElement;
7232 "sc-subscriptions-list": HTMLScSubscriptionsListElement;
7233 "sc-summary": HTMLScSummaryElement;
7234 "sc-swap": HTMLScSwapElement;
7235 "sc-switch": HTMLScSwitchElement;
7236 "sc-tab": HTMLScTabElement;
7237 "sc-tab-group": HTMLScTabGroupElement;
7238 "sc-tab-panel": HTMLScTabPanelElement;
7239 "sc-table": HTMLScTableElement;
7240 "sc-table-cell": HTMLScTableCellElement;
7241 "sc-table-head": HTMLScTableHeadElement;
7242 "sc-table-row": HTMLScTableRowElement;
7243 "sc-tag": HTMLScTagElement;
7244 "sc-tax-id-input": HTMLScTaxIdInputElement;
7245 "sc-test-mode-info": HTMLScTestModeInfoElement;
7246 "sc-text": HTMLScTextElement;
7247 "sc-textarea": HTMLScTextareaElement;
7248 "sc-toggle": HTMLScToggleElement;
7249 "sc-toggles": HTMLScTogglesElement;
7250 "sc-tooltip": HTMLScTooltipElement;
7251 "sc-total": HTMLScTotalElement;
7252 "sc-upcoming-invoice": HTMLScUpcomingInvoiceElement;
7253 "sc-upgrade-required": HTMLScUpgradeRequiredElement;
7254 "sc-upsell": HTMLScUpsellElement;
7255 "sc-upsell-countdown-timer": HTMLScUpsellCountdownTimerElement;
7256 "sc-upsell-no-thanks-button": HTMLScUpsellNoThanksButtonElement;
7257 "sc-upsell-submit-button": HTMLScUpsellSubmitButtonElement;
7258 "sc-upsell-totals": HTMLScUpsellTotalsElement;
7259 "sc-verification-code": HTMLScVerificationCodeElement;
7260 "sc-visually-hidden": HTMLScVisuallyHiddenElement;
7261 "sc-wordpress-password-edit": HTMLScWordpressPasswordEditElement;
7262 "sc-wordpress-user": HTMLScWordpressUserElement;
7263 "sc-wordpress-user-edit": HTMLScWordpressUserEditElement;
7264 }
7265 }
7266 declare namespace LocalJSX {
7267 interface ScAddress {
7268 /**
7269 * The address.
7270 */
7271 "address"?: Partial<Address>;
7272 /**
7273 * Is this disabled?
7274 */
7275 "disabled"?: boolean;
7276 /**
7277 * The label for the field.
7278 */
7279 "label"?: string;
7280 /**
7281 * Is this loading?
7282 */
7283 "loading"?: boolean;
7284 "names"?: Partial<Address>;
7285 /**
7286 * Address change event.
7287 */
7288 "onScChangeAddress"?: (event: ScAddressCustomEvent<Partial<Address>>) => void;
7289 /**
7290 * Address change event.
7291 */
7292 "onScInputAddress"?: (event: ScAddressCustomEvent<Partial<Address>>) => void;
7293 /**
7294 * Is the name required
7295 */
7296 "requireName"?: boolean;
7297 /**
7298 * Is this required?
7299 */
7300 "required"?: boolean;
7301 /**
7302 * Should we show name field?
7303 */
7304 "showLine2"?: boolean;
7305 /**
7306 * Should we show name field?
7307 */
7308 "showName"?: boolean;
7309 }
7310 interface ScAddressSuggestions {
7311 "address"?: Partial<Address>;
7312 /**
7313 * If the address input is disabled
7314 */
7315 "disabled"?: boolean;
7316 /**
7317 * Props for the input element
7318 */
7319 "inputProps"?: Record<string, unknown>;
7320 /**
7321 * The label for the address input
7322 */
7323 "label"?: string;
7324 "names"?: Partial<Address>;
7325 /**
7326 * Address changed — emitted to parent to update address state.
7327 */
7328 "onScChangeAddress"?: (event: ScAddressSuggestionsCustomEvent<Address>) => void;
7329 /**
7330 * Event to hide address fields
7331 */
7332 "onScHideAddressFields"?: (event: ScAddressSuggestionsCustomEvent<void>) => void;
7333 /**
7334 * Event to show address fields manually
7335 */
7336 "onScShowAddressFields"?: (event: ScAddressSuggestionsCustomEvent<void>) => void;
7337 /**
7338 * Holds the regions for a given country.
7339 */
7340 "regions"?: Array<{ value: string; label: string }>;
7341 /**
7342 * If the address is required
7343 */
7344 "required"?: boolean;
7345 }
7346 interface ScAlert {
7347 /**
7348 * Makes the alert closable.
7349 */
7350 "closable"?: boolean;
7351 /**
7352 * 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`.
7353 */
7354 "duration"?: number;
7355 /**
7356 * No icon
7357 */
7358 "noIcon"?: boolean;
7359 /**
7360 * When alert is hidden
7361 */
7362 "onScHide"?: (event: ScAlertCustomEvent<void>) => void;
7363 /**
7364 * When alert is shown
7365 */
7366 "onScShow"?: (event: ScAlertCustomEvent<void>) => void;
7367 /**
7368 * Indicates whether or not the alert is open. You can use this in lieu of the show/hide methods.
7369 */
7370 "open"?: boolean;
7371 /**
7372 * Scroll margin
7373 */
7374 "scrollMargin"?: string;
7375 /**
7376 * Scroll into view.
7377 */
7378 "scrollOnOpen"?: boolean;
7379 /**
7380 * The title.
7381 */
7382 "title"?: string;
7383 /**
7384 * The type of alert.
7385 */
7386 "type"?: 'primary' | 'success' | 'info' | 'warning' | 'danger';
7387 }
7388 interface ScAvatar {
7389 /**
7390 * The image source to use for the avatar.
7391 */
7392 "image"?: string;
7393 /**
7394 * Initials to use as a fallback when no image is available (1-2 characters max recommended).
7395 */
7396 "initials"?: string;
7397 /**
7398 * A label to use to describe the avatar to assistive devices.
7399 */
7400 "label"?: string;
7401 /**
7402 * Indicates how the browser should load the image.
7403 */
7404 "loading"?: 'eager' | 'lazy';
7405 /**
7406 * The shape of the avatar.
7407 */
7408 "shape"?: 'circle' | 'square' | 'rounded';
7409 }
7410 interface ScBadgeNotice {
7411 "label"?: string;
7412 "size"?: 'small' | 'medium' | 'large';
7413 "type"?: 'primary' | 'success' | 'info' | 'warning' | 'danger' | 'default';
7414 }
7415 interface ScBlockUi {
7416 "spinner"?: boolean;
7417 "transparent"?: boolean;
7418 "zIndex"?: number;
7419 }
7420 interface ScBreadcrumb {
7421 /**
7422 * 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.
7423 */
7424 "href"?: string;
7425 /**
7426 * The `rel` attribute to use on the link. Only used when `href` is set.
7427 */
7428 "rel"?: string;
7429 /**
7430 * Tells the browser where to open the link. Only used when `href` is set.
7431 */
7432 "target"?: '_blank' | '_parent' | '_self' | '_top';
7433 }
7434 interface ScBreadcrumbs {
7435 /**
7436 * 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.
7437 */
7438 "label"?: string;
7439 }
7440 interface ScButton {
7441 /**
7442 * Tells the browser to autofocus.
7443 */
7444 "autofocus"?: boolean;
7445 /**
7446 * Draws the button in a busy state.
7447 */
7448 "busy"?: boolean;
7449 /**
7450 * Draws the button with a caret for use with dropdowns, popovers, etc.
7451 */
7452 "caret"?: boolean;
7453 /**
7454 * Draws a circle button.
7455 */
7456 "circle"?: boolean;
7457 /**
7458 * Disables the button.
7459 */
7460 "disabled"?: boolean;
7461 /**
7462 * Tells the browser to download the linked file as this filename. Only used when `href` is set.
7463 */
7464 "download"?: string;
7465 /**
7466 * Draws the button full-width.
7467 */
7468 "full"?: boolean;
7469 /**
7470 * When set, the underlying button will be rendered as an `<a>` with this `href` instead of a `<button>`.
7471 */
7472 "href"?: string;
7473 /**
7474 * Draws the button in a loading state.
7475 */
7476 "loading"?: boolean;
7477 /**
7478 * An optional name for the button. Ignored when `href` is set.
7479 */
7480 "name"?: string;
7481 /**
7482 * Emitted when the button loses focus.
7483 */
7484 "onScBlur"?: (event: ScButtonCustomEvent<void>) => void;
7485 /**
7486 * Emitted when the button gains focus.
7487 */
7488 "onScFocus"?: (event: ScButtonCustomEvent<void>) => void;
7489 /**
7490 * Draws an outlined button.
7491 */
7492 "outline"?: boolean;
7493 /**
7494 * Draws a pill-style button with rounded edges.
7495 */
7496 "pill"?: boolean;
7497 /**
7498 * The button's size.
7499 */
7500 "size"?: 'small' | 'medium' | 'large';
7501 /**
7502 * Indicates if activating the button should submit the form. Ignored when `href` is set.
7503 */
7504 "submit"?: boolean;
7505 /**
7506 * Tells the browser where to open the link. Only used when `href` is set.
7507 */
7508 "target"?: '_blank' | '_parent' | '_self' | '_top';
7509 /**
7510 * The button's type.
7511 */
7512 "type"?: 'default' | 'primary' | 'success' | 'info' | 'warning' | 'danger' | 'text' | 'link';
7513 /**
7514 * An optional value for the button. Ignored when `href` is set.
7515 */
7516 "value"?: string;
7517 }
7518 interface ScButtonGroup {
7519 "label"?: string;
7520 "separate"?: boolean;
7521 }
7522 interface ScCancelDialog {
7523 "onScRefresh"?: (event: ScCancelDialogCustomEvent<void>) => void;
7524 "onScRequestClose"?: (event: ScCancelDialogCustomEvent<'close-button' | 'keyboard' | 'overlay'>) => void;
7525 "open"?: boolean;
7526 "protocol"?: SubscriptionProtocol;
7527 "subscription"?: Subscription;
7528 }
7529 interface ScCancelDiscount {
7530 "comment"?: string;
7531 "onScCancel"?: (event: ScCancelDiscountCustomEvent<void>) => void;
7532 "onScPreserved"?: (event: ScCancelDiscountCustomEvent<void>) => void;
7533 "protocol"?: SubscriptionProtocol;
7534 "reason"?: CancellationReason;
7535 "subscription"?: Subscription;
7536 }
7537 interface ScCancelSurvey {
7538 "onScAbandon"?: (event: ScCancelSurveyCustomEvent<void>) => void;
7539 "onScSubmitReason"?: (event: ScCancelSurveyCustomEvent<{ reason: CancellationReason; comment: string }>) => void;
7540 "protocol"?: SubscriptionProtocol;
7541 "reasons"?: CancellationReason[];
7542 }
7543 interface ScCard {
7544 /**
7545 * Is this card borderless.
7546 */
7547 "borderless"?: boolean;
7548 /**
7549 * A link for the card.
7550 */
7551 "href"?: string;
7552 /**
7553 * Is this card loading.
7554 */
7555 "loading"?: boolean;
7556 /**
7557 * Eliminate the divider
7558 */
7559 "noDivider"?: boolean;
7560 /**
7561 * Remove padding
7562 */
7563 "noPadding"?: boolean;
7564 }
7565 interface ScCart {
7566 /**
7567 * Should we force show the cart, even if there's a form on the page?
7568 */
7569 "alwaysShow"?: boolean;
7570 /**
7571 * The template for the cart to inject when opened.
7572 */
7573 "cartTemplate"?: string;
7574 "checkoutLink"?: string;
7575 /**
7576 * The checkout url for the button.
7577 */
7578 "checkoutUrl"?: string;
7579 /**
7580 * Whether the floating button should be visible
7581 */
7582 "floatingIconEnabled"?: boolean;
7583 /**
7584 * The form id to use for the cart.
7585 */
7586 "formId"?: string;
7587 /**
7588 * The header for the popout.
7589 */
7590 "header"?: string;
7591 /**
7592 * Are we in test or live mode.
7593 */
7594 "mode"?: 'test' | 'live';
7595 }
7596 interface ScCartButton {
7597 /**
7598 * Whether the cart icon is always shown when the cart is empty
7599 */
7600 "cartMenuAlwaysShown"?: boolean;
7601 /**
7602 * The form id to use for the cart.
7603 */
7604 "formId"?: string;
7605 /**
7606 * Are we in test or live mode.
7607 */
7608 "mode"?: 'test' | 'live';
7609 /**
7610 * Whether the cart count will be shown or not when the cart is empty
7611 */
7612 "showEmptyCount"?: boolean;
7613 }
7614 interface ScCartForm {
7615 /**
7616 * The form id to use for the cart.
7617 */
7618 "formId"?: string;
7619 /**
7620 * Are we in test or live mode.
7621 */
7622 "mode"?: 'test' | 'live';
7623 /**
7624 * The price id to add.
7625 */
7626 "priceId"?: string;
7627 /**
7628 * The quantity
7629 */
7630 "quantity"?: number;
7631 /**
7632 * The variant id to add.
7633 */
7634 "variantId"?: string;
7635 }
7636 interface ScCartFormSubmit {
7637 /**
7638 * Show a full-width button.
7639 */
7640 "full"?: boolean;
7641 /**
7642 * Icon to show.
7643 */
7644 "icon"?: string;
7645 /**
7646 * The button's size.
7647 */
7648 "size"?: 'small' | 'medium' | 'large';
7649 /**
7650 * The button type.
7651 */
7652 "type"?: 'default' | 'primary' | 'success' | 'info' | 'warning' | 'danger' | 'text' | 'link';
7653 }
7654 interface ScCartHeader {
7655 "onScCloseCart"?: (event: ScCartHeaderCustomEvent<void>) => void;
7656 }
7657 interface ScCartIcon {
7658 /**
7659 * The icon to show.
7660 */
7661 "icon"?: string;
7662 }
7663 interface ScCartLoader {
7664 /**
7665 * The cart template to inject when opened.
7666 */
7667 "template"?: string;
7668 }
7669 interface ScCartSessionProvider {
7670 /**
7671 * Set the state
7672 */
7673 "onScSetState"?: (event: ScCartSessionProviderCustomEvent<'loading' | 'busy' | 'navigating' | 'idle'>) => void;
7674 }
7675 interface ScCartSubmit {
7676 /**
7677 * Is the cart busy
7678 */
7679 "busy"?: boolean;
7680 }
7681 interface ScCcLogo {
7682 "brand"?: string;
7683 }
7684 interface ScChargesList {
7685 "allLink"?: string;
7686 "heading"?: string;
7687 /**
7688 * Query to fetch charges
7689 */
7690 "query"?: {
7691 page: number;
7692 per_page: number;
7693 };
7694 "showPagination"?: boolean;
7695 }
7696 interface ScCheckbox {
7697 /**
7698 * Draws the checkbox in a checked state.
7699 */
7700 "checked"?: boolean;
7701 /**
7702 * Disables the checkbox.
7703 */
7704 "disabled"?: boolean;
7705 /**
7706 * Makes this edit and not editable.
7707 */
7708 "edit"?: boolean;
7709 /**
7710 * Draws the checkbox in an indeterminate state.
7711 */
7712 "indeterminate"?: boolean;
7713 /**
7714 * This will be true when the control is in an invalid state. Validity is determined by the `required` prop.
7715 */
7716 "invalid"?: boolean;
7717 /**
7718 * The checkbox's name attribute.
7719 */
7720 "name"?: string;
7721 /**
7722 * Emitted when the control loses focus.
7723 */
7724 "onScBlur"?: (event: ScCheckboxCustomEvent<void>) => void;
7725 /**
7726 * Emitted when the control's checked state changes.
7727 */
7728 "onScChange"?: (event: ScCheckboxCustomEvent<void>) => void;
7729 /**
7730 * Emitted when the control gains focus.
7731 */
7732 "onScFocus"?: (event: ScCheckboxCustomEvent<void>) => void;
7733 /**
7734 * Makes the checkbox a required field.
7735 */
7736 "required"?: boolean;
7737 /**
7738 * The checkbox's value attribute.
7739 */
7740 "value"?: string;
7741 }
7742 interface ScCheckout {
7743 /**
7744 * Is abandoned checkout enabled.
7745 */
7746 "abandonedCheckoutEnabled"?: boolean;
7747 /**
7748 * Alignment
7749 */
7750 "alignment"?: 'center' | 'wide' | 'full';
7751 /**
7752 * Currency to use for this checkout.
7753 */
7754 "currencyCode"?: string;
7755 /**
7756 * Stores the current customer
7757 */
7758 "customer"?: Customer;
7759 /**
7760 * Should we disable components validation
7761 */
7762 "disableComponentsValidation"?: boolean;
7763 /**
7764 * Can we edit line items?
7765 */
7766 "editLineItems"?: boolean;
7767 /**
7768 * The checkout form id
7769 */
7770 "formId"?: number;
7771 /**
7772 * Manual payment methods enabled for this form.
7773 */
7774 "manualPaymentMethods"?: ManualPaymentMethod[];
7775 /**
7776 * Are we in test or live mode.
7777 */
7778 "mode"?: 'test' | 'live';
7779 /**
7780 * When the form was modified.
7781 */
7782 "modified"?: string;
7783 /**
7784 * Checkout has an error.
7785 */
7786 "onScOrderError"?: (event: ScCheckoutCustomEvent<ResponseError>) => void;
7787 /**
7788 * Checkout has been finalized.
7789 */
7790 "onScOrderFinalized"?: (event: ScCheckoutCustomEvent<Checkout>) => void;
7791 /**
7792 * Checkout has been updated.
7793 */
7794 "onScOrderUpdated"?: (event: ScCheckoutCustomEvent<Checkout>) => void;
7795 /**
7796 * Whether to persist the session in the browser between visits.
7797 */
7798 "persistSession"?: boolean;
7799 /**
7800 * An array of prices to pre-fill in the form.
7801 */
7802 "prices"?: Array<PriceChoice>;
7803 /**
7804 * Processors enabled for this form.
7805 */
7806 "processors"?: Processor[];
7807 /**
7808 * A product to pre-fill the form.
7809 */
7810 "product"?: Product;
7811 /**
7812 * Can we remove line items?
7813 */
7814 "removeLineItems"?: boolean;
7815 /**
7816 * Use the Stripe payment element.
7817 */
7818 "stripePaymentElement"?: boolean;
7819 /**
7820 * Where to go on success
7821 */
7822 "successUrl"?: string;
7823 /**
7824 * The account tax protocol
7825 */
7826 "taxProtocol"?: TaxProtocol;
7827 }
7828 interface ScCheckoutAutofillProvider {
7829 }
7830 /**
7831 * This component listens for a confirmed event and redirects to the success url.
7832 */
7833 interface ScCheckoutFormErrors {
7834 }
7835 /**
7836 * Explains why location is requested (e.g. regional / purchasing-power-parity pricing) and gates
7837 * the browser geolocation prompt behind an explicit opt-in when capture is enabled by the merchant.
7838 */
7839 interface ScCheckoutGeoPermission {
7840 }
7841 interface ScCheckoutMolliePayment {
7842 "method"?: string;
7843 "processorId"?: string;
7844 }
7845 interface ScCheckoutPaystackPaymentProvider {
7846 }
7847 /**
7848 * Checkout-side picker for bundle component variants. Mirrors the PDP bundle
7849 * picker (the scope-aware `surecart/product-variant-pills` block) but writes the
7850 * selection straight into the bundle line item's `bundle_component_variants`.
7851 */
7852 interface ScCheckoutProductBundleComponentVariants {
7853 /**
7854 * The bundle product (must include bundle_items.component_variants + component_variant_options).
7855 */
7856 "product"?: Product;
7857 }
7858 interface ScCheckoutProductPriceVariantSelector {
7859 /**
7860 * The label for the price.
7861 */
7862 "label"?: string;
7863 /**
7864 * The product.
7865 */
7866 "product"?: Product;
7867 /**
7868 * The title for price and variant selections
7869 */
7870 "selectorTitle"?: string;
7871 }
7872 interface ScCheckoutRazorpayPaymentProvider {
7873 /**
7874 * Razorpay processor id. Required for the recurring `payment_method_types` fetch.
7875 */
7876 "processorId"?: string;
7877 }
7878 /**
7879 * This component listens for stock requirements and displays a dialog to the user.
7880 */
7881 interface ScCheckoutStockAlert {
7882 /**
7883 * Toggle line item event
7884 */
7885 "onScUpdateLineItem"?: (event: ScCheckoutStockAlertCustomEvent<LineItemData>) => void;
7886 }
7887 /**
7888 * This component listens to the order status
7889 * and confirms the order when payment is successful.
7890 */
7891 interface ScCheckoutTestComplete {
7892 /**
7893 * Checkout status to listen and do payment related stuff.
7894 */
7895 "checkoutStatus"?: string;
7896 /**
7897 * The order is paid event.
7898 */
7899 "onScOrderPaid"?: (event: ScCheckoutTestCompleteCustomEvent<Checkout>) => void;
7900 "onScSetState"?: (event: ScCheckoutTestCompleteCustomEvent<string>) => void;
7901 /**
7902 * Success url.
7903 */
7904 "successUrl"?: string;
7905 }
7906 interface ScCheckoutUnsavedChangesWarning {
7907 "state"?: FormState;
7908 }
7909 interface ScChoice {
7910 /**
7911 * Draws the choice in a checked state.
7912 */
7913 "checked"?: boolean;
7914 /**
7915 * Is the choice disabled
7916 */
7917 "disabled"?: boolean;
7918 /**
7919 * This will be true when the control is in an invalid state. Validity is determined by the `required` prop.
7920 */
7921 "invalid"?: boolean;
7922 /**
7923 * The choice name attribute
7924 */
7925 "name"?: string;
7926 /**
7927 * Emitted when the control loses focus.
7928 */
7929 "onScBlur"?: (event: ScChoiceCustomEvent<void>) => void;
7930 /**
7931 * Emitted when the control's checked state changes.
7932 */
7933 "onScChange"?: (event: ScChoiceCustomEvent<boolean>) => void;
7934 /**
7935 * Emitted when the control gains focus.
7936 */
7937 "onScFocus"?: (event: ScChoiceCustomEvent<void>) => void;
7938 /**
7939 * Is this required
7940 */
7941 "required"?: boolean;
7942 /**
7943 * Show the radio/checkbox control
7944 */
7945 "showControl"?: boolean;
7946 /**
7947 * Show the label
7948 */
7949 "showLabel"?: boolean;
7950 /**
7951 * Show the price
7952 */
7953 "showPrice"?: boolean;
7954 /**
7955 * The size.
7956 */
7957 "size"?: 'small' | 'medium' | 'large';
7958 /**
7959 * The choice name attribute
7960 */
7961 "type"?: 'radio' | 'checkbox';
7962 /**
7963 * The choice value
7964 */
7965 "value"?: string;
7966 }
7967 interface ScChoiceContainer {
7968 /**
7969 * Draws the choice in a checked state.
7970 */
7971 "checked"?: boolean;
7972 /**
7973 * Is the choice disabled
7974 */
7975 "disabled"?: boolean;
7976 /**
7977 * This will be true when the control is in an invalid state. Validity is determined by the `required` prop.
7978 */
7979 "invalid"?: boolean;
7980 /**
7981 * The choice name attribute
7982 */
7983 "name"?: string;
7984 /**
7985 * Emitted when the control loses focus.
7986 */
7987 "onScBlur"?: (event: ScChoiceContainerCustomEvent<void>) => void;
7988 /**
7989 * Emitted when the control's checked state changes.
7990 */
7991 "onScChange"?: (event: ScChoiceContainerCustomEvent<boolean>) => void;
7992 /**
7993 * Emitted when the control gains focus.
7994 */
7995 "onScFocus"?: (event: ScChoiceContainerCustomEvent<void>) => void;
7996 /**
7997 * Is this required
7998 */
7999 "required"?: boolean;
8000 /**
8001 * Role of radio/checkbox control
8002 */
8003 "role"?: string;
8004 /**
8005 * Show the radio/checkbox control
8006 */
8007 "showControl"?: boolean;
8008 /**
8009 * The size.
8010 */
8011 "size"?: 'small' | 'medium' | 'large';
8012 /**
8013 * The choice name attribute
8014 */
8015 "type"?: 'radio' | 'checkbox';
8016 /**
8017 * The choice value
8018 */
8019 "value"?: string;
8020 }
8021 interface ScChoices {
8022 "autoWidth"?: boolean;
8023 /**
8024 * Number of columns on desktop
8025 */
8026 "columns"?: number;
8027 /**
8028 * Validation error message.
8029 */
8030 "errorMessage"?: string;
8031 /**
8032 * The input's help text.
8033 */
8034 "help"?: string;
8035 /**
8036 * Hides the fieldset and legend that surrounds the group. The label will still be read by screen readers.
8037 */
8038 "hideLabel"?: boolean;
8039 /**
8040 * The group label. Required for proper accessibility. Alternatively, you can use the label slot.
8041 */
8042 "label"?: string;
8043 /**
8044 * Required
8045 */
8046 "required"?: boolean;
8047 /**
8048 * Should we show the label
8049 */
8050 "showLabel"?: boolean;
8051 /**
8052 * Input size
8053 */
8054 "size"?: 'small' | 'medium' | 'large';
8055 }
8056 interface ScColumn {
8057 }
8058 interface ScColumns {
8059 /**
8060 * Is this full vertical height
8061 */
8062 "isFullHeight"?: boolean;
8063 /**
8064 * Is this reverse ordered on mobile
8065 */
8066 "isReversedOnMobile"?: boolean;
8067 /**
8068 * Is this stacked on mobile
8069 */
8070 "isStackedOnMobile"?: boolean;
8071 /**
8072 * The vertical alignment of the columns.
8073 */
8074 "verticalAlignment"?: string;
8075 }
8076 interface ScCompactAddress {
8077 /**
8078 * The address.
8079 */
8080 "address"?: Partial<Address>;
8081 /**
8082 * Label for the address
8083 */
8084 "label"?: string;
8085 /**
8086 * Is this loading
8087 */
8088 "loading"?: boolean;
8089 "names"?: Partial<Address>;
8090 /**
8091 * Address change event.
8092 */
8093 "onScChangeAddress"?: (event: ScCompactAddressCustomEvent<Partial<Address>>) => void;
8094 /**
8095 * Address input event.
8096 */
8097 "onScInputAddress"?: (event: ScCompactAddressCustomEvent<Partial<Address>>) => void;
8098 /**
8099 * Placeholders
8100 */
8101 "placeholders"?: Partial<Address>;
8102 /**
8103 * Is this required?
8104 */
8105 "required"?: boolean;
8106 }
8107 interface ScConditionalForm {
8108 /**
8109 * Selector label
8110 */
8111 "rule_groups"?: RuleGroup[];
8112 }
8113 interface ScConsumer {
8114 "onMountConsumer"?: (event: ScConsumerCustomEvent<any>) => void;
8115 "renderer"?: any;
8116 }
8117 interface ScCouponForm {
8118 /**
8119 * Is the form calculating
8120 */
8121 "busy"?: boolean;
8122 /**
8123 * The text for apply button
8124 */
8125 "buttonText"?: string;
8126 "collapsed"?: boolean;
8127 /**
8128 * Currency
8129 */
8130 "currency"?: string;
8131 /**
8132 * The discount
8133 */
8134 "discount"?: DiscountResponse;
8135 /**
8136 * The discount amount
8137 */
8138 "discountAmount"?: number;
8139 /**
8140 * The discounts display amount
8141 */
8142 "discountsDisplayAmount"?: string;
8143 /**
8144 * Is the form editable
8145 */
8146 "editable"?: boolean;
8147 /**
8148 * The error message
8149 */
8150 "error"?: string;
8151 /**
8152 * Force the form to show
8153 */
8154 "forceOpen"?: boolean;
8155 /**
8156 * The label for the coupon form
8157 */
8158 "label"?: string;
8159 /**
8160 * Is the form loading
8161 */
8162 "loading"?: boolean;
8163 /**
8164 * When the coupon is applied
8165 */
8166 "onScApplyCoupon"?: (event: ScCouponFormCustomEvent<string>) => void;
8167 /**
8168 * Is it open
8169 */
8170 "open"?: boolean;
8171 /**
8172 * The placeholder for the input
8173 */
8174 "placeholder"?: string;
8175 /**
8176 * Has recurring
8177 */
8178 "showInterval"?: boolean;
8179 }
8180 interface ScCustomOrderPriceInput {
8181 /**
8182 * Is this busy
8183 */
8184 "busy"?: boolean;
8185 /**
8186 * Help text.
8187 */
8188 "help"?: string;
8189 /**
8190 * Label for the field.
8191 */
8192 "label"?: string;
8193 /**
8194 * Label for the choice.
8195 */
8196 "lineItems"?: LineItem[];
8197 /**
8198 * Is this loading
8199 */
8200 "loading"?: boolean;
8201 /**
8202 * Toggle line item event
8203 */
8204 "onScUpdateLineItem"?: (event: ScCustomOrderPriceInputCustomEvent<LineItemData1>) => void;
8205 /**
8206 * Input placeholder.
8207 */
8208 "placeholder"?: string;
8209 /**
8210 * Stores the price
8211 */
8212 "price"?: Price;
8213 /**
8214 * Id of the price.
8215 */
8216 "priceId"?: string;
8217 /**
8218 * Is this required?
8219 */
8220 "required"?: boolean;
8221 /**
8222 * Show the currency code?
8223 */
8224 "showCode"?: boolean;
8225 }
8226 interface ScCustomerDetails {
8227 "customer"?: Customer;
8228 "editLink"?: string;
8229 "error"?: string;
8230 "heading"?: string;
8231 "loading"?: boolean;
8232 }
8233 interface ScCustomerEdit {
8234 "customer"?: Customer;
8235 "heading"?: string;
8236 "successUrl"?: string;
8237 }
8238 interface ScCustomerEmail {
8239 /**
8240 * The input's autofocus attribute.
8241 */
8242 "autofocus"?: boolean;
8243 /**
8244 * Disables the input.
8245 */
8246 "disabled"?: boolean;
8247 /**
8248 * Inputs focus
8249 */
8250 "hasFocus"?: boolean;
8251 /**
8252 * The input's help text.
8253 */
8254 "help"?: string;
8255 /**
8256 * 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.
8257 */
8258 "invalid"?: boolean;
8259 /**
8260 * The input's label.
8261 */
8262 "label"?: string;
8263 /**
8264 * Emitted when the control loses focus.
8265 */
8266 "onScBlur"?: (event: ScCustomerEmailCustomEvent<void>) => void;
8267 /**
8268 * Emitted when the control's value changes.
8269 */
8270 "onScChange"?: (event: ScCustomerEmailCustomEvent<void>) => void;
8271 /**
8272 * Emitted when the clear button is activated.
8273 */
8274 "onScClear"?: (event: ScCustomerEmailCustomEvent<void>) => void;
8275 /**
8276 * Emitted when the control gains focus.
8277 */
8278 "onScFocus"?: (event: ScCustomerEmailCustomEvent<void>) => void;
8279 /**
8280 * Emitted when the control receives input.
8281 */
8282 "onScInput"?: (event: ScCustomerEmailCustomEvent<void>) => void;
8283 /**
8284 * Prompt for login.
8285 */
8286 "onScLoginPrompt"?: (event: ScCustomerEmailCustomEvent<void>) => void;
8287 /**
8288 * Update the abandoned cart.
8289 */
8290 "onScUpdateAbandonedCart"?: (event: ScCustomerEmailCustomEvent<boolean>) => void;
8291 /**
8292 * Update the order state.
8293 */
8294 "onScUpdateOrderState"?: (event: ScCustomerEmailCustomEvent<Checkout>) => void;
8295 /**
8296 * Draws a pill-style input with rounded edges.
8297 */
8298 "pill"?: boolean;
8299 /**
8300 * The input's placeholder text.
8301 */
8302 "placeholder"?: string;
8303 /**
8304 * Makes the input readonly.
8305 */
8306 "readonly"?: boolean;
8307 /**
8308 * Makes the input a required field.
8309 */
8310 "required"?: boolean;
8311 /**
8312 * Should we show the label
8313 */
8314 "showLabel"?: boolean;
8315 /**
8316 * The input's size.
8317 */
8318 "size"?: 'small' | 'medium' | 'large';
8319 /**
8320 * A message for tracking confirmation.
8321 */
8322 "trackingConfirmationMessage"?: string;
8323 /**
8324 * The input's value attribute.
8325 */
8326 "value"?: string;
8327 }
8328 interface ScCustomerFirstname {
8329 /**
8330 * The input's autofocus attribute.
8331 */
8332 "autofocus"?: boolean;
8333 /**
8334 * Disables the input.
8335 */
8336 "disabled"?: boolean;
8337 /**
8338 * Inputs focus
8339 */
8340 "hasFocus"?: boolean;
8341 /**
8342 * The input's help text.
8343 */
8344 "help"?: string;
8345 /**
8346 * 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.
8347 */
8348 "invalid"?: boolean;
8349 /**
8350 * The input's label.
8351 */
8352 "label"?: string;
8353 /**
8354 * Is the user logged in.
8355 */
8356 "loggedIn"?: boolean;
8357 /**
8358 * Emitted when the control loses focus.
8359 */
8360 "onScBlur"?: (event: ScCustomerFirstnameCustomEvent<void>) => void;
8361 /**
8362 * Emitted when the control's value changes.
8363 */
8364 "onScChange"?: (event: ScCustomerFirstnameCustomEvent<void>) => void;
8365 /**
8366 * Emitted when the clear button is activated.
8367 */
8368 "onScClear"?: (event: ScCustomerFirstnameCustomEvent<void>) => void;
8369 /**
8370 * Emitted when the control gains focus.
8371 */
8372 "onScFocus"?: (event: ScCustomerFirstnameCustomEvent<void>) => void;
8373 /**
8374 * Emitted when the control receives input.
8375 */
8376 "onScInput"?: (event: ScCustomerFirstnameCustomEvent<void>) => void;
8377 "onScUpdateCustomer"?: (event: ScCustomerFirstnameCustomEvent<{ email: string }>) => void;
8378 "onScUpdateOrderState"?: (event: ScCustomerFirstnameCustomEvent<Partial<Checkout>>) => void;
8379 /**
8380 * Draws a pill-style input with rounded edges.
8381 */
8382 "pill"?: boolean;
8383 /**
8384 * The input's placeholder text.
8385 */
8386 "placeholder"?: string;
8387 /**
8388 * Makes the input readonly.
8389 */
8390 "readonly"?: boolean;
8391 /**
8392 * Makes the input a required field.
8393 */
8394 "required"?: boolean;
8395 /**
8396 * Should we show the label
8397 */
8398 "showLabel"?: boolean;
8399 /**
8400 * The input's size.
8401 */
8402 "size"?: 'small' | 'medium' | 'large';
8403 /**
8404 * The input's value attribute.
8405 */
8406 "value"?: string;
8407 }
8408 interface ScCustomerLastname {
8409 /**
8410 * The input's autofocus attribute.
8411 */
8412 "autofocus"?: boolean;
8413 /**
8414 * Disables the input.
8415 */
8416 "disabled"?: boolean;
8417 /**
8418 * Inputs focus
8419 */
8420 "hasFocus"?: boolean;
8421 /**
8422 * The input's help text.
8423 */
8424 "help"?: string;
8425 /**
8426 * 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.
8427 */
8428 "invalid"?: boolean;
8429 /**
8430 * The input's label.
8431 */
8432 "label"?: string;
8433 /**
8434 * Is the user logged in.
8435 */
8436 "loggedIn"?: boolean;
8437 /**
8438 * Emitted when the control loses focus.
8439 */
8440 "onScBlur"?: (event: ScCustomerLastnameCustomEvent<void>) => void;
8441 /**
8442 * Emitted when the control gains focus.
8443 */
8444 "onScFocus"?: (event: ScCustomerLastnameCustomEvent<void>) => void;
8445 /**
8446 * Emitted when the control receives input.
8447 */
8448 "onScInput"?: (event: ScCustomerLastnameCustomEvent<void>) => void;
8449 /**
8450 * Draws a pill-style input with rounded edges.
8451 */
8452 "pill"?: boolean;
8453 /**
8454 * The input's placeholder text.
8455 */
8456 "placeholder"?: string;
8457 /**
8458 * Makes the input readonly.
8459 */
8460 "readonly"?: boolean;
8461 /**
8462 * Makes the input a required field.
8463 */
8464 "required"?: boolean;
8465 /**
8466 * Should we show the label
8467 */
8468 "showLabel"?: boolean;
8469 /**
8470 * The input's size.
8471 */
8472 "size"?: 'small' | 'medium' | 'large';
8473 /**
8474 * The input's value attribute.
8475 */
8476 "value"?: any;
8477 }
8478 interface ScCustomerLogin {
8479 /**
8480 * Code Error coming from the parent
8481 */
8482 "codeError"?: string;
8483 /**
8484 * Lets the parent open in password mode (used on 429 fallback).
8485 */
8486 "initialMode"?: 'code' | 'password';
8487 }
8488 interface ScCustomerName {
8489 /**
8490 * The input's autofocus attribute.
8491 */
8492 "autofocus"?: boolean;
8493 /**
8494 * Disables the input.
8495 */
8496 "disabled"?: boolean;
8497 /**
8498 * Inputs focus
8499 */
8500 "hasFocus"?: boolean;
8501 /**
8502 * The input's help text.
8503 */
8504 "help"?: string;
8505 /**
8506 * 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.
8507 */
8508 "invalid"?: boolean;
8509 /**
8510 * The input's label.
8511 */
8512 "label"?: string;
8513 /**
8514 * Emitted when the control loses focus.
8515 */
8516 "onScBlur"?: (event: ScCustomerNameCustomEvent<void>) => void;
8517 /**
8518 * Emitted when the control gains focus.
8519 */
8520 "onScFocus"?: (event: ScCustomerNameCustomEvent<void>) => void;
8521 /**
8522 * Emitted when the control receives input.
8523 */
8524 "onScInput"?: (event: ScCustomerNameCustomEvent<void>) => void;
8525 /**
8526 * Draws a pill-style input with rounded edges.
8527 */
8528 "pill"?: boolean;
8529 /**
8530 * The input's placeholder text.
8531 */
8532 "placeholder"?: string;
8533 /**
8534 * Makes the input readonly.
8535 */
8536 "readonly"?: boolean;
8537 /**
8538 * Makes the input a required field.
8539 */
8540 "required"?: boolean;
8541 /**
8542 * Should we show the label
8543 */
8544 "showLabel"?: boolean;
8545 /**
8546 * The input's size.
8547 */
8548 "size"?: 'small' | 'medium' | 'large';
8549 /**
8550 * The input's value attribute.
8551 */
8552 "value"?: any;
8553 }
8554 interface ScCustomerPhone {
8555 /**
8556 * The input's autofocus attribute.
8557 */
8558 "autofocus"?: boolean;
8559 /**
8560 * Disables the input.
8561 */
8562 "disabled"?: boolean;
8563 /**
8564 * Error focus
8565 */
8566 "error"?: boolean;
8567 /**
8568 * Inputs focus
8569 */
8570 "hasFocus"?: boolean;
8571 /**
8572 * The input's help text.
8573 */
8574 "help"?: string;
8575 /**
8576 * 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.
8577 */
8578 "invalid"?: boolean;
8579 /**
8580 * The input's label.
8581 */
8582 "label"?: string;
8583 /**
8584 * Emitted when the control loses focus.
8585 */
8586 "onScBlur"?: (event: ScCustomerPhoneCustomEvent<void>) => void;
8587 /**
8588 * Emitted when the control's value changes.
8589 */
8590 "onScChange"?: (event: ScCustomerPhoneCustomEvent<void>) => void;
8591 /**
8592 * Emitted when the clear button is activated.
8593 */
8594 "onScClear"?: (event: ScCustomerPhoneCustomEvent<void>) => void;
8595 /**
8596 * Emitted when the control gains focus.
8597 */
8598 "onScFocus"?: (event: ScCustomerPhoneCustomEvent<void>) => void;
8599 /**
8600 * Emitted when the control receives input.
8601 */
8602 "onScInput"?: (event: ScCustomerPhoneCustomEvent<void>) => void;
8603 /**
8604 * Draws a pill-style input with rounded edges.
8605 */
8606 "pill"?: boolean;
8607 /**
8608 * The input's placeholder text.
8609 */
8610 "placeholder"?: string;
8611 /**
8612 * Makes the input readonly.
8613 */
8614 "readonly"?: boolean;
8615 /**
8616 * Makes the input a required field.
8617 */
8618 "required"?: boolean;
8619 /**
8620 * Should we show the label
8621 */
8622 "showLabel"?: boolean;
8623 /**
8624 * The input's size.
8625 */
8626 "size"?: 'small' | 'medium' | 'large';
8627 /**
8628 * The input's value attribute.
8629 */
8630 "value"?: string;
8631 }
8632 interface ScDashboardCustomerDetails {
8633 "customerId"?: string;
8634 "heading"?: string;
8635 }
8636 interface ScDashboardDownloadsList {
8637 "allLink"?: string;
8638 "heading"?: string;
8639 "isCustomer"?: boolean;
8640 /**
8641 * Customer id to fetch subscriptions
8642 */
8643 "query"?: any;
8644 "requestNonce"?: string;
8645 }
8646 interface ScDashboardModule {
8647 "error"?: string;
8648 "heading"?: string;
8649 "loading"?: boolean;
8650 }
8651 interface ScDialog {
8652 /**
8653 * 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.
8654 */
8655 "label"?: string;
8656 /**
8657 * 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.
8658 */
8659 "noHeader"?: boolean;
8660 "onScAfterHide"?: (event: ScDialogCustomEvent<void>) => void;
8661 "onScAfterShow"?: (event: ScDialogCustomEvent<void>) => void;
8662 "onScHide"?: (event: ScDialogCustomEvent<void>) => void;
8663 "onScInitialFocus"?: (event: ScDialogCustomEvent<void>) => void;
8664 /**
8665 * Request close event
8666 */
8667 "onScRequestClose"?: (event: ScDialogCustomEvent<'close-button' | 'keyboard' | 'overlay'>) => void;
8668 "onScShow"?: (event: ScDialogCustomEvent<void>) => void;
8669 /**
8670 * Indicates whether or not the dialog is open. You can use this in lieu of the show/hide methods.
8671 */
8672 "open"?: boolean;
8673 }
8674 interface ScDivider {
8675 }
8676 interface ScDonationChoices {
8677 "busy"?: boolean;
8678 /**
8679 * Currency code for the donation.
8680 */
8681 "currencyCode"?: string;
8682 /**
8683 * The default amount to load the page with.
8684 */
8685 "defaultAmount"?: string;
8686 /**
8687 * The label for the field.
8688 */
8689 "label"?: string;
8690 /**
8691 * Order line items.
8692 */
8693 "lineItems"?: LineItem[];
8694 /**
8695 * Is this loading
8696 */
8697 "loading"?: boolean;
8698 /**
8699 * Toggle line item event
8700 */
8701 "onScAddLineItem"?: (event: ScDonationChoicesCustomEvent<LineItemData1>) => void;
8702 /**
8703 * Toggle line item event
8704 */
8705 "onScRemoveLineItem"?: (event: ScDonationChoicesCustomEvent<LineItemData1>) => void;
8706 /**
8707 * Toggle line item event
8708 */
8709 "onScUpdateLineItem"?: (event: ScDonationChoicesCustomEvent<LineItemData1>) => void;
8710 /**
8711 * The price id for the fields.
8712 */
8713 "priceId"?: string;
8714 "removeInvalid"?: boolean;
8715 }
8716 interface ScDownloadsList {
8717 "customerId"?: string;
8718 "heading"?: string;
8719 "productId"?: string;
8720 "query"?: any;
8721 "variantId"?: string;
8722 }
8723 interface ScDrawer {
8724 /**
8725 * 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.
8726 */
8727 "contained"?: boolean;
8728 /**
8729 * 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.
8730 */
8731 "label"?: string;
8732 /**
8733 * 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.
8734 */
8735 "noHeader"?: boolean;
8736 "onScAfterHide"?: (event: ScDrawerCustomEvent<void>) => void;
8737 "onScAfterShow"?: (event: ScDrawerCustomEvent<void>) => void;
8738 "onScHide"?: (event: ScDrawerCustomEvent<void>) => void;
8739 "onScInitialFocus"?: (event: ScDrawerCustomEvent<void>) => void;
8740 "onScRequestClose"?: (event: ScDrawerCustomEvent<'close-button' | 'keyboard' | 'overlay' | 'method'>) => void;
8741 "onScShow"?: (event: ScDrawerCustomEvent<void>) => void;
8742 /**
8743 * Indicates whether or not the drawer is open. You can use this in lieu of the show/hide methods.
8744 */
8745 "open"?: boolean;
8746 /**
8747 * The direction from which the drawer will open.
8748 */
8749 "placement"?: 'top' | 'end' | 'bottom' | 'start';
8750 /**
8751 * Sticky drawer footer
8752 */
8753 "stickyFooter"?: boolean;
8754 /**
8755 * Sticky drawer header
8756 */
8757 "stickyHeader"?: boolean;
8758 }
8759 interface ScDropdown {
8760 "clickEl"?: HTMLElement;
8761 /**
8762 * Determines whether the dropdown should hide when a menu item is selected
8763 */
8764 "closeOnSelect"?: boolean;
8765 /**
8766 * Is this disabled.
8767 */
8768 "disabled"?: boolean;
8769 /**
8770 * The distance in pixels from which to offset the panel away from its trigger.
8771 */
8772 "distance"?: number;
8773 /**
8774 * Enable this option to prevent the panel from being clipped when the component is placed inside a container with `overflow: auto|scroll`.
8775 */
8776 "hoist"?: boolean;
8777 /**
8778 * Emitted when the dropdown closes. Calling `event.preventDefault()` will prevent it from being closed.
8779 */
8780 "onScHide"?: (event: ScDropdownCustomEvent<void>) => void;
8781 /**
8782 * Emitted when the dropdown opens. Calling `event.preventDefault()` will prevent it from being opened.
8783 */
8784 "onScShow"?: (event: ScDropdownCustomEvent<void>) => void;
8785 /**
8786 * Indicates whether or not the dropdown is open. You can use this in lieu of the show/hide methods.
8787 */
8788 "open"?: boolean;
8789 /**
8790 * The placement of the dropdown.
8791 */
8792 "placement"?: | 'top'
8793 | 'top-start'
8794 | 'top-end'
8795 | 'bottom'
8796 | 'bottom-start'
8797 | 'bottom-end'
8798 | 'right'
8799 | 'right-start'
8800 | 'right-end'
8801 | 'left'
8802 | 'left-start'
8803 | 'left-end';
8804 /**
8805 * The placement of the dropdown panel
8806 */
8807 "position"?: 'top-left' | 'top-right' | 'bottom-left' | 'bottom-right';
8808 /**
8809 * The distance in pixels from which to offset the panel along its trigger.
8810 */
8811 "skidding"?: number;
8812 }
8813 interface ScEmpty {
8814 "icon"?: string;
8815 }
8816 interface ScError {
8817 /**
8818 * Error to display.
8819 */
8820 "error"?: ResponseError | null;
8821 /**
8822 * Set the state.
8823 */
8824 "onScUpdateError"?: (event: ScErrorCustomEvent<ResponseError>) => void;
8825 }
8826 interface ScExpressPayment {
8827 "debug"?: boolean;
8828 "dividerText"?: string;
8829 "hasPaymentOptions"?: boolean;
8830 "processor"?: ProcessorName;
8831 }
8832 interface ScFeatureDemoBanner {
8833 "buttonText"?: string;
8834 "url"?: string;
8835 }
8836 interface ScFlex {
8837 "alignItems"?: string;
8838 "columnGap"?: string;
8839 "flexDirection"?: string;
8840 "flexWrap"?: string;
8841 "justifyContent"?: string;
8842 "stack"?: string;
8843 }
8844 interface ScForm {
8845 /**
8846 * Prevent the form from validating inputs before submitting.
8847 */
8848 "novalidate"?: boolean;
8849 /**
8850 * 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.
8851 */
8852 "onScFormChange"?: (event: ScFormCustomEvent<Object>) => void;
8853 /**
8854 * Backwards compat.
8855 */
8856 "onScFormSubmit"?: (event: ScFormCustomEvent<void>) => void;
8857 /**
8858 * 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.
8859 */
8860 "onScSubmit"?: (event: ScFormCustomEvent<void>) => void;
8861 }
8862 interface ScFormComponentsValidator {
8863 /**
8864 * Disable validation?
8865 */
8866 "disabled"?: boolean;
8867 /**
8868 * The tax protocol
8869 */
8870 "taxProtocol"?: TaxProtocol;
8871 }
8872 interface ScFormControl {
8873 /**
8874 * Help text
8875 */
8876 "help"?: string;
8877 /**
8878 * Help id
8879 */
8880 "helpId"?: string;
8881 /**
8882 * Input id.
8883 */
8884 "inputId"?: string;
8885 /**
8886 * Input label.
8887 */
8888 "label"?: string;
8889 /**
8890 * Input label id.
8891 */
8892 "labelId"?: string;
8893 /**
8894 * Name for the input. Used for validation errors.
8895 */
8896 "name"?: string;
8897 /**
8898 * Whether the input is required.
8899 */
8900 "required"?: boolean;
8901 /**
8902 * Show the label.
8903 */
8904 "showLabel"?: boolean;
8905 /**
8906 * Size of the label
8907 */
8908 "size"?: 'small' | 'medium' | 'large';
8909 }
8910 /**
8911 * This component checks to make sure there is an error component
8912 * and adds one if it's missing.
8913 */
8914 interface ScFormErrorProvider {
8915 }
8916 interface ScFormRow {
8917 }
8918 /**
8919 * This component listens for a confirmed event and redirects to the success url.
8920 */
8921 interface ScFormStateProvider {
8922 /**
8923 * Set the state.
8924 */
8925 "onScSetCheckoutFormState"?: (event: ScFormStateProviderCustomEvent<FormState>) => void;
8926 }
8927 interface ScFormatBytes {
8928 /**
8929 * Determines how to display the result, e.g. "100 bytes", "100 b", or "100b".
8930 */
8931 "display"?: 'long' | 'short' | 'narrow';
8932 /**
8933 * The locale to use when formatting the number.
8934 */
8935 "locale"?: string;
8936 /**
8937 * The unit to display.
8938 */
8939 "unit"?: 'byte' | 'bit';
8940 /**
8941 * The number to format in bytes.
8942 */
8943 "value"?: number;
8944 }
8945 interface ScFormatInterval {
8946 "every"?: string;
8947 "fallback"?: string;
8948 "interval"?: string;
8949 /**
8950 * The number to format.
8951 */
8952 "value"?: number;
8953 }
8954 interface ScFormatNumber {
8955 /**
8956 * The currency to use when formatting. Must be an ISO 4217 currency code such as `USD` or `EUR`.
8957 */
8958 "currency"?: string;
8959 /**
8960 * How to display the currency.
8961 */
8962 "currencyDisplay"?: 'symbol' | 'narrowSymbol' | 'code' | 'name';
8963 /**
8964 * The locale to use when formatting the number.
8965 */
8966 "locale"?: string;
8967 /**
8968 * The maximum number of fraction digits to use. Possible values are 0 - 20.
8969 */
8970 "maximumFractionDigits"?: number;
8971 /**
8972 * The maximum number of significant digits to use,. Possible values are 1 - 21.
8973 */
8974 "maximumSignificantDigits"?: number;
8975 /**
8976 * The minimum number of fraction digits to use. Possible values are 0 - 20.
8977 */
8978 "minimumFractionDigits"?: number;
8979 /**
8980 * The minimum number of integer digits to use. Possible values are 1 - 21.
8981 */
8982 "minimumIntegerDigits"?: number;
8983 /**
8984 * The minimum number of significant digits to use. Possible values are 1 - 21.
8985 */
8986 "minimumSignificantDigits"?: number;
8987 /**
8988 * Should we convert
8989 */
8990 "noConvert"?: boolean;
8991 /**
8992 * Turns off grouping separators.
8993 */
8994 "noGrouping"?: boolean;
8995 /**
8996 * The formatting style to use.
8997 */
8998 "type"?: 'currency' | 'decimal' | 'percent' | 'unit';
8999 /**
9000 * The unit to use when formatting.
9001 */
9002 "unit"?: string;
9003 /**
9004 * The number to format.
9005 */
9006 "value"?: number;
9007 }
9008 interface ScFulfillmentShippingStatusBadge {
9009 /**
9010 * Makes the tag clearable.
9011 */
9012 "clearable"?: boolean;
9013 /**
9014 * Draws a pill-style tag with rounded edges.
9015 */
9016 "pill"?: boolean;
9017 /**
9018 * The tag's size.
9019 */
9020 "size"?: 'small' | 'medium' | 'large';
9021 /**
9022 * The tag's statux type.
9023 */
9024 "status"?: FulfillmentStatus;
9025 }
9026 interface ScFulfillments {
9027 "heading"?: string;
9028 "orderId"?: string;
9029 }
9030 interface ScHeading {
9031 "size"?: 'small' | 'medium' | 'large';
9032 }
9033 interface ScIcon {
9034 /**
9035 * An alternative description to use for accessibility. If omitted, the name or src will be used to generate it.
9036 */
9037 "label"?: string;
9038 /**
9039 * The name of a registered custom icon library.
9040 */
9041 "library"?: string;
9042 /**
9043 * Mutate the icon
9044 */
9045 "mutate"?: boolean;
9046 /**
9047 * The name of the icon to draw.
9048 */
9049 "name"?: string;
9050 /**
9051 * Emitted when the icon has loaded.
9052 */
9053 "onScLoad"?: (event: ScIconCustomEvent<void>) => void;
9054 /**
9055 * An external URL of an SVG file.
9056 */
9057 "src"?: string;
9058 }
9059 interface ScImageSlider {
9060 "autoHeight"?: boolean;
9061 "hasThumbnails"?: boolean;
9062 /**
9063 * Accept a string or an array of objects
9064 */
9065 "images"?: string | { src: string; alt: string; srcset; width: number; height: number; sizes: string; title: string }[];
9066 "thumbnails"?: string | { src: string; alt: string; srcset; width: number; height: number; sizes: string; title: string }[];
9067 "thumbnailsPerPage"?: number;
9068 }
9069 interface ScInput {
9070 /**
9071 * The input's autocomplete attribute.
9072 */
9073 "autocomplete"?: string;
9074 /**
9075 * The input's autocorrect attribute.
9076 */
9077 "autocorrect"?: string;
9078 /**
9079 * The input's autofocus attribute.
9080 */
9081 "autofocus"?: boolean;
9082 /**
9083 * Adds a clear button when the input is populated.
9084 */
9085 "clearable"?: boolean;
9086 /**
9087 * Custom validation message to show when the input is invalid (replaces browser default).
9088 */
9089 "customValidity"?: string;
9090 /**
9091 * Disables the input.
9092 */
9093 "disabled"?: boolean;
9094 /**
9095 * Inputs focus
9096 */
9097 "hasFocus"?: boolean;
9098 /**
9099 * The input's help text.
9100 */
9101 "help"?: string;
9102 /**
9103 * Hidden
9104 */
9105 "hidden"?: boolean;
9106 /**
9107 * The input's inputmode attribute.
9108 */
9109 "inputmode"?: 'none' | 'text' | 'decimal' | 'numeric' | 'tel' | 'search' | 'email' | 'url';
9110 /**
9111 * 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.
9112 */
9113 "invalid"?: boolean;
9114 /**
9115 * The input's label.
9116 */
9117 "label"?: string;
9118 /**
9119 * The input's maximum value.
9120 */
9121 "max"?: number | string;
9122 /**
9123 * The maximum length of input that will be considered valid.
9124 */
9125 "maxlength"?: number;
9126 /**
9127 * The input's minimum value.
9128 */
9129 "min"?: number | string;
9130 /**
9131 * The minimum length of input that will be considered valid.
9132 */
9133 "minlength"?: number;
9134 /**
9135 * The input's name attribute.
9136 */
9137 "name"?: string;
9138 /**
9139 * Emitted when the control loses focus.
9140 */
9141 "onScBlur"?: (event: ScInputCustomEvent<void>) => void;
9142 /**
9143 * Emitted when the control's value changes.
9144 */
9145 "onScChange"?: (event: ScInputCustomEvent<void>) => void;
9146 /**
9147 * Emitted when the clear button is activated.
9148 */
9149 "onScClear"?: (event: ScInputCustomEvent<void>) => void;
9150 /**
9151 * Emitted when the control gains focus.
9152 */
9153 "onScFocus"?: (event: ScInputCustomEvent<void>) => void;
9154 /**
9155 * Emitted when the control receives input.
9156 */
9157 "onScInput"?: (event: ScInputCustomEvent<void>) => void;
9158 /**
9159 * A pattern to validate input against.
9160 */
9161 "pattern"?: string;
9162 /**
9163 * Draws a pill-style input with rounded edges.
9164 */
9165 "pill"?: boolean;
9166 /**
9167 * The input's placeholder text.
9168 */
9169 "placeholder"?: string;
9170 /**
9171 * Makes the input readonly.
9172 */
9173 "readonly"?: boolean;
9174 /**
9175 * Makes the input a required field.
9176 */
9177 "required"?: boolean;
9178 /**
9179 * Should we show the label
9180 */
9181 "showLabel"?: boolean;
9182 /**
9183 * The input's size.
9184 */
9185 "size"?: 'small' | 'medium' | 'large';
9186 /**
9187 * Enables spell checking on the input.
9188 */
9189 "spellcheck"?: boolean;
9190 "squared"?: boolean;
9191 "squaredBottom"?: boolean;
9192 "squaredLeft"?: boolean;
9193 "squaredRight"?: boolean;
9194 "squaredTop"?: boolean;
9195 /**
9196 * The input's step attribute.
9197 */
9198 "step"?: number;
9199 /**
9200 * Adds a password toggle button to password inputs.
9201 */
9202 "togglePassword"?: boolean;
9203 /**
9204 * The input's type.
9205 */
9206 "type"?: 'email' | 'number' | 'password' | 'search' | 'tel' | 'text' | 'url' | 'hidden';
9207 /**
9208 * The input's value attribute.
9209 */
9210 "value"?: string;
9211 }
9212 interface ScInvoiceDetails {
9213 }
9214 interface ScInvoiceMemo {
9215 /**
9216 * Memo Label
9217 */
9218 "text"?: string;
9219 }
9220 interface ScInvoiceStatusBadge {
9221 /**
9222 * Makes the tag clearable.
9223 */
9224 "clearable"?: boolean;
9225 /**
9226 * Draws a pill-style tag with rounded edges.
9227 */
9228 "pill"?: boolean;
9229 /**
9230 * The tag's size.
9231 */
9232 "size"?: 'small' | 'medium' | 'large';
9233 /**
9234 * The tag's statux type.
9235 */
9236 "status"?: InvoiceStatus;
9237 }
9238 interface ScInvoicesList {
9239 "allLink"?: string;
9240 "heading"?: string;
9241 "isCustomer"?: boolean;
9242 /**
9243 * Query to fetch invoices
9244 */
9245 "query"?: {
9246 page: number;
9247 per_page: number;
9248 };
9249 }
9250 interface ScLicense {
9251 /**
9252 * The license id
9253 */
9254 "licenseId"?: string;
9255 /**
9256 * Query to fetch Activations
9257 */
9258 "query"?: {
9259 page: number;
9260 per_page: number;
9261 };
9262 }
9263 interface ScLicensesList {
9264 /**
9265 * View all link
9266 */
9267 "allLink"?: string;
9268 /**
9269 * The heading of the licenses
9270 */
9271 "heading"?: string;
9272 /**
9273 * Whether the current user is customer
9274 */
9275 "isCustomer"?: boolean;
9276 "licenses"?: License[];
9277 /**
9278 * Query to fetch licenses
9279 */
9280 "query"?: {
9281 page: number;
9282 per_page: number;
9283 };
9284 }
9285 interface ScLineItem {
9286 /**
9287 * Currency symbol
9288 */
9289 "currency"?: string;
9290 /**
9291 * Price of the item
9292 */
9293 "price"?: string;
9294 }
9295 interface ScLineItemBump {
9296 "label"?: string;
9297 "loading"?: boolean;
9298 }
9299 interface ScLineItemInvoiceDueDate {
9300 }
9301 interface ScLineItemInvoiceNumber {
9302 }
9303 interface ScLineItemInvoiceReceiptDownload {
9304 "checkout"?: Checkout;
9305 }
9306 interface ScLineItemShipping {
9307 /**
9308 * Label
9309 */
9310 "label"?: string;
9311 }
9312 interface ScLineItemTax {
9313 "loading"?: boolean;
9314 "order"?: Checkout;
9315 }
9316 interface ScLineItemTotal {
9317 "checkout"?: Checkout;
9318 "size"?: 'large' | 'medium';
9319 "total"?: 'total' | 'subtotal';
9320 }
9321 interface ScLineItemTrial {
9322 /**
9323 * The label for the trial item
9324 */
9325 "label"?: string;
9326 }
9327 interface ScLineItems {
9328 /**
9329 * Is the line item editable?
9330 */
9331 "editable"?: boolean;
9332 /**
9333 * Is the line item removable?
9334 */
9335 "removable"?: boolean;
9336 /**
9337 * Separator between a bundle component's name and its variant options.
9338 */
9339 "separator"?: string;
9340 /**
9341 * Show every bundle component (default), or only those with a selected variant when set to `false`.
9342 */
9343 "showAllBundleItems"?: boolean;
9344 }
9345 interface ScLineItemsProvider {
9346 /**
9347 * Update line items event
9348 */
9349 "onScUpdateLineItems"?: (event: ScLineItemsProviderCustomEvent<Array<LineItemData1>>) => void;
9350 /**
9351 * Order Object
9352 */
9353 "order"?: Checkout;
9354 }
9355 interface ScLoginForm {
9356 }
9357 interface ScLoginProvider {
9358 /**
9359 * Is the user logged in.
9360 */
9361 "loggedIn"?: boolean;
9362 "onScSetCustomer"?: (event: ScLoginProviderCustomEvent<{ email: string; name?: string }>) => void;
9363 "onScSetLoggedIn"?: (event: ScLoginProviderCustomEvent<boolean>) => void;
9364 "order"?: Checkout;
9365 }
9366 interface ScManualPaymentMethod {
9367 "paymentMethod"?: ManualPaymentMethod;
9368 "showDescription"?: boolean;
9369 }
9370 interface ScMenu {
9371 "ariaLabel"?: string;
9372 "onScSelect"?: (event: ScMenuCustomEvent<{ item: HTMLScMenuItemElement }>) => void;
9373 }
9374 interface ScMenuDivider {
9375 }
9376 interface ScMenuItem {
9377 /**
9378 * Draws the item in a checked state.
9379 */
9380 "checked"?: boolean;
9381 /**
9382 * Draws the menu item in a disabled state.
9383 */
9384 "disabled"?: boolean;
9385 /**
9386 * Optional link to follow.
9387 */
9388 "href"?: string;
9389 /**
9390 * The target of the link.
9391 */
9392 "target"?: string;
9393 /**
9394 * A unique value to store in the menu item. This can be used as a way to identify menu items when selected.
9395 */
9396 "value"?: string;
9397 }
9398 interface ScMenuLabel {
9399 }
9400 interface ScMollieAddMethod {
9401 "country"?: string;
9402 "currency"?: string;
9403 "customerId"?: string;
9404 "liveMode"?: boolean;
9405 "processorId"?: string;
9406 "successUrl"?: string;
9407 }
9408 interface ScOrder {
9409 "customerIds"?: string[];
9410 "heading"?: string;
9411 "orderId"?: string;
9412 }
9413 interface ScOrderBillingAddress {
9414 /**
9415 * Default country for address
9416 */
9417 "defaultCountry"?: string;
9418 /**
9419 * Label for the field
9420 */
9421 "label"?: string;
9422 /**
9423 * Name placeholder
9424 */
9425 "namePlaceholder"?: string;
9426 /**
9427 * Show the name field
9428 */
9429 "showName"?: boolean;
9430 /**
9431 * Toggle label
9432 */
9433 "toggleLabel"?: string;
9434 }
9435 interface ScOrderBump {
9436 /**
9437 * The bump
9438 */
9439 "bump"?: Bump;
9440 /**
9441 * Should we show the controls (classic design)
9442 */
9443 "showControl"?: boolean;
9444 }
9445 interface ScOrderBumps {
9446 "help"?: string;
9447 /**
9448 * Hide bumps that have already been added to the checkout.
9449 */
9450 "hideAddedItems"?: boolean;
9451 "label"?: string;
9452 /**
9453 * Should we show the controls (classic design)
9454 */
9455 "showControl"?: boolean;
9456 }
9457 interface ScOrderConfirmComponentsValidator {
9458 /**
9459 * The checkout
9460 */
9461 "checkout"?: Checkout;
9462 }
9463 /**
9464 * This component listens to the order status
9465 * and confirms the order when payment is successful.
9466 */
9467 interface ScOrderConfirmProvider {
9468 /**
9469 * Checkout status to listen and do payment related stuff.
9470 */
9471 "checkoutStatus"?: string;
9472 /**
9473 * The order is paid event.
9474 */
9475 "onScOrderPaid"?: (event: ScOrderConfirmProviderCustomEvent<Checkout>) => void;
9476 "onScSetState"?: (event: ScOrderConfirmProviderCustomEvent<string>) => void;
9477 /**
9478 * Success url.
9479 */
9480 "successUrl"?: string;
9481 }
9482 interface ScOrderConfirmation {
9483 "order"?: Checkout;
9484 }
9485 interface ScOrderConfirmationCustomer {
9486 /**
9487 * The customer
9488 */
9489 "customer"?: Customer;
9490 /**
9491 * Error message.
9492 */
9493 "error"?: string;
9494 /**
9495 * The heading
9496 */
9497 "heading"?: string;
9498 /**
9499 * Is this loading?
9500 */
9501 "loading"?: boolean;
9502 /**
9503 * The Order
9504 */
9505 "order"?: Checkout;
9506 }
9507 interface ScOrderConfirmationDetails {
9508 "loading"?: boolean;
9509 "order"?: Order;
9510 }
9511 interface ScOrderConfirmationLineItems {
9512 "loading"?: boolean;
9513 "order"?: Checkout;
9514 }
9515 interface ScOrderConfirmationTotals {
9516 "order"?: Checkout;
9517 }
9518 interface ScOrderCouponForm {
9519 "buttonText"?: string;
9520 "collapsed"?: boolean;
9521 "label"?: string;
9522 "loading"?: boolean;
9523 "placeholder"?: string;
9524 }
9525 interface ScOrderDetail {
9526 "fallback"?: string;
9527 "label"?: string;
9528 "loading"?: boolean;
9529 "metaKey"?: string;
9530 "order"?: Checkout;
9531 "value"?: string;
9532 }
9533 interface ScOrderFulfillmentBadge {
9534 /**
9535 * Makes the tag clearable.
9536 */
9537 "clearable"?: boolean;
9538 /**
9539 * Draws a pill-style tag with rounded edges.
9540 */
9541 "pill"?: boolean;
9542 /**
9543 * The tag's size.
9544 */
9545 "size"?: 'small' | 'medium' | 'large';
9546 /**
9547 * The tag's statux type.
9548 */
9549 "status"?: OrderFulFillmentStatus;
9550 }
9551 interface ScOrderManualInstructions {
9552 "manualPaymentInstructions"?: string;
9553 "manualPaymentTitle"?: string;
9554 }
9555 interface ScOrderPassword {
9556 /**
9557 * The input's autofocus attribute.
9558 */
9559 "autofocus"?: boolean;
9560 /**
9561 * The input's password confirmation attribute.
9562 */
9563 "confirmation"?: boolean;
9564 /**
9565 * The input's confirmation help text.
9566 */
9567 "confirmationHelp"?: string;
9568 /**
9569 * The input's confirmation label text.
9570 */
9571 "confirmationLabel"?: string;
9572 /**
9573 * The input's confirmation placeholder text.
9574 */
9575 "confirmationPlaceholder"?: string;
9576 /**
9577 * Disables the input.
9578 */
9579 "disabled"?: boolean;
9580 /**
9581 * Does the email exist?
9582 */
9583 "emailExists"?: boolean;
9584 /**
9585 * Ensures strong password validation.
9586 */
9587 "enableValidation"?: boolean;
9588 /**
9589 * The input's help text.
9590 */
9591 "help"?: string;
9592 /**
9593 * The input's label.
9594 */
9595 "label"?: string;
9596 "loggedIn"?: boolean;
9597 /**
9598 * Draws a pill-style input with rounded edges.
9599 */
9600 "pill"?: boolean;
9601 /**
9602 * The input's placeholder text.
9603 */
9604 "placeholder"?: string;
9605 /**
9606 * Makes the input readonly.
9607 */
9608 "readonly"?: boolean;
9609 /**
9610 * Makes the input a required field.
9611 */
9612 "required"?: boolean;
9613 /**
9614 * Should we show the label
9615 */
9616 "showLabel"?: boolean;
9617 /**
9618 * The input's size.
9619 */
9620 "size"?: 'small' | 'medium' | 'large';
9621 /**
9622 * The input's value attribute.
9623 */
9624 "value"?: string;
9625 }
9626 interface ScOrderReturnBadge {
9627 /**
9628 * Makes the tag clearable.
9629 */
9630 "clearable"?: boolean;
9631 /**
9632 * Draws a pill-style tag with rounded edges.
9633 */
9634 "pill"?: boolean;
9635 /**
9636 * The tag's size.
9637 */
9638 "size"?: 'small' | 'medium' | 'large';
9639 /**
9640 * The tag's statux type.
9641 */
9642 "status"?: ReturnRequestStatus;
9643 }
9644 interface ScOrderShipmentBadge {
9645 /**
9646 * Makes the tag clearable.
9647 */
9648 "clearable"?: boolean;
9649 /**
9650 * Draws a pill-style tag with rounded edges.
9651 */
9652 "pill"?: boolean;
9653 /**
9654 * The tag's size.
9655 */
9656 "size"?: 'small' | 'medium' | 'large';
9657 /**
9658 * The tag's statux type.
9659 */
9660 "status"?: OrderShipmentStatus;
9661 }
9662 interface ScOrderShippingAddress {
9663 /**
9664 * Default country for address
9665 */
9666 "defaultCountry"?: string;
9667 /**
9668 * Show the address
9669 */
9670 "full"?: boolean;
9671 /**
9672 * Label for the field.
9673 */
9674 "label"?: string;
9675 /**
9676 * Whether to require the name in the address
9677 */
9678 "requireName"?: boolean;
9679 /**
9680 * Is this required (defaults to false)
9681 */
9682 "required"?: boolean;
9683 /**
9684 * Show the line 2 field.
9685 */
9686 "showLine2"?: boolean;
9687 /**
9688 * Show the name field.
9689 */
9690 "showName"?: boolean;
9691 }
9692 interface ScOrderStatusBadge {
9693 /**
9694 * Makes the tag clearable.
9695 */
9696 "clearable"?: boolean;
9697 /**
9698 * Draws a pill-style tag with rounded edges.
9699 */
9700 "pill"?: boolean;
9701 /**
9702 * The tag's size.
9703 */
9704 "size"?: 'small' | 'medium' | 'large';
9705 /**
9706 * The tag's statux type.
9707 */
9708 "status"?: OrderStatus;
9709 }
9710 interface ScOrderSubmit {
9711 "backgroundColor"?: string;
9712 /**
9713 * Currency Code
9714 */
9715 "currencyCode"?: string;
9716 /**
9717 * Show a full-width button.
9718 */
9719 "full"?: boolean;
9720 /**
9721 * Icon to show.
9722 */
9723 "icon"?: string;
9724 /**
9725 * Is the order loading.
9726 */
9727 "loading"?: boolean;
9728 /**
9729 * The current order.
9730 */
9731 "order"?: Checkout;
9732 /**
9733 * Is the order paying.
9734 */
9735 "paying"?: boolean;
9736 /**
9737 * The selected processor.
9738 */
9739 "processor"?: ProcessorName;
9740 /**
9741 * Keys and secrets for processors.
9742 */
9743 "processors"?: Processor[];
9744 /**
9745 * Show the secure notice
9746 */
9747 "secureNotice"?: boolean;
9748 /**
9749 * Secure
9750 */
9751 "secureNoticeText"?: string;
9752 /**
9753 * Show the total.
9754 */
9755 "showTotal"?: boolean;
9756 /**
9757 * The button's size.
9758 */
9759 "size"?: 'small' | 'medium' | 'large';
9760 "textColor"?: string;
9761 /**
9762 * The button type.
9763 */
9764 "type"?: 'default' | 'primary' | 'success' | 'info' | 'warning' | 'danger' | 'text' | 'link';
9765 }
9766 interface ScOrderSummary {
9767 "busy"?: boolean;
9768 "collapsed"?: boolean;
9769 "collapsedOnDesktop"?: boolean;
9770 "collapsedOnMobile"?: boolean;
9771 "collapsible"?: boolean;
9772 "invoiceSummaryText"?: string;
9773 /**
9774 * Show the toggle
9775 */
9776 "onScHide"?: (event: ScOrderSummaryCustomEvent<void>) => void;
9777 /**
9778 * Show the toggle
9779 */
9780 "onScShow"?: (event: ScOrderSummaryCustomEvent<void>) => void;
9781 "order"?: Checkout;
9782 "orderSummaryText"?: string;
9783 }
9784 interface ScOrderTaxIdInput {
9785 /**
9786 * AU zone label
9787 */
9788 "auAbnLabel"?: string;
9789 /**
9790 * GST zone label
9791 */
9792 "caGstLabel"?: string;
9793 /**
9794 * EU zone label
9795 */
9796 "euVatLabel"?: string;
9797 /**
9798 * UK zone label
9799 */
9800 "gbVatLabel"?: string;
9801 /**
9802 * Help text
9803 */
9804 "helpText"?: string;
9805 /**
9806 * Other zones label
9807 */
9808 "otherLabel"?: string;
9809 /**
9810 * Whether tax input is required
9811 */
9812 "required"?: boolean;
9813 /**
9814 * Force show the field.
9815 */
9816 "show"?: boolean;
9817 /**
9818 * Tax ID Types which will be shown Eg: '["eu_vat", "gb_vat"]'
9819 */
9820 "taxIdTypes"?: string | string[];
9821 }
9822 interface ScOrdersList {
9823 "allLink"?: string;
9824 "heading"?: string;
9825 "isCustomer"?: boolean;
9826 /**
9827 * Query to fetch orders
9828 */
9829 "query"?: {
9830 page: number;
9831 per_page: number;
9832 };
9833 }
9834 interface ScPagination {
9835 "onScNextPage"?: (event: ScPaginationCustomEvent<void>) => void;
9836 "onScPrevPage"?: (event: ScPaginationCustomEvent<void>) => void;
9837 "page"?: number;
9838 "perPage"?: number;
9839 "total"?: number;
9840 "totalPages"?: number;
9841 "totalShowing"?: number;
9842 }
9843 interface ScPassword {
9844 /**
9845 * The input's autofocus attribute.
9846 */
9847 "autofocus"?: boolean;
9848 /**
9849 * The input's password confirmation attribute.
9850 */
9851 "confirmation"?: boolean;
9852 /**
9853 * The input's confirmation help text.
9854 */
9855 "confirmationHelp"?: string;
9856 /**
9857 * The input's confirmation label text.
9858 */
9859 "confirmationLabel"?: string;
9860 /**
9861 * The input's confirmation placeholder text.
9862 */
9863 "confirmationPlaceholder"?: string;
9864 /**
9865 * Disables the input.
9866 */
9867 "disabled"?: boolean;
9868 /**
9869 * Ensures strong password validation.
9870 */
9871 "enableValidation"?: boolean;
9872 /**
9873 * The input's help text.
9874 */
9875 "help"?: string;
9876 /**
9877 * The input's label.
9878 */
9879 "label"?: string;
9880 /**
9881 * The name for the input.
9882 */
9883 "name"?: string;
9884 /**
9885 * Draws a pill-style input with rounded edges.
9886 */
9887 "pill"?: boolean;
9888 /**
9889 * The input's placeholder text.
9890 */
9891 "placeholder"?: string;
9892 /**
9893 * Makes the input readonly.
9894 */
9895 "readonly"?: boolean;
9896 /**
9897 * Makes the input a required field.
9898 */
9899 "required"?: boolean;
9900 /**
9901 * Should we show the label
9902 */
9903 "showLabel"?: boolean;
9904 /**
9905 * The input's size.
9906 */
9907 "size"?: 'small' | 'medium' | 'large';
9908 /**
9909 * The input's value attribute.
9910 */
9911 "value"?: string;
9912 }
9913 interface ScPasswordNag {
9914 /**
9915 * Ensures strong password validation.
9916 */
9917 "enableValidation"?: boolean;
9918 "open"?: boolean;
9919 /**
9920 * The success url.
9921 */
9922 "successUrl"?: string;
9923 /**
9924 * The type of alert.
9925 */
9926 "type"?: 'primary' | 'success' | 'info' | 'warning' | 'danger';
9927 }
9928 interface ScPayment {
9929 /**
9930 * Disabled processor types
9931 */
9932 "disabledProcessorTypes"?: string[];
9933 /**
9934 * Hide the test mode badge
9935 */
9936 "hideTestModeBadge"?: boolean;
9937 /**
9938 * The input's label.
9939 */
9940 "label"?: string;
9941 "secureNotice"?: string;
9942 "stripePaymentElement"?: boolean;
9943 }
9944 interface ScPaymentMethod {
9945 "externalLink"?: string;
9946 "externalLinkTooltipText"?: string;
9947 "full"?: boolean;
9948 "paymentMethod"?: PaymentMethod;
9949 }
9950 interface ScPaymentMethodChoice {
9951 /**
9952 * Should we show this in a card?
9953 */
9954 "card"?: boolean;
9955 /**
9956 * Is this a manual processor
9957 */
9958 "isManual"?: boolean;
9959 /**
9960 * The method id
9961 */
9962 "methodId"?: string;
9963 /**
9964 * The processor ID
9965 */
9966 "processorId"?: string;
9967 }
9968 interface ScPaymentMethodDetails {
9969 "editHandler"?: () => void;
9970 "paymentMethod"?: PaymentMethod;
9971 }
9972 interface ScPaymentMethodsList {
9973 /**
9974 * Whether default payment method can be detached
9975 */
9976 "canDetachDefaultPaymentMethod"?: boolean;
9977 /**
9978 * The heading
9979 */
9980 "heading"?: string;
9981 /**
9982 * Is this a customer
9983 */
9984 "isCustomer"?: boolean;
9985 /**
9986 * Query to fetch paymentMethods
9987 */
9988 "query"?: object;
9989 }
9990 interface ScPaymentSelected {
9991 "iconName"?: string;
9992 "label"?: string;
9993 }
9994 interface ScPaypalAddMethod {
9995 "currency"?: string;
9996 "customerId"?: string;
9997 "liveMode"?: boolean;
9998 "successUrl"?: string;
9999 }
10000 interface ScPaypalButtons {
10001 /**
10002 * Is this busy?
10003 */
10004 "busy"?: boolean;
10005 /**
10006 * Buttons to render
10007 */
10008 "buttons"?: string[];
10009 /**
10010 * Client id for the script.
10011 */
10012 "clientId"?: string;
10013 /**
10014 * Button color.
10015 */
10016 "color"?: 'gold' | 'blue' | 'silver' | 'black' | 'white';
10017 /**
10018 * Label for the button.
10019 */
10020 "label"?: 'paypal' | 'checkout' | 'buynow' | 'pay' | 'installment';
10021 /**
10022 * The merchant id for paypal.
10023 */
10024 "merchantId"?: string;
10025 /**
10026 * Merchant initiated billing enabled.
10027 */
10028 "merchantInitiated"?: boolean;
10029 /**
10030 * Test or live mode.
10031 */
10032 "mode"?: 'test' | 'live';
10033 "onScPaid"?: (event: ScPaypalButtonsCustomEvent<void>) => void;
10034 /**
10035 * Set the state machine
10036 */
10037 "onScSetState"?: (event: ScPaypalButtonsCustomEvent<string>) => void;
10038 /**
10039 * The order.
10040 */
10041 "order"?: Checkout;
10042 }
10043 interface ScPaystackAddMethod {
10044 "currency"?: string;
10045 "customerId"?: string;
10046 "liveMode"?: boolean;
10047 "successUrl"?: string;
10048 }
10049 interface ScPhoneInput {
10050 /**
10051 * The input's autocomplete attribute.
10052 */
10053 "autocomplete"?: string;
10054 /**
10055 * The input's autocorrect attribute.
10056 */
10057 "autocorrect"?: string;
10058 /**
10059 * The input's autofocus attribute.
10060 */
10061 "autofocus"?: boolean;
10062 /**
10063 * Adds a clear button when the input is populated.
10064 */
10065 "clearable"?: boolean;
10066 /**
10067 * Disables the input.
10068 */
10069 "disabled"?: boolean;
10070 /**
10071 * Inputs focus
10072 */
10073 "hasFocus"?: boolean;
10074 /**
10075 * The input's help text.
10076 */
10077 "help"?: string;
10078 /**
10079 * Hidden
10080 */
10081 "hidden"?: boolean;
10082 /**
10083 * 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.
10084 */
10085 "invalid"?: boolean;
10086 /**
10087 * The input's label.
10088 */
10089 "label"?: string;
10090 /**
10091 * The input's maximum value.
10092 */
10093 "max"?: number | string;
10094 /**
10095 * The maximum length of input that will be considered valid.
10096 */
10097 "maxlength"?: number;
10098 /**
10099 * The input's minimum value.
10100 */
10101 "min"?: number | string;
10102 /**
10103 * The minimum length of input that will be considered valid.
10104 */
10105 "minlength"?: number;
10106 /**
10107 * The input's name attribute.
10108 */
10109 "name"?: string;
10110 /**
10111 * Emitted when the control loses focus.
10112 */
10113 "onScBlur"?: (event: ScPhoneInputCustomEvent<void>) => void;
10114 /**
10115 * Emitted when the control's value changes.
10116 */
10117 "onScChange"?: (event: ScPhoneInputCustomEvent<void>) => void;
10118 /**
10119 * Emitted when the clear button is activated.
10120 */
10121 "onScClear"?: (event: ScPhoneInputCustomEvent<void>) => void;
10122 /**
10123 * Emitted when the control gains focus.
10124 */
10125 "onScFocus"?: (event: ScPhoneInputCustomEvent<void>) => void;
10126 /**
10127 * Emitted when the control receives input.
10128 */
10129 "onScInput"?: (event: ScPhoneInputCustomEvent<void>) => void;
10130 /**
10131 * A pattern to validate input against.
10132 */
10133 "pattern"?: string;
10134 /**
10135 * Draws a pill-style input with rounded edges.
10136 */
10137 "pill"?: boolean;
10138 /**
10139 * The input's placeholder text.
10140 */
10141 "placeholder"?: string;
10142 /**
10143 * Makes the input readonly.
10144 */
10145 "readonly"?: boolean;
10146 /**
10147 * Makes the input a required field.
10148 */
10149 "required"?: boolean;
10150 /**
10151 * Should we show the label
10152 */
10153 "showLabel"?: boolean;
10154 /**
10155 * The input's size.
10156 */
10157 "size"?: 'small' | 'medium' | 'large';
10158 /**
10159 * Enables spell checking on the input.
10160 */
10161 "spellcheck"?: boolean;
10162 "squared"?: boolean;
10163 "squaredBottom"?: boolean;
10164 "squaredLeft"?: boolean;
10165 "squaredRight"?: boolean;
10166 "squaredTop"?: boolean;
10167 /**
10168 * The input's step attribute.
10169 */
10170 "step"?: number;
10171 /**
10172 * Adds a password toggle button to password inputs.
10173 */
10174 "togglePassword"?: boolean;
10175 /**
10176 * The input's value attribute.
10177 */
10178 "value"?: string;
10179 }
10180 interface ScPillOption {
10181 /**
10182 * Label
10183 */
10184 "isSelected"?: boolean;
10185 "isUnavailable"?: boolean;
10186 }
10187 interface ScPopover {
10188 /**
10189 * Is this disabled.
10190 */
10191 "disabled"?: boolean;
10192 /**
10193 * The distance in pixels from which to offset the panel away from its trigger.
10194 */
10195 "distance"?: number;
10196 /**
10197 * Enable this option to prevent the panel from being clipped when the component is placed inside a container with `overflow: auto|scroll`.
10198 */
10199 "hoist"?: boolean;
10200 /**
10201 * Emitted when the popover closes. Calling `event.preventDefault()` will prevent it from being closed.
10202 */
10203 "onScHide"?: (event: ScPopoverCustomEvent<void>) => void;
10204 /**
10205 * Emitted when the popover opens. Calling `event.preventDefault()` will prevent it from being opened.
10206 */
10207 "onScShow"?: (event: ScPopoverCustomEvent<void>) => void;
10208 /**
10209 * Indicates whether or not the popover is open. You can use this in lieu of the show/hide methods.
10210 */
10211 "open"?: boolean;
10212 /**
10213 * The placement of the popover.
10214 */
10215 "placement"?: | 'top'
10216 | 'top-start'
10217 | 'top-end'
10218 | 'bottom'
10219 | 'bottom-start'
10220 | 'bottom-end'
10221 | 'right'
10222 | 'right-start'
10223 | 'right-end'
10224 | 'left'
10225 | 'left-start'
10226 | 'left-end';
10227 /**
10228 * The distance in pixels from which to offset the panel along its trigger.
10229 */
10230 "skidding"?: number;
10231 }
10232 interface ScPremiumTag {
10233 /**
10234 * The tag's size.
10235 */
10236 "size"?: 'small' | 'medium' | 'large';
10237 }
10238 /**
10239 * Internal dependencies.
10240 */
10241 interface ScPrice {
10242 /**
10243 * Is the product ad_hoc?
10244 */
10245 "adHoc"?: boolean;
10246 /**
10247 * The amount
10248 */
10249 "amount"?: number;
10250 /**
10251 * The currency.
10252 */
10253 "currency"?: string;
10254 /**
10255 * The display amount
10256 */
10257 "displayAmount"?: string;
10258 /**
10259 * The recurring interval
10260 */
10261 "recurringInterval"?: 'week' | 'month' | 'year' | 'never';
10262 /**
10263 * The recurring interval count
10264 */
10265 "recurringIntervalCount"?: number;
10266 /**
10267 * The recurring period count
10268 */
10269 "recurringPeriodCount"?: number;
10270 /**
10271 * The sale text
10272 */
10273 "saleText"?: string;
10274 /**
10275 * The scratch amount
10276 */
10277 "scratchAmount"?: number;
10278 /**
10279 * The scratch display amount
10280 */
10281 "scratchDisplayAmount"?: string;
10282 /**
10283 * The setup fee amount
10284 */
10285 "setupFeeAmount"?: number;
10286 /**
10287 * The setup fee name
10288 */
10289 "setupFeeName"?: string;
10290 /**
10291 * The setup fee text
10292 */
10293 "setupFeeText"?: string;
10294 /**
10295 * The trial duration days
10296 */
10297 "trialDurationDays"?: number;
10298 }
10299 interface ScPriceChoice {
10300 /**
10301 * Is this blank?
10302 */
10303 "blank"?: boolean;
10304 /**
10305 * Is this checked by default
10306 */
10307 "checked"?: boolean;
10308 /**
10309 * Label for the choice.
10310 */
10311 "description"?: string;
10312 /**
10313 * Errors from response
10314 */
10315 "error"?: ResponseError;
10316 /**
10317 * Is this an ad-hoc price choice
10318 */
10319 "isAdHoc"?: Boolean;
10320 /**
10321 * Label for the choice.
10322 */
10323 "label"?: string;
10324 /**
10325 * Is this loading
10326 */
10327 "loading"?: boolean;
10328 /**
10329 * Add entities
10330 */
10331 "onScAddEntities"?: (event: ScPriceChoiceCustomEvent<any>) => void;
10332 /**
10333 * Toggle line item event
10334 */
10335 "onScRemoveLineItem"?: (event: ScPriceChoiceCustomEvent<LineItemData1>) => void;
10336 /**
10337 * Toggle line item event
10338 */
10339 "onScUpdateLineItem"?: (event: ScPriceChoiceCustomEvent<LineItemData1>) => void;
10340 /**
10341 * Session
10342 */
10343 "order"?: Checkout;
10344 /**
10345 * Stores the price
10346 */
10347 "price"?: Price;
10348 /**
10349 * Id of the price.
10350 */
10351 "priceId"?: string;
10352 /**
10353 * Price entities
10354 */
10355 "prices"?: Prices;
10356 /**
10357 * Stores the price
10358 */
10359 "product"?: Product;
10360 /**
10361 * Product entity
10362 */
10363 "products"?: Products;
10364 /**
10365 * Default quantity
10366 */
10367 "quantity"?: number;
10368 /**
10369 * Show the radio/checkbox control
10370 */
10371 "showControl"?: boolean;
10372 /**
10373 * Show the label
10374 */
10375 "showLabel"?: boolean;
10376 /**
10377 * Show the price amount
10378 */
10379 "showPrice"?: boolean;
10380 /**
10381 * Choice Type
10382 */
10383 "type"?: 'checkbox' | 'radio';
10384 }
10385 interface ScPriceChoiceContainer {
10386 /**
10387 * Is this checked by default
10388 */
10389 "checked"?: boolean;
10390 /**
10391 * Label for the choice.
10392 */
10393 "description"?: string;
10394 /**
10395 * Label for the choice.
10396 */
10397 "label"?: string;
10398 /**
10399 * Is this loading
10400 */
10401 "loading"?: boolean;
10402 "onScChange"?: (event: ScPriceChoiceContainerCustomEvent<void>) => void;
10403 /**
10404 * Stores the price
10405 */
10406 "price"?: string | Price;
10407 "required"?: boolean;
10408 /**
10409 * Show the radio/checkbox control
10410 */
10411 "showControl"?: boolean;
10412 /**
10413 * Show the label
10414 */
10415 "showLabel"?: boolean;
10416 /**
10417 * Show the price amount
10418 */
10419 "showPrice"?: boolean;
10420 /**
10421 * Choice Type
10422 */
10423 "type"?: 'checkbox' | 'radio';
10424 }
10425 interface ScPriceChoices {
10426 /**
10427 * Number of columns
10428 */
10429 "columns"?: number;
10430 /**
10431 * Selector label
10432 */
10433 "label"?: string;
10434 /**
10435 * Toggle line item event
10436 */
10437 "onScRemoveLineItem"?: (event: ScPriceChoicesCustomEvent<LineItemData1>) => void;
10438 /**
10439 * Toggle line item event
10440 */
10441 "onScUpdateLineItem"?: (event: ScPriceChoicesCustomEvent<LineItemData1>) => void;
10442 /**
10443 * Required by default
10444 */
10445 "required"?: boolean;
10446 }
10447 interface ScPriceInput {
10448 /**
10449 * The input's autofocus attribute.
10450 */
10451 "autofocus"?: boolean;
10452 /**
10453 * Adds a clear button when the input is populated.
10454 */
10455 "clearable"?: boolean;
10456 /**
10457 * 3 letter currency code for input
10458 */
10459 "currencyCode"?: string;
10460 /**
10461 * Disables the input.
10462 */
10463 "disabled"?: boolean;
10464 /**
10465 * Inputs focus
10466 */
10467 "hasFocus"?: boolean;
10468 /**
10469 * The input's help text.
10470 */
10471 "help"?: string;
10472 /**
10473 * 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.
10474 */
10475 "invalid"?: boolean;
10476 /**
10477 * The input's label.
10478 */
10479 "label"?: string;
10480 /**
10481 * The input's maximum value.
10482 */
10483 "max"?: number;
10484 /**
10485 * The maximum length of input that will be considered valid.
10486 */
10487 "maxlength"?: number;
10488 /**
10489 * The input's minimum value.
10490 */
10491 "min"?: number;
10492 /**
10493 * The minimum length of input that will be considered valid.
10494 */
10495 "minlength"?: number;
10496 /**
10497 * The input's name attribute.
10498 */
10499 "name"?: string;
10500 /**
10501 * Emitted when the control loses focus.
10502 */
10503 "onScBlur"?: (event: ScPriceInputCustomEvent<void>) => void;
10504 /**
10505 * Emitted when the control's value changes.
10506 */
10507 "onScChange"?: (event: ScPriceInputCustomEvent<void>) => void;
10508 /**
10509 * Emitted when the control gains focus.
10510 */
10511 "onScFocus"?: (event: ScPriceInputCustomEvent<void>) => void;
10512 /**
10513 * Emitted when the control's value changes.
10514 */
10515 "onScInput"?: (event: ScPriceInputCustomEvent<void>) => void;
10516 /**
10517 * Draws a pill-style input with rounded edges.
10518 */
10519 "pill"?: boolean;
10520 /**
10521 * The input's placeholder text.
10522 */
10523 "placeholder"?: string;
10524 /**
10525 * Makes the input readonly.
10526 */
10527 "readonly"?: boolean;
10528 /**
10529 * Makes the input a required field.
10530 */
10531 "required"?: boolean;
10532 /**
10533 * Show the currency code with the input
10534 */
10535 "showCode"?: boolean;
10536 /**
10537 * Should we show the label
10538 */
10539 "showLabel"?: boolean;
10540 /**
10541 * The input's size.
10542 */
10543 "size"?: 'small' | 'medium' | 'large';
10544 /**
10545 * The input's value attribute.
10546 */
10547 "value"?: string;
10548 }
10549 interface ScPriceRange {
10550 /**
10551 * The array of price objects
10552 */
10553 "prices"?: Price[];
10554 }
10555 interface ScProductBuyButton {
10556 "addToCart"?: boolean;
10557 "checkoutLink"?: string;
10558 "formId"?: number;
10559 "mode"?: 'live' | 'test';
10560 "productId"?: string;
10561 }
10562 interface ScProductDonationAmountChoice {
10563 /**
10564 * The label for the field.
10565 */
10566 "label"?: string;
10567 /**
10568 * The product id for the fields.
10569 */
10570 "productId"?: string;
10571 /**
10572 * The value of the field.
10573 */
10574 "value"?: number;
10575 }
10576 interface ScProductDonationChoices {
10577 /**
10578 * The label for the field.
10579 */
10580 "label"?: string;
10581 /**
10582 * The product id for the fields.
10583 */
10584 "productId"?: string;
10585 "recurring"?: boolean;
10586 }
10587 interface ScProductDonationCustomAmount {
10588 /**
10589 * Selected Product Id for the donation.
10590 */
10591 "productId"?: string;
10592 /**
10593 * Custom Amount of the donation.
10594 */
10595 "value"?: number;
10596 }
10597 interface ScProductItem {
10598 "layoutConfig"?: LayoutConfig;
10599 "product"?: Product;
10600 }
10601 interface ScProductItemImage {
10602 "product"?: Product;
10603 "sizing"?: 'cover' | 'contain';
10604 }
10605 interface ScProductItemList {
10606 /**
10607 * Should we paginate?
10608 */
10609 "ajaxPagination"?: boolean;
10610 /**
10611 * Should allow collection filter
10612 */
10613 "collectionEnabled"?: boolean;
10614 /**
10615 * Show for a specific collection
10616 */
10617 "collectionId"?: string;
10618 /**
10619 * Show only featured products.
10620 */
10621 "featured"?: boolean;
10622 /**
10623 * Limit to a set of ids.
10624 */
10625 "ids"?: string[];
10626 "layoutConfig"?: LayoutConfig1;
10627 "limit"?: number;
10628 /**
10629 * Products viewed
10630 */
10631 "onScProductsViewed"?: (event: ScProductItemListCustomEvent<ProductsViewedParams>) => void;
10632 /**
10633 * Product was searched
10634 */
10635 "onScSearched"?: (event: ScProductItemListCustomEvent<ProductsSearchedParams>) => void;
10636 "page"?: number;
10637 /**
10638 * The page title
10639 */
10640 "pageTitle"?: string;
10641 /**
10642 * Pagination
10643 */
10644 "pagination"?: {
10645 total: number;
10646 total_pages: number;
10647 };
10648 "paginationAlignment"?: string;
10649 /**
10650 * Should we auto-scroll to the top when paginating via ajax
10651 */
10652 "paginationAutoScroll"?: boolean;
10653 /**
10654 * Should we paginate?
10655 */
10656 "paginationEnabled"?: boolean;
10657 "products"?: Product[];
10658 /**
10659 * Query to search for
10660 */
10661 "query"?: string;
10662 /**
10663 * Should allow search
10664 */
10665 "searchEnabled"?: boolean;
10666 /**
10667 * Sort
10668 */
10669 "sort"?: string;
10670 /**
10671 * Should allow search
10672 */
10673 "sortEnabled"?: boolean;
10674 }
10675 interface ScProductItemPrice {
10676 /**
10677 * Product metrics
10678 */
10679 "metrics"?: ProductMetrics;
10680 "prices"?: Price[];
10681 /**
10682 * Show price range?
10683 */
10684 "range"?: boolean;
10685 }
10686 interface ScProductItemTitle {
10687 }
10688 interface ScProductLineItem {
10689 /**
10690 * Product monetary amount
10691 */
10692 "amount"?: string;
10693 /**
10694 * Bundle component line items, rendered as a read-only nested list under the main row when this line item is a bundle parent.
10695 */
10696 "bundleComponents"?: LineItem[];
10697 /**
10698 * Product display amount
10699 */
10700 "displayAmount"?: string;
10701 /**
10702 * Can we select the quantity
10703 */
10704 "editable"?: boolean;
10705 /**
10706 * Product line item fees.
10707 */
10708 "fees"?: Fee[];
10709 /**
10710 * Image attributes.
10711 */
10712 "image"?: ImageAttributes;
10713 /**
10714 * Recurring interval (i.e. monthly, once, etc.)
10715 */
10716 "interval"?: string;
10717 /**
10718 * The max allowed.
10719 */
10720 "max"?: number;
10721 /**
10722 * Product name
10723 */
10724 "name"?: string;
10725 /**
10726 * The line item note
10727 */
10728 "note"?: string;
10729 /**
10730 * Emitted when the quantity changes.
10731 */
10732 "onScRemove"?: (event: ScProductLineItemCustomEvent<void>) => void;
10733 /**
10734 * Emitted when the quantity changes.
10735 */
10736 "onScUpdateQuantity"?: (event: ScProductLineItemCustomEvent<number>) => void;
10737 /**
10738 * Price name
10739 */
10740 "price"?: string;
10741 /**
10742 * The purchasable status display
10743 */
10744 "purchasableStatus"?: string;
10745 /**
10746 * Quantity
10747 */
10748 "quantity"?: number;
10749 /**
10750 * Is the line item removable
10751 */
10752 "removable"?: boolean;
10753 /**
10754 * The review button link. If set, a review button will be shown linking to this URL.
10755 */
10756 "reviewButtonLink"?: string;
10757 /**
10758 * The line item scratch amount
10759 */
10760 "scratch"?: string;
10761 /**
10762 * Product scratch display amount
10763 */
10764 "scratchDisplayAmount"?: string;
10765 /**
10766 * Separator between a bundle component's name and its variant options.
10767 */
10768 "separator"?: string;
10769 /**
10770 * Show every bundle component (default), or only those with a selected variant when set to `false`.
10771 */
10772 "showAllBundleItems"?: boolean;
10773 /**
10774 * The SKU.
10775 */
10776 "sku"?: string;
10777 /**
10778 * Trial text
10779 */
10780 "trial"?: string;
10781 /**
10782 * Product variant label
10783 */
10784 "variant"?: string;
10785 }
10786 interface ScProductLineItemNote {
10787 "note"?: string;
10788 }
10789 interface ScProductPillsVariantOption {
10790 /**
10791 * Label
10792 */
10793 "label"?: string;
10794 /**
10795 * Which option number?
10796 */
10797 "optionNumber"?: 1 | 2 | 3;
10798 /**
10799 * The product id
10800 */
10801 "productId"?: string;
10802 }
10803 interface ScProductPrice {
10804 /**
10805 * The product's prices.
10806 */
10807 "prices"?: Price[];
10808 /**
10809 * The product id
10810 */
10811 "productId"?: string;
10812 /**
10813 * The sale text
10814 */
10815 "saleText"?: string;
10816 }
10817 interface ScProductPriceChoices {
10818 /**
10819 * The product price choice label
10820 */
10821 "label"?: string;
10822 /**
10823 * The product id
10824 */
10825 "productId"?: string;
10826 /**
10827 * Whether to show the price
10828 */
10829 "showPrice"?: boolean;
10830 }
10831 interface ScProductPriceModal {
10832 /**
10833 * Whether to add to cart
10834 */
10835 "addToCart"?: boolean;
10836 /**
10837 * The button text
10838 */
10839 "buttonText"?: string;
10840 /**
10841 * The product id
10842 */
10843 "productId"?: string;
10844 }
10845 interface ScProductQuantity {
10846 /**
10847 * Display server-side validation errors.
10848 */
10849 "errors"?: any;
10850 /**
10851 * Help text
10852 */
10853 "help"?: string;
10854 /**
10855 * Input label.
10856 */
10857 "label"?: string;
10858 /**
10859 * Name for the input. Used for validation errors.
10860 */
10861 "name"?: string;
10862 /**
10863 * The product id
10864 */
10865 "productId"?: string;
10866 /**
10867 * Whether the input is required.
10868 */
10869 "required"?: boolean;
10870 /**
10871 * Show the label.
10872 */
10873 "showLabel"?: boolean;
10874 /**
10875 * Size of the control
10876 */
10877 "size"?: 'small' | 'medium' | 'large';
10878 }
10879 interface ScProductSelectedPrice {
10880 /**
10881 * Toggle line item event
10882 */
10883 "onScUpdateLineItem"?: (event: ScProductSelectedPriceCustomEvent<LineItemData>) => void;
10884 /**
10885 * The product id.
10886 */
10887 "productId"?: string;
10888 }
10889 interface ScProductText {
10890 "productId"?: string;
10891 "text"?: 'name' | 'description';
10892 }
10893 interface ScProse {
10894 }
10895 interface ScProvider {
10896 "STENCIL_CONTEXT"?: { [key: string]: any };
10897 "onMountConsumer"?: (event: ScProviderCustomEvent<any>) => void;
10898 }
10899 interface ScProvisionalBanner {
10900 /**
10901 * Claim URL.
10902 */
10903 "claimUrl"?: string;
10904 /**
10905 * Whether the claim window has expired.
10906 */
10907 "expired"?: boolean;
10908 }
10909 interface ScPurchaseDownloadsList {
10910 "allLink"?: string;
10911 "busy"?: boolean;
10912 "error"?: string;
10913 "heading"?: string;
10914 "loading"?: boolean;
10915 "purchases"?: Array<Purchase>;
10916 "requestNonce"?: string;
10917 }
10918 interface ScQuantitySelect {
10919 "clickEl"?: HTMLElement;
10920 "disabled"?: boolean;
10921 /**
10922 * Inputs focus
10923 */
10924 "hasFocus"?: boolean;
10925 "max"?: number;
10926 "min"?: number;
10927 /**
10928 * Emitted when the control loses focus.
10929 */
10930 "onScBlur"?: (event: ScQuantitySelectCustomEvent<void>) => void;
10931 "onScChange"?: (event: ScQuantitySelectCustomEvent<number>) => void;
10932 /**
10933 * Emitted when the control gains focus.
10934 */
10935 "onScFocus"?: (event: ScQuantitySelectCustomEvent<void>) => void;
10936 /**
10937 * Emitted when the control receives input.
10938 */
10939 "onScInput"?: (event: ScQuantitySelectCustomEvent<number>) => void;
10940 "productName"?: string;
10941 "quantity"?: number;
10942 "size"?: 'small' | 'medium' | 'large';
10943 }
10944 interface ScRadio {
10945 /**
10946 * Draws the radio in a checked state.
10947 */
10948 "checked"?: boolean;
10949 /**
10950 * Is the radio disabled
10951 */
10952 "disabled"?: boolean;
10953 /**
10954 * This will be true as a workaround in the block editor to focus on the content.
10955 */
10956 "edit"?: boolean;
10957 /**
10958 * This will be true when the control is in an invalid state. Validity is determined by the `required` prop.
10959 */
10960 "invalid"?: boolean;
10961 /**
10962 * The radios name attribute
10963 */
10964 "name"?: string;
10965 /**
10966 * Emitted when the control loses focus.
10967 */
10968 "onScBlur"?: (event: ScRadioCustomEvent<void>) => void;
10969 /**
10970 * Emitted when the control's checked state changes.
10971 */
10972 "onScChange"?: (event: ScRadioCustomEvent<void>) => void;
10973 /**
10974 * Emitted when the control gains focus.
10975 */
10976 "onScFocus"?: (event: ScRadioCustomEvent<void>) => void;
10977 /**
10978 * Is this required
10979 */
10980 "required"?: boolean;
10981 /**
10982 * The radios value
10983 */
10984 "value"?: string;
10985 }
10986 interface ScRadioGroup {
10987 /**
10988 * 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.
10989 */
10990 "invalid"?: boolean;
10991 /**
10992 * The radio group label. Required for proper accessibility.
10993 */
10994 "label"?: string;
10995 "onScChange"?: (event: ScRadioGroupCustomEvent<string>) => void;
10996 /**
10997 * Is one of these items required.
10998 */
10999 "required"?: boolean;
11000 /**
11001 * The selected value of the control.
11002 */
11003 "value"?: string;
11004 }
11005 interface ScRazorpayAddMethod {
11006 "currency"?: string;
11007 "customerId"?: string;
11008 "liveMode"?: boolean;
11009 "successUrl"?: string;
11010 }
11011 interface ScRecurringPriceChoiceContainer {
11012 /**
11013 * Label for the choice.
11014 */
11015 "label"?: string;
11016 /**
11017 * Change event.
11018 */
11019 "onScChange"?: (event: ScRecurringPriceChoiceContainerCustomEvent<string>) => void;
11020 /**
11021 * The prices to choose from.
11022 */
11023 "prices"?: Price[];
11024 /**
11025 * The product.
11026 */
11027 "product"?: Product;
11028 /**
11029 * The currently selected price
11030 */
11031 "selectedPrice"?: Price;
11032 /**
11033 * Should we show the price?
11034 */
11035 "showAmount"?: boolean;
11036 /**
11037 * Show the radio/checkbox control
11038 */
11039 "showControl"?: boolean;
11040 /**
11041 * Should we show the price details?
11042 */
11043 "showDetails"?: boolean;
11044 }
11045 interface ScReviewStars {
11046 "rating"?: number;
11047 "size"?: number;
11048 }
11049 interface ScRichText {
11050 /**
11051 * Disables the textarea.
11052 */
11053 "disabled"?: boolean;
11054 /**
11055 * The textarea's help text. Alternatively, you can use the help-text slot.
11056 */
11057 "help"?: string;
11058 /**
11059 * The textarea's label. Alternatively, you can use the label slot.
11060 */
11061 "label"?: string;
11062 /**
11063 * The max length.
11064 */
11065 "maxlength"?: number;
11066 /**
11067 * The textarea's name attribute.
11068 */
11069 "name"?: string;
11070 "onScBlur"?: (event: ScRichTextCustomEvent<void>) => void;
11071 "onScChange"?: (event: ScRichTextCustomEvent<void>) => void;
11072 "onScFocus"?: (event: ScRichTextCustomEvent<void>) => void;
11073 "onScInput"?: (event: ScRichTextCustomEvent<void>) => void;
11074 /**
11075 * The textarea's placeholder text.
11076 */
11077 "placeholder"?: string;
11078 /**
11079 * Makes the textarea readonly.
11080 */
11081 "readonly"?: boolean;
11082 /**
11083 * Makes the textarea a required field.
11084 */
11085 "required"?: boolean;
11086 /**
11087 * Should we show the label
11088 */
11089 "showLabel"?: boolean;
11090 /**
11091 * The textarea's size.
11092 */
11093 "size"?: 'small' | 'medium' | 'large';
11094 /**
11095 * The textarea's value attribute.
11096 */
11097 "value"?: string;
11098 }
11099 interface ScSecureNotice {
11100 }
11101 interface ScSelect {
11102 /**
11103 * The input's autocomplete attribute.
11104 */
11105 "autocomplete"?: string;
11106 /**
11107 * The input's value attribute.
11108 */
11109 "choices"?: Array<ChoiceItem>;
11110 "closeOnSelect"?: boolean;
11111 "disabled"?: boolean;
11112 /**
11113 * Some help text for the input.
11114 */
11115 "help"?: string;
11116 "hoist"?: boolean;
11117 /**
11118 * 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.
11119 */
11120 "invalid"?: boolean;
11121 /**
11122 * The input's label.
11123 */
11124 "label"?: string;
11125 "loading"?: boolean;
11126 /**
11127 * The input's name attribute.
11128 */
11129 "name"?: string;
11130 /**
11131 * Emitted when the control loses focus.
11132 */
11133 "onScBlur"?: (event: ScSelectCustomEvent<void>) => void;
11134 /**
11135 * Emitted when the control's value changes.
11136 */
11137 "onScChange"?: (event: ScSelectCustomEvent<ChoiceItem>) => void;
11138 /**
11139 * Emitted whent the components search query changes
11140 */
11141 "onScClose"?: (event: ScSelectCustomEvent<string>) => void;
11142 /**
11143 * Emitted when the control gains focus.
11144 */
11145 "onScFocus"?: (event: ScSelectCustomEvent<void>) => void;
11146 /**
11147 * Emitted whent the components search query changes
11148 */
11149 "onScOpen"?: (event: ScSelectCustomEvent<string>) => void;
11150 /**
11151 * Emitted when the list scrolls to the end.
11152 */
11153 "onScScrollEnd"?: (event: ScSelectCustomEvent<void>) => void;
11154 /**
11155 * Emitted whent the components search query changes
11156 */
11157 "onScSearch"?: (event: ScSelectCustomEvent<string>) => void;
11158 /**
11159 * Is this open
11160 */
11161 "open"?: boolean;
11162 /**
11163 * Placeholder for no value
11164 */
11165 "placeholder"?: string;
11166 /**
11167 * The placement of the dropdown.
11168 */
11169 "placement"?: | 'top'
11170 | 'top-start'
11171 | 'top-end'
11172 | 'bottom'
11173 | 'bottom-start'
11174 | 'bottom-end'
11175 | 'right'
11176 | 'right-start'
11177 | 'right-end'
11178 | 'left'
11179 | 'left-start'
11180 | 'left-end';
11181 "position"?: 'bottom-left' | 'bottom-right' | 'top-left' | 'top-right';
11182 "required"?: boolean;
11183 /**
11184 * Is search enabled?
11185 */
11186 "search"?: boolean;
11187 /**
11188 * Placeholder for search
11189 */
11190 "searchPlaceholder"?: string;
11191 "showParentLabel"?: boolean;
11192 /**
11193 * The input's size.
11194 */
11195 "size"?: 'small' | 'medium' | 'large';
11196 "squared"?: boolean;
11197 "squaredBottom"?: boolean;
11198 "squaredLeft"?: boolean;
11199 "squaredRight"?: boolean;
11200 "squaredTop"?: boolean;
11201 /**
11202 * Can we unselect items.
11203 */
11204 "unselect"?: boolean;
11205 /**
11206 * The input's value attribute.
11207 */
11208 "value"?: string;
11209 }
11210 interface ScSessionProvider {
11211 "onScPaid"?: (event: ScSessionProviderCustomEvent<void>) => void;
11212 /**
11213 * Set the state
11214 */
11215 "onScSetState"?: (event: ScSessionProviderCustomEvent<FormStateSetter>) => void;
11216 /**
11217 * Update line items event
11218 */
11219 "onScUpdateDraftState"?: (event: ScSessionProviderCustomEvent<Checkout>) => void;
11220 /**
11221 * Update line items event
11222 */
11223 "onScUpdateOrderState"?: (event: ScSessionProviderCustomEvent<Checkout>) => void;
11224 /**
11225 * Should we persist the session.
11226 */
11227 "persist"?: boolean;
11228 /**
11229 * An array of prices to pre-fill in the form.
11230 */
11231 "prices"?: Array<PriceChoice>;
11232 }
11233 interface ScShippingChoices {
11234 /**
11235 * The shipping section label
11236 */
11237 "label"?: string;
11238 /**
11239 * Override shipping choices data (used for editor preview)
11240 */
11241 "shippingChoices"?: any[] | undefined;
11242 /**
11243 * Whether to show the shipping choice description
11244 */
11245 "showDescription"?: boolean;
11246 }
11247 interface ScSkeleton {
11248 /**
11249 * Animation effect
11250 */
11251 "effect"?: 'pulse' | 'sheen' | 'none';
11252 }
11253 interface ScSpacing {
11254 }
11255 interface ScSpinner {
11256 }
11257 interface ScStackedList {
11258 }
11259 interface ScStackedListRow {
11260 "href"?: string;
11261 "mobileSize"?: number;
11262 "target"?: string;
11263 }
11264 interface ScStripeAddMethod {
11265 "customerId"?: string;
11266 "liveMode"?: boolean;
11267 "successUrl"?: string;
11268 }
11269 interface ScStripeElement {
11270 /**
11271 * Whether this field is disabled
11272 */
11273 "disabled"?: boolean;
11274 /**
11275 * The form state
11276 */
11277 "formState"?: FormState;
11278 /**
11279 * Inputs focus
11280 */
11281 "hasFocus"?: boolean;
11282 /**
11283 * The input's label. Alternatively, you can use the label slot.
11284 */
11285 "label"?: string;
11286 /**
11287 * Mode for the payment
11288 */
11289 "mode"?: 'live' | 'test';
11290 /**
11291 * The order/invoice was paid for
11292 */
11293 "onScPaid"?: (event: ScStripeElementCustomEvent<void>) => void;
11294 /**
11295 * Payment information was added
11296 */
11297 "onScPaymentInfoAdded"?: (event: ScStripeElementCustomEvent<PaymentInfoAddedParams>) => void;
11298 /**
11299 * Set the state
11300 */
11301 "onScSetState"?: (event: ScStripeElementCustomEvent<FormStateSetter>) => void;
11302 /**
11303 * The checkout session object for finalizing intents
11304 */
11305 "order"?: Checkout;
11306 /**
11307 * The input's help text. Alternatively, you can use the help-text slot.
11308 */
11309 "secureText"?: string;
11310 /**
11311 * The selected processor id
11312 */
11313 "selectedProcessorId"?: ProcessorName;
11314 /**
11315 * Should we show the label
11316 */
11317 "showLabel"?: boolean;
11318 /**
11319 * The input's size.
11320 */
11321 "size"?: 'small' | 'medium' | 'large';
11322 }
11323 interface ScStripePaymentElement {
11324 /**
11325 * The order/invoice was paid for.
11326 */
11327 "onScPaid"?: (event: ScStripePaymentElementCustomEvent<void>) => void;
11328 /**
11329 * Payment information was added
11330 */
11331 "onScPaymentInfoAdded"?: (event: ScStripePaymentElementCustomEvent<PaymentInfoAddedParams>) => void;
11332 /**
11333 * Set the state
11334 */
11335 "onScSetState"?: (event: ScStripePaymentElementCustomEvent<FormStateSetter>) => void;
11336 }
11337 interface ScStripePaymentRequest {
11338 /**
11339 * Amount
11340 */
11341 "amount"?: number;
11342 /**
11343 * Country
11344 */
11345 "country"?: string;
11346 /**
11347 * Is this in debug mode.
11348 */
11349 "debug"?: boolean;
11350 "error"?: ResponseError | null;
11351 /**
11352 * Label
11353 */
11354 "label"?: string;
11355 "onScFormSubmit"?: (event: ScStripePaymentRequestCustomEvent<any>) => void;
11356 "onScPaid"?: (event: ScStripePaymentRequestCustomEvent<void>) => void;
11357 "onScPayError"?: (event: ScStripePaymentRequestCustomEvent<any>) => void;
11358 "onScPaymentRequestLoaded"?: (event: ScStripePaymentRequestCustomEvent<boolean>) => void;
11359 "onScSetState"?: (event: ScStripePaymentRequestCustomEvent<string>) => void;
11360 "onScUpdateOrderState"?: (event: ScStripePaymentRequestCustomEvent<any>) => void;
11361 /**
11362 * Prices
11363 */
11364 "prices"?: Prices;
11365 /**
11366 * Stripe publishable key
11367 */
11368 "publishableKey"?: string;
11369 /**
11370 * Your stripe connected account id.
11371 */
11372 "stripeAccountId"?: string;
11373 /**
11374 * Payment request theme
11375 */
11376 "theme"?: string;
11377 }
11378 interface ScSubscription {
11379 /**
11380 * Heading to display
11381 */
11382 "heading"?: string;
11383 /**
11384 * The subscription protocol
11385 */
11386 "protocol"?: SubscriptionProtocol;
11387 /**
11388 * Query to pass to the API
11389 */
11390 "query"?: object;
11391 /**
11392 * Whether to show the cancel button
11393 */
11394 "showCancel"?: boolean;
11395 /**
11396 * The subscription
11397 */
11398 "subscription"?: Subscription;
11399 /**
11400 * The subscription ID
11401 */
11402 "subscriptionId"?: string;
11403 /**
11404 * Update the payment method url
11405 */
11406 "updatePaymentMethodUrl"?: string;
11407 }
11408 interface ScSubscriptionAdHocConfirm {
11409 "currencyCode"?: string;
11410 "heading"?: string;
11411 "price"?: Price;
11412 }
11413 interface ScSubscriptionCancel {
11414 "backUrl"?: string;
11415 "comment"?: string;
11416 "heading"?: string;
11417 "onScAbandon"?: (event: ScSubscriptionCancelCustomEvent<void>) => void;
11418 "onScCancelled"?: (event: ScSubscriptionCancelCustomEvent<void>) => void;
11419 "protocol"?: SubscriptionProtocol;
11420 "reason"?: CancellationReason;
11421 "subscription"?: Subscription;
11422 "successUrl"?: string;
11423 }
11424 interface ScSubscriptionDetails {
11425 "hideRenewalText"?: boolean;
11426 "pendingPrice"?: Price;
11427 "subscription"?: Subscription;
11428 }
11429 interface ScSubscriptionNextPayment {
11430 "subscription"?: Subscription;
11431 /**
11432 * Update the payment method url
11433 */
11434 "updatePaymentMethodUrl"?: string;
11435 }
11436 interface ScSubscriptionPayment {
11437 "backUrl"?: string;
11438 "customerIds"?: Array<string>;
11439 "paymentMethods"?: Array<PaymentMethod>;
11440 "subscription"?: Subscription;
11441 "subscriptionId"?: string;
11442 "successUrl"?: string;
11443 }
11444 interface ScSubscriptionPaymentMethod {
11445 /**
11446 * The heading
11447 */
11448 "heading"?: string;
11449 /**
11450 * The subscription
11451 */
11452 "subscription"?: Subscription;
11453 }
11454 interface ScSubscriptionReactivate {
11455 /**
11456 * Refresh subscriptions
11457 */
11458 "onScRefresh"?: (event: ScSubscriptionReactivateCustomEvent<void>) => void;
11459 /**
11460 * Reactivate modal closed
11461 */
11462 "onScRequestClose"?: (event: ScSubscriptionReactivateCustomEvent<'close-button' | 'keyboard' | 'overlay'>) => void;
11463 /**
11464 * Whether it is open
11465 */
11466 "open"?: boolean;
11467 /**
11468 * The subscription to reactivate
11469 */
11470 "subscription"?: Subscription;
11471 }
11472 interface ScSubscriptionStatusBadge {
11473 /**
11474 * Makes the tag clearable.
11475 */
11476 "clearable"?: boolean;
11477 /**
11478 * Draws a pill-style tag with rounded edges.
11479 */
11480 "pill"?: boolean;
11481 /**
11482 * The tag's size.
11483 */
11484 "size"?: 'small' | 'medium' | 'large';
11485 /**
11486 * Subscription status
11487 */
11488 "status"?: SubscriptionStatus;
11489 /**
11490 * The tag's status type.
11491 */
11492 "subscription"?: Subscription;
11493 }
11494 interface ScSubscriptionSwitch {
11495 "filterAbove"?: number;
11496 "heading"?: string;
11497 "productGroupId"?: ProductGroup;
11498 "productId"?: string;
11499 /**
11500 * Customer id to fetch subscriptions
11501 */
11502 "query"?: object;
11503 "subscription"?: Subscription;
11504 "successUrl"?: string;
11505 }
11506 interface ScSubscriptionVariationConfirm {
11507 "heading"?: string;
11508 "price"?: Price;
11509 "product"?: Product;
11510 "subscription"?: Subscription;
11511 }
11512 interface ScSubscriptionsList {
11513 "allLink"?: string;
11514 "cancelBehavior"?: 'period_end' | 'immediate';
11515 "heading"?: string;
11516 "isCustomer"?: boolean;
11517 /**
11518 * Customer id to fetch subscriptions
11519 */
11520 "query"?: {
11521 page: number;
11522 per_page: number;
11523 };
11524 }
11525 interface ScSummary {
11526 "busy"?: boolean;
11527 "closedText"?: string;
11528 "collapsed"?: boolean;
11529 "collapsedOnDesktop"?: boolean;
11530 "collapsedOnMobile"?: boolean;
11531 "collapsible"?: boolean;
11532 "loading"?: boolean;
11533 /**
11534 * Show the toggle
11535 */
11536 "onScHide"?: (event: ScSummaryCustomEvent<void>) => void;
11537 /**
11538 * Show the toggle
11539 */
11540 "onScShow"?: (event: ScSummaryCustomEvent<void>) => void;
11541 "openText"?: string;
11542 }
11543 interface ScSwap {
11544 /**
11545 * The product id.
11546 */
11547 "lineItem"?: LineItem;
11548 }
11549 interface ScSwitch {
11550 /**
11551 * Draws the switch in a checked state.
11552 */
11553 "checked"?: boolean;
11554 /**
11555 * Disables the switch.
11556 */
11557 "disabled"?: boolean;
11558 /**
11559 * This will be true as a workaround in the block editor to focus on the content.
11560 */
11561 "edit"?: boolean;
11562 /**
11563 * This will be true when the control is in an invalid state. Validity is determined by the `required` prop.
11564 */
11565 "invalid"?: boolean;
11566 /**
11567 * The switch's name attribute.
11568 */
11569 "name"?: string;
11570 /**
11571 * Emitted when the control loses focus.
11572 */
11573 "onScBlur"?: (event: ScSwitchCustomEvent<void>) => void;
11574 /**
11575 * Emitted when the control's checked state changes.
11576 */
11577 "onScChange"?: (event: ScSwitchCustomEvent<void>) => void;
11578 /**
11579 * Emitted when the control gains focus.
11580 */
11581 "onScFocus"?: (event: ScSwitchCustomEvent<void>) => void;
11582 /**
11583 * Makes the switch a required field.
11584 */
11585 "required"?: boolean;
11586 "reversed"?: boolean;
11587 /**
11588 * The switch's value attribute.
11589 */
11590 "value"?: string;
11591 }
11592 interface ScTab {
11593 /**
11594 * Draws the tab in an active state.
11595 */
11596 "active"?: boolean;
11597 "count"?: string;
11598 /**
11599 * Draws the tab in a disabled state.
11600 */
11601 "disabled"?: boolean;
11602 "href"?: string;
11603 /**
11604 * Close event
11605 */
11606 "onScClose"?: (event: ScTabCustomEvent<void>) => void;
11607 /**
11608 * The name of the tab panel the tab will control. The panel must be located in the same tab group.
11609 */
11610 "panel"?: string;
11611 }
11612 interface ScTabGroup {
11613 "onScTabHide"?: (event: ScTabGroupCustomEvent<string>) => void;
11614 "onScTabShow"?: (event: ScTabGroupCustomEvent<string>) => void;
11615 }
11616 interface ScTabPanel {
11617 /**
11618 * When true, the tab panel will be shown.
11619 */
11620 "active"?: boolean;
11621 /**
11622 * The tab panel's name.
11623 */
11624 "name"?: string;
11625 }
11626 interface ScTable {
11627 }
11628 interface ScTableCell {
11629 }
11630 interface ScTableHead {
11631 }
11632 interface ScTableRow {
11633 "href"?: string;
11634 }
11635 interface ScTag {
11636 /**
11637 * Aria label
11638 */
11639 "ariaLabel"?: string;
11640 /**
11641 * Makes the tag clearable.
11642 */
11643 "clearable"?: boolean;
11644 "onScClear"?: (event: ScTagCustomEvent<ScTag>) => void;
11645 /**
11646 * Draws a pill-style tag with rounded edges.
11647 */
11648 "pill"?: boolean;
11649 /**
11650 * The tag's size.
11651 */
11652 "size"?: 'small' | 'medium' | 'large';
11653 /**
11654 * The tag's type.
11655 */
11656 "type"?: 'primary' | 'success' | 'info' | 'warning' | 'danger' | 'default';
11657 }
11658 interface ScTaxIdInput {
11659 /**
11660 * AU zone label
11661 */
11662 "auAbnLabel"?: string;
11663 /**
11664 * GST zone label
11665 */
11666 "caGstLabel"?: string;
11667 /**
11668 * The country code.
11669 */
11670 "country"?: string;
11671 /**
11672 * EU zone label
11673 */
11674 "euVatLabel"?: string;
11675 /**
11676 * UK zone label
11677 */
11678 "gbVatLabel"?: string;
11679 /**
11680 * Help text.
11681 */
11682 "help"?: string;
11683 /**
11684 * Is this loading?
11685 */
11686 "loading"?: boolean;
11687 /**
11688 * Tax ID Number
11689 */
11690 "number"?: string;
11691 /**
11692 * Make a request to update the order.
11693 */
11694 "onScChange"?: (event: ScTaxIdInputCustomEvent<{ number: string; number_type: string }>) => void;
11695 /**
11696 * Make a request to update the order.
11697 */
11698 "onScInput"?: (event: ScTaxIdInputCustomEvent<Partial<{ number: string; number_type: string }>>) => void;
11699 /**
11700 * Change the Type
11701 */
11702 "onScInputType"?: (event: ScTaxIdInputCustomEvent<string>) => void;
11703 /**
11704 * Set the checkout state.
11705 */
11706 "onScSetState"?: (event: ScTaxIdInputCustomEvent<string>) => void;
11707 /**
11708 * Other zones label
11709 */
11710 "otherLabel"?: string;
11711 /**
11712 * Whether tax input is required
11713 */
11714 "required"?: boolean;
11715 /**
11716 * Force show the field.
11717 */
11718 "show"?: boolean;
11719 /**
11720 * The status
11721 */
11722 "status"?: 'valid' | 'invalid' | 'unknown';
11723 /**
11724 * Tax ID Types which will be shown
11725 */
11726 "taxIdTypes"?: string[];
11727 /**
11728 * Type of tax id
11729 */
11730 "type"?: string;
11731 }
11732 interface ScTestModeInfo {
11733 }
11734 interface ScText {
11735 "tag"?: 'h1' | 'h2' | 'h3' | 'h4' | 'h5' | 'h6' | 'p';
11736 "truncate"?: boolean;
11737 }
11738 interface ScTextarea {
11739 /**
11740 * The textarea's autocapitalize attribute.
11741 */
11742 "autocapitalize"?: 'off' | 'none' | 'on' | 'sentences' | 'words' | 'characters';
11743 /**
11744 * The textarea's autocomplete attribute.
11745 */
11746 "autocomplete"?: string;
11747 /**
11748 * The textarea's autocorrect attribute.
11749 */
11750 "autocorrect"?: string;
11751 /**
11752 * The textarea's autofocus attribute.
11753 */
11754 "autofocus"?: boolean;
11755 /**
11756 * Disables the textarea.
11757 */
11758 "disabled"?: boolean;
11759 /**
11760 * The input's enterkeyhint attribute. This can be used to customize the label or icon of the Enter key on virtual keyboards.
11761 */
11762 "enterkeyhint"?: 'enter' | 'done' | 'go' | 'next' | 'previous' | 'search' | 'send';
11763 /**
11764 * Draws a filled textarea.
11765 */
11766 "filled"?: boolean;
11767 /**
11768 * The textarea's help text. Alternatively, you can use the help-text slot.
11769 */
11770 "help"?: string;
11771 /**
11772 * The textarea's inputmode attribute.
11773 */
11774 "inputmode"?: 'none' | 'text' | 'decimal' | 'numeric' | 'tel' | 'search' | 'email' | 'url';
11775 /**
11776 * 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.
11777 */
11778 "invalid"?: boolean;
11779 /**
11780 * The textarea's label. Alternatively, you can use the label slot.
11781 */
11782 "label"?: string;
11783 /**
11784 * The maximum length of input that will be considered valid.
11785 */
11786 "maxlength"?: number;
11787 /**
11788 * The minimum length of input that will be considered valid.
11789 */
11790 "minlength"?: number;
11791 /**
11792 * The textarea's name attribute.
11793 */
11794 "name"?: string;
11795 "onScBlur"?: (event: ScTextareaCustomEvent<void>) => void;
11796 "onScChange"?: (event: ScTextareaCustomEvent<void>) => void;
11797 "onScFocus"?: (event: ScTextareaCustomEvent<void>) => void;
11798 "onScInput"?: (event: ScTextareaCustomEvent<void>) => void;
11799 /**
11800 * The textarea's placeholder text.
11801 */
11802 "placeholder"?: string;
11803 /**
11804 * Makes the textarea readonly.
11805 */
11806 "readonly"?: boolean;
11807 /**
11808 * Makes the textarea a required field.
11809 */
11810 "required"?: boolean;
11811 /**
11812 * Controls how the textarea can be resized.
11813 */
11814 "resize"?: 'none' | 'vertical' | 'auto';
11815 /**
11816 * The number of rows to display by default.
11817 */
11818 "rows"?: number;
11819 /**
11820 * Should we show the label
11821 */
11822 "showLabel"?: boolean;
11823 /**
11824 * The textarea's size.
11825 */
11826 "size"?: 'small' | 'medium' | 'large';
11827 /**
11828 * Enables spell checking on the textarea.
11829 */
11830 "spellcheck"?: boolean;
11831 /**
11832 * The textarea's value attribute.
11833 */
11834 "value"?: string;
11835 }
11836 interface ScToggle {
11837 /**
11838 * Is this a borderless toggle?
11839 */
11840 "borderless"?: boolean;
11841 /**
11842 * Are these collapsible?
11843 */
11844 "collapsible"?: boolean;
11845 /**
11846 * Disables the details so it can't be toggled.
11847 */
11848 "disabled"?: boolean;
11849 /**
11850 * Show the toggle
11851 */
11852 "onScHide"?: (event: ScToggleCustomEvent<void>) => void;
11853 /**
11854 * Show the toggle
11855 */
11856 "onScShow"?: (event: ScToggleCustomEvent<void>) => void;
11857 /**
11858 * Indicates whether or not the details is open. You can use this in lieu of the show/hide methods.
11859 */
11860 "open"?: boolean;
11861 /**
11862 * Is this a shady
11863 */
11864 "shady"?: boolean;
11865 /**
11866 * Should we show a radio control?
11867 */
11868 "showControl"?: boolean;
11869 /**
11870 * Should we show the arrow icon?
11871 */
11872 "showIcon"?: boolean;
11873 /**
11874 * The summary to show in the details header. If you need to display HTML, use the `summary` slot instead.
11875 */
11876 "summary"?: string;
11877 }
11878 interface ScToggles {
11879 /**
11880 * Should this function as an accordion?
11881 */
11882 "accordion"?: boolean;
11883 /**
11884 * Are these collapsible?
11885 */
11886 "collapsible"?: boolean;
11887 /**
11888 * Theme for the toggles
11889 */
11890 "theme"?: 'default' | 'container';
11891 }
11892 interface ScTooltip {
11893 /**
11894 * Freeze open or closed.
11895 */
11896 "freeze"?: boolean;
11897 /**
11898 * Open or not
11899 */
11900 "open"?: boolean;
11901 /**
11902 * The tooltip's padding.
11903 */
11904 "padding"?: number;
11905 /**
11906 * The tooltip's placement relative to the trigger.
11907 */
11908 "placement"?: 'top' | 'bottom' | 'left' | 'right';
11909 /**
11910 * Tooltip text
11911 */
11912 "text"?: string;
11913 /**
11914 * 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.
11915 */
11916 "type"?: 'primary' | 'success' | 'info' | 'warning' | 'danger' | 'text' | 'dark';
11917 /**
11918 * Tooltip fixed width
11919 */
11920 "width"?: string;
11921 }
11922 interface ScTotal {
11923 "checkout"?: Checkout;
11924 "total"?: 'total' | 'subtotal' | 'amount_due';
11925 }
11926 interface ScUpcomingInvoice {
11927 "adHocAmount"?: number;
11928 "discount"?: {
11929 promotion_code?: string;
11930 coupon?: string;
11931 };
11932 "heading"?: string;
11933 "payment_method"?: PaymentMethod;
11934 "priceId"?: string;
11935 "quantity"?: number;
11936 "quantityUpdatesEnabled"?: boolean;
11937 "subscriptionId"?: string;
11938 "successUrl"?: string;
11939 "variantId"?: string;
11940 }
11941 interface ScUpgradeRequired {
11942 /**
11943 * Whether to render upgrade modal by default
11944 */
11945 "open"?: boolean;
11946 /**
11947 * Is this required?
11948 */
11949 "required"?: boolean;
11950 /**
11951 * The tag's size.
11952 */
11953 "size"?: 'small' | 'medium' | 'large';
11954 }
11955 interface ScUpsell {
11956 }
11957 interface ScUpsellCountdownTimer {
11958 /**
11959 * Whether to show the icon.
11960 */
11961 "showIcon"?: boolean;
11962 }
11963 interface ScUpsellNoThanksButton {
11964 }
11965 interface ScUpsellSubmitButton {
11966 }
11967 interface ScUpsellTotals {
11968 }
11969 interface ScVerificationCode {
11970 /**
11971 * Whether the component is in a loading/verifying state
11972 */
11973 "loading"?: boolean;
11974 /**
11975 * On change verification code
11976 */
11977 "onChange"?: (value: string) => void;
11978 /**
11979 * Total number of inputs
11980 */
11981 "total"?: number;
11982 }
11983 interface ScVisuallyHidden {
11984 }
11985 interface ScWordpressPasswordEdit {
11986 /**
11987 * Ensures strong password validation.
11988 */
11989 "enableValidation"?: boolean;
11990 "heading"?: string;
11991 "successUrl"?: string;
11992 "user"?: WordPressUser;
11993 }
11994 interface ScWordpressUser {
11995 "heading"?: string;
11996 "user"?: WordPressUser;
11997 }
11998 interface ScWordpressUserEdit {
11999 "heading"?: string;
12000 "successUrl"?: string;
12001 "user"?: WordPressUser;
12002 }
12003 interface IntrinsicElements {
12004 "sc-address": ScAddress;
12005 "sc-address-suggestions": ScAddressSuggestions;
12006 "sc-alert": ScAlert;
12007 "sc-avatar": ScAvatar;
12008 "sc-badge-notice": ScBadgeNotice;
12009 "sc-block-ui": ScBlockUi;
12010 "sc-breadcrumb": ScBreadcrumb;
12011 "sc-breadcrumbs": ScBreadcrumbs;
12012 "sc-button": ScButton;
12013 "sc-button-group": ScButtonGroup;
12014 "sc-cancel-dialog": ScCancelDialog;
12015 "sc-cancel-discount": ScCancelDiscount;
12016 "sc-cancel-survey": ScCancelSurvey;
12017 "sc-card": ScCard;
12018 "sc-cart": ScCart;
12019 "sc-cart-button": ScCartButton;
12020 "sc-cart-form": ScCartForm;
12021 "sc-cart-form-submit": ScCartFormSubmit;
12022 "sc-cart-header": ScCartHeader;
12023 "sc-cart-icon": ScCartIcon;
12024 "sc-cart-loader": ScCartLoader;
12025 "sc-cart-session-provider": ScCartSessionProvider;
12026 "sc-cart-submit": ScCartSubmit;
12027 "sc-cc-logo": ScCcLogo;
12028 "sc-charges-list": ScChargesList;
12029 "sc-checkbox": ScCheckbox;
12030 "sc-checkout": ScCheckout;
12031 "sc-checkout-autofill-provider": ScCheckoutAutofillProvider;
12032 "sc-checkout-form-errors": ScCheckoutFormErrors;
12033 "sc-checkout-geo-permission": ScCheckoutGeoPermission;
12034 "sc-checkout-mollie-payment": ScCheckoutMolliePayment;
12035 "sc-checkout-paystack-payment-provider": ScCheckoutPaystackPaymentProvider;
12036 "sc-checkout-product-bundle-component-variants": ScCheckoutProductBundleComponentVariants;
12037 "sc-checkout-product-price-variant-selector": ScCheckoutProductPriceVariantSelector;
12038 "sc-checkout-razorpay-payment-provider": ScCheckoutRazorpayPaymentProvider;
12039 "sc-checkout-stock-alert": ScCheckoutStockAlert;
12040 "sc-checkout-test-complete": ScCheckoutTestComplete;
12041 "sc-checkout-unsaved-changes-warning": ScCheckoutUnsavedChangesWarning;
12042 "sc-choice": ScChoice;
12043 "sc-choice-container": ScChoiceContainer;
12044 "sc-choices": ScChoices;
12045 "sc-column": ScColumn;
12046 "sc-columns": ScColumns;
12047 "sc-compact-address": ScCompactAddress;
12048 "sc-conditional-form": ScConditionalForm;
12049 "sc-consumer": ScConsumer;
12050 "sc-coupon-form": ScCouponForm;
12051 "sc-custom-order-price-input": ScCustomOrderPriceInput;
12052 "sc-customer-details": ScCustomerDetails;
12053 "sc-customer-edit": ScCustomerEdit;
12054 "sc-customer-email": ScCustomerEmail;
12055 "sc-customer-firstname": ScCustomerFirstname;
12056 "sc-customer-lastname": ScCustomerLastname;
12057 "sc-customer-login": ScCustomerLogin;
12058 "sc-customer-name": ScCustomerName;
12059 "sc-customer-phone": ScCustomerPhone;
12060 "sc-dashboard-customer-details": ScDashboardCustomerDetails;
12061 "sc-dashboard-downloads-list": ScDashboardDownloadsList;
12062 "sc-dashboard-module": ScDashboardModule;
12063 "sc-dialog": ScDialog;
12064 "sc-divider": ScDivider;
12065 "sc-donation-choices": ScDonationChoices;
12066 "sc-downloads-list": ScDownloadsList;
12067 "sc-drawer": ScDrawer;
12068 "sc-dropdown": ScDropdown;
12069 "sc-empty": ScEmpty;
12070 "sc-error": ScError;
12071 "sc-express-payment": ScExpressPayment;
12072 "sc-feature-demo-banner": ScFeatureDemoBanner;
12073 "sc-flex": ScFlex;
12074 "sc-form": ScForm;
12075 "sc-form-components-validator": ScFormComponentsValidator;
12076 "sc-form-control": ScFormControl;
12077 "sc-form-error-provider": ScFormErrorProvider;
12078 "sc-form-row": ScFormRow;
12079 "sc-form-state-provider": ScFormStateProvider;
12080 "sc-format-bytes": ScFormatBytes;
12081 "sc-format-interval": ScFormatInterval;
12082 "sc-format-number": ScFormatNumber;
12083 "sc-fulfillment-shipping-status-badge": ScFulfillmentShippingStatusBadge;
12084 "sc-fulfillments": ScFulfillments;
12085 "sc-heading": ScHeading;
12086 "sc-icon": ScIcon;
12087 "sc-image-slider": ScImageSlider;
12088 "sc-input": ScInput;
12089 "sc-invoice-details": ScInvoiceDetails;
12090 "sc-invoice-memo": ScInvoiceMemo;
12091 "sc-invoice-status-badge": ScInvoiceStatusBadge;
12092 "sc-invoices-list": ScInvoicesList;
12093 "sc-license": ScLicense;
12094 "sc-licenses-list": ScLicensesList;
12095 "sc-line-item": ScLineItem;
12096 "sc-line-item-bump": ScLineItemBump;
12097 "sc-line-item-invoice-due-date": ScLineItemInvoiceDueDate;
12098 "sc-line-item-invoice-number": ScLineItemInvoiceNumber;
12099 "sc-line-item-invoice-receipt-download": ScLineItemInvoiceReceiptDownload;
12100 "sc-line-item-shipping": ScLineItemShipping;
12101 "sc-line-item-tax": ScLineItemTax;
12102 "sc-line-item-total": ScLineItemTotal;
12103 "sc-line-item-trial": ScLineItemTrial;
12104 "sc-line-items": ScLineItems;
12105 "sc-line-items-provider": ScLineItemsProvider;
12106 "sc-login-form": ScLoginForm;
12107 "sc-login-provider": ScLoginProvider;
12108 "sc-manual-payment-method": ScManualPaymentMethod;
12109 "sc-menu": ScMenu;
12110 "sc-menu-divider": ScMenuDivider;
12111 "sc-menu-item": ScMenuItem;
12112 "sc-menu-label": ScMenuLabel;
12113 "sc-mollie-add-method": ScMollieAddMethod;
12114 "sc-order": ScOrder;
12115 "sc-order-billing-address": ScOrderBillingAddress;
12116 "sc-order-bump": ScOrderBump;
12117 "sc-order-bumps": ScOrderBumps;
12118 "sc-order-confirm-components-validator": ScOrderConfirmComponentsValidator;
12119 "sc-order-confirm-provider": ScOrderConfirmProvider;
12120 "sc-order-confirmation": ScOrderConfirmation;
12121 "sc-order-confirmation-customer": ScOrderConfirmationCustomer;
12122 "sc-order-confirmation-details": ScOrderConfirmationDetails;
12123 "sc-order-confirmation-line-items": ScOrderConfirmationLineItems;
12124 "sc-order-confirmation-totals": ScOrderConfirmationTotals;
12125 "sc-order-coupon-form": ScOrderCouponForm;
12126 "sc-order-detail": ScOrderDetail;
12127 "sc-order-fulfillment-badge": ScOrderFulfillmentBadge;
12128 "sc-order-manual-instructions": ScOrderManualInstructions;
12129 "sc-order-password": ScOrderPassword;
12130 "sc-order-return-badge": ScOrderReturnBadge;
12131 "sc-order-shipment-badge": ScOrderShipmentBadge;
12132 "sc-order-shipping-address": ScOrderShippingAddress;
12133 "sc-order-status-badge": ScOrderStatusBadge;
12134 "sc-order-submit": ScOrderSubmit;
12135 "sc-order-summary": ScOrderSummary;
12136 "sc-order-tax-id-input": ScOrderTaxIdInput;
12137 "sc-orders-list": ScOrdersList;
12138 "sc-pagination": ScPagination;
12139 "sc-password": ScPassword;
12140 "sc-password-nag": ScPasswordNag;
12141 "sc-payment": ScPayment;
12142 "sc-payment-method": ScPaymentMethod;
12143 "sc-payment-method-choice": ScPaymentMethodChoice;
12144 "sc-payment-method-details": ScPaymentMethodDetails;
12145 "sc-payment-methods-list": ScPaymentMethodsList;
12146 "sc-payment-selected": ScPaymentSelected;
12147 "sc-paypal-add-method": ScPaypalAddMethod;
12148 "sc-paypal-buttons": ScPaypalButtons;
12149 "sc-paystack-add-method": ScPaystackAddMethod;
12150 "sc-phone-input": ScPhoneInput;
12151 "sc-pill-option": ScPillOption;
12152 "sc-popover": ScPopover;
12153 "sc-premium-tag": ScPremiumTag;
12154 "sc-price": ScPrice;
12155 "sc-price-choice": ScPriceChoice;
12156 "sc-price-choice-container": ScPriceChoiceContainer;
12157 "sc-price-choices": ScPriceChoices;
12158 "sc-price-input": ScPriceInput;
12159 "sc-price-range": ScPriceRange;
12160 "sc-product-buy-button": ScProductBuyButton;
12161 "sc-product-donation-amount-choice": ScProductDonationAmountChoice;
12162 "sc-product-donation-choices": ScProductDonationChoices;
12163 "sc-product-donation-custom-amount": ScProductDonationCustomAmount;
12164 "sc-product-item": ScProductItem;
12165 "sc-product-item-image": ScProductItemImage;
12166 "sc-product-item-list": ScProductItemList;
12167 "sc-product-item-price": ScProductItemPrice;
12168 "sc-product-item-title": ScProductItemTitle;
12169 "sc-product-line-item": ScProductLineItem;
12170 "sc-product-line-item-note": ScProductLineItemNote;
12171 "sc-product-pills-variant-option": ScProductPillsVariantOption;
12172 "sc-product-price": ScProductPrice;
12173 "sc-product-price-choices": ScProductPriceChoices;
12174 "sc-product-price-modal": ScProductPriceModal;
12175 "sc-product-quantity": ScProductQuantity;
12176 "sc-product-selected-price": ScProductSelectedPrice;
12177 "sc-product-text": ScProductText;
12178 "sc-prose": ScProse;
12179 "sc-provider": ScProvider;
12180 "sc-provisional-banner": ScProvisionalBanner;
12181 "sc-purchase-downloads-list": ScPurchaseDownloadsList;
12182 "sc-quantity-select": ScQuantitySelect;
12183 "sc-radio": ScRadio;
12184 "sc-radio-group": ScRadioGroup;
12185 "sc-razorpay-add-method": ScRazorpayAddMethod;
12186 "sc-recurring-price-choice-container": ScRecurringPriceChoiceContainer;
12187 "sc-review-stars": ScReviewStars;
12188 "sc-rich-text": ScRichText;
12189 "sc-secure-notice": ScSecureNotice;
12190 "sc-select": ScSelect;
12191 "sc-session-provider": ScSessionProvider;
12192 "sc-shipping-choices": ScShippingChoices;
12193 "sc-skeleton": ScSkeleton;
12194 "sc-spacing": ScSpacing;
12195 "sc-spinner": ScSpinner;
12196 "sc-stacked-list": ScStackedList;
12197 "sc-stacked-list-row": ScStackedListRow;
12198 "sc-stripe-add-method": ScStripeAddMethod;
12199 "sc-stripe-element": ScStripeElement;
12200 "sc-stripe-payment-element": ScStripePaymentElement;
12201 "sc-stripe-payment-request": ScStripePaymentRequest;
12202 "sc-subscription": ScSubscription;
12203 "sc-subscription-ad-hoc-confirm": ScSubscriptionAdHocConfirm;
12204 "sc-subscription-cancel": ScSubscriptionCancel;
12205 "sc-subscription-details": ScSubscriptionDetails;
12206 "sc-subscription-next-payment": ScSubscriptionNextPayment;
12207 "sc-subscription-payment": ScSubscriptionPayment;
12208 "sc-subscription-payment-method": ScSubscriptionPaymentMethod;
12209 "sc-subscription-reactivate": ScSubscriptionReactivate;
12210 "sc-subscription-status-badge": ScSubscriptionStatusBadge;
12211 "sc-subscription-switch": ScSubscriptionSwitch;
12212 "sc-subscription-variation-confirm": ScSubscriptionVariationConfirm;
12213 "sc-subscriptions-list": ScSubscriptionsList;
12214 "sc-summary": ScSummary;
12215 "sc-swap": ScSwap;
12216 "sc-switch": ScSwitch;
12217 "sc-tab": ScTab;
12218 "sc-tab-group": ScTabGroup;
12219 "sc-tab-panel": ScTabPanel;
12220 "sc-table": ScTable;
12221 "sc-table-cell": ScTableCell;
12222 "sc-table-head": ScTableHead;
12223 "sc-table-row": ScTableRow;
12224 "sc-tag": ScTag;
12225 "sc-tax-id-input": ScTaxIdInput;
12226 "sc-test-mode-info": ScTestModeInfo;
12227 "sc-text": ScText;
12228 "sc-textarea": ScTextarea;
12229 "sc-toggle": ScToggle;
12230 "sc-toggles": ScToggles;
12231 "sc-tooltip": ScTooltip;
12232 "sc-total": ScTotal;
12233 "sc-upcoming-invoice": ScUpcomingInvoice;
12234 "sc-upgrade-required": ScUpgradeRequired;
12235 "sc-upsell": ScUpsell;
12236 "sc-upsell-countdown-timer": ScUpsellCountdownTimer;
12237 "sc-upsell-no-thanks-button": ScUpsellNoThanksButton;
12238 "sc-upsell-submit-button": ScUpsellSubmitButton;
12239 "sc-upsell-totals": ScUpsellTotals;
12240 "sc-verification-code": ScVerificationCode;
12241 "sc-visually-hidden": ScVisuallyHidden;
12242 "sc-wordpress-password-edit": ScWordpressPasswordEdit;
12243 "sc-wordpress-user": ScWordpressUser;
12244 "sc-wordpress-user-edit": ScWordpressUserEdit;
12245 }
12246 }
12247 export { LocalJSX as JSX };
12248 declare module "@stencil/core" {
12249 export namespace JSX {
12250 interface IntrinsicElements {
12251 "sc-address": LocalJSX.ScAddress & JSXBase.HTMLAttributes<HTMLScAddressElement>;
12252 "sc-address-suggestions": LocalJSX.ScAddressSuggestions & JSXBase.HTMLAttributes<HTMLScAddressSuggestionsElement>;
12253 "sc-alert": LocalJSX.ScAlert & JSXBase.HTMLAttributes<HTMLScAlertElement>;
12254 "sc-avatar": LocalJSX.ScAvatar & JSXBase.HTMLAttributes<HTMLScAvatarElement>;
12255 "sc-badge-notice": LocalJSX.ScBadgeNotice & JSXBase.HTMLAttributes<HTMLScBadgeNoticeElement>;
12256 "sc-block-ui": LocalJSX.ScBlockUi & JSXBase.HTMLAttributes<HTMLScBlockUiElement>;
12257 "sc-breadcrumb": LocalJSX.ScBreadcrumb & JSXBase.HTMLAttributes<HTMLScBreadcrumbElement>;
12258 "sc-breadcrumbs": LocalJSX.ScBreadcrumbs & JSXBase.HTMLAttributes<HTMLScBreadcrumbsElement>;
12259 "sc-button": LocalJSX.ScButton & JSXBase.HTMLAttributes<HTMLScButtonElement>;
12260 "sc-button-group": LocalJSX.ScButtonGroup & JSXBase.HTMLAttributes<HTMLScButtonGroupElement>;
12261 "sc-cancel-dialog": LocalJSX.ScCancelDialog & JSXBase.HTMLAttributes<HTMLScCancelDialogElement>;
12262 "sc-cancel-discount": LocalJSX.ScCancelDiscount & JSXBase.HTMLAttributes<HTMLScCancelDiscountElement>;
12263 "sc-cancel-survey": LocalJSX.ScCancelSurvey & JSXBase.HTMLAttributes<HTMLScCancelSurveyElement>;
12264 "sc-card": LocalJSX.ScCard & JSXBase.HTMLAttributes<HTMLScCardElement>;
12265 "sc-cart": LocalJSX.ScCart & JSXBase.HTMLAttributes<HTMLScCartElement>;
12266 "sc-cart-button": LocalJSX.ScCartButton & JSXBase.HTMLAttributes<HTMLScCartButtonElement>;
12267 "sc-cart-form": LocalJSX.ScCartForm & JSXBase.HTMLAttributes<HTMLScCartFormElement>;
12268 "sc-cart-form-submit": LocalJSX.ScCartFormSubmit & JSXBase.HTMLAttributes<HTMLScCartFormSubmitElement>;
12269 "sc-cart-header": LocalJSX.ScCartHeader & JSXBase.HTMLAttributes<HTMLScCartHeaderElement>;
12270 "sc-cart-icon": LocalJSX.ScCartIcon & JSXBase.HTMLAttributes<HTMLScCartIconElement>;
12271 "sc-cart-loader": LocalJSX.ScCartLoader & JSXBase.HTMLAttributes<HTMLScCartLoaderElement>;
12272 "sc-cart-session-provider": LocalJSX.ScCartSessionProvider & JSXBase.HTMLAttributes<HTMLScCartSessionProviderElement>;
12273 "sc-cart-submit": LocalJSX.ScCartSubmit & JSXBase.HTMLAttributes<HTMLScCartSubmitElement>;
12274 "sc-cc-logo": LocalJSX.ScCcLogo & JSXBase.HTMLAttributes<HTMLScCcLogoElement>;
12275 "sc-charges-list": LocalJSX.ScChargesList & JSXBase.HTMLAttributes<HTMLScChargesListElement>;
12276 "sc-checkbox": LocalJSX.ScCheckbox & JSXBase.HTMLAttributes<HTMLScCheckboxElement>;
12277 "sc-checkout": LocalJSX.ScCheckout & JSXBase.HTMLAttributes<HTMLScCheckoutElement>;
12278 "sc-checkout-autofill-provider": LocalJSX.ScCheckoutAutofillProvider & JSXBase.HTMLAttributes<HTMLScCheckoutAutofillProviderElement>;
12279 /**
12280 * This component listens for a confirmed event and redirects to the success url.
12281 */
12282 "sc-checkout-form-errors": LocalJSX.ScCheckoutFormErrors & JSXBase.HTMLAttributes<HTMLScCheckoutFormErrorsElement>;
12283 /**
12284 * Explains why location is requested (e.g. regional / purchasing-power-parity pricing) and gates
12285 * the browser geolocation prompt behind an explicit opt-in when capture is enabled by the merchant.
12286 */
12287 "sc-checkout-geo-permission": LocalJSX.ScCheckoutGeoPermission & JSXBase.HTMLAttributes<HTMLScCheckoutGeoPermissionElement>;
12288 "sc-checkout-mollie-payment": LocalJSX.ScCheckoutMolliePayment & JSXBase.HTMLAttributes<HTMLScCheckoutMolliePaymentElement>;
12289 "sc-checkout-paystack-payment-provider": LocalJSX.ScCheckoutPaystackPaymentProvider & JSXBase.HTMLAttributes<HTMLScCheckoutPaystackPaymentProviderElement>;
12290 /**
12291 * Checkout-side picker for bundle component variants. Mirrors the PDP bundle
12292 * picker (the scope-aware `surecart/product-variant-pills` block) but writes the
12293 * selection straight into the bundle line item's `bundle_component_variants`.
12294 */
12295 "sc-checkout-product-bundle-component-variants": LocalJSX.ScCheckoutProductBundleComponentVariants & JSXBase.HTMLAttributes<HTMLScCheckoutProductBundleComponentVariantsElement>;
12296 "sc-checkout-product-price-variant-selector": LocalJSX.ScCheckoutProductPriceVariantSelector & JSXBase.HTMLAttributes<HTMLScCheckoutProductPriceVariantSelectorElement>;
12297 "sc-checkout-razorpay-payment-provider": LocalJSX.ScCheckoutRazorpayPaymentProvider & JSXBase.HTMLAttributes<HTMLScCheckoutRazorpayPaymentProviderElement>;
12298 /**
12299 * This component listens for stock requirements and displays a dialog to the user.
12300 */
12301 "sc-checkout-stock-alert": LocalJSX.ScCheckoutStockAlert & JSXBase.HTMLAttributes<HTMLScCheckoutStockAlertElement>;
12302 /**
12303 * This component listens to the order status
12304 * and confirms the order when payment is successful.
12305 */
12306 "sc-checkout-test-complete": LocalJSX.ScCheckoutTestComplete & JSXBase.HTMLAttributes<HTMLScCheckoutTestCompleteElement>;
12307 "sc-checkout-unsaved-changes-warning": LocalJSX.ScCheckoutUnsavedChangesWarning & JSXBase.HTMLAttributes<HTMLScCheckoutUnsavedChangesWarningElement>;
12308 "sc-choice": LocalJSX.ScChoice & JSXBase.HTMLAttributes<HTMLScChoiceElement>;
12309 "sc-choice-container": LocalJSX.ScChoiceContainer & JSXBase.HTMLAttributes<HTMLScChoiceContainerElement>;
12310 "sc-choices": LocalJSX.ScChoices & JSXBase.HTMLAttributes<HTMLScChoicesElement>;
12311 "sc-column": LocalJSX.ScColumn & JSXBase.HTMLAttributes<HTMLScColumnElement>;
12312 "sc-columns": LocalJSX.ScColumns & JSXBase.HTMLAttributes<HTMLScColumnsElement>;
12313 "sc-compact-address": LocalJSX.ScCompactAddress & JSXBase.HTMLAttributes<HTMLScCompactAddressElement>;
12314 "sc-conditional-form": LocalJSX.ScConditionalForm & JSXBase.HTMLAttributes<HTMLScConditionalFormElement>;
12315 "sc-consumer": LocalJSX.ScConsumer & JSXBase.HTMLAttributes<HTMLScConsumerElement>;
12316 "sc-coupon-form": LocalJSX.ScCouponForm & JSXBase.HTMLAttributes<HTMLScCouponFormElement>;
12317 "sc-custom-order-price-input": LocalJSX.ScCustomOrderPriceInput & JSXBase.HTMLAttributes<HTMLScCustomOrderPriceInputElement>;
12318 "sc-customer-details": LocalJSX.ScCustomerDetails & JSXBase.HTMLAttributes<HTMLScCustomerDetailsElement>;
12319 "sc-customer-edit": LocalJSX.ScCustomerEdit & JSXBase.HTMLAttributes<HTMLScCustomerEditElement>;
12320 "sc-customer-email": LocalJSX.ScCustomerEmail & JSXBase.HTMLAttributes<HTMLScCustomerEmailElement>;
12321 "sc-customer-firstname": LocalJSX.ScCustomerFirstname & JSXBase.HTMLAttributes<HTMLScCustomerFirstnameElement>;
12322 "sc-customer-lastname": LocalJSX.ScCustomerLastname & JSXBase.HTMLAttributes<HTMLScCustomerLastnameElement>;
12323 "sc-customer-login": LocalJSX.ScCustomerLogin & JSXBase.HTMLAttributes<HTMLScCustomerLoginElement>;
12324 "sc-customer-name": LocalJSX.ScCustomerName & JSXBase.HTMLAttributes<HTMLScCustomerNameElement>;
12325 "sc-customer-phone": LocalJSX.ScCustomerPhone & JSXBase.HTMLAttributes<HTMLScCustomerPhoneElement>;
12326 "sc-dashboard-customer-details": LocalJSX.ScDashboardCustomerDetails & JSXBase.HTMLAttributes<HTMLScDashboardCustomerDetailsElement>;
12327 "sc-dashboard-downloads-list": LocalJSX.ScDashboardDownloadsList & JSXBase.HTMLAttributes<HTMLScDashboardDownloadsListElement>;
12328 "sc-dashboard-module": LocalJSX.ScDashboardModule & JSXBase.HTMLAttributes<HTMLScDashboardModuleElement>;
12329 "sc-dialog": LocalJSX.ScDialog & JSXBase.HTMLAttributes<HTMLScDialogElement>;
12330 "sc-divider": LocalJSX.ScDivider & JSXBase.HTMLAttributes<HTMLScDividerElement>;
12331 "sc-donation-choices": LocalJSX.ScDonationChoices & JSXBase.HTMLAttributes<HTMLScDonationChoicesElement>;
12332 "sc-downloads-list": LocalJSX.ScDownloadsList & JSXBase.HTMLAttributes<HTMLScDownloadsListElement>;
12333 "sc-drawer": LocalJSX.ScDrawer & JSXBase.HTMLAttributes<HTMLScDrawerElement>;
12334 "sc-dropdown": LocalJSX.ScDropdown & JSXBase.HTMLAttributes<HTMLScDropdownElement>;
12335 "sc-empty": LocalJSX.ScEmpty & JSXBase.HTMLAttributes<HTMLScEmptyElement>;
12336 "sc-error": LocalJSX.ScError & JSXBase.HTMLAttributes<HTMLScErrorElement>;
12337 "sc-express-payment": LocalJSX.ScExpressPayment & JSXBase.HTMLAttributes<HTMLScExpressPaymentElement>;
12338 "sc-feature-demo-banner": LocalJSX.ScFeatureDemoBanner & JSXBase.HTMLAttributes<HTMLScFeatureDemoBannerElement>;
12339 "sc-flex": LocalJSX.ScFlex & JSXBase.HTMLAttributes<HTMLScFlexElement>;
12340 "sc-form": LocalJSX.ScForm & JSXBase.HTMLAttributes<HTMLScFormElement>;
12341 "sc-form-components-validator": LocalJSX.ScFormComponentsValidator & JSXBase.HTMLAttributes<HTMLScFormComponentsValidatorElement>;
12342 "sc-form-control": LocalJSX.ScFormControl & JSXBase.HTMLAttributes<HTMLScFormControlElement>;
12343 /**
12344 * This component checks to make sure there is an error component
12345 * and adds one if it's missing.
12346 */
12347 "sc-form-error-provider": LocalJSX.ScFormErrorProvider & JSXBase.HTMLAttributes<HTMLScFormErrorProviderElement>;
12348 "sc-form-row": LocalJSX.ScFormRow & JSXBase.HTMLAttributes<HTMLScFormRowElement>;
12349 /**
12350 * This component listens for a confirmed event and redirects to the success url.
12351 */
12352 "sc-form-state-provider": LocalJSX.ScFormStateProvider & JSXBase.HTMLAttributes<HTMLScFormStateProviderElement>;
12353 "sc-format-bytes": LocalJSX.ScFormatBytes & JSXBase.HTMLAttributes<HTMLScFormatBytesElement>;
12354 "sc-format-interval": LocalJSX.ScFormatInterval & JSXBase.HTMLAttributes<HTMLScFormatIntervalElement>;
12355 "sc-format-number": LocalJSX.ScFormatNumber & JSXBase.HTMLAttributes<HTMLScFormatNumberElement>;
12356 "sc-fulfillment-shipping-status-badge": LocalJSX.ScFulfillmentShippingStatusBadge & JSXBase.HTMLAttributes<HTMLScFulfillmentShippingStatusBadgeElement>;
12357 "sc-fulfillments": LocalJSX.ScFulfillments & JSXBase.HTMLAttributes<HTMLScFulfillmentsElement>;
12358 "sc-heading": LocalJSX.ScHeading & JSXBase.HTMLAttributes<HTMLScHeadingElement>;
12359 "sc-icon": LocalJSX.ScIcon & JSXBase.HTMLAttributes<HTMLScIconElement>;
12360 "sc-image-slider": LocalJSX.ScImageSlider & JSXBase.HTMLAttributes<HTMLScImageSliderElement>;
12361 "sc-input": LocalJSX.ScInput & JSXBase.HTMLAttributes<HTMLScInputElement>;
12362 "sc-invoice-details": LocalJSX.ScInvoiceDetails & JSXBase.HTMLAttributes<HTMLScInvoiceDetailsElement>;
12363 "sc-invoice-memo": LocalJSX.ScInvoiceMemo & JSXBase.HTMLAttributes<HTMLScInvoiceMemoElement>;
12364 "sc-invoice-status-badge": LocalJSX.ScInvoiceStatusBadge & JSXBase.HTMLAttributes<HTMLScInvoiceStatusBadgeElement>;
12365 "sc-invoices-list": LocalJSX.ScInvoicesList & JSXBase.HTMLAttributes<HTMLScInvoicesListElement>;
12366 "sc-license": LocalJSX.ScLicense & JSXBase.HTMLAttributes<HTMLScLicenseElement>;
12367 "sc-licenses-list": LocalJSX.ScLicensesList & JSXBase.HTMLAttributes<HTMLScLicensesListElement>;
12368 "sc-line-item": LocalJSX.ScLineItem & JSXBase.HTMLAttributes<HTMLScLineItemElement>;
12369 "sc-line-item-bump": LocalJSX.ScLineItemBump & JSXBase.HTMLAttributes<HTMLScLineItemBumpElement>;
12370 "sc-line-item-invoice-due-date": LocalJSX.ScLineItemInvoiceDueDate & JSXBase.HTMLAttributes<HTMLScLineItemInvoiceDueDateElement>;
12371 "sc-line-item-invoice-number": LocalJSX.ScLineItemInvoiceNumber & JSXBase.HTMLAttributes<HTMLScLineItemInvoiceNumberElement>;
12372 "sc-line-item-invoice-receipt-download": LocalJSX.ScLineItemInvoiceReceiptDownload & JSXBase.HTMLAttributes<HTMLScLineItemInvoiceReceiptDownloadElement>;
12373 "sc-line-item-shipping": LocalJSX.ScLineItemShipping & JSXBase.HTMLAttributes<HTMLScLineItemShippingElement>;
12374 "sc-line-item-tax": LocalJSX.ScLineItemTax & JSXBase.HTMLAttributes<HTMLScLineItemTaxElement>;
12375 "sc-line-item-total": LocalJSX.ScLineItemTotal & JSXBase.HTMLAttributes<HTMLScLineItemTotalElement>;
12376 "sc-line-item-trial": LocalJSX.ScLineItemTrial & JSXBase.HTMLAttributes<HTMLScLineItemTrialElement>;
12377 "sc-line-items": LocalJSX.ScLineItems & JSXBase.HTMLAttributes<HTMLScLineItemsElement>;
12378 "sc-line-items-provider": LocalJSX.ScLineItemsProvider & JSXBase.HTMLAttributes<HTMLScLineItemsProviderElement>;
12379 "sc-login-form": LocalJSX.ScLoginForm & JSXBase.HTMLAttributes<HTMLScLoginFormElement>;
12380 "sc-login-provider": LocalJSX.ScLoginProvider & JSXBase.HTMLAttributes<HTMLScLoginProviderElement>;
12381 "sc-manual-payment-method": LocalJSX.ScManualPaymentMethod & JSXBase.HTMLAttributes<HTMLScManualPaymentMethodElement>;
12382 "sc-menu": LocalJSX.ScMenu & JSXBase.HTMLAttributes<HTMLScMenuElement>;
12383 "sc-menu-divider": LocalJSX.ScMenuDivider & JSXBase.HTMLAttributes<HTMLScMenuDividerElement>;
12384 "sc-menu-item": LocalJSX.ScMenuItem & JSXBase.HTMLAttributes<HTMLScMenuItemElement>;
12385 "sc-menu-label": LocalJSX.ScMenuLabel & JSXBase.HTMLAttributes<HTMLScMenuLabelElement>;
12386 "sc-mollie-add-method": LocalJSX.ScMollieAddMethod & JSXBase.HTMLAttributes<HTMLScMollieAddMethodElement>;
12387 "sc-order": LocalJSX.ScOrder & JSXBase.HTMLAttributes<HTMLScOrderElement>;
12388 "sc-order-billing-address": LocalJSX.ScOrderBillingAddress & JSXBase.HTMLAttributes<HTMLScOrderBillingAddressElement>;
12389 "sc-order-bump": LocalJSX.ScOrderBump & JSXBase.HTMLAttributes<HTMLScOrderBumpElement>;
12390 "sc-order-bumps": LocalJSX.ScOrderBumps & JSXBase.HTMLAttributes<HTMLScOrderBumpsElement>;
12391 "sc-order-confirm-components-validator": LocalJSX.ScOrderConfirmComponentsValidator & JSXBase.HTMLAttributes<HTMLScOrderConfirmComponentsValidatorElement>;
12392 /**
12393 * This component listens to the order status
12394 * and confirms the order when payment is successful.
12395 */
12396 "sc-order-confirm-provider": LocalJSX.ScOrderConfirmProvider & JSXBase.HTMLAttributes<HTMLScOrderConfirmProviderElement>;
12397 "sc-order-confirmation": LocalJSX.ScOrderConfirmation & JSXBase.HTMLAttributes<HTMLScOrderConfirmationElement>;
12398 "sc-order-confirmation-customer": LocalJSX.ScOrderConfirmationCustomer & JSXBase.HTMLAttributes<HTMLScOrderConfirmationCustomerElement>;
12399 "sc-order-confirmation-details": LocalJSX.ScOrderConfirmationDetails & JSXBase.HTMLAttributes<HTMLScOrderConfirmationDetailsElement>;
12400 "sc-order-confirmation-line-items": LocalJSX.ScOrderConfirmationLineItems & JSXBase.HTMLAttributes<HTMLScOrderConfirmationLineItemsElement>;
12401 "sc-order-confirmation-totals": LocalJSX.ScOrderConfirmationTotals & JSXBase.HTMLAttributes<HTMLScOrderConfirmationTotalsElement>;
12402 "sc-order-coupon-form": LocalJSX.ScOrderCouponForm & JSXBase.HTMLAttributes<HTMLScOrderCouponFormElement>;
12403 "sc-order-detail": LocalJSX.ScOrderDetail & JSXBase.HTMLAttributes<HTMLScOrderDetailElement>;
12404 "sc-order-fulfillment-badge": LocalJSX.ScOrderFulfillmentBadge & JSXBase.HTMLAttributes<HTMLScOrderFulfillmentBadgeElement>;
12405 "sc-order-manual-instructions": LocalJSX.ScOrderManualInstructions & JSXBase.HTMLAttributes<HTMLScOrderManualInstructionsElement>;
12406 "sc-order-password": LocalJSX.ScOrderPassword & JSXBase.HTMLAttributes<HTMLScOrderPasswordElement>;
12407 "sc-order-return-badge": LocalJSX.ScOrderReturnBadge & JSXBase.HTMLAttributes<HTMLScOrderReturnBadgeElement>;
12408 "sc-order-shipment-badge": LocalJSX.ScOrderShipmentBadge & JSXBase.HTMLAttributes<HTMLScOrderShipmentBadgeElement>;
12409 "sc-order-shipping-address": LocalJSX.ScOrderShippingAddress & JSXBase.HTMLAttributes<HTMLScOrderShippingAddressElement>;
12410 "sc-order-status-badge": LocalJSX.ScOrderStatusBadge & JSXBase.HTMLAttributes<HTMLScOrderStatusBadgeElement>;
12411 "sc-order-submit": LocalJSX.ScOrderSubmit & JSXBase.HTMLAttributes<HTMLScOrderSubmitElement>;
12412 "sc-order-summary": LocalJSX.ScOrderSummary & JSXBase.HTMLAttributes<HTMLScOrderSummaryElement>;
12413 "sc-order-tax-id-input": LocalJSX.ScOrderTaxIdInput & JSXBase.HTMLAttributes<HTMLScOrderTaxIdInputElement>;
12414 "sc-orders-list": LocalJSX.ScOrdersList & JSXBase.HTMLAttributes<HTMLScOrdersListElement>;
12415 "sc-pagination": LocalJSX.ScPagination & JSXBase.HTMLAttributes<HTMLScPaginationElement>;
12416 "sc-password": LocalJSX.ScPassword & JSXBase.HTMLAttributes<HTMLScPasswordElement>;
12417 "sc-password-nag": LocalJSX.ScPasswordNag & JSXBase.HTMLAttributes<HTMLScPasswordNagElement>;
12418 "sc-payment": LocalJSX.ScPayment & JSXBase.HTMLAttributes<HTMLScPaymentElement>;
12419 "sc-payment-method": LocalJSX.ScPaymentMethod & JSXBase.HTMLAttributes<HTMLScPaymentMethodElement>;
12420 "sc-payment-method-choice": LocalJSX.ScPaymentMethodChoice & JSXBase.HTMLAttributes<HTMLScPaymentMethodChoiceElement>;
12421 "sc-payment-method-details": LocalJSX.ScPaymentMethodDetails & JSXBase.HTMLAttributes<HTMLScPaymentMethodDetailsElement>;
12422 "sc-payment-methods-list": LocalJSX.ScPaymentMethodsList & JSXBase.HTMLAttributes<HTMLScPaymentMethodsListElement>;
12423 "sc-payment-selected": LocalJSX.ScPaymentSelected & JSXBase.HTMLAttributes<HTMLScPaymentSelectedElement>;
12424 "sc-paypal-add-method": LocalJSX.ScPaypalAddMethod & JSXBase.HTMLAttributes<HTMLScPaypalAddMethodElement>;
12425 "sc-paypal-buttons": LocalJSX.ScPaypalButtons & JSXBase.HTMLAttributes<HTMLScPaypalButtonsElement>;
12426 "sc-paystack-add-method": LocalJSX.ScPaystackAddMethod & JSXBase.HTMLAttributes<HTMLScPaystackAddMethodElement>;
12427 "sc-phone-input": LocalJSX.ScPhoneInput & JSXBase.HTMLAttributes<HTMLScPhoneInputElement>;
12428 "sc-pill-option": LocalJSX.ScPillOption & JSXBase.HTMLAttributes<HTMLScPillOptionElement>;
12429 "sc-popover": LocalJSX.ScPopover & JSXBase.HTMLAttributes<HTMLScPopoverElement>;
12430 "sc-premium-tag": LocalJSX.ScPremiumTag & JSXBase.HTMLAttributes<HTMLScPremiumTagElement>;
12431 /**
12432 * Internal dependencies.
12433 */
12434 "sc-price": LocalJSX.ScPrice & JSXBase.HTMLAttributes<HTMLScPriceElement>;
12435 "sc-price-choice": LocalJSX.ScPriceChoice & JSXBase.HTMLAttributes<HTMLScPriceChoiceElement>;
12436 "sc-price-choice-container": LocalJSX.ScPriceChoiceContainer & JSXBase.HTMLAttributes<HTMLScPriceChoiceContainerElement>;
12437 "sc-price-choices": LocalJSX.ScPriceChoices & JSXBase.HTMLAttributes<HTMLScPriceChoicesElement>;
12438 "sc-price-input": LocalJSX.ScPriceInput & JSXBase.HTMLAttributes<HTMLScPriceInputElement>;
12439 "sc-price-range": LocalJSX.ScPriceRange & JSXBase.HTMLAttributes<HTMLScPriceRangeElement>;
12440 "sc-product-buy-button": LocalJSX.ScProductBuyButton & JSXBase.HTMLAttributes<HTMLScProductBuyButtonElement>;
12441 "sc-product-donation-amount-choice": LocalJSX.ScProductDonationAmountChoice & JSXBase.HTMLAttributes<HTMLScProductDonationAmountChoiceElement>;
12442 "sc-product-donation-choices": LocalJSX.ScProductDonationChoices & JSXBase.HTMLAttributes<HTMLScProductDonationChoicesElement>;
12443 "sc-product-donation-custom-amount": LocalJSX.ScProductDonationCustomAmount & JSXBase.HTMLAttributes<HTMLScProductDonationCustomAmountElement>;
12444 "sc-product-item": LocalJSX.ScProductItem & JSXBase.HTMLAttributes<HTMLScProductItemElement>;
12445 "sc-product-item-image": LocalJSX.ScProductItemImage & JSXBase.HTMLAttributes<HTMLScProductItemImageElement>;
12446 "sc-product-item-list": LocalJSX.ScProductItemList & JSXBase.HTMLAttributes<HTMLScProductItemListElement>;
12447 "sc-product-item-price": LocalJSX.ScProductItemPrice & JSXBase.HTMLAttributes<HTMLScProductItemPriceElement>;
12448 "sc-product-item-title": LocalJSX.ScProductItemTitle & JSXBase.HTMLAttributes<HTMLScProductItemTitleElement>;
12449 "sc-product-line-item": LocalJSX.ScProductLineItem & JSXBase.HTMLAttributes<HTMLScProductLineItemElement>;
12450 "sc-product-line-item-note": LocalJSX.ScProductLineItemNote & JSXBase.HTMLAttributes<HTMLScProductLineItemNoteElement>;
12451 "sc-product-pills-variant-option": LocalJSX.ScProductPillsVariantOption & JSXBase.HTMLAttributes<HTMLScProductPillsVariantOptionElement>;
12452 "sc-product-price": LocalJSX.ScProductPrice & JSXBase.HTMLAttributes<HTMLScProductPriceElement>;
12453 "sc-product-price-choices": LocalJSX.ScProductPriceChoices & JSXBase.HTMLAttributes<HTMLScProductPriceChoicesElement>;
12454 "sc-product-price-modal": LocalJSX.ScProductPriceModal & JSXBase.HTMLAttributes<HTMLScProductPriceModalElement>;
12455 "sc-product-quantity": LocalJSX.ScProductQuantity & JSXBase.HTMLAttributes<HTMLScProductQuantityElement>;
12456 "sc-product-selected-price": LocalJSX.ScProductSelectedPrice & JSXBase.HTMLAttributes<HTMLScProductSelectedPriceElement>;
12457 "sc-product-text": LocalJSX.ScProductText & JSXBase.HTMLAttributes<HTMLScProductTextElement>;
12458 "sc-prose": LocalJSX.ScProse & JSXBase.HTMLAttributes<HTMLScProseElement>;
12459 "sc-provider": LocalJSX.ScProvider & JSXBase.HTMLAttributes<HTMLScProviderElement>;
12460 "sc-provisional-banner": LocalJSX.ScProvisionalBanner & JSXBase.HTMLAttributes<HTMLScProvisionalBannerElement>;
12461 "sc-purchase-downloads-list": LocalJSX.ScPurchaseDownloadsList & JSXBase.HTMLAttributes<HTMLScPurchaseDownloadsListElement>;
12462 "sc-quantity-select": LocalJSX.ScQuantitySelect & JSXBase.HTMLAttributes<HTMLScQuantitySelectElement>;
12463 "sc-radio": LocalJSX.ScRadio & JSXBase.HTMLAttributes<HTMLScRadioElement>;
12464 "sc-radio-group": LocalJSX.ScRadioGroup & JSXBase.HTMLAttributes<HTMLScRadioGroupElement>;
12465 "sc-razorpay-add-method": LocalJSX.ScRazorpayAddMethod & JSXBase.HTMLAttributes<HTMLScRazorpayAddMethodElement>;
12466 "sc-recurring-price-choice-container": LocalJSX.ScRecurringPriceChoiceContainer & JSXBase.HTMLAttributes<HTMLScRecurringPriceChoiceContainerElement>;
12467 "sc-review-stars": LocalJSX.ScReviewStars & JSXBase.HTMLAttributes<HTMLScReviewStarsElement>;
12468 "sc-rich-text": LocalJSX.ScRichText & JSXBase.HTMLAttributes<HTMLScRichTextElement>;
12469 "sc-secure-notice": LocalJSX.ScSecureNotice & JSXBase.HTMLAttributes<HTMLScSecureNoticeElement>;
12470 "sc-select": LocalJSX.ScSelect & JSXBase.HTMLAttributes<HTMLScSelectElement>;
12471 "sc-session-provider": LocalJSX.ScSessionProvider & JSXBase.HTMLAttributes<HTMLScSessionProviderElement>;
12472 "sc-shipping-choices": LocalJSX.ScShippingChoices & JSXBase.HTMLAttributes<HTMLScShippingChoicesElement>;
12473 "sc-skeleton": LocalJSX.ScSkeleton & JSXBase.HTMLAttributes<HTMLScSkeletonElement>;
12474 "sc-spacing": LocalJSX.ScSpacing & JSXBase.HTMLAttributes<HTMLScSpacingElement>;
12475 "sc-spinner": LocalJSX.ScSpinner & JSXBase.HTMLAttributes<HTMLScSpinnerElement>;
12476 "sc-stacked-list": LocalJSX.ScStackedList & JSXBase.HTMLAttributes<HTMLScStackedListElement>;
12477 "sc-stacked-list-row": LocalJSX.ScStackedListRow & JSXBase.HTMLAttributes<HTMLScStackedListRowElement>;
12478 "sc-stripe-add-method": LocalJSX.ScStripeAddMethod & JSXBase.HTMLAttributes<HTMLScStripeAddMethodElement>;
12479 "sc-stripe-element": LocalJSX.ScStripeElement & JSXBase.HTMLAttributes<HTMLScStripeElementElement>;
12480 "sc-stripe-payment-element": LocalJSX.ScStripePaymentElement & JSXBase.HTMLAttributes<HTMLScStripePaymentElementElement>;
12481 "sc-stripe-payment-request": LocalJSX.ScStripePaymentRequest & JSXBase.HTMLAttributes<HTMLScStripePaymentRequestElement>;
12482 "sc-subscription": LocalJSX.ScSubscription & JSXBase.HTMLAttributes<HTMLScSubscriptionElement>;
12483 "sc-subscription-ad-hoc-confirm": LocalJSX.ScSubscriptionAdHocConfirm & JSXBase.HTMLAttributes<HTMLScSubscriptionAdHocConfirmElement>;
12484 "sc-subscription-cancel": LocalJSX.ScSubscriptionCancel & JSXBase.HTMLAttributes<HTMLScSubscriptionCancelElement>;
12485 "sc-subscription-details": LocalJSX.ScSubscriptionDetails & JSXBase.HTMLAttributes<HTMLScSubscriptionDetailsElement>;
12486 "sc-subscription-next-payment": LocalJSX.ScSubscriptionNextPayment & JSXBase.HTMLAttributes<HTMLScSubscriptionNextPaymentElement>;
12487 "sc-subscription-payment": LocalJSX.ScSubscriptionPayment & JSXBase.HTMLAttributes<HTMLScSubscriptionPaymentElement>;
12488 "sc-subscription-payment-method": LocalJSX.ScSubscriptionPaymentMethod & JSXBase.HTMLAttributes<HTMLScSubscriptionPaymentMethodElement>;
12489 "sc-subscription-reactivate": LocalJSX.ScSubscriptionReactivate & JSXBase.HTMLAttributes<HTMLScSubscriptionReactivateElement>;
12490 "sc-subscription-status-badge": LocalJSX.ScSubscriptionStatusBadge & JSXBase.HTMLAttributes<HTMLScSubscriptionStatusBadgeElement>;
12491 "sc-subscription-switch": LocalJSX.ScSubscriptionSwitch & JSXBase.HTMLAttributes<HTMLScSubscriptionSwitchElement>;
12492 "sc-subscription-variation-confirm": LocalJSX.ScSubscriptionVariationConfirm & JSXBase.HTMLAttributes<HTMLScSubscriptionVariationConfirmElement>;
12493 "sc-subscriptions-list": LocalJSX.ScSubscriptionsList & JSXBase.HTMLAttributes<HTMLScSubscriptionsListElement>;
12494 "sc-summary": LocalJSX.ScSummary & JSXBase.HTMLAttributes<HTMLScSummaryElement>;
12495 "sc-swap": LocalJSX.ScSwap & JSXBase.HTMLAttributes<HTMLScSwapElement>;
12496 "sc-switch": LocalJSX.ScSwitch & JSXBase.HTMLAttributes<HTMLScSwitchElement>;
12497 "sc-tab": LocalJSX.ScTab & JSXBase.HTMLAttributes<HTMLScTabElement>;
12498 "sc-tab-group": LocalJSX.ScTabGroup & JSXBase.HTMLAttributes<HTMLScTabGroupElement>;
12499 "sc-tab-panel": LocalJSX.ScTabPanel & JSXBase.HTMLAttributes<HTMLScTabPanelElement>;
12500 "sc-table": LocalJSX.ScTable & JSXBase.HTMLAttributes<HTMLScTableElement>;
12501 "sc-table-cell": LocalJSX.ScTableCell & JSXBase.HTMLAttributes<HTMLScTableCellElement>;
12502 "sc-table-head": LocalJSX.ScTableHead & JSXBase.HTMLAttributes<HTMLScTableHeadElement>;
12503 "sc-table-row": LocalJSX.ScTableRow & JSXBase.HTMLAttributes<HTMLScTableRowElement>;
12504 "sc-tag": LocalJSX.ScTag & JSXBase.HTMLAttributes<HTMLScTagElement>;
12505 "sc-tax-id-input": LocalJSX.ScTaxIdInput & JSXBase.HTMLAttributes<HTMLScTaxIdInputElement>;
12506 "sc-test-mode-info": LocalJSX.ScTestModeInfo & JSXBase.HTMLAttributes<HTMLScTestModeInfoElement>;
12507 "sc-text": LocalJSX.ScText & JSXBase.HTMLAttributes<HTMLScTextElement>;
12508 "sc-textarea": LocalJSX.ScTextarea & JSXBase.HTMLAttributes<HTMLScTextareaElement>;
12509 "sc-toggle": LocalJSX.ScToggle & JSXBase.HTMLAttributes<HTMLScToggleElement>;
12510 "sc-toggles": LocalJSX.ScToggles & JSXBase.HTMLAttributes<HTMLScTogglesElement>;
12511 "sc-tooltip": LocalJSX.ScTooltip & JSXBase.HTMLAttributes<HTMLScTooltipElement>;
12512 "sc-total": LocalJSX.ScTotal & JSXBase.HTMLAttributes<HTMLScTotalElement>;
12513 "sc-upcoming-invoice": LocalJSX.ScUpcomingInvoice & JSXBase.HTMLAttributes<HTMLScUpcomingInvoiceElement>;
12514 "sc-upgrade-required": LocalJSX.ScUpgradeRequired & JSXBase.HTMLAttributes<HTMLScUpgradeRequiredElement>;
12515 "sc-upsell": LocalJSX.ScUpsell & JSXBase.HTMLAttributes<HTMLScUpsellElement>;
12516 "sc-upsell-countdown-timer": LocalJSX.ScUpsellCountdownTimer & JSXBase.HTMLAttributes<HTMLScUpsellCountdownTimerElement>;
12517 "sc-upsell-no-thanks-button": LocalJSX.ScUpsellNoThanksButton & JSXBase.HTMLAttributes<HTMLScUpsellNoThanksButtonElement>;
12518 "sc-upsell-submit-button": LocalJSX.ScUpsellSubmitButton & JSXBase.HTMLAttributes<HTMLScUpsellSubmitButtonElement>;
12519 "sc-upsell-totals": LocalJSX.ScUpsellTotals & JSXBase.HTMLAttributes<HTMLScUpsellTotalsElement>;
12520 "sc-verification-code": LocalJSX.ScVerificationCode & JSXBase.HTMLAttributes<HTMLScVerificationCodeElement>;
12521 "sc-visually-hidden": LocalJSX.ScVisuallyHidden & JSXBase.HTMLAttributes<HTMLScVisuallyHiddenElement>;
12522 "sc-wordpress-password-edit": LocalJSX.ScWordpressPasswordEdit & JSXBase.HTMLAttributes<HTMLScWordpressPasswordEditElement>;
12523 "sc-wordpress-user": LocalJSX.ScWordpressUser & JSXBase.HTMLAttributes<HTMLScWordpressUserElement>;
12524 "sc-wordpress-user-edit": LocalJSX.ScWordpressUserEdit & JSXBase.HTMLAttributes<HTMLScWordpressUserEditElement>;
12525 }
12526 }
12527 }
12528