import DisplayObjectRenderer from "./DisplayObjectRenderer"; import DisplayObject from "./DisplayObject"; declare namespace openfl.display { /** * *BETA** * * The DOMRenderer API exposes support for HTML5 DOM render instructions within the * `RenderEvent.RENDER_DOM` event * */ export class DOMRenderer extends DisplayObjectRenderer { protected constructor(element: any); /** * The current HTML5 DOM element * */ element: any; /** * Applies CSS styles to the specified DOM element, using a DisplayObject as the * virtual parent. This helps set the z-order, position and other components for * the DOM object * */ applyStyle(parent: DisplayObject, childElement: any): void; /** * Removes previously set CSS styles from a DOM element, used when the element * should no longer be a part of the display hierarchy * */ clearStyle(childElement: any): void; } } export default openfl.display.DOMRenderer;