import Event from "./Event"; declare namespace openfl.events { /** * Almost exactly StageVideoEvent. * */ export class VideoTextureEvent extends Event { constructor(type: string, bubbles?: boolean, cancelable?: boolean, status?: string, colorSpace?: string); /** * The `VideoTextureEvent.RENDER_STATE` constant defines the value of the `type` * property of a `renderState` event object. * * This event has the following properties: * * | Property | Value | * | --- | --- | * | `bubbles` | `false` | * | `cancelable` | `false`; there is no default behavior to cancel. | * | `colorSpace` | The available color spaces for displaying the video. | * | `currentTarget` | The object that is actively processing the StageVideoEvent object with an event listener. | * | `status` | Indicates whether the video is being rendered (decoded and displayed) by hardware or software, or not at all. | * | `target` | The VideoTexture object that changed state. | * */ static readonly RENDER_STATE = "renderState"; /** * The color space used by the video being displayed in the VideoTexture object. * */ colorSpace: string; /** * The status of the VideoTexture object. * */ status: string; override clone(): VideoTextureEvent; override toString(): string; } } export default openfl.events.VideoTextureEvent;