/** * Copyright (c) 2018 mol* contributors, licensed under MIT, See LICENSE file for more info. * * @author Alexander Rose */ import { Task } from 'mol-task' import { RenderObject } from 'mol-gl/scene'; export interface RepresentationProps {} export interface Representation { renderObjects: ReadonlyArray create: (data: D, props?: P) => Task update: (props: P) => Task }