import type { Platform, ExternFilesConfig } from '../types.js';
/**
 * 平台 Vite 配置接口
 */
export interface PlatformViteConfig {
    sizeLimit: number;
    outputFormat: 'html' | 'zip';
    minifyCSS: boolean;
    minifyJS: boolean;
    compressImages: boolean;
    compressModels: boolean;
    injectScripts?: string[];
    htmlTransforms?: Array<(html: string) => string>;
    outputFileName: string;
    includeSourcemap: boolean;
    imageQuality?: {
        jpg?: number;
        png?: [number, number];
        webp?: number;
    };
    modelCompression?: {
        method?: 'draco' | 'meshopt';
        quality?: number;
    };
    esmSupport?: {
        enabled: boolean;
        preferIIFE?: boolean;
    };
    playable?: {
        patchXhrOut?: boolean;
        inlineGameScripts?: boolean;
        compressEngine?: boolean;
        compressConfigJson?: boolean;
        configJsonInline?: boolean;
        externFiles?: boolean | ExternFilesConfig;
        mraidSupport?: boolean;
        snapchatCta?: boolean;
    };
}
/**
 * 平台配置映射
 */
export declare const PLATFORM_CONFIGS: Record<Platform, PlatformViteConfig>;
