import { findZoneForHostname } from "./zone.js";
export async function resolveEmailZoneId(api, zone) {
    return typeof zone === "string"
        ? (await findZoneForHostname(api, zone)).zoneId
        : zone.id;
}
//# sourceMappingURL=email-common.js.map