type Constructor = new(...args: TA[]) => T; type ExtendTypeWith, OtherObject extends object> = Constructor & OtherObject, ConstructorParameters>; type Dictionary = {[key: string]: TYPE}; declare module 'react-native-color' { declare const HueGradient: any; declare const LightnessGradient: any; declare const SaturationGradient: any; declare const Gradient: any; } interface Extendable { [key: string]: any; }