import { type PersistGraphOptions } from "@0xsarwagya/ontoly-cache"; import { type SoftwareGraph } from "@0xsarwagya/ontoly-core"; import { type CompilerCacheView, type CompilerContext, type CompilerPipelineState, type SourceArtifact } from "../types"; export declare const COMPILER_CACHE_VERSION = "2.0.0"; export interface CompilerCacheManifest { readonly version: typeof COMPILER_CACHE_VERSION; readonly pipelineVersion: string; readonly graphHash: string; readonly sourceFingerprint: string; readonly configurationFingerprint: string; readonly passFingerprint: string; /** sha256 of products.json as written. */ readonly productsFingerprint: string; readonly sources: readonly SourceArtifact[]; } export interface LoadedCompilerCache { readonly view: CompilerCacheView; readonly graph?: SoftwareGraph | undefined; readonly products?: ReadonlyMap | undefined; } export declare function loadCompilerBuildCache(context: CompilerContext, state: CompilerPipelineState): Promise; export declare function createCompilerCacheManifest(context: CompilerContext, state: CompilerPipelineState, graph: SoftwareGraph, productsDigest: string): CompilerCacheManifest; export declare function compilerCacheOptions(context: CompilerContext): PersistGraphOptions; export declare function createSourceFingerprint(sources: readonly SourceArtifact[]): string; //# sourceMappingURL=index.d.ts.map