/** * Load a image in a promise */ export default function loadImage(url: string, crossOrigin?: string | null): Promise;