import { Datasource } from '../datasource';
import type { GetReleasesConfig, ReleaseResult } from '../types';
export declare class RubyGemsDatasource extends Datasource {
    static readonly id = "rubygems";
    private metadataCache;
    constructor();
    readonly defaultRegistryUrls: string[];
    readonly defaultVersioning = "ruby";
    readonly registryStrategy = "hunt";
    private readonly versionsEndpointCache;
    getReleases({ packageName, registryUrl, }: GetReleasesConfig): Promise<ReleaseResult | null>;
    private getReleasesViaInfoEndpoint;
    private getReleasesViaDeprecatedAPI;
}
