import { createModuleEvents } from "@open-mercato/shared/modules/events";
const events = [
  {
    id: "ai.action.confirmed",
    label: "AI Pending Action Confirmed",
    entity: "ai_pending_action",
    category: "system"
  },
  {
    id: "ai.action.cancelled",
    label: "AI Pending Action Cancelled",
    entity: "ai_pending_action",
    category: "system"
  },
  {
    id: "ai.action.expired",
    label: "AI Pending Action Expired",
    entity: "ai_pending_action",
    category: "system"
  },
  {
    id: "ai.token_usage.recorded",
    label: "AI Token Usage Recorded",
    entity: "token_usage",
    category: "system",
    clientBroadcast: false,
    portalBroadcast: false
  },
  {
    id: "ai_assistant.conversation.shared",
    label: "AI Conversation Shared",
    entity: "ai_chat_conversation",
    category: "lifecycle",
    clientBroadcast: true
  },
  {
    id: "ai_assistant.conversation.unshared",
    label: "AI Conversation Unshared",
    entity: "ai_chat_conversation",
    category: "lifecycle",
    clientBroadcast: true
  }
];
const eventsConfig = createModuleEvents({
  moduleId: "ai_assistant",
  events
});
const emitAiAssistantEvent = eventsConfig.emit;
var events_default = eventsConfig;
export {
  events_default as default,
  emitAiAssistantEvent,
  eventsConfig
};
//# sourceMappingURL=events.js.map
