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) => import("@tanstack/preact-query").UseQueryResult & { results: { description: string; highlight: string; id: string; text: string; type: "Address" | string; }[]; }, Error>;