import { Resource } from './resourcePack'; import { ResourceLoader } from './resourceManager'; import { BlockModel } from './format'; /** * The model loader load the resource */ export declare class ModelLoader { readonly loader: ResourceLoader; static findRealTexturePath(model: BlockModel.Resolved, variantKey: string): string | undefined; /** * All required texture raw resources */ readonly textures: Record; /** * All the resolved model */ readonly models: Record; /** * @param loader The resource loader */ constructor(loader: ResourceLoader); /** * Load a model by search its parent. It will throw an error if the model is not found. */ loadModel(modelPath: string, folder?: string): Promise; } //# sourceMappingURL=modelLoader.d.ts.map