export declare function diff<T extends Record<string, any>>(oldAttrs: T, newAttrs: T, getAttr?: (attr: keyof T) => any): Record<string, any>;
