import type { TextureConfigOptions, TextureFactorySourceFrom, TextureSourceOptions } from './types'; import type { Texture } from './texture'; export declare class TextureFactory { reloadPending: Record; constructor(); reload(texture: Texture): Promise; canOffloadTexture(sourceFrom?: TextureFactorySourceFrom): boolean; loadSource(sourceFrom: TextureFactorySourceFrom, config?: TextureConfigOptions): Promise; private loadMipmapImages; private loadCubeMap; } export declare function getDefaultTextureFactory(): TextureFactory; export declare function setDefaultTextureFactory(factory: TextureFactory): void;