import { ReactElement, ReactNode, Ref, SelectHTMLAttributes } from 'react'; import { FieldError, FieldPath, FieldValues, UseFormRegister } from 'react-hook-form'; import { ComponentColor, IComponentBaseProps, Size } from '../types'; export declare const SELECT = "select"; export declare const COLOR_MAP: { primary: string; secondary: string; error: string; info: string; success: string; warning: string; accent: string; ghost: string; }; export declare const SIZE_MAP: Record; export declare const SELECT_MAP: { primary: string; secondary: string; error: string; info: string; success: string; warning: string; accent: string; ghost: string; xs: string; sm: string; md: string; lg: string; xl: string; }; export interface SelectProps extends Omit, "size" | "color">, IComponentBaseProps { ref?: Ref; noBordered?: boolean; borderOffset?: boolean; size?: Size; placeholder?: string; placeholderAsItem?: boolean; name: FieldPath; id?: string; color?: Exclude; register?: UseFormRegister; label?: ReactNode; classes?: { input?: string; label?: string; labelText?: string; helper?: string; helperText?: string; }; children: ReactElement[]; error?: FieldError; helper?: string; }