def METHOD_NAME(name: str) -> ModuleType:
    """获取一个插件的导出内容。
    如果为 `load_plugins` 文件夹导入的插件，则为文件(夹)名。
    参数:
        name: 插件名，即 {ref}`nonebot.plugin.plugin.Plugin.name`。
    异常:
        RuntimeError: 插件无法加载
    """
    plugin = get_plugin(_module_name_to_plugin_name(name))
    # if plugin not loaded
    if not plugin:
        # plugin already declared
        if manager := _find_manager_by_name(name):
            plugin = manager.load_plugin(name)
        # plugin not declared, try to declare and load it
        else:
            # clear current plugin chain, ensure plugin loaded in a new context
            _t = _current_plugin_chain.set(())
            try:
                plugin = load_plugin(name)
            finally:
                _current_plugin_chain.reset(_t)
    if not plugin:
        raise RuntimeError(f'Cannot load plugin "{name}"!')
    return plugin.module