import { ExtendedFeature } from 'd3-geo';
import { View } from '../view';
declare const api: {
    geoArea(feature: ExtendedFeature): number;
    geoAreaByName(this: View, name: string): number;
    geoCentroid(feature: ExtendedFeature): [number, number];
    geoCentroidByName(this: View, name: string): [number, number];
    geoDistance(p1: any, p2: any): number;
    geoLength(feature: ExtendedFeature): number;
    geoLengthByName(this: View, name: string): number;
    geoContains(feature: ExtendedFeature, position: [number, number]): boolean;
    geoFeatureByName(this: View, name: string): any;
    geoFeatureByPosition(this: View, position: [number, number]): any;
    geoNameByPosition(this: View, position: [number, number]): any;
    getGeoProjection: (projection: string, exportRaw?: boolean) => any;
    geoProject(feature: ExtendedFeature, projection: string, exportRaw?: boolean): any;
    geoProjectByName(this: View, name: string, projection: string, exportRaw?: boolean): any;
    geoProjectPosition(position: [number, number], projection: string, exportRaw?: boolean): any;
    geoProjectInvert(position: [number, number], projection: string, exportRaw?: boolean): any;
};
export declare type GeoApi = typeof api;
export {};
