import React from 'react'; import type { PropsWithChildren } from 'react'; import type { SearchController } from 'stream-chat'; import type { SearchProps } from './Search'; export type SearchContextValue = { searchController: SearchController; containerRef: React.RefObject; filterButtonsContainerRef: React.RefObject; } & Pick & Required>; export declare const SearchContext: React.Context; /** Provides the search state to the components rendered inside `Search`. */ export declare const SearchContextProvider: ({ children, value, }: PropsWithChildren<{ value: SearchContextValue; }>) => import("react/jsx-runtime").JSX.Element; export declare const useSearchContext: () => SearchContextValue; //# sourceMappingURL=SearchContext.d.ts.map