import * as chat from '@botpress/chat';
export type ChatProps = {
    client: chat.AuthenticatedClient;
    conversationId: string;
};
export declare class Chat {
    private _props;
    private _events;
    private _state;
    static launch(props: ChatProps): Chat;
    private constructor();
    private _run;
    private _setState;
    private _onMessageReceived;
    private _onKeyboardInput;
    private _onExit;
    wait(): Promise<void>;
    private _renderMessages;
    private _printHeader;
    private _switchAlternateScreenBuffer;
    private _restoreOriginalScreenBuffer;
    private _clearStdOut;
    private _messageToText;
    private _textToMessage;
}
