/// <reference types="react" />
export declare const InputAndButton: ({ isValid, value, setValue, handlePress, loading, placeholder, buttonText, errorMessage, autoFocus, }: {
    isValid?: boolean;
    value: string;
    setValue: (v: string) => void;
    handlePress: (v: string) => void;
    loading?: boolean;
    placeholder: string;
    buttonText: string;
    errorMessage?: string;
    autoFocus?: boolean;
}) => JSX.Element;
