import { type ChromaticPalette } from '@dxos/ui-types'; export type Hue = ChromaticPalette | 'neutral'; /** * See theme.css */ export type ColorStyles = { hue: Hue; bg: string; surface: string; fg: string; text: string; border: string; }; export declare const palette: { neutral: ColorStyles; hues: ColorStyles[]; }; /** * Normalise an arbitrary string into a known `Hue`, falling back to `'neutral'` when the * input doesn't match one of the catalogued palette entries. Useful when accepting hue * values from user-authored data (e.g. ECHO objects, plugin settings) that need to be * forwarded to a hue-keyed prop like `Tag`'s `palette`. */ export declare const toHue: (hue: string | undefined) => Hue; export declare const getStyles: (hue: string) => ColorStyles; export declare const getHashStyles: (id: string | undefined) => ColorStyles; export declare const getHashHue: (id: string | undefined) => Hue; //# sourceMappingURL=hash-styles.d.ts.map