import React, { ReactNode } from 'react'; export default function wrapField({ component, disabled, error, errorMessage, fullWidth, helperText, margin, readOnly, required, showInlineError, variant }: any, ...children: ReactNode[]): React.FunctionComponentElement<{ children?: React.ReactNode; classes?: Partial | undefined; color?: "error" | "success" | "info" | "warning" | "primary" | "secondary" | undefined; disabled?: boolean | undefined; error?: boolean | undefined; fullWidth?: boolean | undefined; focused?: boolean | undefined; hiddenLabel?: boolean | undefined; margin?: "normal" | "none" | "dense" | undefined; required?: boolean | undefined; size?: "medium" | "small" | undefined; sx?: import("@mui/system").SxProps | undefined; variant?: "filled" | "outlined" | "standard" | undefined; } & import("@mui/material/OverridableComponent").CommonProps & Omit, HTMLDivElement>, "key" | keyof React.HTMLAttributes> & { ref?: ((instance: HTMLDivElement | null) => void) | React.RefObject | null | undefined; }, "color" | "size" | "disabled" | "margin" | "children" | "required" | "error" | "sx" | keyof import("@mui/material/OverridableComponent").CommonProps | "variant" | "focused" | "fullWidth" | "hiddenLabel">>;