import * as z from "zod/v4-mini"; import { Result as SafeParseResult } from "../../types/fp.js"; import { SDKValidationError } from "../errors/sdkvalidationerror.js"; /** * Message returned with supporting information from a request. In some cases this can be an error message, * * @remarks * for example a timeout from a carrier. If available, the origin of the message is displayed in `source`. */ export type ResponseMessage = { /** * Origin of message */ source?: string | undefined; /** * Classification of message */ code?: string | undefined; /** * Message content */ text?: string | undefined; }; /** @internal */ export declare const ResponseMessage$inboundSchema: z.ZodMiniType; /** @internal */ export type ResponseMessage$Outbound = { source?: string | undefined; code?: string | undefined; text?: string | undefined; }; /** @internal */ export declare const ResponseMessage$outboundSchema: z.ZodMiniType; export declare function responseMessageToJSON(responseMessage: ResponseMessage): string; export declare function responseMessageFromJSON(jsonString: string): SafeParseResult; //# sourceMappingURL=responsemessage.d.ts.map