import type { Offer } from './types/offer.types'; export declare class ApplePayModal extends HTMLElement { #private; static readonly tag = "teg-apple-pay-modal"; static define(): void; /** * Callback invoked synchronously from the CTA click handler. * Receives a Promise of a reCAPTCHA token — the promise is already in-flight * by the time this is called. The caller (ApplePayButton) must call * new ApplePaySession() synchronously inside this callback to stay within * Safari's user-gesture window. The token promise resolves before * onPaymentAuthorized fires (user still needs to authenticate on the sheet). */ onConfirm: ((recaptchaTokenPromise: Promise) => void) | null; set offer(value: Offer | null); get country(): string; set country(value: string); connectedCallback(): void; open(): void; close(): void; }