import { parseComponent as parse } from 'vue-template-compiler' type BindingTypes = 'data' | 'props' | 'options' type BindingMetadata = Record export interface ImportBinding { isType: boolean imported: string source: string isFromSetup: boolean isUsedInTemplate: boolean } export interface SFCScriptBlock { type: 'script' content: string setup?: string | boolean bindings?: BindingMetadata imports?: Record /** * import('\@babel/types').Statement */ scriptAst?: any[] /** * import('\@babel/types').Statement */ scriptSetupAst?: any[] } export declare const h: () => void export declare const createApp: (rootComponent: any) => any export declare const isVue3: boolean export declare const Vue2: any export type App = any export declare const compileTemplate: (options?: { source: string filename: string id: string scoped?: boolean, compilerOptions?: { mode?: 'module' | 'function' bindingMetadata?: BindingMetadata prefixIdentifiers?: boolean scopeId?: string } }) => { code: string, staticRenderFns: string[] } export declare function parseComponent(...args:Parameters): ReturnType & {scriptSetup?:SFCScriptBlock} export declare function compileScript( sfc: { cssVars: string[] script: SFCScriptBlock | null scriptSetup: SFCScriptBlock | null }, options?: any ): SFCScriptBlock