import { AcurisClient, type FieldedAddressInput, type ValidationResult } from "@acuris-geo/av-sdk"; import type { AgenticCheckoutConfig, Assessment, FieldIssue } from "./types.js"; /** * Protocol-independent core: validate one fielded address against Acuris and * classify the outcome. The UCP/ACP mappers turn the resulting Assessment * into their wire formats; nothing in here knows about either protocol. */ export declare function assessAddress(input: FieldedAddressInput, countryIso3: string | undefined, config?: AgenticCheckoutConfig, clientOverride?: AcurisClient): Promise; /** * Input-aware post-processing of a raw classification: * * 1. House-number rewrite guard. When the exact house number is not in the * reference data, /validate can return a *different* house number in * `standardized` (the matched row's) while still reporting rooftop * accuracy — match_components.house_number is false in that case. Echoing * that back would re-route the parcel to the wrong building, so a * correction that does not preserve the submitted house number downgrades * to `unverifiable` on the house number and withholds the standardized * form. * 2. Only report unmatched components the buyer actually submitted (an empty * state field on a DEU address is not the agent's problem). * 3. Street + house number share one wire field in UCP/ACP — collapse the * pair into a single street issue. */ export declare function refineWithInput(assessment: Assessment, input: FieldedAddressInput): Assessment; export declare function classify(result: ValidationResult, config?: AgenticCheckoutConfig): Assessment; export declare function buildClient(config: AgenticCheckoutConfig): AcurisClient; /** Field labels for human-readable message content. */ export declare const FIELD_LABELS: Record; //# sourceMappingURL=core.d.ts.map