Replacement for AJS.Editor

Following the removal of Editor JS globals (AJS.Editor, Confluence.Editor) from Confluence 8, what are the suggested replacements?

Is it required that we migrate from using the JS globals to AMD modules to continue utilising the same functionality that was provided by those Editor globals? I cannot find any concrete documentation that suggests AMD modules which fully replace what the removed globals provided, eg AJS.Editor.overrideBeforeSave.

Finally, it seems that the Editor globals have only been removed from confluence.web.resources:ajs, whereas they still remain in AUI under com.atlassian.auiplugin:ajs. Is there a timeline on when these might be removed from the AUI plugin as well?

Many thanks,