import type { WebClient } from '@slack/web-api'; import type { SlackMessagePreview } from '../../shared/inbox.js'; export declare function slackMessagePreviewsFromAttachments(rawAttachments: unknown): SlackMessagePreview[]; type SlackPreviewWebClient = Pick; export interface SlackMessagePreviewRetryInput { channelId: string; client: SlackPreviewWebClient; messageTs: string; retryDelaysMs?: readonly number[]; text?: string; sleep?: (ms: number) => Promise; warn?: (message: string) => void; } export declare function waitForSlackMessagePreviewAttachments(input: SlackMessagePreviewRetryInput): Promise; export declare function slackMessageAttachments(input: { channelId?: string; client: SlackPreviewWebClient; messageTs?: string; text?: string; warn?: (message: string) => void; }): Promise; export declare function attachmentsHaveSlackMessagePreviews(attachments: unknown): boolean; export declare function slackPermalinkMentioned(text: string | undefined): boolean; export {}; //# sourceMappingURL=message-previews.d.ts.map