export type AgentMessageDirection = 'in' | 'out'; export type AgentMessageKind = 'choice_response' | 'file' | 'message' | 'onboarding' | 'reaction' | 'reminder'; export interface AgentMessageFile { fileId?: string; filename: string; mimetype?: string; permalink?: string; sizeBytes?: number; thumb360?: string; thumb720?: string; } export interface AgentMessageReaction { action: 'added' | 'removed'; name: string; noop?: boolean; } export interface AgentMessageSource { id: string; kind: 'activity' | 'inbox'; } export interface AgentMessagePreview { authorId?: string; authorName?: string; authorSubname?: string; channelId?: string; files?: AgentMessagePreviewFile[]; fromUrl?: string; isPrivate?: boolean; messageTs?: string; platform: 'slack'; text: string; type: 'message_unfurl'; } export interface AgentMessagePreviewFile { id: string; mimetype: string; name: string; permalink?: string; sizeBytes: number; } export interface AgentMessageRecord { actor?: string; actorAvatarUrl?: string; actorDisplayName?: string; actorHandle?: string; actorUserId?: string; channelDisplayName?: string; channelId?: string; channelKind?: string; channelName?: string; direction: AgentMessageDirection; dmHandle?: string; dmUserId?: string; files?: AgentMessageFile[]; isEdit?: boolean; kind: AgentMessageKind; messageId: string; messageTs?: string; optionLabel?: string; permalink?: string; platform?: string; previews?: AgentMessagePreview[]; question?: string; reaction?: AgentMessageReaction; reminderId?: string; reminderTitle?: string; source: AgentMessageSource; text: string; threadTs?: string; timestamp: string; } export interface AgentMessageHistoryPage { entries: AgentMessageRecord[]; nextCursor?: string | null; } export declare function normalizeHistoryLimit(limit: number | undefined): number; export type AgentChannelKind = 'channel' | 'dm'; export interface AgentChannelSummary { id: string; name?: string; platform: 'slack'; kind: AgentChannelKind; status: 'following' | 'muted'; lastActivityAt?: string; lastPostedAt?: string; avatarUrl?: string; } export interface AgentChannelListResponse { channels: AgentChannelSummary[]; slackMembershipDegraded?: true; } //# sourceMappingURL=messages.d.ts.map