GeoLeaf Core API - v3.19.0
    Preparing search index...
    MaplibreEventArg: Parameters<MaplibreEventListener>[0]

    The argument MapLibre actually hands to a listener, derived from the published type rather than restated.

    Deriving it is what keeps this correct across engine versions: it resolves to any on 6.2.0 and to MapLibre's Event on 6.3.0, so a wrapper typed with it compiles against both without a cast, and will follow any further narrowing on its own.