export declare interface Address {
    /**
     * Address first line, usually composed by street number and/or route
     */
    street_address?: string;
    /**
     * Address second line, usually composed by apartment number and/or room
     */
    extended_address?: string;
    /**
     * Address state, abbreviated according to ISO 3166-1 alpha-2
     */
    state?: string;
    /**
     * Address postal code
     */
    postal_code?: string;
    /**
     * Address city
     */
    city?: string;
    /**
     * Address country, abbreviated according to ISO 3166-1 alpha-2
     */
    country?: string;
    /**
     * Address latitude
     */
    lat?: number;
    /**
     * Address longitude
     */
    long?: number;
    /**
     * Google Place id
     */
    place_id?: string;
}

export declare interface AddressOption {
    /**
     * Google Place id
     */
    id: string;
    /**
     * Google Place Prediction description
     */
    name: string;
    /**
     * Address object
     */
    address?: Address;
}

declare function useGoogleMaps(apiKey: string): {
    getPlaceDetails: (placeId: string) => Promise<Address>;
    getPlacePredictions: (query: string) => Promise<Array<AddressOption>>;
};
export default useGoogleMaps;

export { }
