import * as React from 'react';
import { TypographyProps } from '../typography/Typography';
export declare const chatMessageTypes: readonly ["incoming", "outgoing"];
type ChatMessageType = (typeof chatMessageTypes)[number];
export type ChatMessageProps = {
    /**
     * Message type, messages send by user will be outgoing and responses will be incoming.
     *
     */
    messageType: ChatMessageType;
    /**
     * Chat message children.
     */
    children: React.ReactNode;
    /**
     * Adornment components to be placed at the right of the chat when messageType is incoming
     * or at the left of the chat message when messageType is outgoing
     */
    adornment?: React.ReactNode;
    /**
     * If supplied some text, an InputHelperText component will be shown just after the input.
     */
    errorText?: string;
    /**
     * Elements to show on options
     */
    optionsBar?: React.ReactNode;
    /**
     * Text to the cancelable button tooltip. If not provided, cancelable button will not display
     */
    cancelableButtonText?: string;
    /**
     * Typography color
     */
    typographyColor?: string;
    /**
     * Typography variant
     */
    typographyVariant?: TypographyProps['variant'];
    /**
     * Background color to force
     */
    backgroundColor?: string;
    /**
     * Sets a different border radius in the entry message
     */
    highlightStartEdge?: boolean;
    /**
     * Sets maxWidth in the entry message
     */
    maxWidth?: number;
    /**
     * When cancelable button is clicked
     */
    onCancelableButtonClicked?: () => void;
};
declare const ChatMessage: React.ForwardRefExoticComponent<ChatMessageProps & React.RefAttributes<unknown>>;
export default ChatMessage;
