/** * Generates a URL like this from the provided package json: * `https://js.arcgis.com///` * * @example * `https://js.arcgis.com/map-components/4.30/` * * @remarks * If package version number includes "next", `jsdev.arcgis.com` CDN is used * instead of `js.arcgis.com`. */ export declare function inferCdnUrl(packageJson?: { name: string; version: string; }, preferNext?: boolean): string;