import * as vite from 'vite'; import { SFCTemplateBlock } from '@vue/compiler-sfc'; type Options = any; declare function createVuePluginOptions(baseOptions?: Options & { placeholderTags?: string[]; wrapTags?: string[]; }, rootPath?: string): any; type MessageType = 'history' | 'hash' | 'reload' | 'mometa' | 'selected'; type Assert = any; interface Message { mometa?: MometaPath[]; type?: 'push' | 'replace'; action: MessageType; url?: string; data?: any; } interface HashMessage extends Message { action: 'hash'; url: string; } interface HistoryMessage extends Message { action: 'history'; type: 'push' | 'replace'; url: string; data: any; } interface MometaMessage extends Message { action: 'mometa'; mometa: MometaPath[]; } interface ReloadMessage extends Message { action: 'reload'; } interface SelectedMessage extends Message { action: 'selected'; } interface Loc { line: number; column: number; offset: number; } type MometaHTMLElement = HTMLElement & Partial<{ mometa: Partial; validMometaPath: MometaHTMLElement[]; }>; interface Mometa { id: string; start: Partial; end: Partial; innerStart: Partial; innerEnd: Partial; isSelfClosing: boolean; filename: string; slotName?: string; parentId?: string; name: string; hash?: string; assert?: Assert['data']['dependencies']; npm?: Assert['data']['dependencies']; } interface MometaPath { name: string; rect: DOMRect; mometa: Mometa; } type NodeStyle = { name: string; rect: DOMRect; mometa: Mometa; } | null; type MometaElementNode = SFCTemplateBlock['ast'] & { isWrapper?: boolean; isplaceholder?: boolean; isSigned?: boolean; mometa: Mometa; }; type CurrentParsingFile = { filename: string; offset: number; }; declare const _default: ((options: Partial<{ materialConfigPath: string; settersConfigPath: string; tsconfigPath: string; tsdkPath: string; }>) => vite.PluginOption) & { vuePluginOption: typeof createVuePluginOptions; }; export { type CurrentParsingFile, type HashMessage, type HistoryMessage, type Message, type Mometa, type MometaElementNode, type MometaHTMLElement, type MometaMessage, type MometaPath, type NodeStyle, type ReloadMessage, type SelectedMessage, _default as default };