import type { AcurisAddressValidatorProps } from "./types.js"; /** * Render-prop wrapper that validates the supplied `address` on blur, submit, * or manual trigger. `address` is a commercetools-shaped `BaseAddress` (the * preferred form — gives Acuris everything it needs to rooftop-match) or a * fallback free-text string. * * * {({ status, result, formProps }) => ( *
* ...fields... * {status === "ok" && ( * await cart.setShippingAddress(toBaseAddress(result!)) * )} *
* )} *
*/ export declare function AcurisAddressValidator(props: AcurisAddressValidatorProps): React.ReactNode; //# sourceMappingURL=AcurisAddressValidator.d.ts.map