import { ApplyGiftCardResult } from '../gift-cards.js'; /** * Parse a successful apply-gift-card backend payload into ApplyGiftCardResult, * or a `{ valid: false }` refusal when the payload does not state the amounts. * * Maps the real backend contract to what the Checkout component expects: * - appliedAmount (cents) -> giftCardAmount (dollars) * - remainingTotal (dollars) -> stripeAmount (dollars, residual to charge) * - fullyCoveredByCard -> paymentType 'gift_card_only' | 'split' + requiresStripe */ export declare function parseGiftCardApplication(raw: unknown): ApplyGiftCardResult;