import { Texture } from 'three/webgpu'; import { PowerOf2ImageLoader } from './PowerOf2ImageLoader.js'; import type { TextureCoords } from './TextureCoords.js'; import { TextureFactory, type TextureOptionClasses } from './TextureFactory.js'; import type { TextureSource } from './types.js'; export interface TextureImage { texture: Texture; imgEl: TextureSource; texCoords: TextureCoords; } type OnLoadCallback = (textureData: TextureImage) => void; type OnErrorCallback = ((err: unknown) => void) | undefined; export declare class TextureImageLoader { imageLoader: PowerOf2ImageLoader; textureFactory: TextureFactory; constructor(textureFactory?: TextureFactory, imageLoader?: PowerOf2ImageLoader); load(url: string, textureClasses: Array, onLoadCallback: OnLoadCallback, onErrorCallback?: OnErrorCallback): void; loadAsync(url: string, textureClasses: Array): Promise; } export {}; //# sourceMappingURL=TextureImageLoader.d.ts.map