import * as spec from '@galacean/effects-specification'; import type { BaseContent, BinaryFile, JSONScene, JSONSceneLegacy, SpineResource, SpineContent } from '@galacean/effects-specification'; /** * 2.1 以下版本数据适配(mars-player@2.4.0 及以上版本支持 2.1 以下数据的适配) */ export declare function version21Migration(json: JSONSceneLegacy): JSONSceneLegacy; /** * 2.2 以下版本数据适配(mars-player@2.5.0 及以上版本支持 2.2 以下数据的适配) */ export declare function version22Migration(json: JSONSceneLegacy): JSONSceneLegacy; /** * 3.1 版本数据适配 * - 富文本插件名称的适配 */ export declare function version31Migration(json: JSONScene): JSONScene; export declare function version32Migration(json: JSONScene): JSONScene; export declare function version33Migration(json: JSONScene): JSONScene; export declare function version34Migration(json: JSONScene): JSONScene; export declare function version35Migration(json: JSONScene): JSONScene; export declare function processContent(composition: spec.CompositionData): void; export declare function processMask(renderContent: any): void; /** * 3.0 以下版本数据适配(runtime 2.0及以上版本支持) */ export declare function version30Migration(json: JSONSceneLegacy): JSONScene; /** * 2.5 以下版本 赫尔米特数据转换成贝塞尔数据 */ export declare function version24Migration(json: JSONScene): JSONScene; export declare function convertParam(content?: BaseContent): void; export declare function convertBinaryAsset(bins: BinaryFile[], jsonScene: JSONScene): void; export declare function convertSpineData(resource: SpineResource, content: SpineContent, jsonScene: JSONScene): void;