import type { RuntimeContext } from '../../runtime/types'; import type { DataChange } from '../../types'; import type { Command } from '../../types/history'; /** * 对齐两个对象的字段。若目标对象缺少字段,则会添加默认值。 * * Align the fields of two objects. If the target object lacks fields, default values will be added. * @param refObject - 参考对象 | Reference object * @param targetObject - 目标对象 | Target object */ export declare function alignFields(refObject: Record, targetObject: Record): void; /** * 解析数据变更为历史记录命令 * * Parse data changes into history commands * @param changes - 数据变更 | Data changes * @param animation - 是否开启动画 | Whether to enable animation * @param context - 运行时上下文 | Runtime context * @returns 历史记录命令 | History command */ export declare function parseCommand(changes: DataChange[], animation?: boolean, context?: RuntimeContext): Command;