import Location from '../api/models/location';
import County from '../api/models/county';
import Postcode from '../api/models/postcode';
import { BaseSearch, Search } from './constants';
/**
* Extension to search-from-param
* Returns the search object from search-from-params but will also add postcode/location/county data if included in params
*
* @example
* ```tsx
* const search = await searchFromParamsWithLocation(searchParams);
*
* search can then be passed wherever a search object is required
*
* const {
* results: properties,
* pagination,
* errors,
* } = await Property.search({ search, county, location, postcode, branch });
*
*
*
* ```
*/
export default function searchFromParamsWithLocation(searchParams: {
fragment: string | string[];
channel?: string;
county?: string;
location?: string;
postcode?: string;
sort?: string;
}): Promise;
export declare function setDirectLoadSearchParams(search: S, result: Location | County | Postcode): S;
//# sourceMappingURL=search-from-params-with-location.d.ts.map