/** * RFC 4180 CSV parser - no external dependencies * Handles quoted fields, escaped quotes, and multi-line values. */ import { formatCsvValue } from './csv-utils.js'; export { formatCsvValue }; export interface CsvRow { id: string; aspect: string; value: string; } export interface ParseResult { rows: CsvRow[]; errors: string[]; } /** * Combined CSV row for symbol or relationship annotations. */ export interface SymbolAnnotationRow { symbolId: number; aspect: string; value: string; } export interface RelationshipAnnotationRow { fromId: number; toId: number; value: string; } export interface CombinedParseResult { symbols: SymbolAnnotationRow[]; relationships: RelationshipAnnotationRow[]; errors: string[]; } /** * Parse CSV content from LLM response. * Expects header row: id,aspect,value */ export declare function parseCsv(content: string): ParseResult; /** * Parse combined CSV content for symbol and relationship annotations. * Expects header row: type,id,field,value */ export declare function parseCombinedCsv(content: string): CombinedParseResult; //# sourceMappingURL=csv.d.ts.map