import type { QueryOptions } from '../types';
import type { SearchAddressRequest, SearchAddressSuccessResponse } from './address.types';
export type QueryKeySearchAddress = ['searchAddress', SearchAddressRequest];
/**
 * @param data
 * @param options additional options passed to Tanstack Query, eg; refetchInterval for polling
 */
export declare const useSearchAddress: (data: SearchAddressRequest, options?: QueryOptions<SearchAddressSuccessResponse>) => import("@tanstack/preact-query").UseQueryResult<Omit<{
    results?: import("./address.contract").components["schemas"]["AddressComponentSearchResult"][];
}, "results"> & {
    results: {
        description: string;
        highlight: string;
        id: string;
        text: string;
        type: "Address" | string;
    }[];
}, Error>;
