import { MaybeRefOrGetter, Ref } from 'vue'; import { FormattedMessagePayload } from '../types/codeHighlight'; export type HighlightCallback = (payload: FormattedMessagePayload) => void; export type UseCodeHighlight = { formatted: Ref; lines: Ref; illegal: Ref; relevance: Ref; }; export declare function useCodeHighlight(text: MaybeRefOrGetter, language: MaybeRefOrGetter): UseCodeHighlight;