GeometryEngineInput:
    | EsriGeometry
    | {
        toJSON(): unknown;
    }
    | Record<string, unknown>
    | null
    | undefined

Anything geometry-shaped the shim accepts: Esri JSON or a compat instance.