import * as z from "zod/v3"; import { Result as SafeParseResult } from "../../types/fp.js"; import { SDKValidationError } from "../errors/sdkvalidationerror.js"; /** * Wraps a compact-serialized JSON Web Encryption (JWE) token used for secure transmission of sensitive data (e.g., PCI information) through intermediaries. * * @remarks * This token is encrypted using the public key from /end-to-end-keys and wraps an AES key. For details and examples, refer to our * [GitHub repository](https://github.com/moovfinancial/moov-go/blob/main/examples/e2ee/e2ee_test.go). */ export type E2EEToken = { /** * An [RFC](https://datatracker.ietf.org/doc/html/rfc7516) compact-serialized JSON Web Encryption (JWE) token. */ token: string; }; /** @internal */ export declare const E2EEToken$inboundSchema: z.ZodType; /** @internal */ export type E2EEToken$Outbound = { token: string; }; /** @internal */ export declare const E2EEToken$outboundSchema: z.ZodType; export declare function e2EETokenToJSON(e2EEToken: E2EEToken): string; export declare function e2EETokenFromJSON(jsonString: string): SafeParseResult; //# sourceMappingURL=e2eetoken.d.ts.map