import { type ReactNode } from 'react'; export declare function 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; }; /** The code, its words wrapped in highlight.js's classes; the text as it is when the language is unknown. */ export declare function codeColours(text: string, language?: string): ReactNode; //# sourceMappingURL=codeColours.d.ts.map