import type { PropertyDeclarations } from 'lit-element'; import { LitElement } from 'lit-element'; /** * Adapter element for Payments API. This element requires an additional hAPI adapter * that will handle authentication and session management. * * _Payments API is a client-side virtual API layer built on top of hAPI * in an attempt to streamline access to stores' payment method settings * that is currently a bit quirky due to the legacy functionality. To use * Payments API elements with hAPI, wrap them into this node._ * * @element foxy-payments-api * @since 1.21.0 */ export declare class PaymentsApi extends LitElement { static get properties(): PropertyDeclarations; /** * Base URL of the `fx:payment_method_set_hosted_payment_gateway` resource (without ID). * @example https://api.foxy.io/payment_method_set_hosted_payment_gateways/ */ paymentMethodSetHostedPaymentGatewayBaseUrl: string | null; /** * URL of the `fx:payment_method_set_hosted_payment_gateways` collection. * @example https://api.foxy.io/stores/0/payment_method_set_hosted_payment_gateways */ paymentMethodSetHostedPaymentGatewaysUrl: string | null; /** * URL of the `fx:hosted_payment_gateways` property helper. * @example https://api.foxy.io/property_helpers/hosted_payment_gateways */ hostedPaymentGatewaysHelperUrl: string | null; /** * Base URL of the `fx:hosted_payment_gateway` resource (without ID). * @example https://api.foxy.io/hosted_payment_gateways/ */ hostedPaymentGatewayBaseUrl: string | null; /** * URL of the `fx:hosted_payment_gateways` collection. * @example https://api.foxy.io/stores/0/hosted_payment_gateways */ hostedPaymentGatewaysUrl: string | null; /** * URL of the `fx:payment_gateways` property helper. * @example https://api.foxy.io/property_helpers/payment_gateways */ paymentGatewaysHelperUrl: string | null; /** * Base URL of the `fx:payment_method_set` resource (without ID). * @example https://api.foxy.io/payment_method_sets/ */ paymentMethodSetBaseUrl: string | null; /** * URL of the `fx:payment_method_sets` collection. * @example https://api.foxy.io/stores/0/payment_method_sets */ paymentMethodSetsUrl: string | null; /** * Base URL of the `fx:fraud_protection` resource (without ID). * @example https://api.foxy.io/fraud_protections/ */ fraudProtectionBaseUrl: string | null; /** * URL of the `fx:fraud_protections` collection. * @example https://api.foxy.io/stores/0/fraud_protections */ fraudProtectionsUrl: string | null; /** * Base URL of the `fx:payment_gateway` resource (without ID). * @example https://api.foxy.io/payment_gateways/ */ paymentGatewayBaseUrl: string | null; /** * URL of the `fx:payment_gateways` collection. * @example https://api.foxy.io/stores/0/payment_gateways */ paymentGatewaysUrl: string | null; private readonly __api; private readonly __fetch; private readonly __handleFetch; connectedCallback(): void; createRenderRoot(): Element | ShadowRoot; disconnectedCallback(): void; }