import { PropsWithChildren } from 'react'; import { Message } from '../../types'; interface SessionMessageProps extends PropsWithChildren { /** * Class name to apply to the root element. */ className?: string; /** * Message to render. */ message: Message; /** * Whether the message is the last one in the list. * This let's the chat know when to show the loading cursor. */ isLast?: boolean; /** * Whether to render the author header when `message.author` is set. * @default true */ showAuthor?: boolean; } export declare const SessionMessage: import('react').NamedExoticComponent; export {};