import * as THREE from "three"; export type ImageBitmapLikeImage = HTMLImageElement & { close: () => void; }; export type ImageBitmapLike = ImageBitmap | ImageBitmapLikeImage; export declare function useNativeImageBitmap(enable: boolean): void; export declare function canUseNativeImageBitmap(): boolean; export declare function createImageBitmapLikeImage(options?: { onClose?: (this: ImageBitmapLikeImage) => void; }): ImageBitmapLikeImage; export declare function createImageBitmapLike(blob: Blob): Promise; export declare function imageBitmapToTexture(image: ImageBitmapLike, maxSize?: THREE.Vector2): THREE.Texture; export declare function imageBitmapsToCubeTexture(images: ImageBitmapLike[]): THREE.CubeTexture;