/*! PrivMX Web Endpoint. Copyright © 2024 Simplito sp. z o.o. This file is part of the PrivMX Platform (https://privmx.dev). This software is Licensed under the PrivMX Free License. See the License for the specific language governing permissions and limitations under the License. */ import { PagingQuery, PagingList, UserWithPubKey, Kvdb, KvdbEntry, ContainerPolicy, DeleteEntriesResult, KvdbEventSelectorType, KvdbEventType } from "../Types"; import { BaseNative } from "./BaseNative"; export declare class KvdbApiNative extends BaseNative { newApi(connectionPtr: number): Promise; deleteApi(ptr: number): Promise; create(ptr: number, args: []): Promise; createKvdb(ptr: number, args: [ string, UserWithPubKey[], UserWithPubKey[], Uint8Array, Uint8Array, ContainerPolicy | undefined ]): Promise; updateKvdb(ptr: number, args: [ string, UserWithPubKey[], UserWithPubKey[], Uint8Array, Uint8Array, number, boolean, boolean, ContainerPolicy | undefined ]): Promise; deleteKvdb(ptr: number, args: [string]): Promise; getKvdb(ptr: number, args: [string]): Promise; listKvdbs(ptr: number, args: [string, PagingQuery]): Promise>; hasEntry(ptr: number, args: [string, string]): Promise; getEntry(ptr: number, args: [string, string]): Promise; listEntriesKeys(ptr: number, args: [string, PagingQuery]): Promise>; listEntries(ptr: number, args: [string, PagingQuery]): Promise>; setEntry(ptr: number, args: [string, string, Uint8Array, Uint8Array, Uint8Array, number]): Promise; deleteEntry(ptr: number, args: [string, string]): Promise; deleteEntries(ptr: number, args: [string, string[]]): Promise; subscribeFor(ptr: number, args: [string[]]): Promise; unsubscribeFrom(ptr: number, args: [string[]]): Promise; buildSubscriptionQuery(ptr: number, args: [KvdbEventType, KvdbEventSelectorType, string]): Promise; buildSubscriptionQueryForSelectedEntry(ptr: number, args: [KvdbEventType, string, string]): Promise; }