import { Connection } from "./connection"; export type KVPairHandle = { _key?: string; value: any; expireAt: number; }; export type KVCreateOptsObj = { stream?: boolean; expiration?: boolean; waitForSync?: boolean; }; export type KVValueOptsObj = { offset?: number; limit?: number; }; export declare class KeyValue { private _connection; name: string; constructor(connection: Connection, name: string); getCollections(): Promise; getKVCount(): Promise; getKVKeys(opts?: any): Promise; getValueForKey(key: string): Promise; createCollection(opts?: KVCreateOptsObj): Promise; deleteCollection(): Promise; deleteEntryForKey(key: string): Promise; deleteEntryForKeys(keys: string[]): Promise; insertKVPairs(keyValuePairs: KVPairHandle[]): Promise; getKVCollectionValues(keys: string[], opts?: KVValueOptsObj): Promise; truncateKVCollectionByName(): Promise; } //# sourceMappingURL=keyValue.d.ts.map