/** * @copyright Sister Software * @license AGPL-3.0 * @author Teffen Ellis, et al. * * Decompose a US street name into Stage 3 components (street_prefix, street, street_suffix) from the * curated libpostal/en directionals and street_types dictionaries — the same ones the runtime * StreetPrefixClassifier and StreetSuffixClassifier use, so corpus labels and runtime classifications * agree on the vocabulary. */ export interface DecomposedStreet { prefix: string | null; street: string; suffix: string | null; } /** * Decompose a US street name into prefix/name/suffix components. * * Conservative, emitting a prefix or suffix only for a clear directional or street-type keyword. * It returns the original as `street` when no pattern matches. */ export declare function decomposeStreet(fullname: string): DecomposedStreet; //# sourceMappingURL=street-decompose.d.ts.map