import { Client as ElasticClient } from '@elastic/elasticsearch'; export interface IElasticKVStoreConstructorOptions { index: string; node: string; auth?: { username: string; password: string; }; } export declare class ElasticKVStore { client: ElasticClient; index: string; private readyDeferred; constructor(options: IElasticKVStoreConstructorOptions); private setupIndex; set(key: string, value: string): Promise; get(key: string): Promise; delete(key: string): Promise; clear(): Promise; }