package com.aiteacher.document; import java.util.List; import java.util.Map; /** * Result of a full Marker parse: structured page data (from JSON) plus * native per-page markdown (from the separate Markdown API call). * * @param pages one entry per non-empty page, derived from the chunks response * @param htmlByPage concatenated block HTML keyed by 1-based page number */ public record ParsedBook( List pages, Map htmlByPage ) {}