import { MessageProps } from './types'; import { AIDisclaimerProps, SystemMessageProps } from './SystemMessage'; import { IFeedbackButton } from '../FeedbackButton/FeedbackButton.interface'; import { RuntimeAction } from '@voiceflow/sdk-runtime'; export * from './types'; export interface ResponseActionProps { name: string; request: RuntimeAction; } export interface SystemResponseProps { /** * An image URL for an avatar to associate the messages with. * If we don't have an avatar here or got `undefined` it means that * this setting is disabled. If it wasn't disabled we would have an * avatar here given by the user, or the default avatar. */ avatar?: string; /** * A unix timestamp indicating when the messages were sent. */ timestamp: number; /** * A list of messages that will be rendered as {@link SystemMessage} components. */ messages: MessageProps[]; /** * A list of actions that will be rendered as buttons. */ actions?: ResponseActionProps[]; /** * If true, allows actions to appear after this message. * Only the last system message in a row can show actions. */ isLast?: boolean; /** * If true, the system message is the first in a chat. */ isFirst?: boolean; /** * If provided, will display {@link FeedbackButton} component under the last message. * @default false */ feedback?: IFeedbackButton | undefined; aiDisclaimer?: AIDisclaimerProps; /** * Override the rendering of individual messages. */ Message?: React.ComponentType; } /** * A dynamic component capable of displaying all standard system responses. * * @see {@link https://voiceflow.github.io/react-chat/?path=/story/components-chat-systemresponse--simple-text} */ export declare const SystemResponse: React.FC; //# sourceMappingURL=index.d.ts.map