import { i as formatErrorMessage } from "./errors-MtvAMHJ_.js";
import { i as resolveSessionStoreTargets } from "./targets-BL-G9D6g.js";
import "./sessions-ZJdbZJIU.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 };
