import { SFCDescriptor, SFCScriptBlock } from "vue/compiler-sfc"; import { RootNode } from "@vue/compiler-dom"; //#region src/utils/script-setup.d.ts /** * Pre-transpile script setup block to remove type syntax and replace it with runtime declarations. * This function only performs minimal error checking, it means that it will preserve all errors that can be triggered at runtime */ declare function preTranspileScriptSetup(sfc: SFCDescriptor, id: string): Promise; //#endregion //#region src/utils/template.d.ts declare function transpileVueTemplate(content: string, root: RootNode, offset: number | undefined, transform: (code: string) => Promise): Promise; //#endregion export { preTranspileScriptSetup, transpileVueTemplate };