import { i as formatErrorMessage } from "./errors-BsEHPnZe.js";
import { i as resolveSessionStoreTargets } from "./targets-CTY5kgut.js";
import "./sessions-BwRPbp1h.js";
//#region src/commands/session-store-targets.ts
function resolveSessionStoreTargetsOrExit(params) {
	try {
		return resolveSessionStoreTargets(params.cfg, params.opts);
	} catch (error) {
		params.runtime.error(formatErrorMessage(error));
		params.runtime.exit(1);
		return null;
	}
}
//#endregion
export { resolveSessionStoreTargetsOrExit as t };
