import { KattogStructureType } from "./enums"; import { RawItem, Region, District, Community, Settlement } from "./types"; /** * Normalization of Region * * @param raw - raw item * @param id - id of the region * @param childrenIds - ids of the children * @returns normalized region */ export declare function normalizeRegion(raw: RawItem, id: string, childrenIds: string[]): Region; /** * Normalization of District * * @param raw - raw item * @param id - id of the district * @param regionId - id of the region * @param childrenIds - ids of the children * @returns normalized district */ export declare function normalizeDistrict(raw: RawItem, id: string, regionId: string, childrenIds: string[]): District; /** * Normalization of Community * * @param raw - raw item * @param id - id of the community * @param districtId - id of the district * @param regionId - id of the region * @param childrenIds - ids of the children * @returns normalized community */ export declare function normalizeCommunity(raw: RawItem, id: string, districtId: string, regionId: string, childrenIds: string[]): Community; /** * Normalization of Settlement * * @param raw - raw item * @param id - id of the settlement * @param parentId - id of the parent * @param regionId - id of the region * @param parentType - type of the parent * @returns normalized settlement */ export declare function normalizeSettlement(raw: RawItem, id: string, parentId: string | null, regionId: string | null, parentType: KattogStructureType.Community | KattogStructureType.District | null): Settlement; /** * Helper map "index → raw.name" */ export declare const rawNamesMap: Record; //# sourceMappingURL=normalize.d.ts.map