interface District { Code: string; Name: string; Province: string; Municipality: string; } /** * Lista de Distritos * @returns {Array} */ declare function districtsAll(): Array; /** * Filtra Distritos por Codigo * @param {string} code - Codigo de la Distritos * @returns {Array} */ declare function districtsByCode(code?: string): District | undefined; /** * Filtra Distritos por Nombre * @param {string} name - Nombre de la Distritos * @returns {Array} */ declare function districtsByName(name?: string): District[] | undefined; /** * Filtra Distritos cuyo nombre contenga una parte del texto (case-insensitive) * @param {string} name - Parte del nombre del Distritos * @returns {Array} */ declare function districtsByNameLike(name?: string): District[]; /** * Filtra Distritos por Codigo de Provincia * @param {string} provinceCode - Codigo de la Provincia * @returns {Array} */ declare function districtsByProvince(provinceCode?: string): District[]; /** * Filtra Distritos por Codigo de Municipio * @param {string} municipalityCode - Codigo del Municipio * @returns {Array} */ declare function districtsByMunicipality(municipalityCode?: string): District[]; declare function excludeDistrictByCode(codes: string | string[]): District[]; /** * Filtra excluir Distritos por Codigo de Municipio * @param {string| string[]} municipalityCode - Codigo del Municipio * @returns {Array} */ declare function excludeDistrictByMunicipality(municipalityCode: string | string[]): District[]; /** * Filtra excluir Distritos por Codigo de Provincia * @param {string| string[]} provinceCode - Codigo de la Provincia * @returns {Array} */ declare function excludeDistrictByProvince(provinceCode: string | string[]): District[]; export { type District, districtsAll, districtsByCode, districtsByMunicipality, districtsByName, districtsByNameLike, districtsByProvince, excludeDistrictByCode, excludeDistrictByMunicipality, excludeDistrictByProvince };