import { Object as IObject } from "fabric/fabric-impl";
/**
 * compare oldObjects and newObject with paths and others. return the diff result.
 * @param oldObjects
 * @param newObjects
 * @param operation 'redo' | 'undo'
 */
declare const diff: (oldObjects: IObject[], newObjects: IObject[], operation?: 'redo' | 'undo') => {
    action: "none" | "path:created" | "object:removed" | "object:modified";
    object: any;
};
export default diff;
