export default ImageSource; /** * * */ type ImageSource = string; declare namespace ImageSource { /** * Returns a ImageSource enum value from a JavaScript object name. * @param {Object} obj The plain JavaScript object containing the name of the enum value. * @return {ImageSource} The enum ImageSource value. */ function constructFromObject(obj: any): string; /** * Validates ImageSource 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; }