export default VariableInput;
/** Input with variables as tags */
declare class VariableInput extends React.PureComponent<any, any, any> {
    static contextType: React.Context<import("../FormField/StatusContext").StatusContextProps>;
    constructor(props: any);
    state: {
        editorState: any;
    };
    editorRef: React.RefObject<any>;
    isComposing: boolean;
    _isMouseDown: boolean;
    componentDidMount(): void;
    componentWillUnmount(): void;
    _handleCompositionStart: () => void;
    _handleCompositionUpdate: (e: any) => void;
    _handleCompositionEnd: () => void;
    _handleInput: (e: any) => void;
    render(): React.JSX.Element;
    _handlePastedText: (text: any, html: any, editorState: any) => boolean;
    _isEmpty: () => boolean;
    _inputToTagSize: (inputSize: any) => any;
    _toString: () => any;
    _onBlur: () => void;
    _onMouseDown: () => void;
    _onMouseUp: () => void;
    _onFocus: () => void;
    _onSubmit: () => void;
    _onChange: () => void;
    _onEditorChange: (editorState: any) => void;
    _setEditorState: (editorState: any, onStateChanged?: () => void) => void;
    _stringToContentState: (str: any) => any;
    _setStringValue: (str: any, afterUpdated?: () => void) => void;
    /** Set value to display in the input */
    setValue: (value: any) => void;
    /** Insert variable at the input cursor position */
    insertVariable: (value: any) => void;
    /** Insert Text at the input cursor position */
    insertText: (value: any) => void;
    /**
     * Focus the input at the end of the content.
     * Optionally, if variableKey is provided, focus after that specific variable.
     */
    focus: ({ variableKey }?: {}) => void;
}
declare namespace VariableInput {
    let displayName: string;
    namespace defaultProps {
        let initialValue: string;
        let multiline: boolean;
        let rows: number;
        let spellCheck: boolean;
        let size: string;
        function variableParser(): void;
        function variableTagPropsParser(): {};
        namespace variableTemplate {
            let prefix: string;
            let suffix: string;
        }
    }
}
import React from 'react';
//# sourceMappingURL=VariableInput.d.ts.map