UNPKG

country-state-city-slim

Version:

Library for fetching Country, its States and Cities (without Cities...)

11 lines (10 loc) 415 B
import { IState } from './interface'; export declare function getAllStates(): IState[]; export declare function getStatesOfCountry(countryCode: string): IState[]; export declare function getStateByCode(isoCode: string): IState; declare const _default: { getAllStates: typeof getAllStates; getStatesOfCountry: typeof getStatesOfCountry; getStateByCode: typeof getStateByCode; }; export default _default;