/** * Hook exposing convenient variables for use with `Searchbar` component. */ import { RefObject } from 'react'; type UseSearchbarReturn = { inputRef: RefObject; isExpanded: boolean; handleExpansion: () => void; handleCollapse: () => void; }; export declare const useSearchbar: ({ isInitiallyExpanded, isFocusOnExpand, }: { /** * If `true`, the searchbar will be expanded on initial render. */ isInitiallyExpanded?: boolean; /** * If `true`, the searchbar will be focused whenever the searchbar is expanded. * Defaults to `true`. */ isFocusOnExpand?: boolean; }) => UseSearchbarReturn; export {};