import { IPersistedHistoryEvent } from '../../history/history-event'; import { IEditorEvent } from '../editor-events'; export interface IEditorHistoryEvent extends IEditorEvent { subType: EditorHistoryEventType; } export declare enum EditorHistoryEventType { UpdateHistory = 0, Undo = 1, Redo = 2 } export declare function isEditorHistoryEvent(base: IEditorEvent): base is IEditorHistoryEvent; export interface IUpdateHistoryEvent extends IEditorHistoryEvent { payload: { value: IPersistedHistoryEvent[]; }; } export declare type IUndoHistoryEvent = IEditorHistoryEvent; export declare type IRedoHistoryEvent = IEditorHistoryEvent; export declare function isUpdateHistoryEvent(base: IEditorHistoryEvent): base is IUpdateHistoryEvent; export declare function isUndoHistoryEvent(base: IEditorHistoryEvent): base is IUndoHistoryEvent; export declare function isRedoHistoryEvent(base: IEditorHistoryEvent): base is IRedoHistoryEvent; export declare function updateHistory(value: IPersistedHistoryEvent[]): IUpdateHistoryEvent; export declare function undoHistory(): IUndoHistoryEvent; export declare function redoHistory(): IRedoHistoryEvent;