import { Resource, IResourceConfig } from "./Resource"; import { GLTFPrefab } from "./GLTFPrefab"; export interface IGLTFConfig extends IResourceConfig { gltfUrl: string; binUrl?: string; textureUrls?: GLTFTextureRedirect[] | string[]; } export interface GLTFTextureRedirect { filename: string; redirectUrl: string; } export declare class GLTFResource extends Resource { private _gltfUrl; private _binUrl?; private _textureUrls?; private static _sentTextureUrlObsoleteWarning; private static _dracoLoader; constructor(name: string, config: IGLTFConfig); protected _loadObject(): Promise; protected _unloadObject(): void; }