/** * How the `german` recipe reads a WOF Ortsteil: its German spelling, and whether a tuple's street is one. */ import type { CanonicalRow } from "#types"; /** * The surface an Ortsteil is written with in an address, from WOF's rows for it. * * `spr.name` for a DE neighborhood is the ascii-folded label. * The `names` rows in `deu` contain the German spelling beside unrelated labels for co-located * features (`Bocklemuend` → `Bocklemünd`, `Jüdischer Friedhof Bocklemünd`, `Menara-Garten`). * * The German name is the one that spells the same label as `spr.name` under either of * WOF's ascii folds ({@link foldGerman}); with none, `spr.name` stands. * * WOF also prefixes some Ortsteile with their city (`Köln-Nippes`), a form absent from the envelope * once the city is its own line, so a leading `-` is dropped when something is left after it. */ export declare function ortsteilSurface(sprName: string, deuNames: readonly string[], locality: string): string; /** * Whether a tuple's street is one of its locality's Ortsteile. * * An Upper Lusatian hamlet has no streets, and its addresses are `Loga 13, 02699 Neschwitz`. */ export declare function isOrtsteilStreet(street: string, ortsteile: readonly string[] | undefined): boolean; /** * The components of a rendered row whose street is an Ortsteil of its locality. * * With a house number, the hamlet is the street line (`Loga 13`). * Without one, it is a place inside the municipality, so it is the `dependent_locality` * beside the municipality as `locality` (`Loga, 02699 Neschwitz`). */ export declare function ortsteilStreetComponents(components: CanonicalRow["components"]): CanonicalRow["components"]; //# sourceMappingURL=ortsteil.d.ts.map