import * as z from "zod"; import { Result as SafeParseResult } from "../../types/fp.js"; import { SDKValidationError } from "../errors/sdkvalidationerror.js"; import { TransactionAuthorization, TransactionAuthorization$Outbound } from "./transactionauthorization.js"; export type Transaction = { reference?: string | undefined; /** * Payment authorization events attached to a transaction */ authorizations?: Array | undefined; }; /** @internal */ export declare const Transaction$inboundSchema: z.ZodType; /** @internal */ export type Transaction$Outbound = { reference?: string | undefined; authorizations?: Array | undefined; }; /** @internal */ export declare const Transaction$outboundSchema: z.ZodType; /** * @internal * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. */ export declare namespace Transaction$ { /** @deprecated use `Transaction$inboundSchema` instead. */ const inboundSchema: z.ZodType; /** @deprecated use `Transaction$outboundSchema` instead. */ const outboundSchema: z.ZodType; /** @deprecated use `Transaction$Outbound` instead. */ type Outbound = Transaction$Outbound; } export declare function transactionToJSON(transaction: Transaction): string; export declare function transactionFromJSON(jsonString: string): SafeParseResult; //# sourceMappingURL=transaction.d.ts.map