## API Report File for "@pongo-ui/react-theme-generator"

> Do not edit this file. It is a report generated by [API Extractor](https://api-extractor.com/).

```ts

// @public
export function calculateContrastRatio(hexColor: string, secondHexColor: string): number;

// @public
export function calculateLuminance(hexColor: string): number;

// @public
export function calculateShadow(foregroundColor: string, opacity: number): string;

// @public
export function calculateTransparentColor(foregroundColor: string, backgroundColor: string, opacity: number): string;

// @public
export function colorHexToRGB(hexColor: string): {
    r: number;
    g: number;
    b: number;
} | undefined;

// @public
export function colorRGBToHex(red: number, green: number, blue: number): string | undefined;

// Warning: (ae-forgotten-export) The symbol "ColorSetKey" needs to be exported by the entry point index.d.ts
//
// @public
export type ColorSet<T extends string | number> = {
    [key in ColorSetKey<T> | 'elevate' | 'hoverShadow']: string;
};

// @public
export const createSemanticColor: <T extends string | number>(semanticColors: SemanticColors<T>, canvasColor: string) => ColorSet<T>;

// @public
export function formatHex(value: string): string;

// @public
export function invertColor(hexColor: string): string;

// Warning: (ae-forgotten-export) The symbol "SemanticColorKey" needs to be exported by the entry point index.d.ts
//
// @public
export type SemanticColors<T extends string | number> = {
    [key in SemanticColorKey<T>]: string;
};

// @public (undocumented)
export function themeGenerator<T extends string | number>(props: ThemeGeneratorProps<T>): {
    textColor: string;
    canvasColor: string;
} & ColorSet<T>;

// @public (undocumented)
export type ThemeGeneratorProps<T extends string | number> = {
    canvasColor: string;
    semanticColors: SemanticColors<T>;
};

// @public
export function tokenGenerator<TTheme>(theme: TTheme): Record<keyof TTheme, string>;

// (No @packageDocumentation comment for this package)

```
