import type { StructuredText } from "./types.js"; /** * Build a facet from a styled inline run (ProseMirror marks, BlockNote styles) * in the leaflet/AT Proto facet shape the shared faceted-text renderer * understands. `kinds` are suffix names (`bold`, `italic`, `code`, …); * `linkUri` adds a `#link` feature. */ export declare function syntheticFacet(byteStart: number, byteEnd: number, kinds: Array, linkUri?: string): Record | null; /** * Concatenate rich-text runs into a single `StructuredText`, shifting each * run's facet byte ranges to its position in the merged plaintext. Used by * formats that split one paragraph into multiple styled runs (logue list * items, ProseMirror/BlockNote inline content). */ export declare function mergeTextRuns(runs: Array): StructuredText; //# sourceMappingURL=text-runs.d.ts.map