import { BitGoBase } from '../bitgoBase';
import { OptionalKeychainEncryptedKey } from './iKeychains';
/**
 * Decrypts the private key of a keychain (sync, v1 only).
 * This method will try the password against the traditional encryptedPrv,
 * and any webauthn device encryptedPrvs.
 *
 * @param bitgo
 * @param keychain
 * @param password
 */
export declare function decryptKeychainPrivateKey(bitgo: BitGoBase, keychain: OptionalKeychainEncryptedKey, password: string): string | undefined;
/**
 * Decrypts the private key of a keychain (async, supports v1 and v2 envelopes).
 * This method will try the password against the traditional encryptedPrv,
 * and any webauthn device encryptedPrvs.
 * Auto-detects v1 (SJCL) and v2 (Argon2id) envelopes.
 *
 * @param bitgo
 * @param keychain
 * @param password
 */
export declare function decryptKeychainPrivateKeyAsync(bitgo: BitGoBase, keychain: OptionalKeychainEncryptedKey, password: string): Promise<string | undefined>;
//# sourceMappingURL=decryptKeychain.d.ts.map