import { Location } from './interfaces'; /** * @func findLocationsByCoordinates Find locations based on coordinates. * * @param {latitudeFrom} number Latitude from * @param {latitudeTo} number Latitude to * @param {longitudeFrom} number Longitude from * @param {longitudeTo} number Longitude to * @return {Location[]} */ export declare const findLocationsByCoordinates: ({ latitudeFrom, latitudeTo, longitudeFrom, longitudeTo, }: { latitudeFrom?: number; latitudeTo?: number; longitudeFrom?: number; longitudeTo?: number; }) => Location[]; /** * @func findLocationsByCountryIso Find locations based on a country ISO 3166-1 alpha-2 * or alpha-3 code. * * @param {string} code Country ISO code (case insensitive) * @return {Location[]} */ export declare const findLocationsByCountryIso: (code: string) => Location[]; /** * @func findLocationsByCountryName Find locations based on a country name. * * @param {string} name Country name (case insensitive) * @param {boolean} partialMatch Whether to include partial matches * @return {Location[]} */ export declare const findLocationsByCountryName: (name: string, partialMatch?: boolean) => Location[]; /** * @func findLocationsByProvince Find locations based on a province * (not recommended, unreliable data). * * @param {string} name Province name (case insensitive) * @param {boolean} partialMatch Whether to include partial matches * @return {Location[]} */ export declare const findLocationsByProvince: (name: string, partialMatch?: boolean) => Location[]; /** * @func findLocationsByState Find locations based on the state name. * * @param {string} name State name (case insensitive, 2 chars) * @param {boolean} partialMatch Whether to include partial matches * @return {Location[]} */ export declare const findLocationsByState: (name: string, partialMatch?: boolean) => Location[]; /** * @func getLocations Get all locations. * * @return {Location[]} */ export declare const getLocations: () => Location[];