import "./types.secrets-Ck44SCc-.js";
import "./resolve-BYXNOH_l.js";
import "./runtime-shared-CP_3UL1o.js";
import { u as resolveSecretPlanTargetByPath$1 } from "./target-registry-query-L7EXPnPx.js";
//#region src/plugin-sdk/secret-ref-runtime.ts
function resolveSecretPlanTargetByPath(params) {
	const resolved = resolveSecretPlanTargetByPath$1(params);
	if (!resolved) return null;
	return {
		targetType: resolved.entry.targetType,
		...resolved.providerId ? { providerId: resolved.providerId } : {},
		...resolved.accountId ? { accountId: resolved.accountId } : {}
	};
}
//#endregion
export { resolveSecretPlanTargetByPath as t };
