import type { JSONPatchOp } from '../../types'; /** * Check whether this operation is an add operation of some sort (add, copy, move). */ export declare function isAdd(op: JSONPatchOp, pathName: 'from' | 'path'): boolean; /** * Filters an array, returning the original if there is no change. */ export declare function filterOps(ops: JSONPatchOp[], iterator: (op: JSONPatchOp) => any): JSONPatchOp[]; export declare function filterNoops(ops: JSONPatchOp[]): JSONPatchOp[]; /** * Maps an array, returning the original if there is no change. */ export declare function mapOps(ops: JSONPatchOp[], iterator: (op: JSONPatchOp) => JSONPatchOp): JSONPatchOp[]; /** * Remove operations that apply to a value which was removed. */ export declare function updateRemovedOps(overPath: string, ops: JSONPatchOp[], exceptions?: (op: JSONPatchOp) => any): JSONPatchOp[];