import type { SlackAccessor } from '../../accessor/slack.ts'; export interface SlackMessage { ts: string; user?: string; text?: string; thread_ts?: string; [key: string]: unknown; } export declare function streamMessagesForDay(accessor: SlackAccessor, channelId: string, dateStr: string, options?: { limit?: number; }): AsyncIterableIterator; export declare function fetchMessagesForDay(accessor: SlackAccessor, channelId: string, dateStr: string): Promise; export declare function messagesToJsonl(messages: SlackMessage[]): Uint8Array; export declare function getHistoryJsonl(accessor: SlackAccessor, channelId: string, dateStr: string): Promise; export declare function fetchRecentMessages(accessor: SlackAccessor, channelId: string, limit?: number): Promise[]>; //# sourceMappingURL=history.d.ts.map