/*! 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, Store, File, ContainerPolicy, StoreEventSelectorType, StoreEventType } from "../Types"; import { BaseNative } from "./BaseNative"; export declare class StoreApiNative extends BaseNative { newApi(connectionPtr: number): Promise; deleteApi(ptr: number): Promise; create(ptr: number, args: []): Promise; createStore(ptr: number, args: [ string, UserWithPubKey[], UserWithPubKey[], Uint8Array, Uint8Array, ContainerPolicy | undefined ]): Promise; updateStore(ptr: number, args: [ string, UserWithPubKey[], UserWithPubKey[], Uint8Array, Uint8Array, number, boolean, boolean, ContainerPolicy | undefined ]): Promise; deleteStore(ptr: number, args: [string]): Promise; getStore(ptr: number, args: [string]): Promise; listStores(ptr: number, args: [string, PagingQuery]): Promise>; createFile(ptr: number, args: [string, Uint8Array, Uint8Array, number, boolean]): Promise; updateFile(ptr: number, args: [string, Uint8Array, Uint8Array, number]): Promise; updateFileMeta(ptr: number, args: [string, Uint8Array, Uint8Array]): Promise; writeToFile(ptr: number, args: [number, Uint8Array, boolean]): Promise; deleteFile(ptr: number, args: [string]): Promise; getFile(ptr: number, args: [string]): Promise; listFiles(ptr: number, args: [string, PagingQuery]): Promise>; openFile(ptr: number, args: [string]): Promise; readFromFile(ptr: number, args: [number, number]): Promise; seekInFile(ptr: number, args: [number, number]): Promise; closeFile(ptr: number, args: [number]): Promise; syncFile(ptr: number, args: [number]): Promise; subscribeFor(ptr: number, args: [string[]]): Promise; unsubscribeFrom(ptr: number, args: [string[]]): Promise; buildSubscriptionQuery(ptr: number, args: [StoreEventType, StoreEventSelectorType, string]): Promise; }