import { t as resolveGatewayProbeTarget } from "./probe-target-s5Xg6Jvy.js";
import { r as resolveGatewayProbeAuthSafeWithSecretInputs } from "./probe-auth-D6hWnP4g.js";
import { t as pickGatewaySelfPresence } from "./gateway-presence-C0ICKhZT.js";
//#region src/commands/status.gateway-probe.ts
async function resolveGatewayProbeAuthResolution(cfg) {
	return resolveGatewayProbeAuthSafeWithSecretInputs({
		cfg,
		mode: resolveGatewayProbeTarget(cfg).mode,
		env: process.env
	});
}
async function resolveGatewayProbeAuth(cfg) {
	return (await resolveGatewayProbeAuthResolution(cfg)).auth;
}
//#endregion
export { pickGatewaySelfPresence, resolveGatewayProbeAuth, resolveGatewayProbeAuthResolution };
