import { createRequire } from 'node:module';const require = createRequire(import.meta.url);
import {
  SETTINGS_ID,
  SETTINGS_KEY,
  SettingsAction,
  meta
} from "./chunk-ZX63QUGE.mjs";
import {
  BaseError,
  Capabilities,
  CollaborationActions,
  CycleDetectedError,
  Events,
  FileInfoSchema,
  IntentAction,
  IntentPlugin,
  Label,
  LayoutAction,
  NoResolversError,
  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-XJZGUJ3H.mjs";

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

// src/plugin-settings/SettingsPlugin.ts
var SettingsPlugin = definePlugin(meta, () => [
  defineModule({
    id: `${meta.id}/module/store`,
    activatesOn: Events.Startup,
    activatesBefore: [
      Events.SetupSettings
    ],
    activatesAfter: [
      Events.SettingsReady
    ],
    activate: lazy(() => import("./store-RK5B4XEL.mjs"))
  }),
  defineModule({
    id: `${meta.id}/module/translations`,
    activatesOn: Events.SetupTranslations,
    activate: () => contributes(Capabilities.Translations, translations)
  }),
  defineModule({
    id: `${meta.id}/module/intent-resolver`,
    activatesOn: Events.SetupIntentResolver,
    activate: lazy(() => import("./intent-resolver-URF3HN3G.mjs"))
  }),
  defineModule({
    id: `${meta.id}/module/app-graph-builder`,
    activatesOn: Events.SetupAppGraph,
    activate: lazy(() => import("./app-graph-builder-EBU4NVWD.mjs"))
  })
]);
export {
  BaseError,
  Capabilities,
  CollaborationActions,
  CycleDetectedError,
  Events,
  FileInfoSchema,
  IntentAction,
  IntentPlugin,
  Label,
  LayoutAction,
  NoResolversError,
  Plugin,
  PluginContext,
  PluginManager,
  PluginModule,
  Resource,
  ResourceKey,
  ResourceLanguage,
  SETTINGS_ID,
  SETTINGS_KEY,
  SettingsAction,
  SettingsPlugin,
  allOf,
  chain,
  contributes,
  createDispatcher,
  createIntent,
  createResolver,
  createSurface,
  defaultFileTypes,
  defineCapability,
  defineEvent,
  defineModule,
  definePlugin,
  eventKey,
  getEvents,
  isAllOf,
  isOneOf,
  lazy,
  oneOf
};
//# sourceMappingURL=index.mjs.map
