import { default as React, CSSProperties } from 'react';
import { FormField } from '@kottster/common';
export interface BaseProps {
    value: any;
    onChange: (value: any) => void;
    formField: FormField;
    hasError?: boolean;
    readOnly?: boolean;
}
interface InputProps extends BaseProps {
    value: string;
    onChange: (value: string) => void;
    formField: FormField & {
        type: 'input';
    };
}
export declare const readOnlyStyle: CSSProperties;
export declare function Input({ value, onChange, hasError, formField, readOnly, }: InputProps): React.JSX.Element;
export {};
