/** * Given the current d3 `rotate` `[lambda, phi, gamma]` (degrees), returns the new * `[longitude, latitude, roll]` (the view `center` plus `roll`) that drags `geoPoint` onto the * identity-frame screen coordinate `q` using the shortest-arc rotation composed with the current * orientation. Because the delta is the minimal rotation moving the grabbed point to the target, the * roll only changes as much as strictly required. */ export declare function getMinimalRollRotation(rotate: [number, number, number], geoPoint: [number, number], targetGeoPoint: [number, number]): [number, number, number]; /** * Given the current d3 `rotate` `[lambda, phi, gamma]` (degrees), returns the * `[longitude, latitude, roll]` that drags `geoPoint` onto the identity-frame screen coordinate * `targetGeoPoint` while keeping the roll (`gamma`) unchanged: only the longitude and latitude move. * When the target is out of reach for a roll-preserving rotation, the closest reachable orientation * is returned. */ export declare function getNoRollRotation(rotate: [number, number, number], geoPoint: [number, number], targetGeoPoint: [number, number]): [number, number, number]; /** * Given the current d3 `rotate` `[lambda, phi, gamma]` (degrees), returns the * `[longitude, latitude, roll]` that pans `geoPoint` toward the identity-frame screen coordinate * `targetGeoPoint` along the longitude axis only: the latitude and roll are left untouched and just * the longitude is solved so `geoPoint` reaches the target's longitude. */ export declare function getLongitudeRotation(rotate: [number, number, number], geoPoint: [number, number], targetGeoPoint: [number, number]): [number, number, number];