import * as z from "zod/v3";
import { Result as SafeParseResult } from "../../types/fp.js";
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
import { PatchOperation, PatchOperation$Outbound } from "./patchoperation.js";
export type PatchWithComment = {
    patch: Array<PatchOperation>;
    /**
     * Optional comment
     */
    comment?: string | undefined;
};
/** @internal */
export declare const PatchWithComment$inboundSchema: z.ZodType<PatchWithComment, z.ZodTypeDef, unknown>;
/** @internal */
export type PatchWithComment$Outbound = {
    patch: Array<PatchOperation$Outbound>;
    comment?: string | undefined;
};
/** @internal */
export declare const PatchWithComment$outboundSchema: z.ZodType<PatchWithComment$Outbound, z.ZodTypeDef, PatchWithComment>;
export declare function patchWithCommentToJSON(patchWithComment: PatchWithComment): string;
export declare function patchWithCommentFromJSON(jsonString: string): SafeParseResult<PatchWithComment, SDKValidationError>;
//# sourceMappingURL=patchwithcomment.d.ts.map