interface RGB { r: number; g: number; b: number; } export declare function isHex(hex: string): boolean; export declare function isRgb({ r, g, b }: RGB): boolean; export declare function hexToRgb(hex: string): RGB; export declare function rgbToHex({ r, g, b }: RGB): string; export declare function colorBasedOnBg(bgHex: string, lightColor: string, darkColor: string): string; export declare function randomHex(): string; export {};