/** * vokex 框架 - 资源嵌入构建器 * * 将前端构建产物嵌入到预编译壳二进制文件中 */ /** 嵌入结果 */ export interface BuildResult { /** 输出文件路径 */ outputPath: string; /** 原始资源大小 */ originalSize: number; /** 压缩后大小 */ compressedSize: number; /** 最终文件大小 */ finalSize: number; /** 文件数量 */ fileCount: number; /** 压缩比 */ compressionRatio: number; } /** 验证结果 */ export interface ValidateResult { /** 是否有效 */ valid: boolean; /** 应用信息 */ info?: { /** 文件数量 */ fileCount: number; /** 原始大小 */ originalSize: number; }; } /** * 验证二进制文件 */ export declare function validate(filePath: string): ValidateResult; /** * 构建嵌入文件 */ export declare function build(options: { /** 输入目录 */ inputDir: string; /** 壳二进制路径 */ shellPath: string; /** 输出路径 */ outputPath: string; /** 是否显示详细日志 */ verbose?: boolean; }): Promise; //# sourceMappingURL=embed.d.ts.map