import type { Plugin } from 'vite';
import { type ImportMapAsset } from '../loaders/playcanvas-loader.js';
export interface SourceBuilderPluginOptions {
    projectDir: string;
    outputDir: string;
    selectedScenes?: string[];
    buildMode?: 'classic' | 'esm';
    importMap?: ImportMapAsset;
}
export interface UserScript {
    id: string;
    path: string;
    code: string;
    name: string;
}
/**
 * Vite 插件：从源代码构建 PlayCanvas 项目
 */
export declare function viteSourceBuilderPlugin(options: SourceBuilderPluginOptions): Plugin;
