UNPKG

@sroussey/parse-address

Version:
13 lines (12 loc) 675 B
import XRegExp from "xregexp"; import { AddressParserImpl } from "../../types/parser"; export declare class AddressParserUS implements AddressParserImpl { normalizeAddress(parts: any): Record<string, any> | null; parseStreet(street_address: string): Record<string, any> | null; parseAddress(address: string): Record<string, any> | null; parseInformalAddress(address: string): Record<string, any> | null; parsePoAddress(address: string): Record<string, any> | null; parseLocation(address: string): Record<string, any> | null; parseIntersection(address: string): XRegExp.ExecArray | null; findStreetTypeShortCode(streetType?: string): string; }