import { WebPlatform } from './WebPlatform.js'; import type { PlatformSettings } from '../Platform.js'; import type { ImageResponse } from '../../textures/ImageTexture.js'; import type { ImageWorkerFactory } from './lib/ImageWorker.js'; /** * Legacy Web Platform implementation that uses Image() instead of createImageBitmap * * @remarks * This platform is designed for environments that don't support createImageBitmap API, * or for compatibility with older browsers. It uses the traditional HTMLImageElement * approach for image loading. * */ export declare class WebPlatformLegacy extends WebPlatform { constructor(settings?: PlatformSettings); protected getImageWorkerFactory(): ImageWorkerFactory; loadImage(src: string, premultiplyAlpha: boolean | null, sx?: number | null, sy?: number | null, sw?: number | null, sh?: number | null): Promise; createImage(blob: Blob, premultiplyAlpha: boolean | null, sx: number | null, sy: number | null, sw: number | null, sh: number | null): Promise; loadCompressedTexture(src: string): Promise; }