import { FieldValues, ValidationRules } from '../../../hooks/form/types';
import { InputFieldDropdownProps } from '../FormFields/types';
import { TargetedEvent } from 'preact/compat';
interface FormTextInputProps<TFieldValues> {
    fieldName: FieldValues<TFieldValues>;
    label: string;
    dropdown?: InputFieldDropdownProps;
    className?: string;
    isRequired?: boolean;
    isReadOnly?: boolean;
    min?: number;
    onInput?: (e: TargetedEvent<HTMLInputElement, Event>) => void;
    onDropdownInput?: (value: string) => void;
    supportText?: string;
    type?: string;
    validate?: ValidationRules['validate'];
    maxLength?: number;
    minLength?: number;
    dropdownPosition?: 'start' | 'end';
    hideOptionalLabel?: boolean;
}
export declare function FormTextInput<TFieldValues>({ className, dropdown, fieldName, isRequired: isRequiredProp, isReadOnly: isReadOnlyProp, label, onDropdownInput, onInput, supportText, type, validate, min, maxLength, minLength, dropdownPosition, hideOptionalLabel, }: FormTextInputProps<TFieldValues>): import("preact").JSX.Element;
export {};
//# sourceMappingURL=FormTextInput.d.ts.map