/** Past this length the regex scan and one Range per token cost more than the colors are worth. */ export declare const MAX_HIGHLIGHT_LENGTH = 20000; declare function scheduleHighlight(): void; /** * `highlightAll()` clears every range the previous run registered and keeps its highlight sets in * module state, so one run per instance would wipe every other block. All blocks share one batched, * serialized run over `document`. */ export declare function useCodeHighlight(): { scheduleHighlight: typeof scheduleHighlight; }; export {};