import { DateRange } from 'react-day-picker'; import { AgeCategoryCount, AgeCategoryType, Filters, Tab, Location } from '../FilterBarTypes'; type Props = { redirectUrl?: string; ageCategories?: AgeCategoryType[]; onSubmit?: ((val: Filters) => void) | null; tabs?: Tab[]; locations?: { multiSelect: boolean; data: Location[]; }; }; export declare const useFilterBar: ({ redirectUrl, ageCategories, onSubmit, tabs, locations, }: Props) => { selectedFilter: string | boolean; ageCategoryCounts: AgeCategoryCount; categories: number; calendarRange: DateRange | undefined; selectedPath: string; innerLoading: boolean; selectedLocations: Location[]; setSelectedLocations: import("react").Dispatch>; setCalendarRange: import("react").Dispatch>; setSelectedFilter: import("react").Dispatch>; setAgeCategoryCounts: import("react").Dispatch>; setCategories: import("react").Dispatch>; handleSelectedFilter: (id: string | boolean) => void; handleSubmit: () => void; updateGuestsCount: (id: string, newCount: number) => void; handleResetFilters: () => void; setSelectedPath: import("react").Dispatch>; }; export {};