UNPKG

@nuxtjs/algolia

Version:
5 lines (4 loc) 321 B
import type { SearchIndex } from 'algoliasearch'; import type { AlgoliaIndices, TypedSearchIndex } from '../../types'; export declare function useAlgoliaInitIndex<T extends keyof AlgoliaIndices>(indexName: T): TypedSearchIndex<T>; export declare function useAlgoliaInitIndex<T extends string>(indexName: T): SearchIndex;