import { MathType } from "./math"; /** Color class. Stardust use colors with range 0-1 instead of 0-255, different from HTML! */ export declare class Color extends MathType { r: number; g: number; b: number; a: number; /** Create a color from an array of numbers [r, g, b, a] */ static FromArray([r, g, b, a]: number[]): Color; /** Create a color from HTML color code rgb(r, g, b), rgba(r, g, b, a), #RRGGBB, #RGB */ static FromHTML(html: string, alpha?: number): Color; /** Create a new Color, rgba ranges are 0 to 1 */ constructor(r?: number, g?: number, b?: number, a?: number); toArray(): number[]; clone(): Color; } /** Get color quadruple from HTML color code */ export declare function colorFromHTML(html?: string, alpha?: number): number[];