import { ElementCreator } from 'tosijs'; interface HighlightParts { pre: HTMLPreElement; code: HTMLElement; } declare const HighlightBlock_base: import("tosijs").WithAttributes<{ /** Fence-style language name — `js`, `ts`, `rust`, `bash`, … */ language: string; }>; export declare class HighlightBlock extends HighlightBlock_base { static preferredTagName: string; private _value; /** `lang\0source` of the last DOM write — see the idempotence note in `render`. */ private _rendered; get value(): string; set value(text: string); static lightStyleSpec: { 'tosi-highlight': { display: string; }; }; content: () => HTMLPreElement[]; render(): void; } export declare const tosiHighlight: ElementCreator; export {};