import type { SearchClient, SearchOptions, SearchQueryResponse, IndexableDocument, SearchIndex } from '../types'; import { MemoryLevel } from 'memory-level'; import { FuzzySearchWrapper } from '../fuzzy-search-wrapper'; type TinaSearchIndexerClientOptions = { stopwordLanguages?: string[]; tokenSplitRegex?: string; }; type TinaCloudSearchIndexerClientOptions = { apiUrl: string; branch: string; indexerToken: string; } & TinaSearchIndexerClientOptions; export declare class LocalSearchIndexClient implements SearchClient { searchIndex?: SearchIndex; protected readonly memoryLevel: MemoryLevel; private readonly stopwords; private readonly tokenSplitRegex; fuzzySearchWrapper?: FuzzySearchWrapper; constructor(options: TinaSearchIndexerClientOptions); onStartIndexing(): Promise; put(docs: IndexableDocument[]): Promise; del(ids: string[]): Promise; query(query: string, options?: SearchOptions): Promise; export(filename: string): Promise; } export declare class TinaCMSSearchIndexClient extends LocalSearchIndexClient { private readonly apiUrl; private readonly branch; private readonly indexerToken; constructor(options: TinaCloudSearchIndexerClientOptions); private getUploadUrl; private serializeIndex; private uploadIndex; onFinishIndexing(): Promise; } export {};