import { Project } from 'ts-morph'; import type { SFCScriptBlock } from '@vue/compiler-sfc'; import type { EmitOptions, ProjectOptions, SourceFile } from 'ts-morph'; import type { BuildContext } from '../types'; export interface VueCompileResult { content?: string; lang?: string; imports?: SFCScriptBlock['imports']; } export declare function createTypesProject(ctx: BuildContext): { typesCacheDir: any; entryFilepath: any; output: { path: any; name: string; }; options: ProjectOptions; project: Project; addSourceFiles: () => SourceFile[]; typeCheck: (check?: boolean) => void; generate: (options?: EmitOptions) => void | Promise; copy: () => Promise; isVue: boolean; }; export type TypesProjectInstances = ReturnType; export declare const typesBuild: (ctx: BuildContext) => Promise<{ typesCacheDir: any; entryFilepath: any; output: { path: any; name: string; }; options: ProjectOptions; project: Project; addSourceFiles: () => SourceFile[]; typeCheck: (check?: boolean) => void; generate: (options?: EmitOptions) => void | Promise; copy: () => Promise; isVue: boolean; }>;