export interface WidgetMessageAttachment { id: string; fileId: string; fileName: string; fileSize: number; mimeType: string; downloadUrl?: string | null; thumbnail?: string | null; } export interface WidgetMessage { id: string; conversationId: string; content: string; authorId: string; parentMessageId?: string; threadLevel: number; replyCount: number; createdAt: string; updatedAt: string; isEdited: boolean; isPinned: boolean; permissions: { canEdit: boolean; canDelete: boolean; canReact: boolean; canReply: boolean; canPin: boolean; }; reactions: Array<{ id: string; emoji: string; userId: string; }>; attachments: WidgetMessageAttachment[]; } export interface PendingUploadAttachment { fileId: string; fileName: string; fileSize: number; mimeType: string; downloadUrl?: string | null; } export interface SendContextMessageResponse { sendContextMessage?: { success?: boolean; message?: { id?: string; conversationId?: string; } | null; }; } export interface WidgetConversationQueryResponse { conversation?: { id: string; title?: string | null; description?: string | null; settings?: Record | null; updatedAt?: string; features?: Record; currentUserMembership?: { unreadCount?: number; } | null; } | null; } export interface ContextConversationsQueryResponse { conversations?: { edges?: Array<{ node?: { id?: string | null; settings?: Record | null; } | null; }>; } | null; } export interface WidgetMessagesQueryResponse { messages?: { edges: Array<{ node: Record; }>; }; } export interface InitiateUploadResponse { initiateUpload?: { uploadUrl?: string | null; session?: { id: string; } | null; } | null; } export interface CompleteUploadResponse { completeUpload?: { fileId?: string; file?: { id?: string; name?: string; mimeType?: string; size?: number; downloadUrl?: string | null; } | null; } | null; } export interface WidgetParticipant { id: string; label: string; } export interface WidgetFeatureFlags { threads: boolean; reactions: boolean; mentions: boolean; } export declare const QUICK_REACTIONS: string[]; export declare const MAX_DIRECT_UPLOAD_BYTES: number; //# sourceMappingURL=types.d.ts.map