import type { LanguageFn } from "highlight.js";
export declare const lowlight: {
    highlight: (language: string, value: string, options?: Readonly<import("lowlight").Options> | null | undefined) => import("hast").Root;
    highlightAuto: (value: string, options?: Readonly<import("lowlight").AutoOptions> | null | undefined) => import("hast").Root;
    listLanguages: () => Array<string>;
    register: {
        (grammars: Readonly<Record<string, LanguageFn>>): undefined;
        (name: string, grammar: LanguageFn): undefined;
    };
    registerAlias: {
        (aliases: Readonly<Record<string, ReadonlyArray<string> | string>>): undefined;
        (language: string, alias: ReadonlyArray<string> | string): undefined;
    };
    registered: (aliasOrName: string) => boolean;
};
export declare function isRegisteredCodeBlockLanguage(value: string): boolean;
export declare function resolveCodeBlockLanguage(language: string | undefined, fallback?: string): string;
export declare function createCodeBlockLowlightExtension(defaultLanguage?: string): import("@tiptap/core").Node<import("@tiptap/extension-code-block-lowlight").CodeBlockLowlightOptions, any>;
