import * as lit from 'lit';
import { LitElement, PropertyValues } from 'lit';
import * as lit_html from 'lit-html';
import { L as LANGUAGES } from '../chunks/types-DfRc36jU.esm.js';
import './redeem-transaction.js';
import './impact-overview.js';
import { T as TCart } from '../chunks/cart-contents-CLT7p7Gd.esm.js';
import 'lodash';
import '../chunks/progress-bar-CveZ8E6Q.esm.js';
import '../chunks/promo-pill-label-BXRqZHET.esm.js';
import './beam-partner-logos.js';
import '../chunks/types-CPxMwnoR.esm.js';
import '../chunks/openapi-spec-Bk7E2QQP.esm.js';
import '../chunks/share-button-CDVVaxEc.esm.js';

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;
    debug: boolean;
    private activeWidget;
    private nonprofitId;
    private selectionId;
    private cartId;
    private beamCartId;
    private userId;
    private transactionId;
    private excludeDonationsForRecurringTransactions;
    private creationMethod;
    draftConfig: boolean;
    private localStorage;
    get parsedPromoCodes(): string[];
    updateComponentState(): void;
    firstUpdated(_changedProperties: PropertyValues): void;
    updated(previousPropertyValues: PropertyValues): Promise<void>;
    enforceConfig(): void;
    private getManualPromoCodes;
    handlePostTransaction: () => Promise<{
        transactionId: string;
        transactionCreated: boolean;
        beamUserId: string;
        nonprofitId: number | null;
        reportSettings?: {
            excludeRecurringDonations?: boolean | undefined;
        } | undefined;
        extensibility?: {
            excludeB2BOrders?: boolean | undefined;
        } | undefined;
        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 };
