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