import { InputHTMLAttributes, ReactNode, Ref } from 'react'; import { FieldError, FieldValues, UseFormRegister } from 'react-hook-form'; import { ComponentColor, IComponentBaseProps, Size } from '../types'; export declare const TOGGLE = "toggle"; export declare const COLOR_MAP: { primary: string; secondary: string; error: string; info: string; success: string; warning: string; accent: string; }; export declare const SIZE_MAP: Record; export declare const TOGGLE_MAP: { primary: string; secondary: string; error: string; info: string; success: string; warning: string; accent: string; xs: string; sm: string; md: string; lg: string; xl: string; }; export interface ToggleProps extends Omit, "size">, IComponentBaseProps { ref?: Ref; color?: Exclude; name: string; size?: Size; className?: string; label?: ReactNode; labelPosition?: "left" | "right"; register?: UseFormRegister; error?: FieldError; }