import { Encoding, Mapping, Wrapping, TextureFilter, PixelFormat, TextureDataType } from "./Constants"; export interface State { needsUpdate: boolean; version: number; } export interface TextureOptions { mipmaps?: Array; mapping?: Mapping; wrapS?: Wrapping; wrapT?: Wrapping; magFilter?: TextureFilter; minFilter?: TextureFilter; anisotropy?: number; format?: PixelFormat; type?: TextureDataType; flipY?: boolean; unpackAlignment?: number; encoding?: Encoding; generateMipmaps?: boolean; premultiplyAlpha?: boolean; } declare class Texture { options: TextureOptions; mipmaps: Array; glTexture: WebGLTexture; image: any; images: Array; format: any; type: any; version: number; needsUpdate: boolean; imageCount: number; imageLoadedCount: number; state: State; encoding: Encoding; onLoad: Function; constructor(imageSrc: string | Array | HTMLImageElement, onLoad?: Function, options?: {}); loadedCallback(): void; clone(): Texture; copy(source: any): this; } export { Texture };