import type { QueryOptions } from '../types';
import type { components } from './address.contract';
export type RetrieveAddressSuccessResponse = components['schemas']['AddressComponentRetrieveResponse'];
/**
 * @param addressId
 * @param options additional options passed to Tanstack Query, eg; refetchInterval for polling
 */
export declare const useRetrieveAddress: (addressId: string, options?: QueryOptions<RetrieveAddressSuccessResponse>) => import("@tanstack/react-query").UseQueryResult<{
    city?: string;
    country?: string;
    houseNumberOrName?: string;
    isPoBox?: boolean;
    line1?: string;
    line2?: string;
    line3?: string;
    poBox?: boolean;
    postalCode?: string;
    stateOrProvince?: string;
    street?: string;
    street2?: string;
}, Error>;
