export declare const keysOf: <T extends object>(arr: T) => (keyof T)[];
export declare const hasOwn: (val: object, key: string | symbol | number) => key is never;
/**
 * 对象重新赋值
 * @param oldObj
 * @param newObj
 */
export declare const resetObject: (oldObj: Record<string, any>, newObj: Record<string, any>) => void;
/**
 * 获取已修改的数据
 * @param originalData 原始数据
 * @param formData 修改后的数据
 * @example getModifiedData({a: 1, b: 2}, {a: 3, b: 2}) // {a: 3}
 */
export declare function getModifiedData<T extends Record<string, any>>(originalData: T, formData: T): Partial<T>;
