type Platform = {
    os: string;
    architecture: string;
    variant?: string;
};
interface RegistryDigestRef {
    registryBase: string;
    repo: string;
    imageReference: string;
    username?: string;
    password?: string;
    platform?: Platform;
    expectedConfigDigest: string;
}
export interface DistributionDigests {
    manifest: string;
    index?: string;
}
/**
 * Looks up the manifest and index digests for the scanned image in its registry.
 * Digests are returned only when the registry's manifest for the platform points
 * at the same config digest that was scanned; otherwise (local-only or stale
 * image, other platform, auth/network failure) nothing is returned.
 */
export declare function fetchDistributionDigestsFromRegistry(ref: RegistryDigestRef): Promise<DistributionDigests | undefined>;
export {};
