import { BaseJson, BaseMaterialJson } from '../../component/type'; import { GeometryPathJson } from '../../util/render/type'; import { createLine } from './util'; interface GeometreyJson { path: GeometryPathJson | null; segments: number; tension: number; } interface MaterialJson extends BaseMaterialJson { type: 'Basic'; } interface LineJson extends BaseJson { type: 'Line'; geometry: GeometreyJson; material: MaterialJson; } declare type RenderLine = ReturnType; export { GeometreyJson, MaterialJson, LineJson, RenderLine };