import { TypeTranslation } from "./_types/types";
import { TypeCity } from "./cities";
import { Point, StateData } from "../config/interfaces";
/**
 * General types.
 */
export type TypeStateData = {
    [key: string]: TypeState;
};
/**
 * State type
 */
export type TypeState = {
    name: string;
    code: string;
    country: string;
    population: number | null;
    area: number | null;
    translation: TypeTranslation;
};
/**
 * Return all states.
 */
export declare const getStates: () => TypeState[];
/**
 * Convert states to easy accessible array.
 */
export declare const getStateMap: () => TypeStateData;
/**
 * Get the state by given state code.
 *
 * @param stateCode
 */
export declare const getStateByStateCode: (stateCode: string | null) => TypeState | null;
/**
 * Get the state by given place.
 *
 * @param place
 */
export declare const getStateByPlace: (place: TypeCity) => TypeState | null;
/**
 * Converts the given TypeState to StateData.
 *
 * @param state
 * @param language
 * @param point
 * @param svgPoint
 */
export declare const getStateDataByState: (state: TypeState, point?: Point | null, svgPoint?: SVGPoint | null, language?: string) => StateData;
