import * as z from "zod/v3"; import { Result as SafeParseResult } from "../../types/fp.js"; import { SDKValidationError } from "../errors/sdkvalidationerror.js"; /** * Information needed to decrypt Apple Pay payment data. * * @remarks * * Refer to [Apple's documentation](https://developer.apple.com/documentation/passkit/payment-token-format-reference#Header-keys-and-values) * for more information. */ export type ApplePayHeader = { /** * Base64-encoded ephemeral public key, used for ECC-encrypted payment data. */ ephemeralPublicKey?: string | undefined; /** * A base64-encoded, SHA-256 hash of the merchant's public key. */ publicKeyHash: string; /** * A device-generated identifier for the transaction. */ transactionId: string; }; /** @internal */ export declare const ApplePayHeader$inboundSchema: z.ZodType; /** @internal */ export type ApplePayHeader$Outbound = { ephemeralPublicKey?: string | undefined; publicKeyHash: string; transactionId: string; }; /** @internal */ export declare const ApplePayHeader$outboundSchema: z.ZodType; export declare function applePayHeaderToJSON(applePayHeader: ApplePayHeader): string; export declare function applePayHeaderFromJSON(jsonString: string): SafeParseResult; //# sourceMappingURL=applepayheader.d.ts.map