@vertical-insure/web-components
Version:
Vertical Insure Web Components using Lit and Open Web Standards
21 lines (20 loc) • 685 B
TypeScript
import { LitElement } from "lit";
export declare function cardSvg(cardBrand: string): import("lit-html").TemplateResult<1>;
export declare class PaymentElement extends LitElement {
static styles: import("lit").CSSResult;
customerClientSecret?: string;
clientId?: string;
loading: boolean;
loadingCardElement: boolean;
displayExistingPaymentMethod: boolean;
paymentMethod?: any;
errors: string[];
connectedCallback(): Promise<void>;
private loadPaymentMethods;
validate(): Promise<{
isValid: boolean;
errors: string[];
}>;
tokenize(): Promise<string | undefined>;
render(): import("lit-html").TemplateResult<1>;
}