import { type Parser } from '@kerebron/tree-sitter'; import { Decorator } from './Decorator.js'; import { AssetLoad } from '@kerebron/editor'; export declare class TreeSitterHighlighter { parser: Parser | undefined; hightligtScm: string | undefined; assetLoad?: AssetLoad; lang?: string; init(lang: string): Promise; highlight(code: string, decorator: Decorator): string; } //# sourceMappingURL=TreeSitterHighlighter.d.ts.map