export type Keystore = { version: number; meta: string; crypto: { cipher: string; cipherparams: { iv: string; }; ciphertext: string; kdf: string; kdfparams: { prf: string; dklen: number; salt: string; c: number; }; mac: string; }; }; export declare function encryptToKeyStore(phrase: string, password: string): Promise<{ crypto: { cipher: string; cipherparams: { iv: string; }; ciphertext: string; kdf: string; kdfparams: { c: number; dklen: number; prf: string; salt: string; }; mac: string; }; meta: string; version: number; }>; export declare function generatePhrase(size?: 12 | 24): string; export declare function validatePhrase(phrase: string): boolean; export declare function decryptFromKeystore(keystore: Keystore, password: string): Promise; //# sourceMappingURL=keystore-helpers.d.ts.map