import type { HestiaPlaceData } from '../api/models/place.types'; import { SerializablePagination } from '../serializers/pagination'; export declare enum FragmentType { String = "STRING", Int = "INT", CommaSeparatedList = "COMMA SEPARATED LIST", Base64 = "Base64" } export type FragmentDefinition = { start: string; end?: string; type: FragmentType; }; export type BaseSearch = { q?: string; placeId?: string; place?: HestiaPlaceData | null; postcodeUrlLabel?: string; }; export type PropertySearchBase = BaseSearch & { channel?: string | undefined; minBedrooms: number | null; maxBedrooms: number | null; minPrice: number | null; maxPrice: number | null; minSquareFeet?: number | null | undefined; maxSquareFeet?: number | null | undefined; area?: number | undefined; updatedAgo?: number | undefined; createdAgo?: number | undefined; status: string; minAcreage?: number | undefined; maxAcreage?: number | undefined; within?: number | string | undefined; page?: number | undefined; poly?: string | null; text?: string | undefined; shortLets?: string | undefined; tags: string[]; auctionDate?: string | undefined; sort?: string | null; }; export type Search = PropertySearchBase & { q: string; address?: string; activeSearchType?: string; }; export type SearchParams = PropertySearchBase; export declare const FRAGMENT_DEFINITIONS: { text: FragmentDefinition; tags: FragmentDefinition; minBedrooms: FragmentDefinition; maxBedrooms: FragmentDefinition; minPrice: FragmentDefinition; maxPrice: FragmentDefinition; minSquareFeet: FragmentDefinition; maxSquareFeet: FragmentDefinition; area: FragmentDefinition; updatedAgo: FragmentDefinition; createdAgo: FragmentDefinition; status: FragmentDefinition; minAcreage: FragmentDefinition; maxAcreage: FragmentDefinition; within: FragmentDefinition; poly: FragmentDefinition; shortLets: FragmentDefinition; auctionDate: FragmentDefinition; address: FragmentDefinition; }; export declare const SEARCH_ORDER_OPTIONS: { 'least-expensive-first': string[]; 'most-expensive-first': string[]; 'most-recent-first': string[]; 'most-square-feet-first': string[]; 'least-square-feet-first': string[]; 'most-recently-updated-first': string[]; }; export declare const BRANCH_SEARCH_ORDER_OPTIONS: { [key: string]: [string, string]; }; export declare const DBAPI_SEARCH_ORDER_OPTIONS: { 'most-recent-first': { column: string; descending: boolean; }[]; 'least-recent-first': { column: string; ascending: boolean; }[]; }; export type ArticleSearch = { articles: ArticleData[]; pagination: SerializablePagination | undefined; }; type ArticleData = { id?: number | null; _id?: string | null; slug?: string | null; }; export {}; //# sourceMappingURL=constants.d.ts.map