import type { CachedParagraph } from './types.js'; type HeadingSource = 'word_style' | 'run_in_header' | 'title_with_period' | 'title_with_colon' | 'title_caps_centered' | 'title_bare'; type HeadingValue = { text: string; source: HeadingSource; level: number | null; }; /** * DocumentViewNode for Google Docs output. * Same shape as the DOCX DocumentViewNode to ensure schema compatibility. */ export type DocumentViewNodeGdocs = { id: string; list_label: string; header: string; style: string; text: string; clean_text: string; tagged_text: string; list_metadata: { list_level: number; label_type: string | null; label_string: string; header_text: string | null; header_style: string | null; header_formatting: { bold: boolean; italic: boolean; underline: boolean; } | null; is_auto_numbered: boolean; }; style_fingerprint: { list_level: number; left_indent_pt: number; first_line_indent_pt: number; style_name: string; alignment: string; }; paragraph_style_id: string | null; paragraph_style_name: string; paragraph_alignment: string; paragraph_indents_pt: { left: number; first_line: number; }; numbering: { num_id: string | null; ilvl: number | null; is_auto_numbered: boolean; }; heading?: HeadingValue; header_formatting: { bold: boolean; italic: boolean; underline: boolean; } | null; body_run_formatting: Record | null; table_context?: { table_id: string; table_index: number; row_index: number; col_index: number; col_header: string; total_rows: number; total_cols: number; is_header_row: boolean; para_in_cell: number; cell_para_count: number; }; }; /** Build DocumentViewNode array from cached paragraphs */ export declare function buildDocumentViewNodes(paragraphs: CachedParagraph[]): DocumentViewNodeGdocs[]; export {}; //# sourceMappingURL=document-view.d.ts.map