/*! 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, Thread, Message, ContainerPolicy, ThreadEventSelectorType, ThreadEventType } from "../Types"; import { BaseNative } from "./BaseNative"; export declare class ThreadApiNative extends BaseNative { newApi(connectionPtr: number): Promise; deleteApi(ptr: number): Promise; create(ptr: number, args: []): Promise; createThread(ptr: number, args: [ string, UserWithPubKey[], UserWithPubKey[], Uint8Array, Uint8Array, ContainerPolicy | undefined ]): Promise; updateThread(ptr: number, args: [ string, UserWithPubKey[], UserWithPubKey[], Uint8Array, Uint8Array, number, boolean, boolean, ContainerPolicy | undefined ]): Promise; deleteThread(ptr: number, args: [string]): Promise; getThread(ptr: number, args: [string]): Promise; listThreads(ptr: number, args: [string, PagingQuery]): Promise>; getMessage(ptr: number, args: [string]): Promise; listMessages(ptr: number, args: [string, PagingQuery]): Promise>; sendMessage(ptr: number, args: [string, Uint8Array, Uint8Array, Uint8Array]): Promise; deleteMessage(ptr: number, args: [string]): Promise; updateMessage(ptr: number, args: [string, Uint8Array, Uint8Array, Uint8Array]): Promise; subscribeFor(ptr: number, args: [string[]]): Promise; unsubscribeFrom(ptr: number, args: [string[]]): Promise; buildSubscriptionQuery(ptr: number, args: [ThreadEventType, ThreadEventSelectorType, string]): Promise; }