import type { UILayer } from "../../layers/UILayer/UILayer"; import { UIColor } from "../../miscellaneous/color/UIColor"; import type { UIColorConfig } from "../../miscellaneous/color/UIColor.Internal"; import { UITextureView } from "../../miscellaneous/texture/UITextureView"; import type { UITextureConfig } from "../../miscellaneous/texture/UITextureView.Internal"; import { UIElement } from "../UIElement/UIElement"; import type { UIImageOptions } from "./UIImage.Internal"; /** Textured image element */ export declare class UIImage extends UIElement { /** Texture displayed by this image */ readonly texture: UITextureView; private readonly colorInternal; private readonly textureTransform; /** * Creates a new UIImage instance. * * Defaults size to texture dimensions if width and height not provided. * * @param layer - Layer containing this image * @param texture - Texture to display * @param options - Configuration options */ constructor(layer: UILayer, texture: UITextureConfig, options?: Partial); /** Multiplicative tint. Alpha channel controls opacity. */ get color(): UIColor; /** Multiplicative tint. Alpha channel controls opacity. */ set color(value: UIColorConfig); /** Removes image and frees resources */ destroy(): void; protected setPlaneTransform(): void; private readonly onTextureDimensionsChanged; }