import type { OntologyConfig } from "../config/types.js"; import type { OntologySnapshot } from "./types.js"; /** * Extract the ontology snapshot from an OntologyConfig. * This extracts ONLY the security-relevant parts: * - Function names * - Access lists * - Input schemas * - Output schemas * - Descriptions * - Entities * - Field references (fieldFrom) * * It DOES NOT include: * - Resolver paths (so resolver code can change freely) * - Environment configs * - Auth function */ export declare function extractOntology(config: OntologyConfig): OntologySnapshot; /** * Create a deterministic hash of an ontology snapshot. * Uses SHA256 and returns a 16-character hex string. */ export declare function hashOntology(ontology: OntologySnapshot): string; /** * Extract ontology snapshot and compute hash in one step */ export declare function computeOntologyHash(config: OntologyConfig): { ontology: OntologySnapshot; hash: string; };