import { ColorName, SemanticName, TextName } from '../tokens/index'; export type ThemeName = 'light' | 'dark'; /** The kit's text styles by role, as shown on the Typography and Text pages. */ export declare const TEXT_GROUPS: { title: string; description: string; names: TextName[]; }[]; /** Current theme: the Storybook toolbar sets `data-theme="dark"` on . Re-renders when it changes. */ export declare const useThemeName: () => ThemeName; /** The kit colour a semantic token points at in the given theme. */ export declare const resolveColor: (name: SemanticName, theme: ThemeName) => { colorName: ColorName; hex: string; }; /** WCAG 2.x contrast ratio between two `#rrggbb` colours. */ export declare const contrast: (a: string, b: string) => number; export declare const wcag: (ratio: number) => "AAA" | "AA" | "AA large" | "Fail";