import type { AddressInput, SuggestionHit, ValidationResult } from "@acuris-geo/av-sdk"; import type { BaseAddress, SimpleAddress } from "./types.js"; /** * Browser-safe wrappers that call _your_ proxy endpoints (never Acuris * directly). The proxy is expected to forward to the Acuris av-sdk with * the API key server-side — see the integration guide. * * On the wire we POST SCAYLE-native ISO-2 country codes. The proxy * should call `iso2ToIso3` server-side (or use the `adaptWireToSdk` * helper) before invoking the SDK. */ export declare function postValidateViaProxy(endpoint: string, country: string, input: BaseAddress | SimpleAddress | string, signal?: AbortSignal): Promise; export declare function getSuggestViaProxy(endpoint: string, country: string, q: string, options?: { limit?: number; state?: string; signal?: AbortSignal; }): Promise; /** * Convenience helper for the merchant's proxy: convert the wire * `{country, input}` (ISO-2 + SCAYLE fields) into the av-sdk's expected * shape (ISO-3 + Acuris fields). Exported so the proxy route can do the * translation in a single line. */ export declare function adaptWireToSdk(payload: { country: string; input: BaseAddress | SimpleAddress | string; }): { country: string; input: AddressInput; }; //# sourceMappingURL=transport.d.ts.map