import { MessageProps } from './types';
import { 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.
     */
    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;
    /**
     * Override the rendering of individual messages.
     */
    Message?: React.ComponentType<SystemMessageProps>;
}
/**
 * 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<SystemResponseProps>;
//# sourceMappingURL=index.d.ts.map