It's the ID of a DOM element. No need to define it (for me). But anyway still good I will try your code, thanks.
declare var myImageElem: HTMLImageElement;