import React, { InputHTMLAttributes, Ref } from 'react'; import { FormElementProps } from './FormElement'; /** * */ export type ToggleProps = { label?: string; required?: boolean; error?: FormElementProps['error']; cols?: number; name?: string; elementRef?: Ref; inputRef?: Ref; onValueChange?: (checked: boolean) => void; } & InputHTMLAttributes; /** * */ export declare const Toggle: React.FC & { isFormElement: boolean; };