import { BaseJson } from '../../component/type'; import { GeometryJson as _G } from '../mesh/geometry/type'; import { MaterialJson as _M } from '../mesh/material/type'; import { createInstance } from './util'; declare type InstanceMatrixs = number[][]; declare type InstanceColors = number[]; interface InstanceJson extends BaseJson { type: 'Instance'; geometry: G; material: M; matrixs: InstanceMatrixs; colors: InstanceColors; } declare type RenderInstance = ReturnType; export { InstanceJson, RenderInstance, InstanceMatrixs, InstanceColors };