declare const getChainNonprofits: ({ headers, baseUrl, apiRoot, pathParams, queryParams, requestBody, }: { baseUrl?: string; apiRoot?: string; pathParams?: { chainId: number; } | undefined; queryParams?: { postalCode?: string; countryCode?: string; storeId?: number; lang?: "en" | "fr" | "de" | "es" | "it" | "pl" | "ja"; widgetName: "select-nonprofit" | "redeem-transaction"; version: string; } | undefined; requestBody?: undefined; headers?: Record; }) => Promise<{ chain: { name: string; logoUrl: string | null; logoLockupUrl?: string | null; communityImpactUrl: string | null; donationTypeName: string | null; matchDonationTypeName: string | null; }; config: { web: { title: string; description: string; promoDescriptionPrefix?: string; promoDescription?: string; confirmButton?: string; confirmedButton?: string; collapsedButton?: string; theme?: { [key: string]: unknown; } | null; nonprofitSelectedHeader?: string; nonprofitUnselectedHeader?: string; dynamicStrings?: { [key: string]: string; } | null; additionalStrings?: { [key: string]: string; } | null; disableAnimation?: boolean; promo?: { "promo-text-long": string; "promo-text-short": string; "promo-cause-alt-text": string; }; }; mobileWeb?: { title: string; description: string; nonprofitSelectedHeader?: string; nonprofitUnselectedHeader?: string; }; mobile: { title: string; description: string; nonprofitSelectedHeader?: string; nonprofitUnselectedHeader?: string; }; enableNonprofitDeselection?: boolean; } & { web?: { redeemButtonText?: string; }; mobileWeb?: { redeemButtonText?: string; }; mobile?: { redeemButtonText?: string; }; }; nonprofits: { imageUrl: Partial & Partial; nonprofit: { id: number; name: string; cause: string | null; causeIconUrl: string | null; causeIconSelectedUrl: string | null; causeColor: string | null; extensibility?: { causeIconUrl?: string | null; causeIconSelectedUrl?: string | null; causeIconAndBackgroundUrl?: string | null; }; website: string | null; websiteLinkText: string; badge?: string; includeInPersonalImpact?: boolean; }; impact: { description: string | null; goalCompletionText: string; goalProgressText: string; goalProgressPercentage: number; }; promo?: { type?: string; isActive: boolean; multiplier: number | null; } | null; }[]; store: { id: number; }; region: { id: string | null; }; promos?: { validatedPromoCodes: { promoCodeId: string | null; promoCodeGroupId?: string | null; promoId?: number; validatedAt: string; apply: boolean; }[]; }; extensibility?: { excludeB2BOrders?: boolean; }; settings?: { excludeDonationsForRecurringTransactions: boolean; }; }>; declare const getImpact: ({ headers, baseUrl, apiRoot, pathParams, queryParams, requestBody, }: { baseUrl?: string; apiRoot?: string; pathParams?: Record | undefined; queryParams?: { chainId?: number; storeId?: number; beamUserId?: string; nonprofitId?: number; communityImpactLimit?: number; personalImpactLimit?: number; widgetName: "impact-overview" | "community-impact" | "subscription-impact" | "subscription-management"; version: string; lang?: "en" | "fr" | "de" | "es" | "it" | "pl" | "ja"; omitThemes?: boolean; draftConfig?: boolean; discountCodes?: string[]; transactionId?: string; partnerUserId?: string; } | undefined; requestBody?: undefined; headers?: Record; }) => Promise<{ chain: { name: string; logoUrl: string | null; logoLockupUrl?: string | null; communityImpactUrl: string | null; donationTypeName: string | null; matchDonationTypeName: string | null; }; store: { name: string | null; displayName: string | null; communityPageURL: string | null; }; config: { web: { title: string; description: string; promoDescriptionPrefix?: string; promoDescription?: string; confirmButton?: string; confirmedButton?: string; collapsedButton?: string; theme?: { [key: string]: unknown; } | null; nonprofitSelectedHeader?: string; nonprofitUnselectedHeader?: string; dynamicStrings?: { [key: string]: string; } | null; additionalStrings?: { [key: string]: string; } | null; disableAnimation?: boolean; promo?: { "promo-text-long": string; "promo-text-short": string; "promo-cause-alt-text": string; }; }; mobileWeb?: { title: string; description: string; nonprofitSelectedHeader?: string; nonprofitUnselectedHeader?: string; }; mobile: { title: string; description: string; nonprofitSelectedHeader?: string; nonprofitUnselectedHeader?: string; }; enableNonprofitDeselection?: boolean; }; personal: { imageUrl: string | null; nonprofit: { id: number; name: string; cause: string | null; causeIconUrl: string | null; causeIconSelectedUrl: string | null; causeColor: string | null; extensibility?: { causeIconUrl?: string | null; causeIconSelectedUrl?: string | null; causeIconAndBackgroundUrl?: string | null; }; website: string | null; websiteLinkText: string; badge?: string; includeInPersonalImpact?: boolean; }; impact: { description: string | null; goalCompletionText: string; goalProgressText: string; goalProgressPercentage: number; }; share: { imageUrl: string | null; }; filters?: string[]; }[]; community: { imageUrl: string | null; nonprofit: { id: number; name: string; cause: string | null; causeIconUrl: string | null; causeIconSelectedUrl: string | null; causeColor: string | null; extensibility?: { causeIconUrl?: string | null; causeIconSelectedUrl?: string | null; causeIconAndBackgroundUrl?: string | null; }; website: string | null; websiteLinkText: string; badge?: string; includeInPersonalImpact?: boolean; }; impact: { description: string | null; goalCompletionText: string; goalProgressText: string; goalProgressPercentage: number; }; share: { imageUrl: string | null; }; filters?: string[]; }[]; promo: { type?: string; isActive: boolean; multiplier: number | null; } | null; promoAssetUrl: string | null; personalImpactAssetUrl: string | null; settings?: { excludeDonationsForRecurringTransactions: boolean; }; }>; declare const postTransaction: ({ headers, baseUrl, apiRoot, pathParams, queryParams, requestBody, }: { baseUrl?: string; apiRoot?: string; pathParams?: undefined; queryParams?: undefined; requestBody?: { orderId: string | number; storeId?: number; selectionId?: string; beamCartId?: string; cartId?: string; nonprofitId?: number | null; beamUserId?: string; email?: string; partnerUserId?: string; currencyCode: string; defaultToLastNonprofit?: boolean; postalCode?: string; countryCode?: string; cart?: { schema: { source: "shopify"; variant: "ajax"; version?: string; }; content: { localAmount?: number; discounts?: { code: string; applicable: boolean; }[] | null; items: { id?: number | null; gift_card?: boolean | null; final_line_price: number | null; final_price?: number | null; line_level_discount_applications?: ({ title: string; } & { [key: string]: unknown; })[] | null; quantity?: number | null; sku: string | null; product_id?: number | null; product_title?: string | null; product_type?: string | null; variant_id?: number | null; }[]; subscriptions?: { remoteSubscriptionId: string; isNew?: boolean; }[]; }; } | { schema: { source: "shopify"; variant: "liquid"; version?: string; }; content: { localAmount?: number; discounts?: { code: string; applicable: boolean; }[] | null; items: { id?: number | null; gift_card?: boolean | null; final_line_price: number | null; final_price?: number | null; line_level_discount_applications?: ({ title: string; } & { [key: string]: unknown; })[] | null; quantity?: number | null; sku: string | null; product_id?: number | null; variant_id?: number | null; }[]; subscriptions?: { remoteSubscriptionId: string; isNew?: boolean; }[]; }; } | { schema: { source: "generic"; variant?: "default"; version?: string; }; content: { localAmount?: number; discounts?: { code: string; applicable: boolean; }[] | null; items: { remoteProductIdentifier?: string | null; localAmount: number; remoteSubscriptionId?: string; discounts?: { code: string; applicable: boolean; }[] | null; }[]; subscriptions?: { remoteSubscriptionId: string; isNew?: boolean; }[]; }; }; remoteSessionId?: string; options?: { config?: { omitThemes?: boolean; draftConfig?: boolean; }; response?: { personalImpact?: boolean; communityImpact?: boolean; }; }; widgetName?: "select-nonprofit" | "redeem-transaction" | "select-nonprofit-cta"; version?: string; donation?: { currencyCode: string; amount: number; }; cartTotal?: number; discountCodes?: string[]; creationMethod?: "recurring" | null; promos?: { unvalidatedPromoCodes: (Partial<{ type?: "manual" | "url"; } & { attributes?: { value?: string; }; }> & Partial<{ type?: "manual" | "url"; } & { attributes?: { url?: string; }; }>)[]; validatedPromoCodes: { promoCodeId: string | null; promoCodeGroupId?: string | null; promoId?: number; validatedAt: string; apply: boolean; }[]; }; } | undefined; headers?: Record; }) => Promise<{ transactionId: string; transactionCreated?: boolean; beamUserId: string; beamCartId?: string | null; chainId: number; nonprofitId: number | (number | null); creationMethod?: string; impact?: { personal?: { imageUrl: string | null; nonprofit: { id: number; name: string; cause: string | null; causeIconUrl: string | null; causeIconSelectedUrl: string | null; causeColor: string | null; extensibility?: { causeIconUrl?: string | null; causeIconSelectedUrl?: string | null; causeIconAndBackgroundUrl?: string | null; }; website: string | null; websiteLinkText: string; badge?: string; includeInPersonalImpact?: boolean; }; impact: { description: string | null; goalCompletionText: string; goalProgressText: string; goalProgressPercentage: number; }; share: { imageUrl: string | null; }; filters?: string[]; }[]; community?: { imageUrl: string | null; nonprofit: { id: number; name: string; cause: string | null; causeIconUrl: string | null; causeIconSelectedUrl: string | null; causeColor: string | null; extensibility?: { causeIconUrl?: string | null; causeIconSelectedUrl?: string | null; causeIconAndBackgroundUrl?: string | null; }; website: string | null; websiteLinkText: string; badge?: string; includeInPersonalImpact?: boolean; }; impact: { description: string | null; goalCompletionText: string; goalProgressText: string; goalProgressPercentage: number; }; share: { imageUrl: string | null; }; filters?: string[]; }[]; }; config?: { mobile?: { title?: unknown; description?: string; theme?: { [key: string]: unknown; } | null; }; mobileWeb?: { title?: unknown; description?: string; theme?: { [key: string]: unknown; } | null; }; web?: { title?: string; description?: string; theme?: { [key: string]: unknown; } | null; }; }; extensibility?: { excludeB2BOrders?: boolean; }; reportSettings?: { excludeRecurringDonations?: boolean; }; }>; declare const postProductDetailsPage: ({ headers, baseUrl, apiRoot, pathParams, queryParams, requestBody, }: { baseUrl?: string; apiRoot?: string; pathParams?: Record | undefined; queryParams?: { lang?: "en" | "fr" | "de" | "es" | "it" | "pl" | "ja"; version: string; storeId: number; draftConfig?: boolean; widgetName?: "community-impact" | "impact-overview" | "select-nonprofit" | "redeem-transaction" | "cumulative-impact" | "mobile-full-screen-nonprofit-selection" | "mobile-impact-list" | "mobile-minimal-nonprofit-selection" | "mobile-personal-impact" | "mobile-selected-nonprofit" | "mobile-progress-bar" | "select-nonprofit-cta" | "mobile-share-button" | "subscription-management" | "product-details-page" | "select-subscription-nonprofit" | "subscription-impact" | "subscriber-select-nonprofit"; remoteProductIdentifier?: string; } | undefined; requestBody?: { lang?: string; version?: string; storeId?: number; widgetName?: string; remoteProductIdentifier?: string; beamCartId?: string; draftConfig?: boolean; promos?: { unvalidatedPromoCodes: (Partial<{ type?: "manual" | "url"; } & { attributes?: { value?: string; }; }> & Partial<{ type?: "manual" | "url"; } & { attributes?: { url?: string; }; }>)[]; validatedPromoCodes: { promoCodeId: string | null; promoCodeGroupId?: string | null; promoId?: number; validatedAt: string; apply: boolean; }[]; }; } | undefined; headers?: Record; }) => Promise<{ config: { web: { title: string; description: string; promoDescriptionPrefix?: string; promoDescription?: string; confirmButton?: string; confirmedButton?: string; collapsedButton?: string; theme?: { [key: string]: unknown; } | null; nonprofitSelectedHeader?: string; nonprofitUnselectedHeader?: string; dynamicStrings?: { [key: string]: string; } | null; additionalStrings?: { [key: string]: string; } | null; disableAnimation?: boolean; promo?: { "promo-text-long": string; "promo-text-short": string; "promo-cause-alt-text": string; }; }; mobileWeb?: { title: string; description: string; nonprofitSelectedHeader?: string; nonprofitUnselectedHeader?: string; }; mobile: { title: string; description: string; nonprofitSelectedHeader?: string; nonprofitUnselectedHeader?: string; }; enableNonprofitDeselection?: boolean; }; ppgfDisclosure?: { copy: string; }; ppgfDisclosureHyperlink?: { url: string; copy: string; }; promos?: { validatedPromoCodes?: { promoCodeId: string | null; promoCodeGroupId?: string | null; promoId?: number; validatedAt: string; apply: boolean; }[]; }; }>; export { getImpact as a, postTransaction as b, getChainNonprofits as g, postProductDetailsPage as p };