import { MessageProps } from './types'; import { IFeedbackButton } from '../FeedbackButton/FeedbackButton.interface'; export interface AIDisclaimerProps { enabled?: boolean; text?: string; } export interface IBaseSystemMessageProps { onCompletelyDisplayed?: () => void; } export interface SystemMessageProps extends IBaseSystemMessageProps { /** * An image URL for an avatar to associate this message with. */ avatar?: string; /** * A unix timestamp indicating when this message was sent. */ timestamp?: number; /** * A single message to render. */ message?: MessageProps; /** * If true, renders an avatar next to the message. */ withImage: boolean; /** * If provided, will display {@link FeedbackButton} component. * @default false */ feedback?: IFeedbackButton | undefined; /** * If this is the last message recieved */ isLast?: boolean; setIsTyping?: () => void; /** * The entire text content of a response over a number of responses */ textContent?: string; aiDisclaimer?: AIDisclaimerProps; } /** * An individual message within a system response */ export declare const SystemMessage: React.FC; //# sourceMappingURL=SystemMessage.d.ts.map