import Future from "../utils/Future"; import ByteArray from "../utils/ByteArray"; import LoaderContext from "../system/LoaderContext"; import URLRequest from "../net/URLRequest"; import LoaderInfo from "./LoaderInfo"; import DisplayObject from "./DisplayObject"; declare namespace openfl.display { export interface IDisplayObjectLoader { load(request: URLRequest, context: LoaderContext, contentLoaderInfo: LoaderInfo): Future; loadBytes(buffer: ByteArray, context: LoaderContext, contentLoaderInfo: LoaderInfo): Future; } } type IDisplayObjectLoader = openfl.display.IDisplayObjectLoader; export default IDisplayObjectLoader;