import type { LoaderContext } from '@loaders.gl/loader-utils'; import type { GLTFLoaderOptions } from "../../gltf-loader.js"; import type { GLTFWithBuffers } from "../types/gltf-types.js"; import type { ParseGLBOptions } from "./parse-glb.js"; /** */ export type ParseGLTFOptions = ParseGLBOptions & { normalize?: boolean; loadImages?: boolean; loadBuffers?: boolean; decompressMeshes?: boolean; excludeExtensions?: string[]; /** @deprecated not supported in v4. `postProcessGLTF()` must be called by the application */ postProcess?: never; }; /** * Creates options for parsing an image referenced by a glTF asset. * Resolves automatic Basis format selection before the image is delegated to a worker. * @param options - glTF loader options. * @param mimeType - MIME type declared by the glTF image. * @returns Loader options for the referenced image. */ export declare function getGLTFImageOptions(options: GLTFLoaderOptions, mimeType?: string): GLTFLoaderOptions; /** Check if an array buffer appears to contain GLTF data */ export declare function isGLTF(arrayBuffer: ArrayBuffer, options?: ParseGLTFOptions): boolean; export declare function parseGLTF(gltf: GLTFWithBuffers, arrayBufferOrString: any, byteOffset: number | undefined, options: GLTFLoaderOptions, context: LoaderContext): Promise; //# sourceMappingURL=parse-gltf.d.ts.map