import { ListingSearchParams } from "../../types/params/listings"; import { Facets } from "../../types/facets"; import { ApiCallOptions } from "../../base"; declare type Range = { key: string; from: number; to: number; }; declare type DateRange = { key: string; from: string; to: string; }; export declare type Facet = { name: string; ranges?: Range[]; dateRanges?: DateRange[]; }; export declare const fetchFacets: ({ query, facets, options, }?: { query?: ListingSearchParams; facets?: Facet[]; options?: ApiCallOptions; }) => Promise; export declare const fetchDealerListingsFacets: ({ dealerId, query, facets, options, }: { dealerId: number; query?: ListingSearchParams; facets?: Facet[]; options?: ApiCallOptions; }) => Promise; export {};