/** * Graph-owned complete catalog input verification. * * The verifier reruns only selection, discovery, and cache-input assembly. It * never parses, walks, evaluates rules, or writes persistence. */ import { type Result, type LanguageAdapter } from '@opensip-cli/core'; import type { FreshnessVerification } from './query-contracts.js'; import type { GraphAdapterRegistryReader, GraphReadError } from './types.js'; import type { GraphLanguageAdapter } from '../lang-adapter/types.js'; import type { Catalog, GraphConfig } from '../types.js'; /** Inputs used to verify that a persisted catalog still matches current graph inputs. */ export interface VerifyCatalogInputsInput { readonly projectRoot: string; readonly catalog: Catalog; readonly adapters: GraphAdapterRegistryReader; readonly languageAdapters: readonly LanguageAdapter[]; readonly graphConfig?: GraphConfig; } /** Validate a complete adapter descriptor before selection or discovery. */ export declare function isSafeAdapterDescriptor(adapter: GraphLanguageAdapter): boolean; /** * Verify that a served catalog still matches complete current discovery inputs. * Legacy metadata remains queryable but is never represented as verified fresh. */ export declare function verifyCatalogInputs(input: VerifyCatalogInputsInput): Promise>; export { type FreshnessVerification } from './query-contracts.js'; export { type CatalogEngineMode } from '../types.js'; //# sourceMappingURL=catalog-freshness.d.ts.map