import type { HighlighterCore } from 'shiki/core'; import type { HastElement } from '@conciv/solid-streamdown'; export declare const WARMUP_SNIPPETS: Record; export declare function scheduleIdle(callback: () => void): void; export declare function warmupLanguages(highlighter: HighlighterCore): void; export type HighlightCore = 'precompiled' | 'regex'; export type HighlightRequestMessage = { type: 'highlight'; id: string; code: string; lang: string; }; export type HighlightReadyMessage = { type: 'ready'; core: HighlightCore; languages: string[]; }; export type HighlightResultMessage = { type: 'result'; id: string; pre: HastElement | null; }; export type WorkerToMainMessage = HighlightReadyMessage | HighlightResultMessage; export type MainToWorkerMessage = HighlightRequestMessage; //# sourceMappingURL=highlight-shared.d.ts.map