import React from 'react'; import { TargetImagePreviewMesh as TargetImagePreviewMeshImpl } from '@zappar/zappar-threejs'; import { ForwardRefComponent } from './util/utils.js'; import { ImageTarget } from '@zappar/zappar/lib/imagetracker'; export interface TargetImagePreviewMeshProps extends React.ComponentPropsWithRef<'primitive'> { /** The target image to use. */ imageTarget: ImageTarget; } /** * A THREE.Mesh which will fit to the target image and use its texture as a material. * @see https://docs.zap.works/universal-ar/web-libraries/react-threejs/image-tracking/ */ declare const TargetImagePreviewMesh: ForwardRefComponent; export default TargetImagePreviewMesh;