import React from 'react'; import TextField from '@material-ui/core/TextField'; import Checkbox, { CheckboxProps } from '@material-ui/core/Checkbox'; import Slider, { SliderProps } from '@material-ui/core/Slider'; import { FormControlLabelProps } from '@material-ui/core/FormControlLabel'; export declare const useFormFieldContext: (name: string) => { state: { value: any; error: string; hasError: boolean; touched: boolean; }; actions: { setValue: (value: any) => void; setTouched: () => void; setError: (error: string) => void; }; }; export declare const FormField: React.ForwardRefExoticComponent & React.RefAttributes>; export declare const SliderField: ({ name, component: Component, ...props }: Omit & { component?: typeof Slider; }) => JSX.Element; export declare const CheckboxField: ({ name, label, labelProps, helperText, component: Component, ...props }: CheckboxProps & { label: string; component?: typeof Checkbox | undefined; helperText?: string | undefined; labelProps?: Partial | undefined; }) => JSX.Element;