export declare function toHex(x: any): string; export declare function resolveColor(colorParam: string): { r?: undefined; g?: undefined; b?: undefined; a?: undefined; hex?: undefined; } | { r: any; g: any; b: any; a: any; hex: string; }; export declare function transformColor(color: any, a: any): string | undefined; export declare function getBackgroundAccordingColor(color: any, fixedAngle?: number): { backgroundImage: string; background?: undefined; } | { background: any; backgroundImage?: undefined; } | undefined; export declare function getMiddleColor(colors: any, offset: any): any;