resolveLabelStudio = () => {
  if (LabelStudioDM) {
    return LabelStudioDM;
  }
  if (window.LabelStudio) {
    return (LabelStudioDM = window.LabelStudio);
  }
}
@typedef {{
user: Dict
config: string,
interfaces: string[],
task: Task
labelStream: boolean,
interfacesModifier: function,
messages: Dict<string|Function>
}} LSFOptions