import type { SyntaxSpan } from '../internal/highlight/syntax.js'; export declare function registerHighlights(code: HTMLElement, spans: SyntaxSpan[]): () => void;