import { createRequire } from 'node:module';const require = createRequire(import.meta.url);
import {
  ErrorBoundary,
  PluginManagerProvider,
  Surface,
  isSurfaceAvailable,
  useApp,
  useAppGraph,
  useCapabilities,
  useCapability,
  useIntentDispatcher,
  useIntentResolver,
  useLayout,
  usePluginManager,
  useSurfaces
} from "./chunk-73HGSHKE.mjs";
import {
  SETTINGS_ACTION,
  SETTINGS_ID,
  SETTINGS_KEY,
  SETTINGS_PLUGIN,
  SettingsAction
} from "./chunk-UMZQERLE.mjs";
import {
  Capabilities,
  CollaborationActions,
  Events,
  FileInfoSchema,
  INTENT_ACTION,
  INTENT_PLUGIN,
  IntentAction,
  IntentPlugin,
  LAYOUT_ACTION,
  LAYOUT_PLUGIN,
  Label,
  LayoutAction,
  Plugin,
  PluginContext,
  PluginManager,
  PluginModule,
  Resource,
  ResourceKey,
  ResourceLanguage,
  allOf,
  chain,
  contributes,
  createDispatcher,
  createIntent,
  createResolver,
  createSurface,
  defaultFileTypes,
  defineCapability,
  defineEvent,
  defineModule,
  definePlugin,
  eventKey,
  getEvents,
  isAllOf,
  isOneOf,
  lazy,
  oneOf
} from "./chunk-ZEZ4FVEU.mjs";

// src/plugin-settings/translations.ts
var translations = [
  {
    "en-US": {
      [SETTINGS_PLUGIN]: {
        "open settings label": "Open settings",
        "app settings label": "Settings",
        "custom plugins label": "Plugins"
      }
    }
  }
];

// src/plugin-settings/SettingsPlugin.ts
var SettingsPlugin = () => definePlugin({
  id: SETTINGS_PLUGIN,
  name: "Settings"
}, [
  defineModule({
    id: `${SETTINGS_PLUGIN}/module/store`,
    activatesOn: Events.Startup,
    activatesBefore: [
      Events.SetupSettings
    ],
    activatesAfter: [
      Events.SettingsReady
    ],
    activate: lazy(() => import("./store-QEXGXLWZ.mjs"))
  }),
  defineModule({
    id: `${SETTINGS_PLUGIN}/module/translations`,
    activatesOn: Events.SetupTranslations,
    activate: () => contributes(Capabilities.Translations, translations)
  }),
  defineModule({
    id: `${SETTINGS_PLUGIN}/module/intent-resolver`,
    activatesOn: Events.SetupIntentResolver,
    activate: lazy(() => import("./intent-resolver-W7Z7WFFM.mjs"))
  }),
  defineModule({
    id: `${SETTINGS_PLUGIN}/module/app-graph-builder`,
    activatesOn: Events.SetupAppGraph,
    activate: lazy(() => import("./app-graph-builder-SAOWGJDK.mjs"))
  })
]);
export {
  Capabilities,
  CollaborationActions,
  ErrorBoundary,
  Events,
  FileInfoSchema,
  INTENT_ACTION,
  INTENT_PLUGIN,
  IntentAction,
  IntentPlugin,
  LAYOUT_ACTION,
  LAYOUT_PLUGIN,
  Label,
  LayoutAction,
  Plugin,
  PluginContext,
  PluginManager,
  PluginManagerProvider,
  PluginModule,
  Resource,
  ResourceKey,
  ResourceLanguage,
  SETTINGS_ACTION,
  SETTINGS_ID,
  SETTINGS_KEY,
  SETTINGS_PLUGIN,
  SettingsAction,
  SettingsPlugin,
  Surface,
  allOf,
  chain,
  contributes,
  createDispatcher,
  createIntent,
  createResolver,
  createSurface,
  defaultFileTypes,
  defineCapability,
  defineEvent,
  defineModule,
  definePlugin,
  eventKey,
  getEvents,
  isAllOf,
  isOneOf,
  isSurfaceAvailable,
  lazy,
  oneOf,
  useApp,
  useAppGraph,
  useCapabilities,
  useCapability,
  useIntentDispatcher,
  useIntentResolver,
  useLayout,
  usePluginManager,
  useSurfaces
};
//# sourceMappingURL=index.mjs.map
