/** * Discord Export Parser for the ingestion engine. * * Parses DiscordChatExporter JSON format, which can be: * 1. A single JSON file with a channel's messages * 2. A directory of JSON files (one per channel) * * DiscordChatExporter schema: { guild, channel, dateRange, messages[] } * Each message: { id, type, timestamp, content, author, attachments, embeds, reference } * * Produces a ParsedDocument with sections grouped by conversation thread/time. */ import type { ParsedDocument } from "./types"; /** * Parse a Discord export (DiscordChatExporter format) into a ParsedDocument. * * @param path - Path to a JSON file or directory of JSON files * @param options - Optional filtering */ export declare function parseDiscordExport(path: string, options?: { /** Only include these channel names */ 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=discord-parser.d.ts.map