import { HighlightJS, HighlightTheme } from './CodeTypes'; export declare function useHighlight(theme?: HighlightTheme): { 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; loadHighlight: () => Promise; setTheme: (theme: HighlightTheme) => Promise; currentTheme: import('vue').Ref; escapeHtml: (unsafe: string) => string; highlightCode: (code: string, language?: string, autodetect?: boolean, ignoreIllegals?: boolean) => string; }; //# sourceMappingURL=useHighlight.d.ts.map