import { Color } from '../screen';
import { type TextProps } from './Text';
import React from 'react';
interface InputProps extends TextProps {
    focus?: boolean;
    type?: 'text' | 'password' | 'hidden';
    initialValue?: string;
    cursorBackground?: Color;
    onCancel?: () => void;
    onChange?: (_: any) => void;
    onSubmit?: (_: any) => void;
}
export default function Input({ focus, type, initialValue, cursorBackground, onCancel, onChange, onSubmit, width, height, ...props }: InputProps): React.JSX.Element;
export {};
