import { AnalyzedPackageWithVersion, ImagePackagesAnalysis, OSRelease, StaticPackagesAnalysis } from "../analyzer/types";
export interface AnalysisInfo {
    imageId: string;
    platform: string | undefined;
    targetOS: OSRelease;
    packageFormat: string;
    depInfosList: AnalyzedPackageWithVersion[];
    imageLayers: string[];
}
/**
 * Selects the single OS-package analysis that represents the image, using
 * the "first non-empty result wins" rule. The OS dep graph is built from
 * exactly this one analysis (see `parseAnalysisResults`), so any other
 * producer that needs to agree with the dep graph on "which OS package
 * manager is this image?" — e.g. layer attribution — must select through
 * here rather than re-deriving its own answer, to avoid drift.
 *
 * Returns `undefined` for scratch / unknown-PM images (no non-empty result).
 */
export declare function selectPrimaryPackageAnalysis(results: ImagePackagesAnalysis[]): ImagePackagesAnalysis | undefined;
export declare function parseAnalysisResults(targetImage: string, analysis: StaticPackagesAnalysis): AnalysisInfo;
