import React from 'react'; import * as THREE from 'three'; declare type ArcInstance = THREE.Group & { radius: number; tubeRadius: number; angularLength: number; }; export declare const getCylBB: () => THREE.Box3; export declare const getSphereBB: () => THREE.Box3; export declare const getArcBB: (mesh: ArcInstance) => THREE.Box3; export declare const MeshContext: React.Context<{ MockCylinder: any; MockSphere: any; MockArc: any; }>; /** * Component which implements InstancedMesh from three.js. * Merged component from drei takes globaly created meshes and then passes corresponding "mocked" components via function props (MockCylinder and MockSphere) to children. * "mocked" components are used for saying drei where to draw instances. */ export declare const MergedWrapper: React.FC<{ children?: React.ReactNode; }>; export {};