export default Algorithm; /** * * */ type Algorithm = string; declare namespace Algorithm { /** * Returns a Algorithm enum value from a JavaScript object name. * @param {Object} obj The plain JavaScript object containing the name of the enum value. * @return {Algorithm} The enum Algorithm value. */ function constructFromObject(obj: any): string; /** * Validates Algorithm enum value. * @param {Object} obj The plain JavaScript object containing the name of the enum value. * @return {null} Throws error for invalid value. */ function validate(obj: any): null; }