import { readTextFileOrNull } from "../../files.js"; import type { AssetCatalogEntry, AssetKind, CompatibilityMode, DemandProfile, HostTarget, SelectionRegistry, SourceDefinition } from "../../types.js"; import { type ClassificationConfidence } from "./classification-confidence.js"; interface ClassifiedLocalFile { assetKind: AssetKind; compatibilityMode: CompatibilityMode; hosts: HostTarget[]; classification: ClassificationConfidence; } type ReadLocalTextFile = typeof readTextFileOrNull; /** * Provides harvest local manifest source for the lifecycle pipeline. */ export declare function harvestLocalManifestSource(source: SourceDefinition, demandProfile: DemandProfile | null, selectionRegistry: SelectionRegistry, projectRoot: string): Promise; /** * Provides harvest local directory source for the lifecycle pipeline. */ export declare function harvestLocalDirectorySource(source: SourceDefinition, demandProfile: DemandProfile | null, selectionRegistry: SelectionRegistry, projectRoot: string, readLocalTextFile?: ReadLocalTextFile): Promise; declare function classifyLocalDirectoryFile(source: SourceDefinition, relativePath: string): ClassifiedLocalFile | null; declare function resolveEndpointPath(endpointValue: string | undefined, projectRoot: string): string; /** * Exposes focused local-harvester helpers for deterministic tests. */ export declare const localHarvesterInternals: { classifyLocalDirectoryFile: typeof classifyLocalDirectoryFile; resolveEndpointPath: typeof resolveEndpointPath; }; export {};