///
import { RsaPrivateKey, RsaPublicKey } from 'crypto';
import { Credentials, Options, WchToolsOptions } from './types';
declare function _loadPrivateKey(): Promise;
declare function _loadPublicKey(): Promise;
declare function _encryptPassword(aPassword: string, aKey: RsaPublicKey): string;
declare function _decryptPassword(aHash: string, aKey: RsaPrivateKey): string;
declare function _writeCredentials(aWchToolsOptions: WchToolsOptions, aOptions?: Options): Promise;
declare function _removeCredentials(aApiUrl: string, aOptions?: Options): Promise;
/**
* Reads the credentials for the given API URL
*
* @param aApiUrl - the API URL
* @param aOptions - options for debugging and logging
*
* @returns a promise of the loaded credentials
*/
export declare function wchGetCredentials(aApiUrl: string, aOptions?: Options): Promise;
export { _loadPrivateKey as wchLoadPrivateKey, _loadPublicKey as wchLoadPublicKey, _decryptPassword as wchDecryptPassword, _encryptPassword as wchEncryptPassword, _writeCredentials as wchStoreCredentials, _removeCredentials as wchRemoveCredentials };