import type { HttpError } from '../../../util/http'; import { Datasource } from '../datasource'; import type { DigestConfig, GetReleasesConfig, ReleaseResult } from '../types'; export declare class CdnJsDatasource extends Datasource { static readonly id = "cdnjs"; constructor(); readonly customRegistrySupport = false; readonly defaultRegistryUrls: string[]; getReleases(config: GetReleasesConfig): Promise; getDigest(config: DigestConfig, newValue: string): Promise; handleHttpErrors(err: HttpError): void; }