import type { MessageMetadata } from '@slack/types'; /** * Serializes Slack outbound API mutations per `(accountId, teamId, channelId)` * so multi-chunk sends stay strictly ordered and avoid bursting per-channel rate limits. */ export declare class KeyedAsyncQueue { private readonly tails; enqueue(key: string, task: () => Promise): Promise; } export declare const slackSendQueue: KeyedAsyncQueue; export declare const XOPC_DELIVERY_EVENT_TYPE = "xopc_delivery"; export declare function buildSlackDeliveryMetadata(params: { deliveryId?: string; partIndex?: number; partCount?: number; signatureSecret?: string; }): MessageMetadata; export declare function buildSlackSendQueueKey(accountId: string, teamId: string | undefined, channelId: string): string;