import { ReactNode } from 'react'; import { FormControlLabelProps, FormControlProps, FormGroupProps, FormHelperTextProps, FormLabelProps, SwitchProps as MuiSwitchProps } from '@mui/material'; import { ShowErrorFunc } from './ErrorMessage'; import { FieldProps } from 'react-final-form'; export interface SwitchData { label: ReactNode; value: unknown; disabled?: boolean; } export interface SwitchesProps extends Partial> { name: string; data: SwitchData | SwitchData[]; label?: ReactNode; required?: boolean; helperText?: string; fieldProps?: Partial>; formControlProps?: Partial; formGroupProps?: Partial; formLabelProps?: Partial; formControlLabelProps?: Partial; formHelperTextProps?: Partial; showError?: ShowErrorFunc; } export declare function Switches(props: SwitchesProps): JSX.Element;