UNPKG

create-ai-chat-context-experimental

Version:

Phase 2: TypeScript rewrite - AI Chat Context & Memory System with conversation extraction and AICF format support (powered by aicf-core v2.1.0).

27 lines 889 B
/** * This file is part of create-ai-chat-context-experimental. * Licensed under the GNU Affero General Public License v3.0 or later (AGPL-3.0-or-later). * See LICENSE file for details. */ /** * Parser Utilities * Common content extraction and cleaning functions for all parsers * October 2025 */ /** * Clean message content - unescape quotes, newlines, tabs */ export declare function cleanContent(content: string): string; /** * Extract string content from string or object */ export declare function extractStringContent(content: string | Record<string, unknown>): string; /** * Extract content from message blocks (Claude export format) */ export declare function extractContentFromBlocks(blocks: unknown[]): string; /** * Normalize whitespace in content */ export declare function normalizeWhitespace(content: string): string; //# sourceMappingURL=ParserUtils.d.ts.map