interface QuarantineEntry { path: string; at: string; errors: string[]; } /** * Produce actionable frontmatter diagnostics directly from file content. * * This duplicates the YAML parse that `parseFrontmatterOnly` already does, * but it runs only on the rare failure path (solution dropped from index), * so the overhead is acceptable in exchange for a human-readable error list. */ export declare function diagnoseFromRawContent(content: string): string[]; /** * Append one quarantine entry for `filePath`. Deduped by path within the * current file: if the latest entry for this path already matches the * current errors, skip the append. * * Storage: one JSONL line per quarantine event. Readers use only the * latest line per path. */ export declare function recordQuarantine(filePath: string, errors: string[]): void; /** * Read the latest quarantine state: one entry per path, keyed to the most * recent append. Entries whose file no longer exists are dropped. */ export declare function listQuarantined(): QuarantineEntry[]; /** * Clear quarantine entries for files that now parse correctly or no longer * exist. Intended to be called after `forgen learn fix-up` or a manual edit. */ export declare function pruneQuarantine(): { removed: number; kept: number; }; export {};