import * as lit from 'lit'; import { LitElement, PropertyValues } from 'lit'; import * as lit_html from 'lit-html'; import { L as LANGUAGES, d as TCart } from '../chunks/utils-BPcZ5h8J.esm.js'; import './redeem-transaction.js'; import './impact-overview.js'; import 'lodash-es/debounce'; import 'lodash-es/isEqual'; import 'lodash'; declare class BeamPostPurchase extends LitElement { static tagName: string; baseUrl: string; apiKey: string; storeId?: number; postalCode?: string; countryCode?: string; orderId: string; /** * Either email or partnerUserId is required */ email?: string; /** * Either email or partnerUserId is required */ partnerUserId?: string; cartTotal: number; currencyCode: string; lang: LANGUAGES; cart?: TCart; /** * @deprecated Use `promoCodes` instead. `discountCodes` is retained for backward compatibility */ discountCodes?: string[]; promoCodes?: string[]; htmlPromoCodes?: string; domain?: string; remoteSessionId?: string; debug: boolean; private activeWidget; private nonprofitId; private selectionId; private cartId; private beamCartId; private userId; private transactionId; private excludeDonationsForRecurringTransactions; private creationMethod; private orderProcessedAt; draftConfig: boolean; private localStorage; get parsedPromoCodes(): string[]; updateComponentState(): void; firstUpdated(_changedProperties: PropertyValues): void; updated(previousPropertyValues: PropertyValues): Promise; enforceConfig(): void; private getManualPromoCodes; handlePostTransaction: () => Promise<{ transactionId: string; selectionId: string | null; transactionCreated: boolean; beamUserId: string; nonprofitId: number | null; reportSettings?: { excludeRecurringDonations?: boolean; }; extensibility?: { excludeB2BOrders?: boolean; }; creationMethod: string | null; timestamp: string; }>; private transactionDataController; render(): "" | lit_html.TemplateResult<1>; static styles: lit.CSSResult[]; } declare global { interface HTMLElementTagNameMap { "beam-post-purchase": BeamPostPurchase; } } export { BeamPostPurchase };