import type { AsyncData } from '#app'; import type { RequestOptionsObject, SearchResponse } from '../../types'; export type AsyncSearchParams = { query: string; indexName?: string; key?: string; } & RequestOptionsObject; export declare function useAsyncAlgoliaSearch({ query, requestOptions, indexName, key }: AsyncSearchParams): Promise, Error>>;