import { AxiosInstance, AxiosResponse } from "axios"; import { Index } from "crypto/sse/findex/interfaces"; import { DBInterface } from "crypto/sse/findex/interfaces/dbInterface"; import { IndexString } from "../common/index_string"; import { Users } from "../common/users"; export interface EncryptedUser { uid: string; enc_basic: string; enc_hr: string; enc_security: string; } export declare class PostgRestDB implements DBInterface { users: Users; instance: AxiosInstance; responseBody: (response: AxiosResponse) => any; fetchEntry: (serializedUids: Uint8Array) => Promise; fetchChain: (serializedUids: Uint8Array) => Promise; upsertEntry: (serializedEntries: Uint8Array) => Promise; upsertChain: (serializedEntries: Uint8Array) => Promise; getEntryTableEntriesById(uids: Uint8Array[]): Promise; getChainTableEntriesById(uids: Uint8Array[]): Promise; upsertEntryTableEntries(entries: Index[]): Promise; upsertChainTableEntries(entries: Index[]): Promise; getEntryTableEntries(): Promise; getChainTableEntries(): Promise; getEncryptedUsers(): Promise; getEncryptedUsersById(uids: string[]): Promise; getFirstEncryptedUsers(): Promise; upsertEncryptedUser(entry: EncryptedUser): Promise>; deleteAllEntryTableEntries(): Promise; deleteAllChainTableEntries(): Promise; deleteAllEncryptedUsers(): Promise; } //# sourceMappingURL=db.d.ts.map