import { ShikiTransformer } from '@shikijs/types';
import { CodeToHastOptions } from 'shiki/types';
import { CodeStyling } from './code-styling';
import { ShikiLanguage } from './constants';
declare const SHIKI_TRANSFORMERS: ShikiTransformer[];
declare const highlighterPromise: Promise<void>;
declare function getShikiLanguage(lang: string | undefined): ShikiLanguage;
declare function getLanguageFromClassName(className: string | undefined, fallback?: string): string;
declare function loadShikiThemes(codeblocks?: CodeStyling): Promise<void>;
type ShikiHighlightedHtmlArgs = {
    codeString: string;
    codeBlockTheme: CodeStyling;
    opts?: Partial<CodeToHastOptions> & {
        highlightedLines?: number[];
        focusedLines?: number[];
        noAsync?: boolean;
    };
} & ({
    className: string | undefined;
    fileName?: string;
} | {
    language: string;
});
declare function getShikiHighlightedHtml(props: ShikiHighlightedHtmlArgs & {
    opts: ShikiHighlightedHtmlArgs["opts"] & {
        noAsync: true;
    };
}): string | undefined;
declare function getShikiHighlightedHtml(props: ShikiHighlightedHtmlArgs): string | undefined | Promise<string | undefined>;
export { SHIKI_TRANSFORMERS, highlighterPromise, getShikiLanguage, getLanguageFromClassName, loadShikiThemes, type ShikiHighlightedHtmlArgs, getShikiHighlightedHtml, };
//# sourceMappingURL=index.d.ts.map