import type { LanguageServicePluginContext, LanguageServicePluginInstance } from '@volar/language-service';
import * as html from 'vscode-html-languageservice';
import { TextDocument } from 'vscode-languageserver-textdocument';
export declare function getHtmlDocument(document: TextDocument): html.HTMLDocument;
export interface PluginInstance extends LanguageServicePluginInstance {
    getHtmlLs: () => html.LanguageService;
    updateCustomData(extraData: html.IHTMLDataProvider[]): void;
}
declare const _default: (options?: {
    validLang?: string;
    disableCustomData?: boolean;
}) => (context: LanguageServicePluginContext | undefined) => PluginInstance;
export default _default;
