import { Hook } from '../types'; import { IEditorLanguageRegistry } from '@jupyterlab/codemirror'; export declare function codeMirrorPreloadHook(registry: IEditorLanguageRegistry): Hook; export declare const codeMirrorHighlighter: (languageRegistry: IEditorLanguageRegistry) => (str: string, lang: string, _attr: any) => string; export declare const codeMirrorHighlight: (str: string, lang: string, registry: IEditorLanguageRegistry) => string;