import { Component } from "react";
type Props = {
    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<Props, State> {
    static defaultProps: {
        isEditing: boolean;
        commitImmediately: boolean;
        disabled: boolean;
    };
    constructor(props: Props);
    UNSAFE_componentWillMount(): void;
    UNSAFE_componentWillReceiveProps(nextProps: Props): void;
    render(): import("react/jsx-runtime").JSX.Element;
}
export {};
