import { type Attachment as AttachmentType, type Message, type ThumbnailComponent, type MessageActionRowComponent, type TopLevelComponent } from 'discord.js'; import React from 'react'; import type { RenderMessageContext } from '..'; export default function ComponentRow({ component, id, context, attachments, message, }: { component: TopLevelComponent; id: number; context: RenderMessageContext; attachments?: Map; message?: Message; }): React.JSX.Element | null; export declare function Component({ component, id, attachments, }: { component: MessageActionRowComponent | ThumbnailComponent | { type: number; [key: string]: any; }; id: number; attachments?: Map; }): React.JSX.Element | undefined;