import type { Chunk, NewChunk, SendQueue } from "./types"; export declare const getDBAddressBookEntry: (peerId?: string, peerPublicKey?: string) => Promise; export declare const getAllDBAddressBookEntries: () => Promise; export declare const setDBAddressBookEntry: (username: string, peerId: string, peerPublicKey: string) => Promise; export declare const deleteDBAddressBookEntry: (username?: string, peerId?: string, peerPublicKey?: string) => Promise; export declare const getDBPeerIsBlacklisted: (peerId?: string, peerPublicKey?: string) => Promise; export declare const getAllDBBlacklisted: () => Promise; export declare const setDBPeerInBlacklist: (peerId: string, peerPublicKey: string) => Promise; export declare const deleteDBPeerFromBlacklist: (peerId?: string, peerPublicKey?: string) => Promise; export declare const getAllDBUniqueRooms: () => Promise; export declare const setDBUniqueRoom: (roomUrl: string, roomId: string) => Promise; export declare const getDBMessageData: (merkleRootHex?: string, hashHex?: string) => Promise; export declare const getDBRoomMessageData: (roomId: string) => Promise; export declare const setDBRoomMessageData: (roomId: string, merkleRootHex: string, sha512Hex: string, fromPeerId: string, chunkSize: number, totalSize: number, messageType: number, // MessageType, filename: string, channelLabel: string, timestamp: number) => Promise; export declare const getDBChunk: (hashHex: string, chunkIndex: number) => Promise; export declare const existsDBChunk: (hashHex: string, chunkIndex: number) => Promise; export declare const getDBNewChunk: (hashHex: string, chunkIndex?: number) => Promise; export declare const existsDBNewChunk: (hashHex: string, chunkIndex: number) => Promise; export declare const getDBSendQueue: (label: string, toPeerId: string) => Promise; export declare const getDBAllChunks: (merkleRootHex?: string, hashHex?: string) => Promise; export declare const getDBAllChunksCount: (merkleRootHex?: string, hashHex?: string) => Promise; export declare const setDBChunk: (chunk: Chunk) => Promise; export declare const getDBAllNewChunks: (hashHex?: string, merkleRootHex?: string) => Promise; export declare const getDBAllNewChunksCount: (hashHex: string) => Promise; export declare const setDBNewChunk: (chunk: NewChunk) => Promise; export declare const setDBSendQueue: (item: SendQueue) => Promise; export declare const countDBSendQueue: (label: string, toPeerId: string) => Promise; export declare const deleteDBChunk: (hashHex: string, chunkIndex?: number) => Promise; export declare const deleteDBNewChunk: (merkleRootHex?: string, realChunkHashHex?: string, hashHex?: string, chunkIndex?: number) => Promise; export declare const deleteDBMessageData: (merkleRootHex: string) => Promise; export declare const deleteDBUniqueRoom: (roomId: string) => Promise; export declare const deleteDB: () => Promise; export declare const deleteDBSendQueue: (label: string, toPeerId: string, position?: number) => Promise; //# sourceMappingURL=api.d.ts.map