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