import type { Object3D } from "three";
import type { ViralViewerApi } from "../../../viral-viewer-api";
export interface UploadValidationResult {
    valid: boolean;
    error?: string;
}
export type UploadFileType = "glb" | "gltf" | "obj";
export declare class EditorUploadService {
    private viralViewerApi;
    private objLoader;
    constructor(viralViewerApi: ViralViewerApi);
    validate(file: File): UploadValidationResult;
    load(file: File): Promise<Object3D>;
    loadFromBuffer(buffer: ArrayBuffer, fileName: string): Promise<Object3D>;
    private loadGLTF;
    private loadOBJ;
    private getExtension;
}
