import { type ElementType, type ReactNode } from 'react'; import { type ChildrenProps, type StyleProps, type TransferProps, type ValidationTextProp } from '../../types'; import { type RegisterType } from './useAriaIds'; export interface FieldElementTypeProps { elementType?: T; } export interface FieldProps extends FieldElementTypeProps { id?: string; registerAria?: RegisterType; } export interface HelperTextProps extends FieldProps, StyleProps, ChildrenProps, TransferProps { helperText: ReactNode; } export interface ValidationTextProps extends FieldProps, ValidationTextProp, StyleProps, ChildrenProps, TransferProps { }