import { AViewerPluginEventMap, AViewerPluginSync, ThreeViewer } from '../../viewer'; export interface FileTransferPluginEventMap extends AViewerPluginEventMap { transferFile: { path: string; state: 'exporting' | 'done' | 'error'; progress?: number; name?: string; }; } /** * File Transfer Plugin * * Provides a way to extend the viewer.export functionality with custom actions. Used in `AWSClientPlugin` to upload files directly to S3. * * @category Plugins */ export declare class FileTransferPlugin extends AViewerPluginSync { enabled: boolean; static readonly PluginType = "FileTransferPlugin"; toJSON: any; exportFile(file: File | Blob, name?: string): Promise; readonly defaultActions: { exportFile: (blob: Blob, name: string, _onProgress?: (d: { state?: "exporting" | "done" | "error"; progress?: number; }) => void) => Promise; }; constructor(); onAdded(viewer: ThreeViewer): void; onRemove(viewer: ThreeViewer): void; protected _updateProcessState(data: { path: string; state: string; progress?: number; }): void; actions: { exportFile: (blob: Blob, name: string, _onProgress?: (d: { state?: "exporting" | "done" | "error"; progress?: number; }) => void) => Promise; }; } //# sourceMappingURL=../../src/plugins/export/FileTransferPlugin.d.ts.map