Sanity Library Reference Docs
    Preparing search index...

    Type Alias ImageSourceAlpha

    ImageSource:
        | string
        | SanityImageObject
        | SanityImageLike
        | SanityImageAssetLike
        | SanityReference

    The src prop of the Image component: a Sanity Image CDN URL, a Sanity image asset id (image-…), an asset reference ({_ref}) or asset document ({_id}), or an image object from a GROQ query.

    @sanity/image-url's SanityAsset type is not included: its index signature would also accept a next/image static import.