import React from 'react'; import { Object3DNode } from '@react-three/fiber'; import { FaceBufferGeometry as FaceBufferGeometryImpl, FaceAnchorGroup } from '@zappar/zappar-threejs'; import { ForwardRefComponent } from './util/utils.js'; declare module '@react-three/fiber' { interface ThreeElements { faceBufferGeometryImpl: Object3DNode; } } export interface FaceBufferGeometryProps extends Omit { /** Provide a reference to the FaceAnchorGroup component. */ trackerGroup: React.MutableRefObject; /** If true, fills this face feature with polygons. */ fillMouth?: boolean; /** If true, fills this face feature with polygons. */ fillEyeLeft?: boolean; /** If true, fills this face feature with polygons. */ fillEyeRight?: boolean; /** If true, fills this face feature with polygons. */ fillNeck?: boolean; /** If true, generates a full head mesh rather than just the front of the face. */ fullHead?: boolean; } /** * A THREE.BufferGeometry that fits to the user's face and deforms as the user's expression changes. * @see https://docs.zap.works/universal-ar/web-libraries/react-threejs/face-tracking/ */ declare const FaceBufferGeometry: ForwardRefComponent; export default FaceBufferGeometry;