/**
 * @jsxRuntime classic
 * @jsx jsx
 */
import type { FocusEvent, KeyboardEvent } from 'react';
import { PureComponent } from 'react';
import { jsx } from '@emotion/react';
export interface Props {
    ariaActiveDescendant?: string;
    ariaAutoComplete?: boolean;
    ariaControls?: string;
    ariaExpanded?: boolean;
    ariaInvalid?: boolean;
    ariaLabel?: string;
    ariaRequired?: boolean;
    autoFocus?: boolean | FocusOptions;
    defaultValue?: string;
    describedById?: string;
    inputId?: string;
    maxLength?: number;
    onBlur?: Function;
    onCancel?: (e: KeyboardEvent) => void;
    onChange?: (value: string) => void;
    onKeyDown?: (e: KeyboardEvent<any>) => void;
    onMouseDown?: Function;
    onRedo?: Function;
    onSubmit?: (value: string) => void;
    onUndo?: Function;
    placeholder?: string;
    role?: string;
    testId?: string;
    width?: number;
}
export interface State {
    value?: string;
}
export default class PanelTextInput extends PureComponent<Props, State> {
    private input?;
    private focusTimeoutId;
    constructor(props: Props);
    componentDidUpdate(prevProps: Props): void;
    componentWillUnmount(): void;
    onMouseDown: () => void;
    onBlur: (e: FocusEvent<any>) => void;
    render(): jsx.JSX.Element;
    focus(): void;
    private handleChange;
    private handleKeydown;
    private isUndoEvent;
    private isRedoEvent;
    private handleRef;
}
