import * as Zappar from '@zappar/zappar'; import { type Asset, type Entity, Script } from 'playcanvas'; /** * Attaches content to a known image as it moves around in the camera view. * @see https://docs.zap.works/universal-ar/web-libraries/playcanvas/image-tracking/ */ export declare class ZapparImageTracker 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 image target file (.zpt) produced by the ZapWorks CLI. * @attribute * @type {import('playcanvas').Asset} * @resource binary */ targetFile: Asset | null; /** * Rotate content upright (offset X by 90°), useful for targets lying flat. * @attribute */ targetUpright: boolean; /** The underlying Zappar image tracker. */ imageTracker: Zappar.ImageTracker; private zapparCamera; initialize(): void; update(): void; private onDestroy; }