import type { PropertyDeclarations } from 'lit-element'; import type { TemplateResult } from 'lit-html'; import { LitElement } from 'lit-element'; import { PaymentCardEmbed as SDKPaymentCardEmbed } from '@foxy.io/sdk/customer'; declare const Base: typeof LitElement & { styles: import("lit-element").CSSResultArray; } & import("lit-element").Constructor & { inferredProperties: string[]; } & import("lit-element").Constructor & { defaultNS: string; } & import("lit-element").Constructor; /** * A secure, PCI-compliant element for collecting payment card information with * support for Stripe, Square and embedded gateways. * * @fires CustomEvent - Instance of `CustomEvent` with type `submit`. Dispatched when the user submits the form (not available for Stripe). * * @element foxy-payment-card-embed * @since 1.27.0 */ export declare class PaymentCardEmbed extends Base { static readonly PaymentCardEmbed: typeof SDKPaymentCardEmbed; static get properties(): PropertyDeclarations; /** * Full Bank Card Embed URL, e.g. `https://embed.foxy.io/v1.html?template_set_id=123`. * * The following demo URLs are available: * - `https://embed.foxy.io/v1.html?demo=default` (Default form) * - `https://embed.foxy.io/v1.html?demo=stripe` (Stripe Card Element) * - `https://embed.foxy.io/v1.html?demo=square` (Square Card Element) */ url: string | null; private __configRefreshInterval; private __embed; private __ready; disconnectedCallback(): void; connectedCallback(): void; /** Tokenizes payment card info. Resolves with a token on success or rejects otherwise. */ tokenize(): Promise; updated(changes: Map): void; render(): TemplateResult; /** Clears form fields. */ clear(): void; private get __config(); private __setupEmbed; } export {};