import type { LoaderOptions } from '@loaders.gl/loader-utils'; import type { MTLMaterial, ParseMTLOptions } from "./lib/parse-mtl.js"; export type MTLLoaderOptions = LoaderOptions & { mtl?: ParseMTLOptions; }; /** * Loader for the MTL material format * Parses a Wavefront .mtl file specifying materials */ export declare const MTLWorkerLoader: { readonly dataType: MTLMaterial[]; readonly batchType: never; readonly version: any; readonly worker: true; readonly testText: (text: string) => boolean; readonly options: { readonly mtl: {}; }; readonly name: "MTL"; readonly id: "mtl"; readonly module: "mtl"; readonly extensions: ["mtl"]; readonly mimeTypes: ["text/plain"]; }; /** * Loader for the MTL material format */ export declare const MTLLoader: { readonly parse: (arrayBuffer: ArrayBuffer, options?: MTLLoaderOptions) => Promise; readonly parseTextSync: (text: string, options?: MTLLoaderOptions) => MTLMaterial[]; readonly dataType: MTLMaterial[]; readonly batchType: never; readonly version: any; readonly worker: true; readonly testText: (text: string) => boolean; readonly options: { readonly mtl: {}; }; readonly name: "MTL"; readonly id: "mtl"; readonly module: "mtl"; readonly extensions: ["mtl"]; readonly mimeTypes: ["text/plain"]; }; //# sourceMappingURL=mtl-loader.d.ts.map