import { ImageLoader } from 'three';
import { TextureCoords } from './TextureCoords.js';
export interface ImageWithTexCoords {
    imgEl: HTMLImageElement | HTMLCanvasElement;
    texCoords: TextureCoords;
}
type OnImageLoadCallback = (image: ImageWithTexCoords) => void;
type OnErrorCallback = ((err: unknown) => void) | undefined;
export declare class PowerOf2ImageLoader {
    #private;
    get imageLoader(): ImageLoader;
    set imageLoader(loader: ImageLoader);
    load(url: string, onLoadCallback: OnImageLoadCallback, onErrorCallback?: OnErrorCallback): void;
    loadAsync(url: string): Promise<ImageWithTexCoords>;
}
export {};
//# sourceMappingURL=PowerOf2ImageLoader.d.ts.map