import type { InlineSpan } from './types.js'; /** * Walk an InlineSpan list and replace each occurrence of `placeholder` with a * dedicated span produced by `makeSpan` (carrying the ambient bold/italic), * consuming `items` in order. Plain-text spans are split around the * placeholder (the pieces keep their share of the span's links; the new * span takes none). Shared by ref and math injection. A small-caps span * keeps the flag on every piece, the placeholder's span included, and so * do the Chinese marks (see `annotationFields`); an orientation mark * (`:tcy`, `:upright`, `:sideways`) stays on the text pieces only. */ export declare function injectPlaceholderSpans(spans: InlineSpan[], items: T[], placeholder: string, makeSpan: (item: T, bold: boolean, italic: boolean) => InlineSpan): InlineSpan[]; //# sourceMappingURL=injectSpans.d.ts.map