import type { AddressInput, SuggestionHit, ValidationResult } from "@acuris-geo/av-sdk"; import type { BaseAddress } 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 commercetools-native ISO-2 country codes. The proxy * should call `iso2ToIso3` server-side (or use our recommended proxy * snippet) before invoking the SDK. */ export declare function postValidateViaProxy(endpoint: string, country: string, input: BaseAddress | string, signal?: AbortSignal): Promise; export declare function getSuggestViaProxy(endpoint: string, country: string, q: string, options?: { limit?: number; region?: string; signal?: AbortSignal; }): Promise; /** * Convenience helper for the merchant's proxy: convert the wire `{country, input}` * (ISO-2 + commercetools 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 | string; }): { country: string; input: AddressInput; }; //# sourceMappingURL=transport.d.ts.map