/** * JSONL Writer * * Exports training pairs in JSONL (JSON Lines) format, * compatible with standard fine-tuning pipelines. */ import type { TrainingPair } from './types'; /** * Convert training pairs to JSONL format (one JSON object per line). * * Each line contains: * - id: unique pair identifier * - prompt: the natural language input * - completion: the LSE bracket syntax output * - metadata: domain, action, language, source, quality */ export declare function toJSONL(pairs: readonly TrainingPair[]): string; /** * Convert a single training pair to a JSONL row. */ export declare function toJSONLRow(pair: TrainingPair): JSONLRow; /** * Parse JSONL back into rows (for validation/roundtrip testing). */ export declare function parseJSONL(text: string): JSONLRow[]; /** * A single row in JSONL format. */ export interface JSONLRow { readonly id: string; readonly prompt: string; readonly completion: string; readonly metadata: { readonly domain: string; readonly action: string; readonly language: string; readonly source: string; readonly quality: number; readonly confidence?: number; }; } //# sourceMappingURL=jsonl-writer.d.ts.map