import { Object3D } from "three"; import type { Context } from "../../engine_setup.js"; declare type ExportOptions = { context: Context; scene?: Object3D | Array; binary?: boolean; animations?: boolean; /** Serialize Needle components into the NEEDLE_components extension (default true). * Previously only the GltfExport component wired this up — plain exportAsGLTF calls * silently dropped all components from the exported file. */ components?: boolean; downloadAs?: string; }; export declare function exportAsGLTF(_opts: ExportOptions): Promise>; export {};