The two cannot be combined, which is why they are a union rather than separate options: an endpoint applies exactly one geographic bias per request.
// Around a point, ranking bias only
const nearAmsterdam: GeoBias = { position: [4.9, 52.3] };
// Around a point, confined to 2 km
const within2km: GeoBias = { position: [4.9, 52.3], radiusMeters: 2000 };
// Inside the visible map area
const inViewport: GeoBias = { boundingBox: map.getBounds().toArray().flat() as BBox };
Where to look: a point with an optional radius, or a bounding box — one or the other.