import type { File } from '../core/types'; import type { MessageAttachmentType } from '../generated/experience-api-types'; export interface MessageFileAttachmentInput { type: typeof MessageAttachmentType.File; file: File; } export interface MessageLinkAttachmentInput { type: typeof MessageAttachmentType.Link; description: string; url: string; } export declare type MessageAttachmentInput = MessageLinkAttachmentInput | MessageFileAttachmentInput;