How to call the interface of the export function in nodered

A Function node cannot call this function.

The Function node runs in the runtime part of node-red. The export dialog is in the editor.

Can you describe in more detail what you are trying to do and where you want the code to run?