import type { Data } from './types'; import type { PropertyDeclarations } from 'lit-element'; import type { TemplateResult } from 'lit-html'; import type { NucleonV8N } from '../NucleonElement/types'; import type { ScopeCollection } from '../../../utils/user-scope'; import { BooleanSelector } from '@foxy.io/sdk/core'; import { InternalForm } from '../../internal/InternalForm/InternalForm'; declare const Base: typeof InternalForm & import("lit-element").Constructor & { defaultNS: string; }; /** * Form element for the `fx:payment_method` resource of Payments API. * * _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 * this element with hAPI, wrap it into a foxy-payments-api node._ * * @element foxy-payments-api-payment-method-form * @since 1.21.0 */ export declare class PaymentsApiPaymentMethodForm extends Base { static get defaultImageSrc(): string; static get properties(): PropertyDeclarations; static get v8n(): NucleonV8N; /** URL of the linked `fx:payment_preset` resource from the virtual Payments API. */ paymentPreset: string | null; /** A function that returns a URL of a payment method icon based on the given type. */ getImageSrc: ((type: string) => string) | null; /** * Returns the URL the gateway sends the merchant back to after a connection. * Receives the `payment-preset` URL. The API appends a `status` query parameter. * Defaults to the current page URL. */ getConnectRedirectUrl: ((paymentPreset: string) => string) | null; /** URL of the linked `fx:store` resource. */ store: string | null; private readonly __availablePaymentMethodsLoaderId; private readonly __paymentPresetLoaderId; private readonly __storeLoaderId; private readonly __threeDSecureResponseGetValue; private readonly __threeDSecureResponseSetValue; private readonly __threeDSecureToggleGetValue; private readonly __threeDSecureToggleSetValue; private readonly __threeDSecureToggleOptions; private readonly __cardVerificationOptions; /** On when every test credential with a default is set to that default. */ private readonly __defaultTestCredentialsGetValue; /** Fills in the defaults when turned on. Clears the same fields when turned off. */ private readonly __defaultTestCredentialsSetValue; private __search; private __connectState; /** Key of the connect choice whose connection URL is being fetched. */ private __connectKey; get scopeCollection(): ScopeCollection | null; get hiddenSelector(): BooleanSelector; renderHeader(...params: Parameters['renderHeader']>): TemplateResult; get headerTitleOptions(): Record; get headerSubtitleOptions(): Record; get headerCopyIdValue(): string | number; renderBody(): TemplateResult; private get __groupedAvailablePaymentMethods(); private get __availablePaymentMethodsLoader(); private get __availablePaymentMethods(); private get __paymentPresetLoader(); private get __storeLoader(); private get __liveBlocks(); private get __testBlocks(); /** Top-level test credentials with a non-empty default for the selected gateway. */ private get __defaultTestCredentials(); /** Visible test additional fields with a non-empty default for the selected gateway. */ private get __defaultTestFields(); private get __hasDefaultTestCredentials(); private get __additionalFieldsConfig(); private __renderPaymentMethodSelector; private __redirect; private __getConnectChoices; private __getReconnectChoice; private __connect; private __renderConnection; private __renderPaymentMethodConfig; private __renderPaymentMethodButton; private __renderBlock; } export {};