import { default as Countries } from '../countries.json'; import { FormConfig, IZotloCardParams, IZotloCheckoutParams, PaymentProvider, SavedCardsGroupName, FooterInfo, FormSetting, PaymentDetail } from '../lib/types'; export { getCDNUrl } from './getCDNUrl'; export { useI18n } from './i18n'; export { calculatePaymentStartDate } from './paymentStartCalculation'; type Country = typeof Countries[0]; export declare const ZOTLO_GLOBAL: { ready: boolean; cardUpdate: boolean; data: { subscriberId: string; discountCode: string; }; checkout: { containerId: string; }; card: { containerId: string; }; containerId: string; readonly container: HTMLElement | null; readonly formElement: HTMLFormElement | null; reset(): void; }; export declare function shouldSkipBillingFields(config: FormConfig): boolean; export declare function getCountryCodeByNumber(phoneNumber: string | number, matchLength?: boolean): string; export declare function getCountryByCode(code: string): (Country & { maskLength: number; }) | undefined; export declare function getMaskByCode(country: any): string; export declare function generateAttributes(attrs: Record): string; export declare function preparePaymentMethods(config: FormConfig): { providerKey: PaymentProvider; countries?: string[]; }[]; export declare function isPixAvailable(config: FormConfig): boolean; export declare function isDLocalEnabled(config: FormConfig): boolean; export declare function isCpfCnpjAvailable(config: FormConfig): boolean; /** * The offer the post payment offers page renders and the user can accept, with * its position within the payment detail. Single source of truth so the rendered * price, the applied settings and the posted offerId cannot diverge. */ export declare function getActivePostPaymentOffer(params: { config: FormConfig; paymentDetail?: PaymentDetail | null; }): { offer: import('../lib/types').OffersObject; index: number; } | null; export declare function generateTabButtons(config: FormConfig, paymentMethods: FormSetting['paymentMethodSetting']): string; export declare function setFormLoading(loading?: boolean): void; export declare function isPlainObject(item: unknown): boolean; export declare function mergeDeep(target: Record, ...sources: Record[]): { [x: string]: any; }; export declare const debounce: any; export declare function setFormDisabled(disabled?: boolean): void; export declare function activateDisabledSubscriberIdInputs(): void; export declare function handleSubscriberIdInputEventListeners(action: "add" | "remove" | undefined, triggerFunction: () => void): void; export declare function handleSavedCardsEvents(params: { config: FormConfig; }): { destroy: () => void; }; export declare function getFooterPriceInfo(config: FormConfig): string; export declare function getSubmitButtonContent(config: FormConfig): string; export declare function handlePriceChanges(config: FormConfig): Promise; export declare function getIsDiscountCodeApplied(config: FormConfig): boolean; export declare function syncInputsOnTabs(tabName: string | null, inputNames: string[]): void; export declare function toggleCpfCnpjVisibility(show: boolean): void; export declare function getActiveSavedCardId(params: { providerKey?: PaymentProvider; config: FormConfig; groupName?: SavedCardsGroupName; }): number; export declare function getIsSavedCardPayment(params: { providerKey?: PaymentProvider; config: FormConfig; }): boolean; export declare function prepareFooterInfo(params: { config: FormConfig; }): FooterInfo; export declare function handleResponseRedirection(payload: { response: Record; params: IZotloCardParams | IZotloCheckoutParams; sessionKey?: string; }): Promise; export declare function parseQueryString(query: string): Record; export declare function getUserDataForIntegration(payload: { registerType: string; subscriberId?: string; }): Promise<{ user_data: Record; context: { [x: string]: string; }; }>; export declare function sendIntegrationCAPIInfo(): void;