import type { KnowledgeDoc } from "@vendoai/core"; import type { KnowledgeSourceConfig } from "./config.js"; /** Deterministic id fragment for a glossary/api term. */ export declare const termSlug: (term: string) => string; /** Deterministic doc id: `#` (terms append `#`). Stable across runs by construction — no timestamps, no randomness — so the hash manifest can diff runs. */ export declare const docId: (sourceName: string, path: string) => string; /** Parses one source file into normalized docs. Prose (`docs`) files become one doc titled by their first heading; glossary/api files become one doc PER TERM (id `##`) so schema-intent lookup and per-entry chunking get exact units to work with. */ export declare function parseSourceFile(input: { source: KnowledgeSourceConfig; /** Root-relative, forward-slash path. */ path: string; raw: string; }): KnowledgeDoc[]; //# sourceMappingURL=parse.d.ts.map