import React from 'react';
import { IntlShape } from 'react-intl';
import { Viewport } from '@kepler.gl/types';
/**
 * Tests if a given query string contains valid coordinates.
 * @param query The input string to test for coordinates.
 * @returns A tuple where:
 *   - If valid, returns `[true, longitude, latitude]`.
 *   - If invalid, returns `[false, query]`.
 */
export declare const testForCoordinates: (query: string) => [true, number, number] | [false, string];
export interface Result {
    center: [number, number];
    place_name: string;
    bbox?: [number, number, number, number];
    text?: string;
}
export type Results = ReadonlyArray<Result>;
type GeocoderProps = {
    mapboxApiAccessToken: string;
    className?: string;
    limit?: number;
    timeout?: number;
    formatItem?: (item: Result) => string;
    viewport?: Viewport;
    onSelected: (viewport: Viewport | null, item: Result) => void;
    onDeleteMarker?: () => void;
    transitionDuration?: number;
    pointZoom?: number;
    width?: number;
};
type IntlProps = {
    intl: IntlShape;
};
declare const _default: React.FC<import("react-intl").WithIntlProps<GeocoderProps & IntlProps>> & {
    WrappedComponent: React.ComponentType<GeocoderProps & IntlProps>;
};
export default _default;
