import { FileLoader } from 'three/webgpu'; import type { TextureAtlas } from './TextureAtlas.js'; import type { TextureOptionClasses } from './TextureFactory.js'; import { TextureImageLoader, type TextureImage } from './TextureImageLoader.js'; import { type TexturePackerMetaData } from './TexturePackerJson.js'; export interface TextureAtlasData extends TextureImage { atlas: TextureAtlas; meta: TexturePackerMetaData; } export interface TextureAtlasLoadOptions { overrideImageUrl?: string; } type OnLoadCallback = (textureData: TextureAtlasData) => void; type OnErrorCallback = ((err: unknown) => void) | undefined; export declare class TextureAtlasLoader { fileLoader: FileLoader; textureImageLoader: TextureImageLoader; constructor(defaults?: { fileLoader?: FileLoader; textureImageLoader?: TextureImageLoader; }); load(url: string, textureClasses: Array | undefined, options: TextureAtlasLoadOptions | undefined, onLoadCallback: OnLoadCallback, onErrorCallback?: OnErrorCallback): void; loadAsync(url: string, textureClasses?: Array, options?: TextureAtlasLoadOptions): Promise; } export {}; //# sourceMappingURL=TextureAtlasLoader.d.ts.map