UndoState: {
    canRedo: boolean;
    canUndo: boolean;
    redoItemName: OperationName;
    undoItemName: OperationName;
}

Type declaration