import type { GeoProjection } from '@mui/x-charts-vendor/d3-geo'; /** * Builds a test that maps a device pixel to its `[lon, lat]`, or `null` when the * pixel is not part of the visible map. It combines two clips that `projection.invert` * alone misses: * * - the **post-clip** (cartesian) stream rejects device pixels outside the clip * rectangle — relevant once the map is panned/zoomed with a `clipExtent`; * - streaming the inverted coordinate **back** through the projection applies the * pre-clip (spherical) boundary and checks the round trip: azimuthal projections * clamp `invert` outside the visible disk to the limb, and those clamped points do * not project back to the pixel they came from. */ export declare function createGetVisibleCoordinate(projection: GeoProjection): ([deviceX, deviceY]: [number, number]) => [number, number] | null;