import type { SourceRegistry } from "../../types.js"; /** * Loads source registry from project state. */ export declare function loadSourceRegistry(projectRoot: string): Promise; /** * Docs-kind sources are provenance/context references, not asset-producing * distribution surfaces. Keep them in the registry for documentation and * verification, but disable them before enabled-source counts, health, * harvesting, and selection are computed. */ declare function applyMetadataOnlySourcePolicy(registry: SourceRegistry): SourceRegistry; declare function assertRequiredEnumArray(value: unknown, allowedValues: readonly T[], context: string): void; /** Exposes source-registry internals for focused unit testing. */ export declare const sourceRegistryInternals: { readonly assertRequiredEnumArray: typeof assertRequiredEnumArray; readonly applyMetadataOnlySourcePolicy: typeof applyMetadataOnlySourcePolicy; }; export {};