import { RegisterOptions } from 'react-hook-form'; import { DisableMode } from '../common/common'; /** * Component & its Props */ export interface Name { firstName: string; lastName: string; } export interface NameFieldProps { /** * Unique name to be registered with react-hook-form */ name: string; autoComplete?: "off" | "on" | "new-password"; defaultValue?: Name; isDisabled?: DisableMode; placeHolder?: { firstName: string; lastName: string; name: string; }; registerOptions?: RegisterOptions; showFullNameError?: boolean; style?: React.CSSProperties; } export declare function NameField({ name, placeHolder, autoComplete, defaultValue, isDisabled, showFullNameError, style, registerOptions, }: Readonly): import("react/jsx-runtime").JSX.Element;