/** * Writes generated project documentation to the filesystem under /ai-codeprism/. * * Files are written idempotently: if the content hash matches the existing * file, the write is skipped to avoid spurious git diffs. * * Layout: * /ai-codeprism/.md — per-repo docs * /ai-codeprism/CROSS_REPO.md — workspace-level cross-repo doc */ import type { DocType } from "./doc-prompts.js"; export interface DocToWrite { repoAbsPath: string; docType: DocType; content: string; } export interface WriteResult { written: number; skipped: number; errors: string[]; } /** * Writes a batch of generated docs to their /ai-codeprism/ filesystem locations. * Skips files where the content hash matches the existing file content. * * @param docs — list of docs to write * @param workspaceAbsPath — root of the workspace (for cross_repo doc) */ export declare function writeDocsToFilesystem(docs: DocToWrite[], workspaceAbsPath: string): Promise; //# sourceMappingURL=doc-writer.d.ts.map