import type { SFCDescriptor } from '@vue/compiler-sfc'; import { type ParsedVueSpaRoute } from './parseVueSpaRoutes'; import type { StylePreprocessorConfig } from '../../types/build'; export type VueChangeType = 'style-only' | 'template-only' | 'script' | 'full'; export declare const vueHmrMetadata: Map; export declare const clearVueHmrCaches: () => void; export declare const detectVueChangeType: (filePath: string, descriptor: SFCDescriptor) => "script" | "template-only" | "full" | "style-only"; export declare const generateVueHmrId: (sourceFilePath: string, vueRootDir: string) => string; export declare const compileVue: (entryPoints: string[], vueRootDir: string, isDev?: boolean, stylePreprocessors?: StylePreprocessorConfig, ssrOnlyEntries?: ReadonlySet) => Promise<{ hmrMetadata: Map; vueClientPaths: string[]; vueCssPaths: string[]; vueIndexPaths: string[]; vueServerPaths: string[]; vueSpaRoutesBySource: Map; }>;