import { HestiaPlaceData } from '../models'; import { Search } from './constants'; export type SanitizedSearch = Record; export type PropertiesParams = { search: Search; location: string; county: string; postcode: string; page?: number; pageSize?: number; }; export declare function sanitizeSearch(search: SanitizedSearch | Search): SanitizedSearch; export declare function lastSearchIsEqual(search: Search, searchHistory: Search[]): boolean; export declare function addSearchToIndexedDb(search: Search): Promise; export declare function getCountyOrLocationFromPlace(place: HestiaPlaceData | null | undefined): { location: string; county: string; }; export declare function getSearchParamsFromHistory(): Promise; //# sourceMappingURL=search-history.d.ts.map