import type { Config } from '@xopcai/xopc/config/schema.js'; import { type EnterpriseMedia } from '@xopcai/xopc/channels/enterprise/media.js'; import type { SlackRuntimeCaches } from '../state/caches.js'; export interface UploadSlackMediaParams { cfg: Config; token: string; accountId: string; teamId?: string; proxyUrl?: string; targetChannelOrUserId: string; mediaUrl: string; mediaType?: string; filenameHint?: string; localRoots?: readonly string[]; maxBytes?: number; caption?: string; threadTs?: string; caches?: SlackRuntimeCaches; } export declare function uploadSlackMediaBuffer(params: { token: string; accountId: string; teamId?: string; proxyUrl?: string; targetChannelOrUserId: string; media: EnterpriseMedia; caption?: string; threadTs?: string; caches?: SlackRuntimeCaches; }): Promise<{ fileId: string; channelId: string; followUpTs?: string; }>; export declare function uploadSlackMediaFromUrl(params: UploadSlackMediaParams): Promise<{ fileId: string; channelId: string; followUpTs?: string; }>;