import { _ as resolveOAuthDir, s as resolveConfigPath, y as resolveStateDir } from "./paths-CQLGtQnw.js";
import { i as getRuntimeConfig } from "./io-B7Ite5h_.js";
import "./config-iVA69gYr.js";
import { t as buildCleanupPlan } from "./cleanup-utils-voELmk8i.js";
//#region src/commands/cleanup-plan.ts
function resolveCleanupPlanFromDisk() {
	const cfg = getRuntimeConfig();
	const stateDir = resolveStateDir();
	const configPath = resolveConfigPath();
	const oauthDir = resolveOAuthDir();
	return {
		cfg,
		stateDir,
		configPath,
		oauthDir,
		...buildCleanupPlan({
			cfg,
			stateDir,
			configPath,
			oauthDir
		})
	};
}
//#endregion
export { resolveCleanupPlanFromDisk as t };
