/** * @copyright Sister Software * @license AGPL-3.0 * @author Teffen Ellis, et al. * * Align one permit-registry address string to the address register's key, or answer null. Alignment * is exact against {@link KeyIndex} rather than fuzzy, so a string that satisfies the whole key becomes * a training row of matched spans and one that does not becomes a board row. */ import { type KeyIndex } from "#kr/adapters/localdata/key-index"; /** * One aligned string: the spans that matched and the key they matched under. */ export interface Aligned { raw: string; spanStarts: number[]; spanEnds: number[]; spanTags: string[]; register: "registry_road" | "registry_lot"; region: string; sigungu: string; } /** * Align one road-name string, or answer null. */ export declare function alignRoadAddress(text: string, index: KeyIndex): Aligned | null; /** * Align one lot-number string, or answer null. */ export declare function alignLotAddress(text: string, index: KeyIndex): Aligned | null; //# sourceMappingURL=align.d.ts.map