import { Diff } from '../Diff' ; const objectDiffSymbol = Symbol ( 'object diff' ) ; const objectDiff = function ( parameters ) : ObjectDiff { return { kind : objectDiffSymbol , ... parameters } ; } ; interface ObjectDiff extends Diff { kind : typeof objectDiffSymbol ; additions : Record < any , any > ; omissions : Record < any , any > ; changes : Record < any , Diff > ; equal : Record < any , any > ; } const isObjectDiff = function ( diff ) : diff is ObjectDiff { return 'kind' in diff && diff . kind === objectDiffSymbol ; } ; export type { ObjectDiff } ; export { isObjectDiff , objectDiff } ;