import { AsyncAPIDocumentData } from '../types/schema'; import { UseSpecSearchOptions } from './useFuseSearch'; export type { UseSpecSearchOptions }; export declare function useSpecSearch(asyncapi: AsyncAPIDocumentData, options?: UseSpecSearchOptions): { query: string; setQuery: import('react').Dispatch>; results: import('../helpers/searchIndex').SearchEntry[]; searchIndex: import('../helpers/searchIndex').SearchEntry[]; };