import { EditorSuggestionsService } from '../types.cjs'; import '../extensions/types.cjs'; import 'react'; import '@tiptap/core'; import '@ecp.eth/sdk/indexer'; type UseIndexerSuggestionsOptions = { /** * URL of the indexer API. * * If not provided, the default indexer API URL will be used. */ indexerApiUrl?: string; /** * The debounce time in milliseconds. * * @default 200 */ debounceMs?: number; }; /** * Hook to fetch suggestions from indexer API. */ declare function useIndexerSuggestions({ indexerApiUrl, debounceMs, }?: UseIndexerSuggestionsOptions): EditorSuggestionsService; export { type UseIndexerSuggestionsOptions, useIndexerSuggestions };