// @bun
import {
  createRuntimePlugin,
  runtimeModuleIdForSpecifier
} from "./index-f7n39gpy.js";
import"./index-9vwc3fg6.js";
import"./index-dcj62y8t.js";

// src/runtime-plugin-support.ts
var {plugin: registerBunPlugin } = globalThis.Bun;
var runtimePluginSupportInstalledKey = "__opentuiCoreRuntimePluginSupportInstalled__";
function ensureRuntimePluginSupport(options = {}) {
  const state = globalThis;
  if (state[runtimePluginSupportInstalledKey]) {
    return false;
  }
  registerBunPlugin(createRuntimePlugin(options));
  state[runtimePluginSupportInstalledKey] = true;
  return true;
}
ensureRuntimePluginSupport();
export {
  runtimeModuleIdForSpecifier,
  ensureRuntimePluginSupport,
  createRuntimePlugin
};

//# debugId=7487C2BFD13C698664756E2164756E21
//# sourceMappingURL=runtime-plugin-support.js.map
