import { JsonValue } from "vtxf-xe2/dist-node/xe2-base-utils"; import { My3dtilesApp } from "../../.."; import { FSceneTreeItem, FSceneTreeItemJsonValue } from "../../../../modules"; import { LoadDataOptionsType } from "./LoadDataOptionsType"; export declare function getM3tojsonFromSceneTreeItems(sceneTreeItems: FSceneTreeItem[]): { asset: { __m3t_type__: string; __m3t_createdTimeStamp__: number; }; sceneTreeItems: JsonValue; } | undefined; export declare function isM3tojson(json: JsonValue): boolean; export declare function isOldM3tojson(json: JsonValue): boolean; /** * 旧格式更新 * @param json * @param copyId * @returns */ export declare function updateM3tojson(json: JsonValue, copyId?: string): JsonValue | { asset: { __m3t_type__: string; __m3t_createdTimeStamp__: number; }; sceneTreeItems: { name: any; sceneObj: JsonValue; }[]; }; export declare function addSceneTreeItemJsonsToSceneTree(app: My3dtilesApp, sceneTreeItemsJson: FSceneTreeItemJsonValue[], options?: LoadDataOptionsType): FSceneTreeItem | undefined; export declare function addM3tOJsonToSceneTree(app: My3dtilesApp, m3tojson: JsonValue, options?: LoadDataOptionsType): false | FSceneTreeItem | undefined; export declare function loadM3tObject(app: My3dtilesApp, url: string, options?: LoadDataOptionsType): Promise;