General question about If WITH_EDITOR

When I run my project locally in the editor, everything compiles & runs as intended. But one library in particular (ALandscape) has functions like Import / PostEditChange that are not accessible when I package for Windows. Doing a little bit of research, I’ve read that it’s due to members of certain UE5 classes being closed within If WITH_EDITOR, as seen here in ALandscape:

There’s no reference to these features being restricted to editor-only in the API docs (ALandscape | Unreal Engine Documentation), nor did I find anything to point out that these were not intended to be used ingame. This blocks further development of my project, and I would like to know if there’s any workaround that isn’t modifying the engine itself. Is this really the intended functionality of these libraries? If so why isn’t this clearly stated in the API docs?