/*! © 2026 Yahoo, Inc. UDS v0.0.0-development */
const require_runtime = require('../../../_virtual/_rolldown/runtime.cjs');
let node_fs = require("node:fs");
node_fs = require_runtime.__toESM(node_fs);

//#region ../cli/dist/utils/getDirChoices.mjs
/*! © 2026 Yahoo, Inc. UDS CLI v0.0.0-development */
const lessCommonDirs = [
	"node_modules",
	".git",
	".github",
	".husky",
	".vscode",
	"dist",
	"build",
	"public"
];
const getDirChoices = (rootDir = ".") => {
	return node_fs.default.readdirSync(rootDir).filter((dir) => node_fs.default.statSync(dir).isDirectory() && dir !== "node_modules" && !dir.startsWith(".")).map((dir) => ({
		title: dir,
		value: dir,
		selected: !lessCommonDirs.includes(dir)
	}));
};

//#endregion
exports.getDirChoices = getDirChoices;