import { MagicString } from '@vue-macros/common'; import { Program } from '@babel/types'; import { T as TemplateContent, C as CustomBlocks } from './index-0dd2e877.js'; export { M as MAIN_TEMPLATE, Q as QUERY_NAMED_TEMPLATE, a as QUERY_TEMPLATE, b as QUERY_TEMPLATE_MAIN } from './index-0dd2e877.js'; import { ElementNode, NodeTransform, RootNode } from '@vue/compiler-dom'; import 'unplugin'; declare function getChildrenLocation(node: ElementNode): [number, number] | undefined; interface VueQuery { vue?: boolean; src?: string; type?: 'script' | 'template' | 'style' | 'custom'; index?: number; lang?: string; raw?: boolean; url?: boolean; scoped?: boolean; } /** * Copy from https://github.com/vitejs/vite-plugin-vue/blob/797e424e46600c93fa76a4ef8befc08ef6b5abdb/packages/plugin-vue/src/utils/query.ts#L12 */ declare function parseVueRequest(id: string): { filename: string; query: VueQuery; }; declare function transformTemplateIs(s: MagicString): NodeTransform; declare function preTransform(code: string, id: string, templateContent: TemplateContent): { code: string; map: any; } | undefined; declare function preTransformMainTemplate({ s, root, node, id, templateContent, }: { s: MagicString; root: RootNode; node: ElementNode; id: string; templateContent: TemplateContent; }): void; declare function postTransform(code: string, id: string, customBlocks: CustomBlocks): { code: string; map: any; } | undefined; declare function postTransformMainEntry(program: Program, id: string, customBlocks: CustomBlocks): void; export { VueQuery, getChildrenLocation, parseVueRequest, postTransform, postTransformMainEntry, preTransform, preTransformMainTemplate, transformTemplateIs };