import { httpClient as e } from "../data-structures/http/HttpClient.mjs";
//#region libs/shared/common/src/API/resolve-sns.ts
var t = "https://sns-sdk-proxy.bonfida.workers.dev/resolve", n = async (n) => {
	try {
		let { result: r } = await e.get(`${t}/${n}`);
		return !r || r === "error" || r === "Domain not found" ? null : typeof r == "string" ? r.trim() : null;
	} catch {
		return null;
	}
};
//#endregion
export { n as resolveSns };
