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<ReleaseResult | null>;
    getDigest(config: DigestConfig, newValue: string): Promise<string | null>;
    handleHttpErrors(err: HttpError): void;
}
