Only scripts that are in Editor folders use "using UnityEditor". These scripts are not included in builds. Instead, they provide the code for the Dialogue System's custom editors that run in the Unity editor.
Are you having difficulty building? If so, what are the errors?