///
import 'source-map-support/register';
import { PassThrough } from 'stream';
import { Level } from './storage/level';
import { Mongo } from './storage/mongo';
import { KeyImport } from './wallet';
export declare class Storage {
path: string;
db: Array;
collection: 'multicoreWallets';
url?: string;
errorIfExists?: boolean;
createIfMissing: boolean;
storageType: any;
constructor(params: {
path?: string;
createIfMissing: boolean;
errorIfExists: boolean;
storageType?: string;
});
loadWallet(params: {
name: string;
}): Promise;
deleteWallet(params: {
name: string;
}): Promise;
listWallets(): Promise;
listKeys(): Promise;
saveWallet(params: any): Promise;
getKey(params: {
address: string;
name: string;
encryptionKey: string;
keepAlive: boolean;
open: boolean;
}): Promise;
getKeys(params: {
addresses: string[];
name: string;
encryptionKey: string;
}): Promise>;
addKeys(params: {
name: string;
keys: KeyImport[];
encryptionKey: string;
}): Promise;
}
//# sourceMappingURL=storage.d.ts.map