import type { Plugin } from 'vite';
import type { PlatformAdapter } from '../platforms/base.js';
import type { Platform } from '../types.js';
export interface PlatformPluginOptions {
    platform: Platform;
    adapter: PlatformAdapter;
    outputDir: string;
    baseBuildDir: string;
    outputFormat: 'html' | 'zip';
    externFiles?: import('../types.js').ExternFilesConfig;
    mraidSupport?: boolean;
    inlineUnsupportedAssets?: boolean;
    /** ZIP 格式输出时，是否对 JS 文件进行 Terser 压缩混淆 */
    minifyJSInZip?: boolean;
    /** Ammo 物理引擎替换方案 */
    ammoReplacement?: 'p2' | 'cannon';
}
/**
 * 平台 Vite 插件
 * 注入平台特定代码和处理输出格式
 */
export declare function vitePlatformPlugin(options: PlatformPluginOptions): Plugin;
