import { RenderObject } from "./objects/renderObject"; import { Process } from "./process"; import { Geometry } from "./rendering/renderContext"; export interface IPersistenceManager { process: Process; save(ro: RenderObject): any; open(model: any): RenderObject; writeObject(obj: IPersistent): any; readObject(obj: any): IPersistent; } export interface IPersistent { typeName: string; serialize(pm?: IPersistenceManager): any; deserialize(obj: any, pm?: IPersistenceManager): any; } export interface IBoundingBox { readonly boundingBox: Float64Array; } export { Geometry };