/** * One registry for the whole editor. Registering the common grammars is not * free, and both the code block and the frontmatter block highlight against it. */ export declare const lowlight: { highlight: (language: string, value: string, options?: Readonly | null | undefined) => import("hast").Root; highlightAuto: (value: string, options?: Readonly | null | undefined) => import("hast").Root; listLanguages: () => Array; register: { (grammars: Readonly>): undefined; (name: string, grammar: import("highlight.js").LanguageFn): undefined; }; registerAlias: { (aliases: Readonly | string>>): undefined; (language: string, alias: ReadonlyArray | string): undefined; }; registered: (aliasOrName: string) => boolean; };