import { ParagraphBlock } from './index.js'; export declare const INLINE_OBJECT_REPLACEMENT_CHARACTER = "\uFFFC"; export type ParagraphVisibleRunSlice = { runIndex: number; fromChar: number; toChar: number; }; /** * Flattens a paragraph into Document API visible-text coordinates. * * Text is preserved verbatim in UTF-16. Every non-text run contributes one * U+FFFC object-replacement character, regardless of its rendered label. */ export declare const flattenParagraphVisibleText: (block: ParagraphBlock) => string; /** * Maps a validated visible-text range to slices in the paragraph's run space. * Returns null for non-integer, reversed, negative, or out-of-bounds ranges. */ export declare const mapVisibleRangeToRunSlices: (block: ParagraphBlock, from: number, to: number) => ParagraphVisibleRunSlice[] | null;