import type { SearchForFacetValuesResponse } from '@algolia/client-search'; import type { ComputedRef } from 'vue'; import type { AlgoliaIndices, RequestOptionsObject } from '../../types'; export type SearchForFacetValuesParams = { facet: { name: string; query: string; }; } & RequestOptionsObject; export type UseSearchForFacetValuesReturnType = { result: ComputedRef; search: (params: SearchForFacetValuesParams) => Promise; }; export declare function useAlgoliaFacetedSearch(indexName: K): UseSearchForFacetValuesReturnType; export declare function useAlgoliaFacetedSearch(indexName: string): UseSearchForFacetValuesReturnType;