import type { TextChunk } from "../text-buffer";
import { StyledText } from "./styled-text";
import { SyntaxStyle } from "../syntax-style";
import { TreeSitterClient } from "./tree-sitter/client";
import type { SimpleHighlight } from "./tree-sitter/types";
export declare function treeSitterToTextChunks(content: string, highlights: SimpleHighlight[], syntaxStyle: SyntaxStyle): TextChunk[];
export declare function treeSitterToStyledText(content: string, filetype: string, syntaxStyle: SyntaxStyle, client: TreeSitterClient): Promise<StyledText>;
