import type { InboundMessage } from '@xopcai/xopc/infra/bus/index.js'; export declare const MAX_SLACK_FILES_PER_MESSAGE = 8; export interface SlackFileObject { id?: string; name?: string; title?: string; mimetype?: string; filetype?: string; size?: number; url_private_download?: string; url_private?: string; subtype?: string; } export interface SlackDownloadedMedia { fileId: string; name: string; mimeType: string; size: number; attachment: NonNullable[number]; placeholder: string; isAudio: boolean; isImage: boolean; buffer: Buffer; } export interface SlackUnavailableFile { fileId: string; name: string; reason: string; } export interface SlackInboundMediaResult { downloaded: SlackDownloadedMedia[]; unavailable: SlackUnavailableFile[]; attachments: NonNullable; summaryLines: string[]; } export declare function formatSlackFilePlaceholder(file: { id?: string; name?: string; title?: string; mimetype?: string; size?: number; }): string; export declare function downloadSlackFile(params: { file: SlackFileObject; token: string; maxBytes: number; proxyUrl?: string; signal?: AbortSignal; }): Promise; export declare function downloadSlackMessageFiles(params: { files: readonly SlackFileObject[] | undefined; token: string; maxBytes: number; proxyUrl?: string; signal?: AbortSignal; }): Promise;