import React from "react";
export type TextInputProps = {
    onHistoryUp?: () => void;
    onHistoryDown?: () => void;
    placeholder?: string;
    multiline?: boolean;
    focus?: boolean;
    mask?: string;
    showCursor?: boolean;
    highlightPastedText?: boolean;
    value: string;
    onChange: (value: string) => void;
    onSubmit?: (value: string) => void;
    onExit?: () => void;
    onExitMessage?: (show: boolean, key?: string) => void;
    onMessage?: (show: boolean, message?: string) => void;
    onHistoryReset?: () => void;
    columns: number;
    onPaste?: (text: string) => void;
    isDimmed?: boolean;
    disableCursorMovementForUpDownKeys?: boolean;
    cursorOffset: number;
    onChangeCursorOffset: (offset: number) => void;
};
export default function TextInput({ value: originalValue, placeholder, focus, mask, multiline, highlightPastedText, showCursor, onChange, onSubmit, onExit, onHistoryUp, onHistoryDown, onExitMessage, onMessage, onHistoryReset, columns, onPaste, isDimmed, disableCursorMovementForUpDownKeys, cursorOffset, onChangeCursorOffset, }: TextInputProps): React.ReactNode;
