import { IAssetCache } from '../IAssetCache'; export declare type TErrorEventCallback = (error: ErrorEvent | null, arg: T) => void; export declare function loadImage(url: string, cache?: IAssetCache, cb?: TErrorEventCallback): TexImageSource;