import Texture from "../../components/texture/index.js"; import { SupportedMimeType } from "../../components/image/index.js"; import TextureInfo from "../../components/texture-info/index.js"; /** * Creates the structure for a texture backed by an array buffer data source. * * @param arrayBuffer A JS array buffer containing image data. * @param mimeType The mime type of the image. Must be image/png or image/jpeg. * * @returns Object containing a texture object and a corresponding textureInfo object */ export declare const buildTextureFromArrayBuffer: (arrayBuffer: ArrayBuffer, mimeType: SupportedMimeType) => { texture: Texture; textureInfo: TextureInfo; };