import createHtmlPlugin from '@volar-plugins/html';
import * as html from 'vscode-html-languageservice';
import { TextDocument } from 'vscode-languageserver-textdocument';
import { VueCompilerOptions } from '../types';
export default function useVueTemplateLanguagePlugin<T extends ReturnType<typeof createHtmlPlugin>>(options: {
    getScanner(document: TextDocument, t: ReturnType<T>): html.Scanner | undefined;
    templateLanguagePlugin: T;
    isSupportedDocument: (document: TextDocument) => boolean;
    vueCompilerOptions: VueCompilerOptions;
}): T;
