/**
 * Notifications module setup — no special config required.
 * Confirms installation with the user and returns empty config.
 */
export async function setup(_systemConfig, readline) {
  const question = (prompt) =>
    new Promise((resolve) => readline.question(prompt, resolve));

  console.log("\nNotifications Module Setup");
  console.log("─────────────────────────────────────────────");
  console.log("The notifications service stores in-app notifications from all");
  console.log("other services. No additional configuration is required.\n");

  const answer = await question("Install notifications module? [Y/n]: ");
  if (answer.trim().toLowerCase() === "n") {
    throw new Error("Installation cancelled by user");
  }

  console.log("\nNotifications module configured.");
  return {};
}
