import * as z from "zod"; import { Result as SafeParseResult } from "../../types/fp.js"; import { SDKValidationError } from "../errors/sdkvalidationerror.js"; import { ProcessorResponse, ProcessorResponse$Outbound } from "./processorresponse.js"; export type TransactionAuthorization = { processorReference?: string | undefined; /** * Raw authorization response from the payment processor */ processorResponse?: ProcessorResponse | undefined; }; /** @internal */ export declare const TransactionAuthorization$inboundSchema: z.ZodType; /** @internal */ export type TransactionAuthorization$Outbound = { processor_reference?: string | undefined; processor_response?: ProcessorResponse$Outbound | undefined; }; /** @internal */ export declare const TransactionAuthorization$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 TransactionAuthorization$ { /** @deprecated use `TransactionAuthorization$inboundSchema` instead. */ const inboundSchema: z.ZodType; /** @deprecated use `TransactionAuthorization$outboundSchema` instead. */ const outboundSchema: z.ZodType; /** @deprecated use `TransactionAuthorization$Outbound` instead. */ type Outbound = TransactionAuthorization$Outbound; } export declare function transactionAuthorizationToJSON(transactionAuthorization: TransactionAuthorization): string; export declare function transactionAuthorizationFromJSON(jsonString: string): SafeParseResult; //# sourceMappingURL=transactionauthorization.d.ts.map