UNPKG

angular-instantsearch

Version:

Lightning-fast search for Angular apps, by Algolia.

15 lines (14 loc) 646 B
import * as algoliasearchProxy from 'algoliasearch/lite'; import { HttpClient, HttpHeaders } from '@angular/common/http'; import { TransferState, StateKey } from '@angular/platform-browser'; declare type SSRSearchClientOptions = { appId: string; apiKey: string; httpClient: HttpClient; HttpHeaders: typeof HttpHeaders; transferState: TransferState; options?: object; makeStateKey<T = void>(key: string): StateKey<T>; }; export declare function createSSRSearchClient({ appId, apiKey, httpClient, HttpHeaders, transferState, makeStateKey, options, }: SSRSearchClientOptions): algoliasearchProxy.SearchClient; export {};