import { SchemaJson } from '@drecom/scene-graph-schema'; import SceneExporterPlugin from './SceneExporterPlugin'; /** * Exporter interface
* It is instantiated by factory
* Constructor is defined as ExporterConstructor
*/ export default interface SceneExporter { /** * Returns exporter identifier to allow customization by runtime. */ getIdentifier(): string; /** * Export entry point */ createSceneGraphSchemas( sceneFiles: string[], assetRoot: string, plugins?: Map ): Map; /** * Load scene file
* It may be retrieved with args.sceneFile */ loadSceneFile(sceneFile: string): any; /** * Create scene graph
* Given json and resource map may be retrieved via createLocalResourceMap and loadSceneFile */ createSceneGraph(json: any): SchemaJson; }