import type { InlineNode, RichText } from "./nodes.js"; /** * Turn a run of faceted rich text into an {@link InlineNode} tree: split the * plaintext by byte-indexed facets, then compose marks, links, mentions and * footnote references over each segment. Works across every format's facet * dialect (the `#feature` suffix is what's matched, not the full `$type`). * * `footnoteNumbers` maps a footnote id to its 1-based display number; pass the * map from {@link DocumentTree} so inline references are numbered. */ export declare function segmentInline(text: RichText, footnoteNumbers?: ReadonlyMap): Array; /** True when a rich-text run carries any renderable text. */ export declare function richTextIsEmpty(text: RichText): boolean; //# sourceMappingURL=inline.d.ts.map