/** * A chunk of text extracted from a field value. */ export type TextChunk = { text: string; html?: string; }; /** * Split a field value into text chunks for readability analysis. * * - Plain fields produce a single chunk (the raw text). * - Markup fields are parsed as HTML; each leaf block-level element becomes * a separate chunk with both plain text and the inner HTML preserved. */ export declare function chunkHtml(value: string, fieldType: 'plain' | 'markup'): TextChunk[];