import { Signal } from "@preact/signals";
import { ComponentChild } from "preact";
import { CSSProperties } from "preact/compat";
type Props = {
    style?: CSSProperties;
    className?: string;
    placeholder?: string;
    textSignal?: Signal<string>;
    autoFocus?: boolean;
    onEnter?: (value: string) => void;
    onEscape?: (value: string) => void;
    onArrowDown?: () => void;
    onArrowUp?: () => void;
    children?: ComponentChild;
    inputPadding?: number;
};
declare const TextInput: ({ style, className, placeholder, textSignal, autoFocus, onEnter, onEscape, onArrowDown, onArrowUp, children, inputPadding }: Props) => import("preact").JSX.Element;
export default TextInput;
