UNPKG

@drgd/aura

Version:

Extract color palettes from any image. Works on both server and client.

18 lines (16 loc) 337 B
/** * Represents an extracted color with its prevalence in the image. */ type AuraColor = { hex: string; weight: number; }; /** * Response from the useAura hook (client-side only). */ type AuraResponse = { colors: AuraColor[]; isLoading: boolean; error: Error | null; }; export type { AuraColor, AuraResponse };