import 'jquery-textcomplete';
import React from 'react';
import type { IPipeline } from '../../domain';
import './spel.less';
export interface ISpelTextProps {
    placeholder: string;
    value?: string;
    onChange: (value: string) => void;
    pipeline: IPipeline;
    docLink: boolean;
}
export interface ISpelTextState {
    textcompleteConfig: any[];
}
export declare class SpelText extends React.Component<ISpelTextProps, ISpelTextState> {
    static defaultProps: Partial<ISpelTextProps>;
    private autocompleteService;
    private readonly spelInputRef;
    private destroy$;
    private $input;
    constructor(props: ISpelTextProps);
    componentWillUnmount(): void;
    componentDidMount(): void;
    private onChange;
    componentDidUpdate(_: Readonly<ISpelTextProps>, prevState: Readonly<ISpelTextState>): void;
    private renderSuggestions;
    render(): JSX.Element;
}
