/** * Slack Export Parser for the ingestion engine. * * Parses the Slack JSON export format: * - Root directory contains channels.json, users.json * - Each channel has a subdirectory with dated JSON files (YYYY-MM-DD.json) * - Each JSON file is an array of message objects * * Produces a ParsedDocument with messages grouped by conversation thread. * Filters out bot messages, join/leave events, and noise. */ import type { ParsedDocument } from "./types"; /** * Parse a Slack export directory into a ParsedDocument. * * The directory should contain: * - users.json (optional but recommended) * - channels.json (optional) * - One subdirectory per channel, each containing YYYY-MM-DD.json files * * @param dirPath - Path to the Slack export root directory * @param options - Optional filtering */ export declare function parseSlackExport(dirPath: string, options?: { /** Only include these channels */ readonly channels?: string[]; /** Only include messages after this date */ readonly since?: string; /** Only include messages before this date */ readonly until?: string; /** Filter to specific speakers */ readonly speakers?: string[]; }): ParsedDocument; //# sourceMappingURL=slack-parser.d.ts.map