import { ReactNode } from 'react'; import { FieldPath, FieldPathValue, FieldValues, Validate, ValidationRule } from 'react-hook-form'; type PageFormTextInputBaseProps = FieldPath, TSelection extends FieldValues = FieldValues> = { id?: string; name: TFieldName; type?: 'text' | 'date' | 'datetime-local' | 'email' | 'month' | 'number' | 'password' | 'search' | 'tel' | 'time' | 'url'; label?: string; labelHelpTitle?: string; labelHelp?: string | string[] | ReactNode; additionalControls?: ReactNode; placeholder?: string; button?: ReactNode; helperText?: string; isDisabled?: boolean; isReadOnly?: boolean; isRequired?: boolean; validate?: Validate | Record>; minLength?: number | ValidationRule; maxLength?: number | ValidationRule; min?: number | string; max?: number | string; pattern?: ValidationRule; selectTitle?: string; selectValue?: (selection: TSelection) => FieldPathValue>; selectOpen?: (callback: (selection: TSelection) => void, title: string) => void; autoFocus?: boolean; defaultValue?: FieldPathValue; enableUndo?: boolean; enableReset?: boolean; shouldUnregister?: boolean; fullWidth?: boolean; }; export type PageFormTextInputProps = FieldPath, TSelection extends FieldValues = FieldValues> = PageFormTextInputBaseProps & ({ type: 'password'; autoComplete?: 'new-password' | 'current-password' | 'off'; } | { type?: 'text' | 'date' | 'datetime-local' | 'email' | 'month' | 'number' | 'search' | 'tel' | 'time' | 'url'; autoComplete?: string; }); export declare function PageFormTextInput = FieldPath, TSelection extends FieldValues = FieldValues>(props: PageFormTextInputProps): import("react/jsx-runtime").JSX.Element; export {};