import BitmapData from "openfl/display/BitmapData"; declare namespace starling.text { export class BitmapDataEx extends BitmapData { protected constructor(width: number, height: number, transparent?: boolean, fillColor?: number); get scale(): number; set scale(value: number) } } export default starling.text.BitmapDataEx;