import { Script } from 'playcanvas'; /** * Captures the canvas and presents Zappar's built-in save/share snapshot UI. * * Trigger a capture with `app.fire('zappar:capture_snapshot')`. */ export declare class ZapparScreenshot extends Script { static scriptName: string; /** * File name and format used when saving the snapshot. * @attribute */ download: { fileName: string; imageFormat: string; }; /** * Social share sheet configuration. * @attribute */ share: { showButton: boolean; title: string; text: string; url: string; }; /** * Localised strings for the snapshot UI. * @attribute */ localisation: { save: string; share: string; nowOpenFilesAppToShare: string; tapAndHoldToSave: string; }; private needsCapture; initialize(): void; private onDestroy; private requestCapture; private onPostRender; }