import { Component } from "react";
export type TextWidgetProps = {
    value: string | number;
    setValue: (v: string | number | null) => void;
    className?: string;
    isEditing: boolean;
    commitImmediately?: boolean;
    placeholder?: string;
    focusChanged: (f: boolean) => void;
    disabled?: boolean;
};
type State = {
    value: string | number | null;
    isFocused: boolean;
};
export declare class TextWidget extends Component<TextWidgetProps, State> {
    static defaultProps: {
        isEditing: boolean;
        commitImmediately: boolean;
        disabled: boolean;
    };
    inputRef: import("react").RefObject<HTMLInputElement>;
    constructor(props: TextWidgetProps);
    UNSAFE_componentWillMount(): void;
    UNSAFE_componentWillReceiveProps(nextProps: TextWidgetProps): void;
    render(): import("react/jsx-runtime").JSX.Element;
}
export {};
