import { PropsWithChildren, ReactElement } from 'react'; import { Message } from '../../types'; export interface MessageActionsProps extends PropsWithChildren { /** * Message the actions apply to. */ message: Message; /** * Icon to show for copy. */ copyIcon?: ReactElement; /** * Icon to show for thumbs up. */ thumbsUpIcon?: ReactElement; /** * Icon to show for thumbs down. */ thumbsDownIcon?: ReactElement; /** * Icon to show for refresh. */ refreshIcon?: ReactElement; /** * Callback function to handle copying. */ onCopy?: () => void; /** * Callback function to handle upvoting. */ onUpvote?: () => void; /** * Callback function to handle downvoting. */ onDownvote?: () => void; /** * Callback function to handle refreshing. */ onRefresh?: () => void; } export declare const MessageActions: import('react').NamedExoticComponent;