/** * Split the `data.txt` block into chunks. The single source of truth, shared by the CLI and * typebulb.com. * * Rules: * - A valid structural format (JSON/XML/YAML) → a single chunk (preserves internal blank lines). * - Otherwise → split on 2+ blank lines. */ /** Separator for rejoining chunks (2 blank lines = 3 newlines). */ export declare const CHUNK_SEPARATOR = "\n\n\n"; export type ChunkWithBoundaries = { text: string; startLine: number; endLine: number; }; /** Split raw data into chunks with their 1-based line boundaries. */ export declare function splitIntoChunksWithBoundaries(raw: string): ChunkWithBoundaries[]; /** Convenience: just the chunk texts. */ export declare function splitIntoChunks(raw: string): string[]; //# sourceMappingURL=chunks.d.ts.map