export type SlackExportFormat = "markdown" | "json" | "plain"; export interface SlackExportFileInput { id?: string; name?: string; title?: string; mimetype?: string; filetype?: string; permalink?: string; preview?: string; } export interface SlackExportMessageInput { ts?: string; authorName?: string; text?: string; files?: SlackExportFileInput[]; } export interface BuildSlackThreadExportOptions { format?: string; includeMetadata?: boolean; threadTs: string; channelId: string; channelLabel?: string; messages: SlackExportMessageInput[]; mentionNames?: Record; } export declare function convertSlackMrkdwnToMarkdown(text: string, mentionNames?: Record): string; export declare function normalizeSlackExportFormat(format?: string): SlackExportFormat; export declare function parseSlackExportBoundaryTs(value: string): number; export declare function filterSlackExportMessagesByRange(messages: SlackExportMessageInput[], oldestTs?: number, latestTs?: number): SlackExportMessageInput[]; export declare function formatSlackExportTimestamp(ts?: string): string; export declare function buildSlackThreadExport(options: BuildSlackThreadExportOptions): string;