This is the documentation of version 1.0.0-rc.2. Go to the latest version, 1.0.0-rc.5.
TomTom Maps for JavaScript
    Preparing search index...

    Type Alias CustomGeoJSONImageData

    CustomGeoJSONImageData:
        | HTMLImageElement
        | ImageBitmap
        | ImageData
        | StyleImageInterface
        | { data: Uint8Array
        | Uint8ClampedArray; height: number; width: number }

    Any image payload MapLibre's map.addImage accepts. It mirrors that method's parameter type.