//#region src/internal/tool-helpers/validate-region-url.d.ts
/**
 * Validates that a regionUrl is valid.
 * Prevents SSRF attacks by only allowing the base host itself or domains from an allowlist.
 *
 * Rules:
 * 1. By default, only the base host itself is allowed as regionUrl
 * 2. For other domains, they must be in SENTRY_ALLOWED_REGION_DOMAINS
 * 3. Protocol MUST be HTTPS for security
 *
 * @param regionUrl - The region URL to validate
 * @param baseHost - The base host to validate against
 * @returns The validated host if valid
 * @throws {UserInputError} If the regionUrl is invalid or not allowed
 */
declare function validateRegionUrl(regionUrl: string, baseHost: string): string;
//# sourceMappingURL=validate-region-url.d.ts.map
//#endregion
export { validateRegionUrl };
//# sourceMappingURL=validate-region-url.d.ts.map