// Definitions by: Eddie Atkinson type Operation = "add" | "replace" | "remove" | "move"; type DiffOps = Array<{ op: Operation; path: Array; value?: any; }>; type PathConverter = (path: string) => string[]; export function diffApply( obj: T, diff: DiffOps, pathConverter?: PathConverter ): T; export const jsonPatchPathConverter: PathConverter;