import { BlockModel, Resource } from "@xmcl/resourcepack"; import { ResourceManager } from "./index"; /** * The model loader load the resource */ export declare class ModelLoader { readonly manager: ResourceManager; 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 manager The resource manager */ constructor(manager: ResourceManager); /** * Load a model by search its parent. It will throw an error if the model is not found. */ loadModel(modelPath: string): Promise; }