import React from "react"; import { TextFieldProps as MuiTextFieldProps } from "@material-ui/core/TextField"; import { RadioProps as MuiRadioProps } from "@material-ui/core/Radio"; import { CheckboxProps as MuiCheckboxProps } from "@material-ui/core/Checkbox"; import { FieldProps } from "formik"; export declare type BunFieldTypes = (MuiTextFieldProps | MuiRadioProps | MuiCheckboxProps) & { validate?: (value: any) => undefined | string | Promise; name: string; render?: (props: FieldProps) => React.ReactNode; children?: React.ReactNode | ((props: FieldProps) => React.ReactNode); as?: string | React.ComponentType; component?: string | React.ComponentType; }; declare const BunField: (props: BunFieldTypes) => any; export default BunField;