export interface ScryptPassParams { password: string; salt: string; dkLen?: number; } export interface EncryptParams { phrase: string; password: string; salt?: string; nonce?: Uint8Array; } export interface EncryptResponse { encryptedPhrase: string; salt: string; } export interface DecryptParams { phrase: string; password: string; salt: string; } export declare const RECOVERY_CODE_NBITS = 160; export declare const RECOVERY_CODE_NWORDS: number; export declare const SALT_BYTES = 32; export declare const NONCE_BYTES: number; export declare const LOCAL_KEY_BYTES: number; export declare const CRYPTO_V1 = 1; export declare const CURRENT_CRYPTO_VERSION = 1; export declare const KEY_LEN: number; export declare function encrypt(params: EncryptParams): Promise; export declare function decrypt(params: DecryptParams): Promise;