import { Action } from "./common.js"; export type TToolStatus = 'success' | 'error' | 'loading' | 'waitingConfirmation' | 'waitingSubmission' | 'cancelled'; export type ToolHeaderProps = { toolIcon?: React.ReactNode; toolName: string; content?: React.ReactNode; actions?: Action[]; status?: TToolStatus; className?: string; qa?: string; }; export type ToolFooterProps = { content?: React.ReactNode; actions: Action[]; showLoader?: boolean; className?: string; qa?: string; }; export type ToolMessageProps = { toolName: string; toolIcon?: React.ReactNode; footerActions?: Action[]; headerActions?: Action[]; bodyContent?: React.ReactNode; headerContent?: React.ReactNode; footerContent?: React.ReactNode; status?: TToolStatus; expandable?: boolean; initialExpanded?: boolean; autoCollapseOnSuccess?: boolean; autoCollapseOnCancelled?: boolean; onAccept?: () => void; onReject?: () => void; className?: string; qa?: string; };