export type ColorKeys = { [K in keyof T]: K extends string ? K extends `${string}color${string}` | `${string}Color${string}` ? K : never : never }[keyof T] export type UseUpdateVariantColorConfig> = { animateCallback?: (from: string, to: string) => void, colorKey: ColorKeys, style: T, secretKey: string | undefined }