import { type Graph, type GraphResult, type Manifest } from '../graph.js'; import { type FileSource, type OperationSources, type ProjectionOptions } from '../api/operation.js'; import type { ConversionContract, PmConfigEvidence } from '../completeness/types.js'; import type { RegistryAdapter } from '../registry/types.js'; import type { ArtifactResourcePolicy } from '../recipe/artifact-envelope.js'; import { type ArtifactSourcesInput } from './artifact-sources.js'; export interface EnrichSources extends Omit { readonly manifests?: FileSource | Readonly>; readonly registry?: RegistryAdapter; readonly artifacts?: ArtifactSourcesInput; readonly config?: PmConfigEvidence; } export type EnrichOptions = Omit & Readonly<{ readonly sources?: EnrichSources; readonly contract?: ConversionContract; readonly cacheKey?: string; readonly workspaceRoot?: string; readonly artifactResources?: ArtifactResourcePolicy; }>; export interface EnrichResult extends GraphResult { } export declare function enrich(graph: Graph, options: EnrichOptions): Promise; /** @deprecated Move sources into options.sources. */ export declare function enrich(graph: Graph, sources: EnrichSources, options: Omit): Promise;