import { MeshProps, MeshStandardMaterialProps } from "@react-three/fiber"; import React from "react"; import { type FC } from "react"; export interface Object3D { id?: string; url: string; opts?: { material?: MeshStandardMaterialProps; mesh?: MeshProps; }; highlightOnClick?: { thickness?: number; color?: string; } | boolean; } type STLViewerProps = { objects: Object3D[]; frustumCulled?: boolean; onLoadError?: (reasons: Array<{ error: Error; object: Object3D; }>) => void; }; type Canvas3DProps = { children?: any; defaultLightOff?: boolean; object3dUrls?: Array; onLoadError?: (reasons: Array<{ error: Error; object: Object3D; }>) => void; nonInteractive?: boolean; }; declare const STLViewer: FC; export default STLViewer; export declare const Canvas3D: React.FC;