import * as z from "zod/v3";
import { Result as SafeParseResult } from "../../types/fp.js";
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
export type PatchOperation = {
    /**
     * The type of operation to perform
     */
    op: string;
    /**
     * A JSON Pointer string specifying the part of the document to operate on
     */
    path: string;
    /**
     * A JSON value used in "add", "replace", and "test" operations
     */
    value?: any | undefined;
};
/** @internal */
export declare const PatchOperation$inboundSchema: z.ZodType<PatchOperation, z.ZodTypeDef, unknown>;
/** @internal */
export type PatchOperation$Outbound = {
    op: string;
    path: string;
    value?: any | undefined;
};
/** @internal */
export declare const PatchOperation$outboundSchema: z.ZodType<PatchOperation$Outbound, z.ZodTypeDef, PatchOperation>;
export declare function patchOperationToJSON(patchOperation: PatchOperation): string;
export declare function patchOperationFromJSON(jsonString: string): SafeParseResult<PatchOperation, SDKValidationError>;
//# sourceMappingURL=patchoperation.d.ts.map