import React, { HTMLAttributes, ReactNode } from 'react';
import { MessagePayload } from '../types';
export type MessageCardProps = HTMLAttributes & {
index: number;
avatar?: ReactNode | string;
showFeedback?: boolean;
message?: ReactNode | string;
customMessage?: MessagePayload;
currentAttempt?: number;
status?: 'success' | 'failed' | 'pending';
attempts?: number;
messageClassName?: string;
botMessageBackground?: string;
onAttemptChange?: (attempt: number) => void;
onMessageCopy?: (content: string | string[]) => void;
onFeedback?: (index: number) => void;
onAttemptFeedback?: (feedback: 'like' | 'dislike' | 'same') => void;
githubIssueLink?: string;
};
declare const MessageCard: React.ForwardRefExoticComponent & {
index: number;
avatar?: ReactNode | string;
showFeedback?: boolean;
message?: ReactNode | string;
customMessage?: MessagePayload;
currentAttempt?: number;
status?: "success" | "failed" | "pending";
attempts?: number;
messageClassName?: string;
botMessageBackground?: string;
onAttemptChange?: (attempt: number) => void;
onMessageCopy?: (content: string | string[]) => void;
onFeedback?: (index: number) => void;
onAttemptFeedback?: (feedback: "like" | "dislike" | "same") => void;
githubIssueLink?: string;
} & React.RefAttributes>;
export default MessageCard;
//# sourceMappingURL=message-card.d.ts.map