import { Loader } from "./Loader.js"; import { LoadingManager } from "./LoadingManager.js"; export class ImageBitmapLoader extends Loader { constructor(manager?: LoadingManager); load( url: string, onLoad?: (data: ImageBitmap) => void, onProgress?: (event: ProgressEvent) => void, onError?: (err: unknown) => void, ): void; /** * @default { premultiplyAlpha: 'none' } */ options: undefined | object; readonly isImageBitmapLoader: true; setOptions(options: object): ImageBitmapLoader; }