import * as Zappar from '@zappar/zappar'; import { type Entity, Script } from 'playcanvas'; /** * Attaches content to a face as it moves around in the camera view. * @see https://docs.zap.works/universal-ar/web-libraries/playcanvas/face-tracking/ */ export declare class ZapparFaceTracker extends Script { static scriptName: string; /** * The Zappar camera entity. Leave blank to use the scene's Zappar camera. * @attribute * @type {import('playcanvas').Entity} */ camera: Entity | null; /** * The maximum number of faces the tracker will look for. * @attribute * @range [1, 4] */ maxFaces: number; /** The underlying Zappar face tracker. */ faceTracker: Zappar.FaceTracker; private zapparCamera; initialize(): void; update(): void; private onDestroy; }