import React, { ElementType } from 'react'; export interface SelectOption { [key: string]: any; } export interface ISelect { options: T[]; label: string; size: 'small' | 'medium' | 'large'; contentPosition?: 'top' | 'bottom'; field?: any; Icon?: ElementType; defaultValue?: T; firstOption?: T; valueKey?: keyof T; labelKey?: keyof T; onClick?: (event: React.MouseEvent) => void; onSelect?: (option: T) => void; required?: boolean; errorMessage?: string; ariaDescribedBy?: string; }