import { IComputedEditorOptions } from '@opensumi/monaco-editor-core/esm/vs/editor/common/config/editorOptions'; import { LineTokens } from '@opensumi/monaco-editor-core/esm/vs/editor/common/tokens/lineTokens'; import { LineDecoration } from '@opensumi/monaco-editor-core/esm/vs/editor/common/viewLayout/lineDecorations'; export interface LineData { content: string; decorations: LineDecoration[]; lineTokens: LineTokens; } /** * 这里复用 monaco 的 ghostTextWidget 逻辑,需要对其做部分逻辑修改 * 目的是为了能让 zone widget 里渲染的代码块能使用 tokenization 以达到高亮效果 */ export declare const renderLines: (domNode: HTMLElement, tabSize: number, lines: LineData[], opts: IComputedEditorOptions) => void; export declare const ttPolicy: Pick, "name" | "createHTML"> | undefined; //# sourceMappingURL=index.d.ts.map