import { type HTMLAttributes } from 'react'; import translation from '@/../locales/en_US.json'; import i18nOptions from '@/../locales/options.json'; export type I18n = (typeof i18nOptions)[number]['value']; export const resources = { translation, } as const; type TranslationKeys = keyof typeof translation; export type Translation = { [key in TranslationKeys]: string; }; export type DivProps = HTMLAttributes; export type SvgProps = HTMLAttributes; export type ImgProps = HTMLAttributes; export type InputProps = HTMLAttributes; export type TextAreaProps = HTMLAttributes;