import React, { PropsWithChildren, MutableRefObject } from 'react'; import { DateRange } from 'react-day-picker'; import { AgeCategoryCount, Location, FilterBarTypes } from '../FilterBarTypes'; type FilterBarProviderProps = PropsWithChildren; type FilterBarContextType = FilterBarTypes & { selectedFilter: string | boolean; ageCategoryCounts: AgeCategoryCount; categories: number; calendarRange?: DateRange; selectedPath: string; innerLoading: boolean; selectedLocations: Location[]; setSelectedLocations: (val: Location[]) => void; setCalendarRange: (val: DateRange | undefined) => void; setSelectedFilter: (val: string | boolean) => void; setAgeCategoryCounts: (val: AgeCategoryCount) => void; setCategories: (val: number) => void; setSelectedPath: (val: string) => void; handleSelectedFilter: (id: string | boolean) => void; handleSubmit: () => void; updateGuestsCount: (id: string, newCount: number) => void; handleResetFilters: () => void; previouslyFocusedButtonRef: MutableRefObject; panelRef: MutableRefObject; buttonRefs: MutableRefObject>; filtersRef: MutableRefObject; isMobile: boolean; tabsRef: MutableRefObject; }; export declare const FilterBarProvider: ({ children, language, ageCategories, redirectUrl, palette, onSubmit, fullWidth, disableCalendarDates, mode, tabs, outerLoading, locations, }: FilterBarProviderProps) => React.JSX.Element; export declare const useFilterBar: () => FilterBarContextType; export {};