import { HighlightJS } from './CodeTypes';
export declare function useHighlight(): {
    hljs: import('vue').Ref<{
        highlight: (code: string, options: {
            language: string;
            ignoreIllegals: boolean;
        }) => {
            value: string;
        };
        highlightAuto: (code: string) => {
            value: string;
        };
        getLanguage: (name: string) => any;
    } | null, HighlightJS | {
        highlight: (code: string, options: {
            language: string;
            ignoreIllegals: boolean;
        }) => {
            value: string;
        };
        highlightAuto: (code: string) => {
            value: string;
        };
        getLanguage: (name: string) => any;
    } | null>;
    loaded: import('vue').Ref<boolean, boolean>;
    loadHighlight: () => Promise<void>;
    escapeHtml: (unsafe: string) => string;
    highlightCode: (code: string, language?: string, autodetect?: boolean, ignoreIllegals?: boolean) => string;
};
//# sourceMappingURL=useHighlight.d.ts.map