/** * The data model for change log and some utility functions for the change log */ import { ModelAction } from './editor/model'; import { EditorModel } from './editormodel'; interface CommandEvent { type: 'command'; command: ModelAction; } export declare type ChangeLogEvent = CommandEvent & { user: string; time: string; }; export declare type ChangeLog = ChangeLogEvent[]; export declare function createChangeLog(model: EditorModel, user: string): ChangeLogEvent; export declare function addToLog(log: ChangeLog, user: string, action: ModelAction): void; export {}; //# sourceMappingURL=changelog.d.ts.map